@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%), radial-gradient(circle at 75% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 35%), radial-gradient(circle at 50% 10%, rgba(0, 0, 0, 0.4) 0%, transparent 70%), linear-gradient(135deg, #0d0d0c 0%, #1a1a1a 30%, #404040 65%, #a6a6a6 85%, #ffffff 100%);
  background-size: 200% 200%;
  animation: brilloMovimiento 12s ease-in-out infinite alternate;
  background-attachment: fixed;
  color: #ffffff;
  overflow-x: hidden;
}

/* =========================
   MAIN FLEX (FOOTER ABAJO)
========================= */
main {
  flex: 1;
  display: block;
}

/* =========================
   CONTENEDOR
========================= */
.contenedor {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 0rem;
}

h3 {
  color: #000000;
}

/* =========================
   HEADER
========================= */
/* HEADER NORMAL */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  transition: all 0.3s ease;
}

.header-top {
  display: grid;
  grid-template-columns: 242px 89px 1fr;
  align-items: center;
  gap: 0px 15px;
  padding: 28px 0 0 0;
}

.logo {
  width: 255px;
  height: 60px;
}

.img-logo img {
  width: 255px;
  height: 60px;
  display: flex;
}

/* BOTÓN CATEGORÍAS */
.categorias-desktop {
  background: #111827;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  color: #ffffff;
}

/* BUSCADOR */
.buscador input {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: 0.125rem solid #000;
  outline: none;
  background: #ffffff;
}

.menu-toggle svg {
  width: 46px;
  height: 28px;
}

input::placeholder {
  color: #999;
  opacity: 1;
}

/* =========================
   BUSCADOR PRO
========================= */
.buscador {
  position: relative;
}

/* RESULTADOS */
.resultados-busqueda {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 9999;
  max-height: 300px;
  overflow-y: auto;
}

/* ITEM */
.resultado-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #ffffff;
}

@media (max-width: 768px) {
  .resultado-item {
    padding: 4px;
    font-size: 14px;
  }
}
.resultado-item:hover {
  background: #ffffff;
}

/* IMG */
.resultado-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* TEXTO */
.resultado-info {
  display: flex;
  flex-direction: column;
}

.resultado-nombre {
  font-size: 14px;
}

.resultado-precio {
  color: #16a34a;
  font-weight: bold;
  font-size: 13px;
}

/* CARRITO */
.carrito {
  background: #000000;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  flex-direction: row;
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 31px;
  cursor: pointer;
  color: #ffffff;
}

/* =========================
   MENÚ NORMAL
========================= */
.menu-bar {
  background: rgba(0, 0, 0, 0.831372549);
  display: block;
  position: relative; /* 👈 CAMBIO CLAVE */
  width: 100%;
  z-index: 9998;
}

/* =========================
   MENÚ desktop
========================= */
.menu-horizontal {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 27px;
  margin: 0;
  padding: 0;
}

.menu-horizontal > li {
  position: relative;
}

.menu-horizontal > li > a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #ff0000;
  font-weight: 600;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 999;
}

.submenu li a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
}

.submenu li a:hover {
  background: #f5f5f5;
}

.menu-horizontal li:hover .submenu {
  display: block;
}

.menu-horizontal > li > .menu-padre::after {
  content: " ▾";
  margin-left: -3px;
}

.menu-bar nav {
  display: flex;
  gap: 20px;
  padding: 0px 0;
}

.menu-bar a {
  color: #ffffff;
  text-decoration: none;
}

/* =========================
   CATEGORÍAS MOBILE
========================= */
.categorias-mobile {
  display: none;
  flex-direction: column;
  margin-bottom: 1rem;
}

/* Productos */
.categorias-mobile > a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
}

