@charset "utf-8";

/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #f2f2f2;
}
a {
  text-decoration: none;
  color: #000;
}

/* === Layout principal === */
main {
  transition: margin-left 0.4s;
  padding-left: 2px;
  max-width: 1900px;
}

/* === Header === */
header {
  width: 100%;
  height: auto;
}
header img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 3px solid #000;
}

/* === Navegación horizontal === */
.navhor ul {
  list-style: none;
  margin: 2px 0 3px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #333;
  display: flex;
}
.navhor li {
  flex: 1;
}
.navhor li a {
  font-family: 'Signika', sans-serif;
  display: block;
  color: #fffafa;
  text-align: center;
  line-height: 2;
}
.navhor li a:hover:not(.active) {
  background-color: #111;
}

/* === Sidebar navegación vertical=== */
.sidebar {
  font-family: 'Ubuntu Condensed', sans-serif;
  background-color: #fff;
  width: 0;
  z-index: 1;
  border-radius: 5px;
  border: 1px solid #000;
  overflow-x: hidden;
  position: fixed;
  transition: 0.4s;
  margin-left: 3px;
}
.sidebar .boton-cerrar {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  height: 32px;
  width: 32px;
  text-align: center;
}
.sidebar ul {
  margin: 5px;
  border-radius: 15px;
}
.sidebar li {
  margin-bottom: 2px;
  padding: 3px;
  border: 1px solid #DEE12D;
  border-radius: 10px;
}
.sidebar li a {
  display: block;
  padding: 2px;
}
.sidebar li a.active {
  background-color: #4CAF50;
  color: #fff;
}
.sidebar li a:hover:not(.active) {
  background-color: #3cb371;
  border-radius: 7px;
  color: #fff;
}

/* === Dropdowns === */
.dropdown {
  position: relative;
}
.dropbtn {
  padding: 3px;
  border-radius: 5px;
  background-color: #4CAF50;
  border: none;
  cursor: pointer;
}
.dropbtn span {
  border-radius: 5px;
  color: red;
  background-color: #000;
  padding: 4px;
  font-weight: 700;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  border-radius: 5px;
  z-index: 1;
}
.dropdown-content a {
  display: block;
  border-radius: 5px;
  border-style: solid;
}
.dropdown-content a:hover {
  background-color: orange;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

/* === Botones abrir/cerrar menú === */
.abrir-cerrar {
  font-family: 'Signika', sans-serif;
  border: 1px solid #000;
  text-align: center;
  width: 20%;
  float: left;
  padding: 0.3rem;
  margin: 0 0.1rem;
  border-radius: 8px;
  background-color: red;
  color: #000;
  font-size: 1rem;
}
#cerrar {
  display: none;
}

    /* Sección de categorías con imagen */
    .enlaces-repuestos {
      margin: 2em 0;
      padding: 1em;
      background: #f7f7f7;
      border-radius: 8px;
      text-align: center;
    }
    .enlaces-repuestos h2 {
      font-family: 'Prompt', sans-serif;
      margin-bottom: 1em;
    }
    .lista-categorias {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5em;
    }
    .categoria-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 160px;
      text-decoration: none;
      color: #333;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 10px;
      background: white;
      transition: box-shadow 0.3s ease;
    }
    .categoria-item img {
      width: 100%;
      height: 100px;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 8px;
    }
    .categoria-item span {
      font-weight: 600;
      font-family: 'Prompt', sans-serif;
    }
    .categoria-item:hover {
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      color: #007BFF;
    }
    /* Ajustes producto destacado */
    .lista-productos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1em;
      margin-bottom: 3em;
    }
    .producto-item {
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 10px;
      width: 220px;
      text-align: center;
      background: white;
      transition: box-shadow 0.3s ease;
      text-decoration: none;
      color: #333;
    }
    .producto-item:hover {
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .producto-item img {
      width: 100%;
      height: 140px;
      object-fit: contain;
      margin-bottom: 8px;
    }
    .producto-item .nombre {
      font-weight: 700;
      font-family: 'Prompt', sans-serif;
      margin-bottom: 5px;
    }
    .producto-item .precio {
      color: #007BFF;
      font-weight: 600;
      margin-bottom: 8px;
    }
/*nuevo codigo listado productos*/
.producto {
  margin: 0 auto;
  padding: 1rem;
  font-family: 'Arial', sans-serif;
  color: #222;
}

.producto h1 {
 font-family: 'Rammetto One';
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #333;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgb(0 0 0 / 0.15);
}

.card-image {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* o cover si quieres que rellene */
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .card-image img {
  transform: scale(1.05);
}

.card-details {
  padding: 0.8rem 1rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ref {
  color:#666;
  font-family: 'Arial Black';
  border-radius: 4px;
  text-align: center;
  border: 1px solid black;
  margin-bottom: 0.3rem;
}

.product-title {
  font-size: 0.8rem;
  font-weight: bold;
  margin: 0 0 0.6rem 0;
  color: #111;
  line-height: 1.2;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* si prefieres que no se corte: quitar esta línea y ajustar */
}

.price {
  font-size: 1rem;
  font-weight: 700;
  color: #b12704;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.free-shipping {
  display: block;
  font-size: 0.7rem;
  color: #007600;
  margin-top: 0.3rem;
 font-weight: 600;
}

/* Mensaje cuando no hay productos */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.2rem;
  color: #999;
  padding: 2rem 0;
}

/* Contenedor general */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background-color: #f3f3f3;
  width: 100%;
}



/* Tarjeta de producto */
.product-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: scale(1.02);
}

