  /* encabezado de la pagina */
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  

  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .inicio-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fffefe;
    font-weight: bold;
    font-family: 'Pacifico', cursive;
    font-size: 18px;
    margin-right: 20px;
  }
  .inicio-btn:hover {
    color: #8B4513;
  }
  

  /* contenedor principal que ocupa todo el alto */
  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* el contenido central crece para ocupar el espacio disponible */
  .main-content {
    flex: 1;
  }
  

  



  .header-bar {

    transition: margin-top 0.3s ease;
    background-color: rgba(100, 70, 70, 0.329);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .header-bar.subir-header {
    margin-top: 0 !important; /* Se pega arriba cuando se oculta top-bar */
  }


  .header-top {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 20px;
  }
  
  .header-bar-blanco {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .header-bar-blanco .header-top a,
  .header-bar-blanco .header-top i,
  .header-bar-blanco .header-top span {
    color: black !important;
  }
  


  body {
    margin: 0;
    padding: 0;
    background-image: url('../img/fondo5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* 🔒 Para que el fondo quede fijo al hacer scroll */
    font-family: 'Arial', sans-serif;
  }
  



  .video-container {
    width: 250px;
    height: 80px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .video-emi {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .hamburguesa {
    font-size: 26px;
    cursor: pointer;
    color: #fdfdfd;
  }
  
  .hamburguesa-negra {
    color: #000 !important; /* negro */
  }
  


  .search-container {
    position: relative;
    width: 250px;
    margin-left: auto; 
  }
  
  
  .input-buscar {
    width: 100%;
    padding: 8px 35px 8px 10px;
    border: 2px solid #000000;
    border-radius: 5px;
    font-size: 20px;
    font-family: 'Pacifico', cursive;
    background-color: #c2afaf57; /* 🎯 Fondo gris claro */
    color: #ffffff; /* Texto en negro (o el color que quieras) */

  }
  
  .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
  }
  


   /* aca metemos el fother de la pagina  */

   .footer-emi {
    background-color: rgba(0, 0, 0, 0.856);
    color: white;
    padding: 30px 20px;
    text-align: center;
    font-family: 'Pacifico', cursive;
  }
  
  .footer-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .footer-logo img {
    width: 80px;
    height: auto;
    animation: latido 1.8s infinite;
  }
  
  @keyframes latido {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
  }
  
  .footer-copy {
    font-size: 14px;
    color: #ddcdcd;
    margin-top: 5px;
  }
  
  .footer-linea {
    width: 100%;
    height: 1px;
    background-color: #333;
    margin: 15px 0;
  }
  
  .footer-redes {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .footer-redes a img {
    width: 40px;
    height: auto;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
  }
  
  .footer-redes a img:hover {
    transform: scale(1.1);
  }
  
  

  /* cuerpo de la pagina */
  

.main-content {
  flex: 1;
}

  .relleno {
    min-height: 600px; 
  }
  

  /* mega menu */ 

  .menu-full {
    position: fixed;
    top: 100px; /* asegúrate que tu header mide 80px */
    left: 0;
    width: 100%;
    background-color: rgba(100, 70, 70, 0.329);
    padding: 20px 30px;
    display: flex;
    justify-content: center;
    gap: 120px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
    border-radius: 0 0 10px 10px;
  }
  

  .menu-full-blanco {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: none;
    color: black;
  }
  
  
  .menu-full.activo,
  .menu-full.hover-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }



  .menu-full.oculto {
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
  }

  .menu-full.activo {
    opacity: 1;
    pointer-events: auto;
  }
  
  .menu-opcion {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #644040;
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  
  .menu-opcion i {
    font-size: 25px;
    margin-bottom: 10px;
    color: #fcfafa;
  }
  
  .menu-opcion span {
    font-family: 'Pacifico', cursive;
    font-size: 20px;
    color: #fcf9f9;
  }
  
  .menu-opcion:hover {
    transform: scale(1.1);
  }
  
  .menu-full.menu-full-blanco .menu-opcion i {
    color: #333; /* Cambia los íconos a gris oscuro */
  }
  
  .menu-full.menu-full-blanco .menu-opcion span {
    color: #333; /* Cambia el texto a gris oscuro */
  }
  
  .menu-full.activo {
    animation: fadeInMenu 0.3s ease;
  }
  
  @keyframes fadeInMenu {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  

  .madera-item {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 20px;
    padding: 20px;
    gap: 20px;
  }
  
  
  .madera-img {
    width: 350px;
    height: 200px;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  }
  
  .madera-nombre {
    font-family: 'Pacifico', cursive;
    font-size: 24px;
    margin: 0;
  }
  
  .madera-descripcion {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
  }
  
  #contenido-principal {
    display: none;
    background-color: white;
    margin-top: 100px; /* deja espacio para el header */
    padding: 40px 20px;
    min-height: calc(100vh - 200px); /* 100vh menos header y footer aprox */
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
  }
  

  /* estilo de los productos */ 

  .producto-item img {
    width: 100%;
    height: 250px; /* Volvemos a 250px */
    object-fit: contain; /* 👈 Esta es la CLAVE nueva */
    background: #fff; /* Fondo blanco para que si sobra espacio no se vea feo */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .producto-item img:hover {
    transform: scale(1.05);
  }
  
  .producto-item h5 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .producto-item p {
    margin: 5px 0 15px 0;
    font-size: 1rem;
    color: #555;
  }
  

  /* modal apertura de pagina*/ 

/* Animación de letras */
.animar-texto span {
  color: transparent; /* Ocultar el texto original */
  position: relative;
}

.animar-texto span::after {
  content: attr(data-texto);
  position: absolute;
  top: 0;
  left: 0;
  color: #b30000; /* 🔥 Color rojo o el que quieras */
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  animation: animarLetras 2s steps(30) forwards;
}

/* Definimos el efecto */
@keyframes animarLetras {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.modal-ofertas .modal-dialog {
  max-width: 700px;
}

/* Modal cerrado (antes de abrir) */
.modal-ofertas .modal-content {
  border-radius: 15px;
  overflow: hidden;
  background: white;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.3);

  clip-path: circle(0% at 50% 50%);
  transform: scale(0.8);
  opacity: 0;
  transition: clip-path 0.8s ease-out, transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* Modal abierto (cuando Bootstrap pone .show) */
.modal-ofertas.modal.fade.show .modal-content {
  clip-path: circle(150% at 50% 50%);
  transform: scale(1);
  opacity: 1;
}

/* Difuminado del fondo */
.modal-backdrop.show {
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.4);
}


/* Header */
.modal-ofertas .modal-header {
  justify-content: center;
  position: relative;
}

/* Título */
.modal-ofertas .modal-title {
  font-family: 'Pacifico', cursive;
  font-size: 30px;
  color: #b30000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  width: 100%;
}

.modal-ofertas .modal-title i {
  font-size: 32px;
  color: orange;
}

/* Botón cerrar */
.modal-ofertas .btn-close {
  position: absolute;
  top: 10px;
  right: 15px;
}

/* Texto debajo de las imágenes */
.oferta-texto {
  text-align: center;
  font-size: 18px;
  margin-top: 15px;
  font-weight: bold;
  color: #444;
}


/* flechas que esta en los carruseles */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); /* 🎯 Cambiá a cualquier color: black, #333, etc */
  border-radius: 50%;
  background-size: 60% 60%;
  background-position: center;
}


/*boton para registrarse o entrar */ 

.boton-login {
  background-color: #000 !important; /* 🔥 Siempre negro */
  color: #fff !important;             /* 🔥 Siempre blanco */
  border: none;                       /* 🔥 Sin borde */
  padding: 8px 20px;
  font-size: 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  font-family: 'Pacifico', cursive;

}

.boton-login:hover {
  background-color: #333 !important; /* 🔥 Un negro más claro al pasar el mouse */
}


/* boton de ofertas especiales  */ 
.btn-oferta {
  font-weight: bold;
  font-size: 20px;
  border-radius: 8px;
  border-color: #3f3f3f;
  padding: 10px 15px;
  animation: pulse 2s infinite;
  white-space: nowrap; /* evita que se corte el texto */
  color: white !important; /* ✅ Esto fuerza que se vea blanco */
  background-color: #fc001d5e; /* color rojo Bootstrap */
  font-family: 'Pacifico', cursive;
  margin-right: 15px;

}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}



/*  LOGIN */ 

.login-modal {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: none;
  border-radius: 20px;
  overflow: hidden;
}

.login-title {
  font-family: 'Pacifico', cursive;
  font-size: 28px;
  color: #333;
  text-align: center;
  width: 100%;
}

.nav-tabs .nav-link {
  background: transparent;
  color: #555;
  border: none;
  font-weight: bold;
  font-size: 16px;
}

.nav-tabs .nav-link.active {
  color: #ff4d4d;
  border-bottom: 2px solid #ff4d4d;
}

.login-input {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 10px;
  color: #333;
}

.login-input::placeholder {
  color: #bbb;
}

.btn-login {
  background-color: #ff4d4d;
  border: none;
  font-weight: bold;
  color: white;
  padding: 12px;
  border-radius: 10px;
  font-size: 18px;
  transition: background-color 0.3s;
}

.btn-login:hover {
  background-color: #e60000;
}

.btn-register {
  background-color: #4CAF50;
  border: none;
  font-weight: bold;
  color: white;
  padding: 12px;
  border-radius: 10px;
  font-size: 18px;
  transition: background-color 0.3s;
}

.btn-register:hover {
  background-color: #388e3c;
}

/* Opcional: más estilo a las labels de floating */
.form-floating > label {
  color: #666;
}



/* video de modal de registro */ 

.login-modal {
  border-radius: 15px;
  overflow: hidden;
  background-color: transparent; /* ✅ Fondo transparente, que no tape el video */
  border: none;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.2); /* ✅ Sombrita elegante */
}

.login-modal .col-6:first-child {
  background-color: #f9f9f9; /* ✅ Fondo claro para el formulario */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.login-modal .col-6:last-child {
  position: relative;
  overflow: hidden;
  border-left: 2px solid #ddd; /* ✅ Línea de separación opcional */
}

.login-modal video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Estilizar el título Acceso Clientes */
.login-title {
  font-family: 'Pacifico', cursive;
  font-size: 28px;
  color: #0b4579;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 20px;
}

/* Botones tabs (Iniciar sesión y Registrarse) */
.nav-tabs .nav-link {
  border: none;
  color: #555;
  font-weight: bold;
}

.nav-tabs .nav-link.active {
  color: #0b4579;
  border-bottom: 2px solid #0b4579;
}

/* Botones de acción */
.btn-dark, .btn-success {
  padding: 12px;
  font-weight: bold;
  border-radius: 8px;
  font-size: 16px;
}

/* Input fields */
.form-floating .form-control {
  border-radius: 10px;
}

/* Eliminar bordes duros de todo el modal */
.modal-content {
  border: none;
}


/* Carrito compras  */

.btn-carrito {
  background-color: transparent;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.icono-carrito {
  width: 35px;
  height: auto;
  transition: transform 0.3s;
}

.icono-carrito:hover {
  transform: scale(1.2);
}

/* botón "Compartinos tu diseño" con estilo similar al de ofertas */
.btn-diseno {
  font-weight: bold;
  font-size: 20px;
  border-radius: 8px;
  border-color: #000;
  padding: 10px 15px;
  white-space: nowrap;
  color: white !important;
  background-color: #365a5e6b; /* celeste oscuro */
  font-family: 'Pacifico', cursive;
  margin-right: 15px;
  text-decoration: none;
}


.btn-diseno:hover {
  background-color: #414242;
}


.formulario-contenedor {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  background-color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 5px;
  margin-left: 200px;
}

.formulario-lado-izquierdo {
  flex: 1 1 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-formulario {
  width: 100%;
  height: 650px;
  object-fit: cover;
  max-height: 100%;
}

.formulario-lado-derecho {
  flex: 1 1 50%;
  padding: 40px 30px;
}

.formulario-lado-derecho h2 {
  font-family: 'Pacifico', cursive;
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 10px;
  text-align: center;
}

.subtitulo-formulario {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  text-align: center;
}


@keyframes aparecer {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


.oculto {
  display: none !important;
}


@media (max-width: 768px) {

  .formulario-contenedor {
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: 95%;
  }

  .formulario-lado-izquierdo, 
  .formulario-lado-derecho {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 20px;
  }

  .img-formulario {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }

  .formulario-lado-derecho {
    padding: 20px 10px;
  }

  .formulario-lado-derecho h2 {
    font-size: 24px;
  }

  .subtitulo-formulario {
    font-size: 14px;
    padding: 0 10px;
  }

  .btn-diseno,
  .btn-oferta,
  .boton-login {
    font-size: 16px;
    padding: 8px 10px;
    white-space: normal;
    margin: 5px 0;
  }

  .top-bar {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu-full {
    flex-direction: column;
    gap: 20px;
  }

  .menu-opcion span {
    font-size: 16px;
  }
}

.btn-wsp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-wsp img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-wsp:hover {
  transform: scale(1.1);
}


.btn-wsp img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