/* Títulos de categoría */
.categorias-mobile > a.grupo-cat {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover categoría */
.categorias-mobile > a.grupo-cat:hover {
  color: #ffd966;
}

.titulo-cat {
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 15px;
}

.menu-categorias {
  width: 100%;
}

.menu-item {
  border-bottom: 1px solid #ddd;
}

.menu-titulo {
  width: 100%;
  padding: 15px;
  text-align: left;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.submenu {
  display: none;
  padding: 10px 20px;
  background: white;
  z-index: 9999;
}

.submenu a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
}

.submenu a:hover {
  color: #007bff;
}

.submenu.activo {
  display: block;
}

/* =========================
   BOTONES
========================= */
.botonp {
  display: block;
  text-align: center;
  background: #DAA520;
  color: #000000;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.boton:hover {
  background: #007bff;
}

.detalle-info span {
  font-size: 25px !important;
  border-bottom: 0px;
}

/* =========================
   RESPONSIVE
========================= */
.ficha-tecnica {
  padding: 0 0px 0px 0px;
}

.detalle-info a {
  background-color: #009d29;
  font-weight: 500;
  color: #ffffff;
}

@media (max-width: 950px) {
  .detalle-info span {
    font-size: 20px !important;
  }
}
@media (max-width: 942px) {
  .header-top {
    grid-template-columns: 1fr auto;
  }
  .menu-toggle {
    display: block;
  }
  .categorias-desktop {
    display: none;
  }
  .menu-bar nav {
    display: none;
    flex-direction: column;
    padding: 12px;
  }
  .menu-bar nav.active {
    display: flex;
  }
  /* 🔥 ACTIVA CATEGORÍAS EN MOBILE */
  .categorias-mobile {
    display: flex;
  }
  /* 🔥 DESACTIVA MEGA MENÚ EN MOBILE */
  .menu-categorias {
    display: none !important;
  }
  .productos {
    grid-template-columns: repeat(2, 1fr);
  }
  .detalle-producto {
    grid-template-columns: 1fr;
  }
  .ficha-tecnica {
    padding: 0px 0px 0px 19px;
  }
  .precio-card span {
    font-size: 15px;
  }
}
.h3producto {
  color: #ffffff;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

/* 🔥 ul tipo cuadros */
.ficha-tecnica ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ficha-tecnica li {
  padding: 12px 6px;
  border-bottom: 1px solid #ffffff;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* 🔥 separa mejor el título (Procesador:) del valor */
.ficha-tecnica li strong {
  min-width: 85px;
  display: inline-block;
  color: #ffffff;
}

.ficha-tecnica li:last-child {
  border-bottom: none;
}

.detalle-info p {
  font-size: 22px;
}

@media (max-width: 480px) {
  .productos {
    grid-template-columns: 1fr;
  }
  .detalle-info {
    padding: 0 0px 0px 8px;
  }
  .detalle-info h1 {
    font-size: 25px;
  }
  .detalle-info span {
    font-size: 15px !important;
  }
  .detalle-info p {
    font-size: 15px;
  }
  .precio-card span {
    font-size: 15px;
  }
}
.header-top .acciones {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 840px) {
  .buscador {
    width: 100%;
  }
}
@media (max-width: 942px) {
  .header-top {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo carrito" "menu buscador";
    gap: 10px;
    margin-bottom: 10px;
  }
  .buscador input {
    padding: 9px;
  }
  .header-top .acciones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .logo {
    width: 240px;
    height: 60px;
  }
  .img-logo img {
    width: 240px;
    height: 60px;
    display: flex;
  }
  .menu-toggle {
    grid-area: menu;
    display: block;
    justify-self: start;
    color: #000000;
  }
  .acciones {
    grid-area: carrito;
    display: flex;
    justify-content: flex-end;
  }
  /* 🔥 Oculta botón categorías en móvil */
  .categorias-desktop {
    display: none;
  }
}
@media (max-width: 720px) {
  .logo {
    width: 220px;
    height: 59px;
  }
  .img-logo img {
    width: 220px;
    height: 59px;
  }
}
.resultados-busqueda .precio-consultar {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 390px) {
  .resultado-item {
    padding: 1px 3px;
    font-size: 13px;
  }
  .resultados-busqueda .precio-consultar {
    font-size: 13px;
  }
}
@media (max-width: 318px) {
  .logo {
    width: 203px;
    height: 59px;
  }
  .img-logo img {
    width: 203px;
    height: 59px;
  }
}
@media (max-width: 302px) {
  .logo {
    width: 180px;
    height: 55px;
  }
  .img-logo img {
    width: 180px;
    height: 55px;
  }
}
.footer-sorex {
  background: #ffffff;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer-overlay {
  backdrop-filter: blur(8px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  padding: 5rem 0 3rem;
  justify-items: center;
}

.logo-footer img {
  width: 220px;
  max-width: 100%;
  display: block;
  margin-bottom: 0.8rem;
}

.footer-descripcion {
  font-size: 1rem;
  line-height: 1.8;
  color: #000000;
}

.footer-titulo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000000;
  position: relative;
}

.footer-titulo::after {
  content: "";
  width: 140px;
  height: 3px;
  display: block;
  margin-top: 0.5rem;
  background: #fc0000;
  border-radius: 5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 0.3rem;
}

.footer-links li {
  margin-bottom: 0.2rem;
}

.footer-links a {
  text-decoration: none;
  color: #000000;
  font-size: 1rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #facc15;
  padding-left: 8px;
}

.footer-info {
  font-size: 1rem;
  color: #000000;
  /* margin-bottom: 1rem; */
  line-height: 1.4;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #facc15;
  transform: translateY(-4px);
}

.footer-social svg {
  width: 22px;
  height: 22px;
  color: rgb(0, 0, 0);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 1.5rem 1rem;
}

.footer-copy p {
  font-size: 0.95rem;
  color: #000000;
  margin: 0;
}

@media (max-width: 770px) {
  .footer-grid {
    gap: 0.5rem 0rem;
    padding: 4rem 0 2rem;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .footer-titulo {
    font-size: 1.2rem;
  }
  .footer-descripcion {
    font-size: 0.95rem;
  }
  .footer-links a {
    font-size: 0.95rem;
  }
  .footer-info {
    font-size: 0.95rem;
  }
  .footer-copy p {
    font-size: 0.85rem;
  }
  .logo-footer img {
    width: 180px;
  }
}
@media (max-width: 647px) {
  .footer-grid {
    gap: 0.5rem 0rem;
    padding: 4rem 0 2rem;
    grid-template-columns: repeat(2, 1fr);
    justify-items: start;
  }
}
@media (max-width: 470px) {
  .footer-grid {
    display: grid;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-items: center;
    grid-template-columns: 1fr;
  }
  .footer-col {
    text-align: center;
  }
}
.whatsapp {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 9999;
}

.whatsapp__toggle {
  width: 59px;
  height: 59px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 3rem;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.whatsapp__box {
  position: absolute;
  right: 0;
  bottom: 90px;
  width: 280px;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.3s ease;
}

.whatsapp__box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp__header {
  background: #25d366;
  color: #fff;
  padding: 0.2rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp__header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.whatsapp__header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 5px 0;
}

.whatsapp__body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.whatsapp__body p {
  color: #000000;
  font-size: 0.9rem;
  margin: 0;
  line-height: 0.7;
}

.whatsapp__body input,
.whatsapp__body textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 0.8rem;
}

.whatsapp__body textarea {
  min-height: 70px;
  resize: none;
}

.whatsapp__send {
  border: none;
  background: #25d366;
  color: #fff;
  padding: 0.6rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.75rem;
}

.whatsapp__toggle svg {
  width: 59px;
  height: 50px;
  display: block;
}

/* =====================================
   mensaje flotante
===================================== */
.whatsapp__bubble {
  position: absolute;
  right: 75px;
  bottom: 10px;
  background: #fff;
  color: #1b2b3a;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  animation: whatsappFloat 2s ease infinite, whatsappShowHide 6s linear infinite;
}

.whatsapp__bubble::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
}

/*
|--------------------------------------------------------------------------
| EFECTO FLOTAR
|--------------------------------------------------------------------------
*/
@keyframes whatsappFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}
/*
|--------------------------------------------------------------------------
| APARECER 3s / DESAPARECER 3s
|--------------------------------------------------------------------------
*/
@keyframes whatsappShowHide {
  0%, 49% {
    opacity: 1;
    visibility: visible;
  }
  50%, 100% {
    opacity: 0;
    visibility: hidden;
  }
}
/* =====================================
   TABLET
===================================== */
@media (max-width: 768px) {
  .whatsapp__toggle svg {
    width: 56px;
    height: 49px;
    display: block;
  }
  .whatsapp {
    right: 1.5rem;
    bottom: 1.5rem;
  }
  .whatsapp__box {
    width: 270px;
  }
  .whatsapp__toggle {
    width: 56px;
    height: 56px;
    font-size: 2.6rem;
  }
}
/* =====================================
   MOBILE
===================================== */
@media (max-width: 480px) {
  .whatsapp {
    right: 1rem;
    bottom: 1rem;
  }
  .whatsapp__toggle svg {
    width: 51px;
    height: 47px;
    display: block;
  }
  .whatsapp__box {
    width: calc(96vw - 2rem);
    max-width: 280px;
    right: 0;
    bottom: 65px;
    border-radius: 0.3rem;
  }
  .whatsapp__header {
    padding: 0.2rem 1.2rem;
  }
  .whatsapp__header h3 {
    font-size: 1.1rem;
  }
  .whatsapp__body {
    padding: 1rem;
  }
  .whatsapp__body input,
  .whatsapp__body textarea {
    font-size: 0.7rem;
  }
  .whatsapp__body p {
    color: #000000;
    font-size: 0.8rem;
  }
  .whatsapp__toggle {
    width: 51px;
    height: 51px;
    font-size: 2.4rem;
  }
  .whatsapp__bubble {
    right: 61px;
  }
}
/* =========================
   BOTÓN FILTROS MOBILE
========================= */
.filtros-toggle {
  display: none;
  margin-bottom: 15px;
}

.filtros-toggle button {
  width: 100%;
  padding: 12px;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

/* =========================
   PRODUCTOS
========================= */
.productos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem 0rem 0rem 0rem;
}

.producto {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.producto:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22), 0 6px 14px rgba(255, 102, 0, 0.15);
}

/* 🔥 CONTENEDOR IMAGEN: fondo tipo lino + "riel de cortina" como sello de marca */
.producto-imagen {
  position: relative;
  overflow: hidden;
}

/* riel */
.producto-imagen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.18) 0 2px, transparent 2px 14px);
}