/* Imagen del producto */
.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 500px) {
  .card-image {
    height: 150px;
  }
}


/*fin codigo listado de productos*/
  .cart-icons-img {
    height: 30px;
  }
/* === Aside de precio === */
.aside1 {
  border: 5px solid #F70B0F;
  display: inline-block;
  text-align: center;
  width: 100%;
  padding: 8px;
  background-color: #fff;
  border-radius: 8px;
  margin: 3px 0;
}
.precio,
.precio1 {
  font-size: 20px;
  border-radius: 5px;
  margin: 10px auto 5px;
  padding: 6px;
  width: 80%;
  display: inline-grid;
}
.precio {
  font-weight: bolder;
  color: red;
}
.precio1 {
  background-color: #fd384f;
  color: #fff;
}
.precio span {
  font-family: Open Sans, Roboto, Arial, Helvetica, sans-serif, SimSun;
  font-size: 12px;
}
/* === Contacto === */
.contacto {
  width: 30%;
  text-align: center;
  display: inline-block;
  padding: 8px;
  margin: 3px;
  float: right;
  border-radius: 3px;
}
.contacto p {
  padding-bottom: 5px;
  font-family: Arial;
  color: #000;
}
.contacto img {
  max-width: 48px;
  width: 100%;
  height: 50px;
  margin: 2px;
  padding: 3px;
  border-radius: 20px;
  border: 1.5px outset grey;
}



h2 {
  font-family: 'Prompt', sans-serif;
  padding: 2%;
  width: 100%;
  margin: 0 auto;
}
p {
  font-family: 'Prompt', sans-serif;
  text-align: center;
  padding: 8px;
  width: 100%;
}

/* === Galera productos === */
.parpadea {
  display: flex;
  flex-direction: column; /* apila slider y miniaturas */
  font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
  font-weight: bolder;
  font-size: 20px;
  background-color: #d3d3d3;
  border-radius: 10px;
  padding: 5px;
  color: #000;
  float: left;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.slider {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* asegura que la imagen llene el slider sin deformarse */
}

.navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.arrow-btn {
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transition: 0.3s;
}

.arrow-btn:hover {
  background: rgba(0,0,0,0.8);
}

.thumbnails {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 10px;
  padding: 5px;
  overflow-x: auto; /* permite deslizar miniaturas en mviles */
}

.thumbnails img.thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: 0.2s;
}

.thumbnails img.thumb.active {
  border-color: #ff6600;
}
/* Ocultar botones de navegacin en pantallas pequeas */
@media (max-width: 768px) {
  .navigation {
    display: none;
  }
}


/* === Características del producto === */
 /* === Estilos generales === */
    .btn-caracterist {
      flex-wrap: nowrap;
      font-weight: 500;
      width: 100%;
      float: right;
      border: 2px solid #625E5E;
      padding-top: 1%;
      border-radius: 5px;
      text-align: center;
      cursor: pointer;
    }

    .btn-caracterist h2 {
      width: 95%;
      background-color: #d3d3d3;
      border: solid #D0C8C8;
      border-radius: 8px;
      padding: 10px;
      text-align: center;
    }

    .btn-caracterist button {
      background-color: #4CAF50;
      border: none;
      color: white;
      padding: 15px 32px;
      font-size: 16px;
      margin: 4px 2px;
      transition: background-color 0.4s, color 0.4s;
      cursor: pointer;
      border-radius: 12px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      touch-action: manipulation;
      position: relative;
      z-index: 2;
    }

    .btn-caracterist button:hover {
      background-color: white;
      color: #4CAF50;
      border: 1px solid #4CAF50;
    }

    .btn-caracterist button img {
      vertical-align: middle;
      margin-left: 10px;
      transition: transform 0.3s ease;
    }

    .btn-caracterist button[aria-expanded="true"] img {
      transform: rotate(180deg);
    }

    /* === Sección de características === */
    .caracteris {
	  font-family: 'Prompt', sans-serif;
	  text-align: left !important;
      padding: 10px;
      background-color: #f9f9f9;
      border-top: 1px solid #ccc;
      transition: max-height 0.4s ease, opacity 0.4s ease;
      overflow: hidden;
      max-height: 0;
      opacity: 0;
    }


    .caracteris.visible {
      max-height: 500px;
      opacity: 1;
    }

    /* === Responsive === */
    @media (min-width: 769px) {
      #toggleDetalles {
        display: none;
      }

      .caracteris {
        max-height: none;
        opacity: 1;
      }
    }





/*antes era parrafo1*/
.product-description {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fafafa;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.product-description h2 {
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  color: #111;
}

/* fin parrafo solo para version producto*/

#detalles-container img {
  width: 100%;
  float: left;
  margin-right: 2%;
  max-width: 350px;
}
#detalles-container p {
  text-align: justify;
  font-size: 14px;
}
	.carrito-enlace {
  position: fixed;
  top: 167px;
  right: 20px;
  z-index: 1000;
  font-size: 28px;
  color: #000;
  text-decoration: none;
}

#contadorCarrito {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  display: none; /* oculto si no hay productos */
}
#notificacionCarrito {
  display: none;
  background-color: #0070ba;
  color: white;
  padding: 12px;
  margin-top: 10px;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  transition: opacity 0.3s ease;
  opacity: 0;
}
#notificacionCarrito.mostrar {
  opacity: 1;
}

/* --- MINI CARRITO FLOTANTE (versión responsive) --- */

#miniCarrito {
  position: fixed;
  top: 70px;
  right: 20px;
  width: 250px;
  background: white;
  border: 2px solid #0070ba;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: none;
  z-index: 9999;
  overflow: hidden;
  transition: all 0.3s ease;
}
#miniCarrito.visible {
  display: block;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {opacity:0; transform: translateY(-10px);}
  to {opacity:1; transform: translateY(0);}
}
.mini-item {
  display: flex;
  align-items: center;
  padding: 6px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}
.mini-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 8px;
}
.mini-item span {
  flex: 1;
}
.ver-carrito {
  display: block;
  text-align: center;
  background-color: #0070ba;
  color: white;
  padding: 8px;
  text-decoration: none;
  font-weight: bold;
}