/* anillos del riel */
.producto-imagen::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 12px;
  background-image: radial-gradient(circle, rgba(17, 17, 17, 0.18) 3px, transparent 3.5px);
  background-size: 28px 12px;
  background-repeat: repeat-x;
  background-position: 14px 0;
}

.producto img {
  position: relative;
  z-index: 1;
  width: 100%;
  /* height: 170px; */
  object-fit: contain;
  display: block;
  /* margin: 6px auto 0; */
  transition: transform 0.35s ease;
}

.producto:hover img {
  transform: scale(1.06);
}

/* 🔥 BADGE DESCUENTO SOBRE LA IMAGEN */
.badge-oferta-card {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: #000000;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.contenido-producto {
  padding: 8px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contenido-producto h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.descripcion {
  color: #6b7280;
  font-size: 13.5px;
  line-height: 1.4;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 19px;
  border-bottom: 2px solid rgba(157, 157, 157, 0.5607843137);
}

.cont_productos h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 4rem);
  padding: 2rem 0rem 1rem 0rem;
}

/* botones de whatsapp ag carrito */
.botones-prod {
  display: flex;
  padding: 5px 0px;
}

/* 🔥 PRECIO (tarjetas del listado) */
.precio-card {
  display: flex;
  flex-wrap: wrap;
}