.ver-carrito:hover {
  background-color: #005fa3;
}
/* --- Botones dentro de la notificación del carrito --- */
.btn-noti {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: background 0.2s ease;
}
.btn-noti.gris {
  background-color: #555;
}
.btn-noti.gris:hover {
  background-color: #333;
}
.btn-noti.azul {
  background-color: #005fa3;
}
.btn-noti.azul:hover {
  background-color: #333;
}

/* --- Ajustes responsive --- */
@media (max-width: 768px) {
  #miniCarrito {
    width: 90%;
    right: 5%;
    top: auto;
    bottom: 90px; /* deja espacio para el chat Tawk.to */
    border-radius: 10px;
  }
  .mini-item {
    font-size: 1rem;
    padding: 8px;
  }
  .mini-item img {
    width: 50px;
    height: 50px;
  }
  .ver-carrito {
    font-size: 1rem;
    padding: 10px;
  }
}

/* --- Móviles pequeños --- */
@media (max-width: 480px) {
  #miniCarrito {
    bottom: 80px;
    right: 5%;
    left: 5%;
    width: 90%;
  }
  .mini-item {
    flex-direction: row;
  }
}
/* Estilo moderno para la seccin de descripcin detallada */
.descripcion-detallada {
    background-color: #f9f9f9; /* Fondo suave */
    border-radius: 12px;       /* Bordes redondeados */
    padding: 2rem;             /* Espaciado interno generoso */
    margin: 2rem 0;            /* Separacin respecto a otras secciones */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Sombra ligera */
    font-family: 'Prompt', sans-serif; /* Tipografa moderna */
    line-height: 1.7;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.descripcion-detallada:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.descripcion-detallada h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #00ba8f;
    text-align: center;
}
.descripcion-detallada h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}
.descripcion-detallada p,
.descripcion-detallada li {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    color: #555;
	text-align: left;
}

.descripcion-detallada ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.descripcion-detallada a {
    color: #0070ba;
    text-decoration: underline;
    transition: color 0.2s;
}

.descripcion-detallada a:hover {
    color: #005c91;
}

/* Responsive: texto ms grande en pantallas grandes */
@media screen and (min-width: 768px) {
    .descripcion-detallada {
        padding: 3rem;
    }

    .descripcion-detallada h2 {
        font-size: 1.3rem;
    }
}


/* Contenedor principal de reseñas */
.reseñas {
  clear: both; /* <--- Esto es clave */
  margin-left: 20px;
  margin-right: 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  font-family: sans-serif;
}

.reseña-item {
  background: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.reseña-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #555;
}

.reseña-nombre {
  font-weight: bold;
}

.reseña-estrellas {
  color: #f5b301;
}

.reseña-comentario {
  font-size: 14px;
  color: #333;
  margin-top: 5px;
}

.rating-stars {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  font-size: 26px;
  cursor: pointer;
  color: #ccc;
  margin: 10px 0;
}
.rating-stars span {
      cursor: pointer;
      font-size: 24px;
      color: #ccc;
      transition: color 0.3s ease;
      user-select: none;
    }

.rating-stars span.selected,
.rating-stars span:hover,
.rating-stars span.hover {
  color: #f5b301;
}

.form-reseña {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-reseña textarea,
.form-reseña input[type="text"] {
  padding: 10px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.form-reseña input[type="submit"] {
  background-color: #0070ba;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.form-reseña input[type="submit"]:hover {
  background-color: #005fa3;
}

.mensaje-puntuacion {
  font-size: 13px;
  color: #666;
  margin-top: -5px;
  margin-bottom: 10px;
}
/*para estilo boton reseñas google*/
.btn-google-reseñas {
  display: inline-block;
  padding: 10px 18px;
  background-color: #4285F4;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.btn-google-reseñas:hover {
  background-color: #3367d6;
}

/* === Footer === */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: darkgrey;
  width: 100%;
  border-radius: 5px;
  margin-top: 2%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  font-family: Arial, sans-serif;
}

/* Sección de contacto (teléfono, whatsapp, etc.) */
.footer .contacto {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer .contacto a img {
  width: 48px;
  height: 48px;
  border-radius: 20px;
  border: 1.5px outset grey;
  transition: transform 0.2s ease-in-out;
}

.footer .contacto a img:hover {
  transform: scale(1.1);
}

/* Footer logos (modernizados) */
.footer-logos {
  width: 100%;
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-logos h2 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 15px;
  justify-items: center;
  align-items: center;
}

.logo-grid img {
  max-height: 50px;
  max-width: 100px;
  object-fit: contain;
  transition: transform 0.2s ease;
  background-color: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo-grid img:hover {
  transform: scale(1.05);
}

/* Footer enlaces legales */
.footer-links {
  width: 100%;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

.footer-links h2 {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
  color: #333;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.footer-links li a {
  display: block;
  padding: 10px 15px;
  background-color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-links li a:hover {
  background-color: #e2e2e2;
  transform: translateY(-2px);
}


/* Reseñas Google */
.reseña-google p {
  margin: 10px 0;
}

.reseña-google img {
  vertical-align: middle;
  margin-right: 5px;
}

.reseña-google a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

/* Copyright */
.footer .copyright {
  margin-top: 10px;
  color: #f1f1f1;
  font-size: 14px;
}
/*estilos de no disponible*/
aside.aside1 .no-disponible {
  background-color: #ffe4e1;
  color: #b30000;
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 10px;
  text-align: center;
  animation: parpadeaNoDisponible 1.5s infinite;
  width: 100%;
  box-sizing: border-box;
}

aside.aside1 .no-disponible a.aviso-link {
  color: #0070ba;
  font-weight: bold;
  text-decoration: underline;
}

aside.aside1 .no-disponible a.aviso-link:hover {
  color: #004f85;
}

@keyframes parpadeaNoDisponible {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
/*estos son estilos de la ficha de producto de las paginas de los formularios pedidosT,B,C*/
.ficha-producto {
    flex: 1 1 250px;
    max-width: 280px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 16px;
    font-family: Arial, sans-serif;
    background-color: #fff;
}
.ficha-producto img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 8px;
}
.ficha-producto p {
    font-size: 13px;
    margin: 4px 0;
}
.ficha-producto .precio {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-top: 6px;
}
/*fin fichas producto formularios*/
/* 🔍 Contenedor del buscador con icono */
.buscador-contenedor {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 25px auto 10px;
}

/* 🔍 Icono de lupa */
.icono-lupa {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #0CD1F9;
  pointer-events: none; /* no interfiere con el clic dentro del input */
}

/* 🔹 Campo de texto */
.buscador {
  width: 100%;
  padding: 12px 15px 12px 40px; /* espacio para la lupa */
  font-family: 'Prompt', sans-serif;
  font-size: 16px;
  border: 2px solid #0CD1F9;
  border-radius: 30px;
  background-color: #f9f9f9;
  color: #333;
  transition: all 0.25s ease;
}

.buscador::placeholder {
  color: #aaa;
  font-style: italic;
}

.buscador:focus {
  background-color: #fff;
  border-color: #00bce4;
  box-shadow: 0 0 8px rgba(12, 209, 249, 0.4);
  outline: none;
}

/* ⚠️ Mensaje "sin resultados" */
.sin-resultados {
  text-align: center;
  color: #444;
  font-size: 18px;
  background: #e9faff;
  border: 1px solid #0CD1F9;
  padding: 12px 15px;
  margin: 15px auto 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 420px;
  font-family: 'Prompt', sans-serif;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
/*resaltado texto buscador*/
mark.resaltado {
    background-color: #ffeb3b; /* Amarillo brillante */
    color: #000;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: bold;
}