.precio-card span {
  font-size: 18px;
}

.precio {
  color: #ff0000;
  font-size: 22px;
  font-weight: 500;
  border-bottom: 2px solid rgba(255, 0, 0, 0.5607843137);
}

.precio-consultar {
  font-size: 16px;
  font-weight: 700;
  color: #ff0000;
  font-style: italic;
}

.pantes {
  color: #000;
  font-weight: 500;
  font-size: 22px;
}

.precio-card .antes.det {
  color: #fff;
}

.label-antes {
  display: flex;
}

.precio-detalle .pdet {
  color: #fff;
}

.precio-detalle .precio-consultar {
  color: #fff;
}

.precio-original {
  text-decoration: line-through;
  font-size: 22px;
  font-weight: 500;
  color: #000000;
  display: flex;
  padding-right: 4px;
}

.precio-card .precio-original.det {
  color: #fff;
}

.badge-descuento {
  background: #ff0000;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.badge-oferta {
  background: #ff0000;
  color: #ffffff;
  padding: 3px 11px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  position: absolute;
}

/* 🔥 ACCIONES: botón ghost + botón sólido de marca */
.acciones-producto {
  gap: 8px;
  display: flex;
  flex-direction: column;
  margin: auto 0 0;
}

.acciones-producto .botonp {
  display: block;
  text-align: center;
  background: transparent;
  color: #ff0000;
  border: 1.5px solid #ff0000;
  padding: 9px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.acciones-producto .botonp:hover {
  background: #000000;
  color: #ffffff;
}

.acciones-producto .form-agregar {
  display: block;
}

.btn-comprar-card {
  width: 100%;
  display: block;
  text-align: center;
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.btn-comprar-card:hover {
  filter: brightness(1.08);
}

.btn-comprar-card:active {
  transform: scale(0.98);
}

/* =========================
   DETALLE PRODUCTO
========================= */
.detalle-producto {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0rem;
  margin: 63px 0 20px 0;
}

@media (max-width: 768px) {
  .detalle-producto {
    margin: 30px 0 20px 0;
  }
}
@media (max-width: 1245px) {
  .productos {
    grid-template-columns: repeat(3, 1fr);
  }
}
.detalle-producto img {
  width: 100%;
}

.precio-grande {
  font-size: 32px;
  color: #16a34a;
  font-weight: 700;
}

.acciones-producto {
  gap: 5px;
  display: flex;
  flex-direction: column;
  margin: 10px 0 0;
}

.badge-oferta-detalle {
  font-weight: 700;
}

/* =========================
   GALERÍA PRODUCTO (NUEVO)
========================= */
.galeria-producto {
  display: flex;
  flex-direction: column;
}

#imgPrincipal {
  width: 96%;
  border-radius: 10px;
  border: 2px solid rgb(255, 255, 255);
}

/* MINIATURAS */
.miniaturas {
  display: flex;
  gap: 10px;
  margin: 10px 0 23px 0;
  flex-wrap: wrap;
}

.miniaturas img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
  border: 1px solid #ffffff;
}

.miniaturas img:hover {
  border-color: #007bff;
  transform: scale(1.05);
}

/* boton final vertodo */
.ver-todo {
  text-align: right;
  margin-top: 30px;
  margin-bottom: 40px;
}

.ver-todo .boton {
  display: inline-block;
  padding: 12px 25px;
}

/* =========================
   🔥 TIENDA.php
========================= */
.tienda-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  margin-top: 40px;
}

/* =========================
   SIDEBAR FILTROS
========================= */
.filtros {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  height: fit-content;
}

/* GRUPOS */
.filtro-grupo {
  margin-bottom: 20px;
}

.filtro-grupo h4 {
  margin-bottom: 10px;
}

/* OPCIONES */
.filtro-grupo label {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}

/* INPUT PRECIO */
.filtro-grupo input[type=number] {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* =========================
   PRODUCTOS
========================= */
.productos-tienda {
  width: 100%;
}

.productos-tienda h2 {
  margin: 0px 0 19px 0px;
}

/* =========================
   RELACIONADOS (FIX PRO)
========================= */
/* CONTENEDOR */
.reel-productos {
  overflow: hidden;
  position: relative;
}

/* TRACK (el que se mueve) */
.reel-track {
  display: flex;
  gap: 15px;
  width: max-content;
  padding: 26px 0 26px 0;
  overflow: visible;
  will-change: transform;
}

/* 🔥 PAUSA EN HOVER (solo desktop) */
@media (hover: hover) {
  .reel-track:hover {
    animation-play-state: paused;
  }
}
/* ANIMACIÓN */
@keyframes scrollReel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* =========================
   CARD
========================= */
.card-rel {
  flex: 0 0 180px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 🔥 TRANSICIÓN SUAVE */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-rel .descripcion {
  color: #4b4b4b;
  font-size: 13.5px;
  line-height: 1.1;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 19px;
}

/* =========================
   IMAGEN
========================= */
.card-rel img {
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* 🔥 ZOOM IMAGEN */
.card-rel:hover img {
  transform: scale(1.15);
}

/* =========================
   TEXTO
========================= */
.card-rel p {
  font-size: 18px;
  color: #000000;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid #9d9d9d;
}

@media (max-width: 836px) {
  .detalle-producto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  #imgPrincipal {
    width: 100%;
    border-radius: 10px;
    max-width: 32rem;
  }
  .ficha-tecnica {
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .miniaturas {
    display: flex;
    gap: 10px;
    margin: 10px 0 13px 0;
    flex-wrap: wrap;
  }
}
@media (max-width: 823px) {
  .productos {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* =========================
   MÓVIL
========================= */
@media (max-width: 768px) {
  .card-rel {
    flex: 0 0 169px;
  }
}
@media (max-width: 520px) {
  .productos {
    grid-template-columns: 1fr;
  }
  .cont_productos {
    width: 75%;
  }
}
@media (max-width: 440px) {
  .cont_productos {
    width: 85%;
  }
  .descripcion {
    font-size: 14px;
    color: #000;
  }
}
/* =========================
   RELACIONADOS (SCROLL NATIVO SIN JS)
========================= */
.reel-productos {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  /* 🔥 OCULTAR SCROLLBAR SIEMPRE */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reel-productos::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.reel-track {
  display: flex;
  gap: 15px;
  width: max-content;
  padding: 26px 4px;
}

.card-rel {
  flex: 0 0 180px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .card-rel {
    flex: 0 0 169px;
    scroll-snap-align: start;
  }
}
.hero {
  position: relative;
  background-image: url("/build/img/hero/hero.jpg");
  background-size: cover;
 
  background-repeat: no-repeat;
  overflow: hidden;
  width: 100%;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.336) 35%, rgba(255, 255, 255, 0.27) 70%, rgba(255, 255, 255, 0.31) 100%);
  visibility: hidden;
}
@media (max-width: 630px) {
  .hero {
    background-image: url("/build/img/hero/hero-movil.jpg");
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 15rem 0 9rem 0;
  max-width: 500px;
  left: 180px;
  visibility: hidden;
}
.hero-content .hero-tag {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.hero-content .hero-tag .line {
  width: 2rem;
  height: 2px;
  background: #ff0000;
}
.hero-content h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  max-width: 900px;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.23), 0 0px 1px rgba(0, 0, 0, 0.12), 0 0px 2px rgba(0, 0, 0, 0.31);
}
.hero-content p {
  color: #ffffff;
  font-size: clamp(1.1rem, 1vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  max-width: 550px;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.55), 0 0px 3px rgba(0, 0, 0, 0.66), 0 0px 3px rgba(0, 0, 0, 0.48);
}
.hero-content .hero-buttons {
  display: flex;
  gap: 1.1rem;
  flex-direction: row;
  align-items: center;
}
.hero-content .hero-buttons .btn-primary,
.hero-content .hero-buttons .btn-secondary {
  text-align: center;
  width: 100%;
  font-size: 13px;
  max-width: 157px;
}

/* ==========================
   DESKTOP MEDIANO
========================== */
@media (max-width: 1500px) {
  .hero-content {
   padding: 8rem 0 8rem 0;
    left: 100px;
  }
}
@media (max-width: 1350px) {
  .hero-content {
    padding: 5rem 0 5rem 0;
    left: 80px;
    max-width: 400px;
  }
}
/* ==========================
   TABLET
========================== */
@media (max-width: 1080px) {
  .hero-content {
    padding: 4rem 0 4rem 0;
    left: 48px;
  }
}
@media (max-width: 840px) {
  .hero-content {
    padding: 3rem 0 3rem 0;
    left: 33px;
    max-width: 300px;
  }
  .hero .hero-content .hero-tag {
    gap: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}
/* ==========================
   MOBILE
========================== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 0rem;
    background-position: center;
  }
  .hero .hero-content {
    max-width: 100%;
    padding-top: 59px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    left: 0;
    padding-bottom: 59px;
  }
  .hero .hero-content .hero-tag {
    justify-content: center;
  }
  .hero .hero-content p {
    font-size: 16px;
    line-height: 1.3;
    max-width: 100%;
    padding: 0 4rem 0 4rem;
    font-weight: 500;
  }
  .hero .hero-buttons {
    justify-content: center;
  }
  .hero .hero-buttons .btn-primary,
  .hero .hero-buttons .btn-secondary {
    width: 100%;
    max-width: 168px;
    margin: 0rem 10px;
    text-align: center;
  }
  .hero .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.219) 0%, rgba(0, 0, 0, 0.336) 35%, rgba(0, 0, 0, 0.267) 70%, rgba(0, 0, 0, 0.308) 100%);
  }
}
@media (max-width: 644px) {
  .hero .hero-buttons .btn-primary, .hero .hero-buttons .btn-secondary {
    max-width: 145px;
    font-size: 13px;
    padding: 10px 0;
  }
  .hero .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.219) 0%, rgba(0, 0, 0, 0.336) 35%, rgba(0, 0, 0, 0.267) 70%, rgba(0, 0, 0, 0.308) 100%);
  }
  .hero-content h1 {
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.23), 0 0px 1px rgba(0, 0, 0, 0.12), 0 0px 2px rgba(0, 0, 0, 0.31);
  }
}
/* ==========================
   MÓVILES PEQUEÑOS
========================== */
@media (max-width: 513px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}
@media (max-width: 476px) {
  .hero .hero-content p {
    font-size: 16px;
    line-height: 1.3;
    max-width: 100%;
    padding: 0 1rem 0 1rem;
    font-weight: 500;
  }
}
@media (max-width: 480px) {
  .hero .hero-content h1 {
    font-size: 1.8rem;
    max-width: 100%;
  }
  .hero .hero-content p {
    font-size: 15px;
  }
  .hero-content .hero-tag .line {
    width: 1rem;
    height: 2px;
  }
}
@media (max-width: 403px) {
  .hero .hero-content {
    padding-top: 35px;
    padding-bottom: 35px;
    padding-left: 0px;
    padding-right: 0px;
  }
  .hero .hero-content h1 {
    font-size: 1.5rem;
    padding: 0 5px 0 5px;
    margin-bottom: 0.6rem;
  }
  .hero .hero-content .hero-tag {
    margin-bottom: 0.6rem;
  }
}
.btn-primary {
  background: #ff0000;
  color: #ffffff;
  padding: 14px 0px;
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none;
}

.btn-secondary {
  text-decoration: none;
  color: #000000;
  padding: 14px 0px;
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
}

.hero-features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  overflow: hidden;
  overflow: hidden;
}
.hero-features .feature {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 0rem;
  flex-direction: column;
  border: 0.5px solid rgba(0, 0, 0, 0.368627451);
}
.hero-features .feature:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-features .feature .feature-icon {
  width: 47px;
  height: 47px;
  min-width: 45px;
  color: #ffffff;
  padding: 0.6rem;
  background: rgb(0, 0, 0);
  border-radius: 20%;
}
.hero-features .feature h4 {
  color: #000000;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.hero-features .feature p {
  color: #000000;
  font-size: 0.9rem;
  line-height: 1.1;
  margin: 0;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-features .feature h4 {
    font-size: 1.1rem;
  }
  .hero-features .feature p {
    font-size: 0.8rem;
  }
}
@media (max-width: 768px) {
  .hero-features {
    flex-direction: column;
  }
  .hero-features .feature {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    padding: 0.8rem 0rem 0.8rem 2rem;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.368627451);
  }
  .hero-features .feature:last-child {
    border-bottom: none;
  }
}
@media (max-width: 498px) {
  .hero-features .feature {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    padding: 0.4rem 0rem 0.4rem 0.5rem;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.368627451);
  }
  .hero-features .feature h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  .hero-features .feature .feature-icon {
    width: 37px;
    height: 36px;
    min-width: 37px;
    padding: 0.5rem;
    border-radius: 28%;
  }
}
.section-divider {
  position: relative;
  width: 100%;
  margin: 0rem auto;
}
.section-divider::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.section-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 3px;
  background: #ff0000;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(244, 0, 0, 0.5);
}

/* =========================
   🔥 MINI CARRITO
========================= */
.mini-carrito {
  position: fixed;
  right: -400px;
  top: 0;
  width: 350px;
  height: 100%;
  background: #ffffff;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.mini-carrito.activo {
  right: 0;
}
.mini-carrito.activo a {
  text-align: center;
  width: 52%;
  margin: 0px 0px 0px 14px;
}

@media (max-width: 420px) {
  .mini-carrito.activo {
    width: 100%;
  }
}
.mini-header {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: #000000;
  color: #ffffff;
}
.mini-header span {
  cursor: pointer;
}

.mini-contenido {
  overflow-y: auto;
  text-align: center;
}

.mini-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #ffffff;
  align-items: center;
}

.mini-item p {
  color: #000000;
}

.mini-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.mini-total {
  padding: 15px;
  font-weight: bold;
}

/* =========================
   🔥 MODAL CORRECTO
========================= */
.modal-carrito {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 20000;
}

.modal-carrito.activo {
  display: flex;
}

.modal-contenido {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
}

/* =========================
   🔥 BOTONES MODAL
========================= */
.modal-botones {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.boton {
  background: #0c0c0c;
  color: #ffffff;
  padding: 10px 15px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  margin: 6px 0px;
}

.btnProducto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.boton-secundario {
  background: #ff0000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0;
  color: #ffffff;
}

/* =========================
   🔥 BOTONES GENERALES
========================= */
button {
  cursor: pointer;
  background: #ff0000;
  color: #ffffff;
  padding: 10px 15px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
}

/* =========================
   🛒 CARRITO
========================= */
.tabla-carrito {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

/* HEAD */
.tabla-carrito thead {
  background: #111827;
  color: #ffffff;
}

.tabla-carrito th {
  padding: 12px;
  text-align: left;
}

/* FILAS */
.tabla-carrito td {
  padding: 7px;
  border-bottom: 1px solid #ffffff;
  vertical-align: middle;
  font-size: 14px;
  color: #000000;
}

/* PRODUCTO */
.producto-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.producto-info img {
  width: 80px; /* 🔥 CONTROLA TAMAÑO */
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 5px;
}

/* CANTIDAD */
.cantidad form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cantidad button {
  background: #111827;
  color: #ffffff;
  border-radius: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 16px;
}

@media (max-width: 680px) {
  .cantidad button {
    width: 25px;
    height: 27px;
  }
}
.cantidad span {
  min-width: 25px;
  text-align: center;
  font-weight: bold;
}

/* ELIMINAR */
.eliminar {
  background: red;
  padding: 8px 12px;
  border-radius: 5px;
}

@media (max-width: 680px) {
  .eliminar {
    padding: 4px 8px;
    margin-right: 4px;
  }
}
/* TOTAL */
.total-carrito {
  margin-top: 20px;
  text-align: right;
}

.total-carrito h2 {
  color: #ffffff;
}

/* BOTÓN WHATSAPP */
.boton-whatsapp {
  display: inline-block;
  margin-top: 15px;
  background: #ff0000;
}

/* =========================
   📱 CARRITO MOBILE
========================= */
@media (max-width: 480px) {
  .tabla-carrito thead {
    display: none;
  }
  .tabla-carrito,
  .tabla-carrito tbody,
  .tabla-carrito tr,
  .tabla-carrito td {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .tabla-carrito tr {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  .tabla-carrito td {
    border: none;
    padding: 2px 0;
  }
  .producto-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .producto-info img {
    width: 65%;
    height: auto;
  }
  .cantidad form {
    justify-content: flex-start;
  }
  .total-carrito {
    text-align: left;
  }
}
/* =========================
   BENEFICIOS
========================= */
.beneficios {
  background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 50%, #1f1f1f 100%);
  padding: 17px 0;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.icono svg {
  width: 110px;
  max-width: 79px;
}

.beneficios h4 {
  color: #00d9ff;
}

@media (max-width: 768px) {
  .beneficios-grid {
    gap: 10px;
  }
  .beneficios-grid .icono {
    font-size: 20px;
  }
  .beneficios-grid h4 {
    font-size: 12px;
  }
  .icono svg {
    width: 110px;
    max-width: 55px;
  }
}
.beneficios {
  padding: 10px 0;
}

@media (max-width: 420px) {
  .beneficios-grid {
    gap: 1px;
  }
  .beneficios-grid h4, p {
    font-size: 8px;
  }
  .icono svg {
    width: 70px;
    max-width: 50px;
  }
}
/* =========================
   📱 TABLET
========================= */
@media (max-width: 900px) {
  .tienda-layout {
    grid-template-columns: 1fr;
  }
  .filtros {
    order: -1;
  }
}
/* =========================
   📱 MOBILE PRO (FILTROS)
========================= */
@media (max-width: 768px) {
  .tienda-layout {
    display: block;
  }
  /* BOTÓN VISIBLE */
  .filtros-toggle {
    display: block;
  }
  /* PANEL OCULTO */
  .filtros {
    display: none;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }
  /* CUANDO SE ABRE */
  .filtros.activo {
    display: block;
  }
}
/* =========================
   reel de logos de marcas que se vende
========================= */
.brands {
  overflow: hidden;
  width: 100%;
  background: #ffffff;
  padding: 15px 0px 15px 0px;
}

.brands-track {
  display: flex;
  width: max-content;
  animation: scroll 10s linear infinite;
}

.logos {
  display: flex;
  flex-shrink: 0; /* 🔥 clave para que no se rompa */
  align-items: center;
}

.logos img {
  height: 50px;
  margin: 0 40px;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.logos img {
  height: 50px;
  margin: 0 40px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logos img:hover {
  transform: scale(1.2);
  filter: brightness(1.3) drop-shadow(0 0 8px #14cdee 0, 201, 236);
  cursor: pointer;
}

/* =========================
   NOSOTROS PREMIUM
========================= */
.nosotros-premium {
  background: #ffffff;
}

/* HERO */
.hero-premium {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(180deg, #ddd, #ffffff);
}

.hero-premium h1 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-premium p {
  font-size: 18px;
  color: #ddd;
}

/* SECCIONES */
.section-premium {
  padding: 80px 0;
}

.section-premium h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.section-premium p {
  color: #111827;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* GRID */
.grid-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.img-premium {
  height: 300px;
  border-radius: 12px;
  background: url("/build/img/hero/hero.jpg") center/cover no-repeat;
}

/* DARK SECTION */
.section-dark {
  background: #111827;
  color: #ffffff;
  padding: 80px 0;
}

.card-premium {
  background: #111827;
  padding: 30px;
  border-radius: 12px;
  transition: 0.3s;
}

.card-premium:hover {
  transform: translateY(-5px);
}

.card-premium h3 {
  margin-bottom: 10px;
}

/* VALORES */
.center {
  text-align: center;
}

.valores-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.valores-premium div {
  padding: 20px;
}

.valores-premium h4 {
  margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-premium {
    grid-template-columns: 1fr;
  }
  .hero-premium h1 {
    font-size: 32px;
  }
}
/* =========================
   CONTACTO PREMIUM
========================= */
.contacto-premium {
  background: #ffffff;
}

/* HERO */
.contacto-hero {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(180deg, #ddd, #ffffff);
}

.contacto-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.contacto-hero p {
  color: #ddd;
}

/* GRID */
.contacto-info {
  padding: 60px 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contacto-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid #ffffff;
}

.contacto-card:hover {
  transform: translateY(-5px);
}

.contacto-card h3 {
  margin-bottom: 10px;
}

.telefono {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
}

.contacto-card span {
  color: #ddd;
  font-size: 14px;
}

/* MAPA */
.contacto-mapa {
  width: 95%;
  margin: 40px auto; /* centra */
}

.contacto-mapa iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px; /* opcional, se ve más pro */
}

body.fixed-header {
  padding-top: 120px;
}

.header.fixed {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999999;
}

/* =========================
   🔥 ADMIN PANEL
========================= */
.admin-panel h1 {
  margin-bottom: 20px;
}

/* HEADER ADMIN */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 10px 0;
}

.admin-acciones {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
}

@media (max-width: 328px) {
  .admin-acciones {
    display: flex;
    gap: 0px;
    flex-direction: column;
    align-items: center;
  }
}
/* TABLA */
.tabla-admin {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.tabla-admin thead {
  background: #111827;
  color: #ffffff;
}

.tabla-admin th,
.tabla-admin td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #ffffff;
}

.tabla-admin td {
  color: #000000;
}

/* HOVER */
.tabla-admin tbody tr:hover {
  background: #ffffff;
}

/* IMAGEN */
.img-admin {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.galeria-admin h3 {
  color: #ffffff;
}

/* NOMBRE */
.nombre-prod {
  text-align: left;
}

/* PRECIO */
.precio-admin {
  color: #16a34a;
  font-weight: bold;
}

/* STOCK */
.stock {
  padding: 4px 10px;
  border-radius: 6px;
  color: #000000;
  font-weight: bold;
  font-size: 11px;
}

.stock.bajo {
  background: #ff0000;
}

/* ACCIONES */
.acciones-admin {
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: nowrap;
  flex-direction: column;
}

.btn-editar {
  background: #007bff;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: none;
}

.btn-eliminar {
  background: #ff0000;
  color: #ffffff;
  padding: 6px 10px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
}

/* =========================
   📱 RESPONSIVE TABLET
========================= */
@media (max-width: 768px) {
  .admin-header {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .tabla-admin th,
  .tabla-admin td {
    padding: 9px;
    font-size: 12px;
  }
  .img-admin {
    width: 50px;
    height: 50px;
  }
}
/* =========================
   📱 MOBILE PRO (CARD MODE)
========================= */
@media (max-width: 545px) {
  .tabla-admin th,
  .tabla-admin td {
    padding: 5px;
    font-size: 11.5px;
  }
}
@media (max-width: 480px) {
  .tabla-admin thead {
    display: none;
  }
  .tabla-admin,
  .tabla-admin tbody,
  .tabla-admin tr,
  .tabla-admin td {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
  }
  .tabla-admin tr {
    background: #ffffff;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  .tabla-admin td {
    text-align: left;
    padding: 1px 0;
    border: none;
  }
  .acciones-admin {
    justify-content: flex-start;
    margin-top: 10px;
  }
  .img-admin {
    width: 100%;
    height: auto;
  }
}
/* =========================
   🔥 actualizar admin
========================= */
.admin-form h1 {
  margin-bottom: 20px;
}

/* ALERTA */
.alerta-error {
  background: #ffffff;
  color: #ff0000;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* FORM */
.form-admin {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* FIELDSET */
.form-admin fieldset {
  border: none;
  margin-bottom: 20px;
}

.form-admin legend {
  font-weight: bold;
  margin-bottom: 10px;
  color: #111827;
}

/* CAMPOS */
.campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.campo label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #000000;
}

.campo input,
.campo textarea,
.campo select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  outline: none;
}

/* GRID */
.campo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* IMG PREVIEW */
.img-preview {
  border-radius: 8px;
  margin-top: 10px;
  width: 100%;
  max-width: 30rem;
}

/* previsualizar multiples img galeria actualizar */
.preview-galeria {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preview-galeria img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ffffff;
}

.preview-img {
  width: 150px;
  margin-top: 10px;
  display: none;
}

.preview-galeria {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preview-galeria img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ffffff;
}

/* BOTÓN eliminar img de galeria actualizar */
.preview-galeria {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.preview-galeria img {
  width: 80px;
  border-radius: 6px;
}

.img-item {
  position: relative;
  display: inline-block;
}

.img-item img {
  width: 100px;
  border-radius: 6px;
}

/* BOTÓN FULL */
.boton-full {
  width: 100%;
  margin-top: 10px;
}

/* =========================
   📱 TABLET
========================= */
@media (max-width: 768px) {
  .campo-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   📱 MOBILE
========================= */
@media (max-width: 480px) {
  .form-admin {
    padding: 15px;
  }
  .img-preview {
    width: 100%;
  }
  .campo input,
  .campo textarea,
  .campo select {
    font-size: 14px;
    width: 100%;
  }
}
.preview-img {
  width: 100%;
  max-width: 30rem;
}

/* =========================
   login stilos
========================= */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: #ffffff;
}

.login-box {
  background: #ffffff;
  padding: 30px;
  width: 350px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.login-box h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.login-box label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #000000;
}

.login-box input[type=email],
.login-box input[type=password] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.login-box input:focus {
  border-color: #f0c14b;
  outline: none;
}

.btn-login {
  width: 100%;
  background: #f0c14b;
  border: 1px solid #a88324;
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.btn-login:hover {
  background: #ddb347;
}

.error {
  color: #ff0000;
  margin-bottom: 10px;
}/*# sourceMappingURL=app.css.map */
