/* ============================================================
   🎨 PALETA LICOREXCAJA.COM
   ============================================================ */
:root {
  --brand-red: #E30613; /* Rojo principal */
  --brand-dark: #1E1E1E; /* Gris oscuro */
  --brand-gold: #D4AF37; /* Dorado suave */
  --brand-white: #FFFFFF;
  --brand-gray: #F9F9F9;
  --text-gray: #6B7280;
}

/* ============================================================
   🧩 CORRECCIÓN GLOBAL RESPONSIVE (NAVBAR + BREADCRUMB + GRID)
   ============================================================ */

/* --- Ajusta compensación del navbar fijo --- */
body {
  padding-top: 90px; /* deja espacio exacto debajo del navbar */
  overflow-x: hidden; /* evita desplazamiento lateral */
}

/* --- Breadcrumb ajustado --- */
.breadcrumb-container {
  margin-top: 0 !important;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04);
}

/* --- Catálogo y productos en responsive --- */
.productos-grid {
  margin-top: 1.5rem !important;
  padding-top: 0.5rem !important;
}

.categorias-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 0 1rem;
}

.categoria-btn {
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* --- Evita que las tarjetas se peguen al borde --- */
.productos-grid .row {
  padding: 0 1rem;
  justify-content: center;
}

/* --- Navbar fijo mejorado --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* --- Vista móvil limpia --- */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 58px !important;
  }

  .breadcrumb-container {
    margin-top: 0.5rem;
  }

  .productos-grid h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }

  .categoria-btn {
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
  }

  .productos-grid .row {
    gap: 1.5rem;
  }
}

/* ============================================================
   🥂 NAVBAR LICOREXCAJA.COM - ESTILO CORPORATIVO (AJUSTADO)
   ============================================================ */

.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  height: 90px; /* 🔹 altura fija del navbar */
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar .nav-link {
  color: #1E1E1E !important; /* Gris oscuro elegante */
  font-size: 0.95rem;
  margin: 0 0.6rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #E30613 !important; /* Rojo institucional */
  transform: translateY(-1px);
}

.navbar .dropdown-menu {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar .dropdown-item {
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  color: #333;
  transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
  background-color: rgba(227, 6, 19, 0.08);
  color: #E30613;
}


/* Botones login/registro */
.btn-nav-login,
.btn-nav-register {
  border: none;
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-nav-login {
  background-color: #E30613;
  color: #fff !important;
}

.btn-nav-login:hover {
  background-color: #b5040f;
  transform: translateY(-1px);
}

.btn-nav-register {
  background-color: #fff;
  color: #E30613 !important;
  border: 1px solid #E30613;
}

.btn-nav-register:hover {
  background-color: #E30613;
  color: #fff !important;
}

/* ✨ Separación de botones de autenticación */
.d-flex.align-items-center.gap-2 {
  gap: 22px !important;
}

/* Ajuste responsive */
@media (max-width: 768px) {
  .navbar {
    height: auto; /* 🔹 deja que crezca en móvil */
    padding: 0.6rem 0;
  }

  .navbar .nav-link {
    font-size: 1rem;
    margin: 0.4rem 0;
  }

  .btn-nav-login,
  .btn-nav-register {
    width: 100%;
    text-align: center;
  }

}
/* ============================================================
   HERO PRINCIPAL (Inicio)
   ============================================================ */
.hero-licoresxcaja {
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 60%, #f2f2f2 100%);
  padding: 6rem 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-licoresxcaja::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(227, 6, 19, 0.05), transparent 70%);
  z-index: 0;
}

.hero-licoresxcaja .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 50%;
  max-width: 540px;
}
.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 800;
  color: #111;
}
.hero-text .highlight {
  color: var(--brand-red);
}
.hero-text p {
  color: var(--text-gray);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.btn-cta {
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(227, 6, 19, 0.3);
}
.btn-cta:hover {
  background: #b5040f;
  transform: translateY(-3px);
}

/* Imagen del repartidor con halo */
.hero-image {
  flex: 1 1 40%;
  text-align: center;
  position: relative;
}
.hero-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(227,6,19,0.08) 0%, transparent 70%);
  transform: translate(-50%, -30%);
  border-radius: 50%;
  z-index: 0;
}
.hero-image img {
  position: relative;
  z-index: 1;
  width: 300px;
  transform: translateY(35px);
  animation: floatRun 3.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}
@keyframes floatRun {
  0%, 100% { transform: translateY(35px); }
  50% { transform: translateY(25px); }
}

/* ============================================================
   CATEGORÍAS DESTACADAS
   ============================================================ */
.section-categorias {
  background: #fff;
  padding: 4rem 0;
}
.section-categorias h2 {
  color: var(--brand-red);
  font-weight: 800;
  margin-bottom: 2rem;
}
.categoria-item {
  text-align: center;
  transition: all 0.3s ease;
}
.categoria-item img {
  width: 220px;
  height: auto;
  transition: transform 0.3s ease;
}
.categoria-item:hover img {
  transform: scale(1.05);
}
.categoria-item a {
  text-decoration: none;
  color: var(--brand-red);
  font-weight: 600;
  display: block;
  margin-top: 0.8rem;
  transition: color 0.3s ease;
}
.categoria-item a:hover {
  color: var(--brand-dark);
}

/* ============================================================
   PRODUCTOS DESTACADOS
   ============================================================ */
.product-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.product-card img {
  height: 240px;
  object-fit: contain;
  padding: 1rem;
}
.product-card h6 {
  color: var(--brand-dark);
  font-weight: 600;
}
.product-card:hover h6 {
  color: var(--brand-red);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(135deg, #1a0000 0%, #3b0000 60%, #E30613 100%);
  color: #eee;
  font-family: 'Poppins', sans-serif;
  padding: 3rem 1rem;
  text-align: center;
}
.footer h5 {
  color: #fff;
  font-weight: 600;
}
.footer a {
  color: #ffb84d;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .navbar {
    height: 70px;
  }
  .hero-licoresxcaja {
    padding: 4rem 1rem 2rem;
    text-align: center;
  }
  .hero-text {
    order: 2;
    margin-top: 1rem;
  }
  .hero-image {
    order: 1;
  }
  .hero-image img {
    width: 250px;
    transform: translateY(15px);
  }
  .hero-image::before {
    width: 250px;
    height: 250px;
    transform: translate(-50%, -25%);
  }
  .hero-text h1 {
    font-size: 1.9rem;
  }
}

/* ===== MEGA MENU LICOREXCAJA - AJUSTE DE TAMAÑO Y ELEGANCIA ===== */
.mega-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(1000px, 95vw);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.4rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  z-index: 999;
}

/* --- FORZAR QUE EL MEGA MENU SOLO APAREZCA EN ESCRITORIO --- */
@media (max-width: 992px) {
  .mega-menu {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .dropdown-menu {
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  }
}
/* Animación de entrada */
.nav-item.dropdown:hover .mega-menu,
.nav-item.dropdown.show .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Fila centrada */
.mega-menu .row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

/* Tarjeta de categoría */
.menu-category {
  flex: 1 1 0;
  max-width: 280px;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-radius: 14px;
  padding: 0.8rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.menu-category img {
  width: 100%;
  height: 130px; /* 🔽 reducido de 160px */
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.menu-category h6 {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-top: 0.6rem;
  transition: color 0.3s ease;
}

/* Hover */
.menu-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.menu-category:hover img {
  transform: scale(1.06);
}

.menu-category:hover h6 {
  color: #E30613;
}


/* ===== FRANJA DE BENEFICIOS – LICOREXCAJA (Versión final refinada) ===== */
.features-bar {
  background: #fafafa;
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item {
  padding: 1.5rem 1rem;
  transition: all 0.35s ease;
  position: relative;
}

/* === Separadores verticales entre columnas === */
.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}

/* Íconos más pequeños y elegantes */
.feature-item i {
  font-size: 1.4rem;              /* 🔽 antes 1.9rem */
  color: #E30613;
  background: rgba(227, 6, 19, 0.08);
  border-radius: 50%;
  padding: 0.5rem;               /* 🔽 antes 0.6rem */
  margin-bottom: 1.6rem;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Texto */
.feature-item h5 {
  font-weight: 700;
  color: #111;
  margin-bottom: 0.3rem;
  font-size: 1rem;               /* 🔽 ligeramente reducido */
}

.feature-item p {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
}

/* Hover */
.feature-item:hover {
  transform: translateY(-4px);
}

.feature-item:hover i {
  background: rgba(227, 6, 19, 0.2);
  color: #E30613;
  transform: scale(1.08);
}

/* Responsivo */
@media (max-width: 768px) {
  .feature-item {
    border-right: none;
  }
  .feature-item:not(:last-child)::after {
    display: none;
  }
  .feature-item i {
    font-size: 1.2rem;
    padding: 0.8rem;
  }
}

/* ===== SECCIÓN TRADICIÓN / ELEGANCIA / SABOR ===== */
.about-section {
  background: #ffffff;
  padding: 5rem 0;
  position: relative;
}

.about-section .text-accent {
  color: #E30613;
  letter-spacing: 1px;
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #000;
  position: relative;
  margin-bottom: 1.5rem;
}

/* Pequeña línea decorativa */
.about-section h2::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: #E30613;
  top: -12px;
  left: 0;
  border-radius: 3px;
}

.about-section p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.about-section .highlight-text {
  color: #E30613;
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 1.2rem;
  letter-spacing: 0.3px;
}

/* Imagen */
.about-section .about-image img {
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.about-section .about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Adaptable */
@media (max-width: 992px) {
  .about-section {
    text-align: center;
  }

  .about-section h2::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-section .about-image {
    margin-bottom: 2rem;
  }
}

/* ===== SECCIÓN EXPLORA POR EXPERIENCIA ===== */
.experiencias-section {
  background: #f9f9f9;
  padding: 5rem 0;
  text-align: center;
}

.experiencias-section h2 {
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #111;
  position: relative;
}

.experiencias-section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #E30613;
  display: block;
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* === Tarjetas === */
.experiencia-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.experiencia-card img {
  border-radius: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-height: 260px;
  object-fit: cover;
}

.experiencia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.experiencia-card:hover img {
  transform: scale(1.05);
}

.experiencia-card h5 {
  font-weight: 700;
  color: #000;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.experiencia-card p {
  color: #555;
  font-size: 0.95rem;
  margin-top: 0.4rem;
  line-height: 1.6;
  max-width: 85%;
}

/* === Responsive === */
@media (max-width: 768px) {
  .experiencia-card {
    margin-bottom: 1.5rem;
  }
}


/* ===== BREADCRUMB ELEGANTE – LICOREXCAJA ===== */
.breadcrumb-container {
  background: rgba(255, 255, 255, 0.6); /* un toque suave de fondo */
  backdrop-filter: blur(4px); /* sutil efecto de vidrio */
  padding: 0.4rem 0;
  margin-top: 0;
  border: none !important;
  box-shadow: none !important;
}

.breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0.3rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
}

.breadcrumb-item a {
  text-decoration: none;
  color: #111;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #E30613;
  text-decoration: underline;
}

/* Flechas separadoras */
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #E30613;
  font-weight: 600;
  margin: 0 6px;
}

/* Último elemento activo */
.breadcrumb-item.active {
  color: #E30613;
  font-weight: 700;
}

/* Ícono inicial */
.breadcrumb i {
  color: #E30613;
  margin-right: 4px;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.9rem;
  }
}

/* ============================
   ✨ ENCABEZADO DEL CATÁLOGO
   ============================ */

.productos-container {
  background-color: #f9fafc;
  border-radius: 18px;
  padding: 4rem 2rem 3rem 2rem;
  margin-top: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
/* ============================
   🛍️ Ajustes Finales Catálogo
   ============================ */

/* Centrar el título */
.productos-container h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #b30021;
  margin-bottom: 2.5rem;
  position: relative;
  letter-spacing: 0.5px;
}

/* Subrayado centrado */
.productos-container h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #b30021;
  border-radius: 2px;
}

/* Separación entre título y categorías */
.categorias-bar {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

/* Botones categoría */
.categoria-btn {
  border: 1px solid rgba(179, 0, 33, 0.25);
  color: #b30021;
  font-weight: 500;
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  background: #fff;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.categoria-btn:hover {
  background-color: #b30021;
  color: #fff;
  border-color: #b30021;
  transform: translateY(-2px);
}

.categoria-btn.active {
  background-color: #b30021;
  color: #fff;
  border-color: #b30021;
  box-shadow: 0 4px 14px rgba(179, 0, 33, 0.25);
}

/* ============================
   🍇 CATÁLOGO PROFESIONAL (5 columnas + márgenes)
   ============================ */

.productos-grid {
  background: #f9fafc;
  padding: 3rem 0 4rem 0;
}

.container-catalogo {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* 🏷️ Título */
.container-catalogo h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #b30021;
  margin-bottom: 2rem;
  position: relative;
}

.container-catalogo h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #b30021;
  border-radius: 2px;
}

/* ===== CATEGORÍAS ===== */
.categorias-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.categoria-btn {
  border: 1px solid rgba(179, 0, 33, 0.25);
  color: #b30021;
  font-weight: 500;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  background: #fff;
  transition: all 0.3s ease;
}

.categoria-btn:hover {
  background-color: #b30021;
  color: #fff;
  border-color: #b30021;
}

.categoria-btn.active {
  background-color: #b30021;
  color: #fff;
  border-color: #b30021;
  box-shadow: 0 4px 12px rgba(179, 0, 33, 0.25);
}

/* ===== GRID DE PRODUCTOS ===== */
.grid-productos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  justify-items: center;
}

/* ===== TARJETAS ===== */
.product-card {
  background: #fff;
  border-radius: 16px;
  text-align: center;
  padding: 1.5rem 1rem;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 240px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card img {
  height: 200px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card h6 {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.product-card small {
  display: block;
  color: #666;
  margin-bottom: 0.4rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
  .grid-productos {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .grid-productos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-productos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-productos {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ===============================
   🌟 ESTILOS DE LOGIN / REGISTRO / PERFIL
   =============================== */

/* Fondo general */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  background: linear-gradient(135deg, #fafafa 0%, #f3f3f3 100%);
  padding: 2rem;
}

/* Tarjeta principal */
.auth-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  transition: all 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Títulos */
.auth-card h2 {
  font-size: 1.8rem;
  color: #b30021; /* tono vino corporativo */
}

.auth-card p {
  color: #666;
}

/* Inputs */
.auth-card .form-control {
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.auth-card .form-control:focus {
  border-color: #b30021;
  box-shadow: 0 0 0 2px rgba(179, 0, 33, 0.15);
}

/* Botón principal */
.btn-auth {
  background: #b30021;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(179, 0, 33, 0.25);
  transition: all 0.3s ease;
}

.btn-auth:hover {
  background: #8e001b;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(179, 0, 33, 0.35);
}

/* Enlaces inferiores */
.link-gold {
  color: #d4af37;
  text-decoration: none;
  transition: color 0.3s ease;
}
.link-gold:hover {
  color: #b30021;
  text-decoration: underline;
}

/* Perfil (avatar redondo) */
.auth-card .bi-person-circle {
  color: #b30021;
}

/* Responsivo */
@media (max-width: 768px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }
  .auth-card h2 {
    font-size: 1.5rem;
  }
}

/* ==============================
   ⚙️ ESTRUCTURA FLEXIBLE GLOBAL
   ============================== */

html, body {
  height: 100%;
  margin: 0;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* asegura que use todo el alto de la pantalla */
}

.site-main {
  flex: 1; /* empuja el footer al fondo si el contenido es corto */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Evita que el footer se quede flotando */
footer {
  margin-top: auto;
}

/* ============================
   🍾 DETALLE DE PRODUCTO
   ============================ */

.producto-detalle {
  background-color: #fafafa;
  border-radius: 18px;
  padding: 3rem 2rem;
}

/* 📸 Imagen */
.detalle-img-wrapper {
  background: #fff;
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.detalle-img-wrapper img {
  max-height: 420px;
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.detalle-img-wrapper:hover img {
  transform: scale(1.04);
}

/* 🧾 Títulos */
.producto-detalle h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #b30021;
}

.producto-detalle .text-muted {
  line-height: 1.7;
}

/* 💸 Badge */
.bg-danger-subtle {
  background: rgba(179, 0, 33, 0.12);
  color: #b30021 !important;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* 🛒 Botón CTA */
.btn-cta {
  background-color: #b30021;
  color: #fff;
  padding: 0.75rem 1.7rem;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(179, 0, 33, 0.25);
}

.btn-cta:hover {
  background-color: #8d001b;
  box-shadow: 0 6px 18px rgba(179, 0, 33, 0.35);
}

/* 🔢 Selector de cantidad */
.input-group input {
  text-align: center;
  font-weight: 600;
}

.input-group .btn {
  border-radius: 8px !important;
  border: 1px solid #ddd;
  color: #333;
}

/* ⭐ Productos relacionados (si usas luego) */
.product-card {
  border-radius: 16px;
  background: #fff;
  transition: all 0.3s ease;
}

.product-card img {
  height: 220px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.product-card:hover img {
  transform: scale(1.05);
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .producto-detalle {
    padding: 2rem 1rem;
  }

  .producto-detalle h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  .detalle-img-wrapper {
    margin-bottom: 2rem;
  }
}


/* ============================
   🛒 ESTILOS DEL CARRITO
   ============================ */

.carrito-container {
  background: #fafafa;
  border-radius: 18px;
  padding: 3rem 2rem 4rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

/* Título */
.carrito-container h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #b30021;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.carrito-container h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #b30021;
  border-radius: 2px;
}

/* ============================
   TABLA
   ============================ */

.carrito-container .table {
  background: #fff !important;
  border-radius: 16px;
  overflow: hidden;
}

.carrito-container .table thead {
  background: linear-gradient(90deg, #b30021, #e6002c) !important;
  color: #fff !important;
}

.carrito-container .table tbody tr {
  transition: all 0.2s ease;
}

.carrito-container .table tbody tr:hover {
  background-color: #fff5f6 !important;
}

.carrito-container .table img {
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ============================
   BOTONES DE CANTIDAD
   ============================ */

.carrito-container .btn-group .btn {
  border-radius: 6px !important;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-color: #b30021 !important;
  color: #b30021 !important;
}

.carrito-container .btn-group .btn:hover {
  background-color: #b30021 !important;
  color: #fff !important;
}

/* ============================
   BOTÓN QUITAR
   ============================ */

.carrito-container .btn-outline-danger {
  border: 1px solid #b30021 !important;
  color: #b30021 !important;
}

.carrito-container .btn-outline-danger:hover {
  background-color: #b30021 !important;
  color: #fff !important;
}

/* ============================
   BOTÓN SECUNDARIO
   ============================ */

.carrito-container .btn-outline-secondary {
  border: 1px solid #ccc !important;
  color: #444 !important;
}

.carrito-container .btn-outline-secondary:hover {
  background-color: #b30021 !important;
  border-color: #b30021 !important;
  color: #fff !important;
}

/* ============================
   CARD DE TOTALES
   ============================ */

.card-totales {
  border: none;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  padding: 1rem;
}

.card-totales h4 {
  color: #198754;
  font-weight: 700;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 768px) {
  
  .carrito-container {
    padding: 2rem 1rem 3rem;
  }

  .carrito-container .table thead {
    display: none;
  }

  .carrito-container .table tbody tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.2rem;
    padding: 1rem 0.8rem;
  }

  .carrito-container .table td img {
    width: 90px;
    margin-bottom: 0.5rem;
  }

  .carrito-container .btn-group {
    justify-content: center;
  }

  .carrito-container .btn-group .btn {
    width: 34px;
    height: 34px;
    border-radius: 8px !important;
  }

  .card-totales {
    margin-top: 1rem;
    text-align: center;
  }
}

/* ============================
   💳 ESTILOS DEL CHECKOUT
   ============================ */

.checkout-container {
  background: #fafafa;
  border-radius: 18px;
  padding: 3rem 2rem 4rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

/* Título principal */
.checkout-container h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #b30021;
  text-align: center;
  position: relative;
  margin-bottom: 2.5rem;
}

.checkout-container h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #b30021;
  border-radius: 2px;
}

/* Tarjetas */
.checkout-card,
.checkout-summary {
  border-radius: 16px;
  background: #fff;
  transition: all 0.3s ease;
}

.checkout-card:hover,
.checkout-summary:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

/* Subtítulos */
.checkout-card h5,
.checkout-summary h5 {
  font-weight: 700;
  color: #b30021;
}

/* Iconos */
.text-gold {
  color: #d4af37 !important;
}

/* Campos del formulario */
.checkout-card .form-label {
  font-weight: 600;
  color: #555;
}

.checkout-card input,
.checkout-card textarea,
.checkout-card select {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 0.7rem 1rem;
  transition: all 0.2s ease;
  width: 100%;
}

.checkout-card input:focus,
.checkout-card textarea:focus,
.checkout-card select:focus {
  border-color: #b30021;
  box-shadow: 0 0 0 0.2rem rgba(179, 0, 33, 0.1);
}



/* ===== MÉTODO DE PAGO ===== */
.metodo-pago-section {
  background: #fdfdfd;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.metodo-pago-section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.pago-detalle {
  background: #f8f8f8;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.2rem;
}

.pago-detalle a.btn {
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
}

/* Comprobante */
input[type="file"] {
  background-color: #fff;
  border: 1px dashed #bbb;
  border-radius: 10px;
  padding: 0.6rem;
  font-size: 0.9rem;
  color: #555;
  width: 100%;
  transition: all 0.3s ease;
}

input[type="file"]:hover {
  border-color: #b30021;
}



/* ===== SECCIÓN ENVÍO ===== */
.envio-section {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.envio-section select {
  border-radius: 8px;
  border-color: #ccc;
  padding: 0.6rem 1rem;
  font-weight: 500;
  color: #333;
}

/* ===== BOTÓN PRINCIPAL ===== */
.btn-brand {
  background-color: #b30021;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(179, 0, 33, 0.2);
  transition: all 0.3s ease;
}

.btn-brand:hover {
  background-color: #8d001b;
  box-shadow: 0 6px 16px rgba(179, 0, 33, 0.3);
}

/* ===== TABLA RESUMEN ===== */
.checkout-summary table {
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
}

.checkout-summary th {
  background-color: #f3f4f6;
  color: #333;
  font-weight: 600;
  text-align: center;
}

.checkout-summary td {
  padding: 0.8rem;
  vertical-align: middle;
}

.checkout-summary td.text-end {
  color: #000;
  font-weight: 600;
}

/* Totales */
.checkout-summary .text-success {
  color: #198754 !important;
  font-weight: 700;
}

.checkout-summary hr {
  border-top: 2px solid rgba(0, 0, 0, 0.05);
}

/* ============================
   ✅ PEDIDO CONFIRMADO
   ============================ */

.pedido-confirmado-container {
  background: #fafafa;
  border-radius: 18px;
  padding: 4rem 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

/* Círculo del ícono */
.check-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f4f4f4);
  border: 3px solid #d4af37;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  animation: popIn 0.8s ease forwards;
}

.check-circle i {
  font-size: 3rem;
  color: #d4af37;
}

@keyframes popIn {
  0% { transform: scale(0.6); opacity: 0; }
  80% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

/* Mensaje principal */
.pedido-confirmado-container h2 {
  color: #b30021;
  font-size: 2rem;
  position: relative;
}

.pedido-confirmado-container h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background-color: #b30021;
  border-radius: 2px;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Tarjeta de detalles */
.pedido-card {
  max-width: 480px;
  border-radius: 16px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.pedido-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.pedido-card h5 {
  font-weight: 700;
  color: #b30021;
}

.pedido-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Botones */
.btn-brand {
  background-color: #b30021;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(179, 0, 33, 0.2);
  transition: all 0.3s ease;
}

.btn-brand:hover {
  background-color: #8d001b;
  box-shadow: 0 6px 14px rgba(179, 0, 33, 0.3);
}

.btn-outline-dark {
  border-radius: 10px;
  border: 1.5px solid #222;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background-color: #222;
  color: #fff;
}

/* Ícono dorado */
.text-gold {
  color: #d4af37 !important;
}

/* Responsive */
@media (max-width: 992px) {
  .checkout-container {
    padding: 2rem 1rem 3rem;
  }

  .checkout-container h2 {
    font-size: 1.7rem;
  }

  .checkout-card,
  .checkout-summary {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }

  .checkout-summary table {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .pedido-confirmado-container {
    padding: 2.5rem 1rem;
  }

  .check-circle {
    width: 90px;
    height: 90px;
  }

  .check-circle i {
    font-size: 2.2rem;
  }

  .pedido-card {
    width: 100%;
  }

  .pedido-confirmado-container h2 {
    font-size: 1.6rem;
  }

  .btn-brand,
  .btn-outline-dark {
    width: 100%;
    margin-bottom: 0.8rem;
  }
}

/* =========================================================
   ✨ PRODUCTOS DESTACADOS – Versión Premium con profundidad
   ========================================================= */
.products-featured {
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  padding: 5rem 0;
}

/* Título */
.products-featured h2.section-title {
  color: #111;
  font-weight: 600; /* puedes dejar 900 o 1000 si la fuente lo soporta */
  font-size: 2rem;  /* tamaño más grande */
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  letter-spacing: -0.5px;
}

.products-featured .section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #E30613;
  display: block;
  margin: 0.8rem auto 0;
  border-radius: 3px;
}

/* ==== TARJETAS ==== */
.products-featured .product-card {
  background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
  border-radius: 18px;
  text-align: center;
  padding: 1.6rem 1rem 1.4rem;
  transition: all 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* 🔥 Hover elegante */
.products-featured .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.15);
  background: linear-gradient(180deg, #fff 0%, #f1f1f1 100%);
  border-color: rgba(227, 6, 19, 0.15);
}

/* Imagen */
.products-featured .product-img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  margin-bottom: 0.6rem;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.products-featured .product-card:hover .product-img {
  transform: scale(1.07);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
}

/* Badge descuento */
.products-featured .badge-discount {
  position: absolute;
  top: 12px;
  left: 14px;
  background: rgba(227, 6, 19, 0.1);
  color: #E30613;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(227, 6, 19, 0.15);
}

/* Overlay “Ver detalle” */
.products-featured .hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.products-featured .product-card:hover .hover-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

/* Botón “Ver detalle” */
.products-featured .btn-view {
  background: #fff;
  color: #E30613;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.products-featured .btn-view:hover {
  background: #E30613;
  color: #fff;
}

/* Texto y precios */
.products-featured h6 {
  font-weight: 700;
  color: #000;
  font-size: 1rem;
  margin-top: 0.8rem;
}

.products-featured small {
  color: #666;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.products-featured .fw-bold {
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}

.products-featured .text-danger {
  color: #E30613 !important;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
  .products-featured .product-card {
    max-width: 200px;
  }
  .products-featured .product-img {
    height: 150px;
  }
}
@media (max-width: 768px) {
  .products-featured h2.section-title {
    font-size: 2.2rem;
  }
}

/* Ocultar LOGIN / REGISTRO dentro del menú colapsado en móviles */
@media (max-width: 992px) {
  .navbar .collapse .btn-nav-login,
  .navbar .collapse .btn-nav-register {
    display: none !important;
  }
}

/* Bandera del ecuador*/
/* Estilos generales */
.flag-ec {
    height: 22px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
    object-fit: cover;
    transition: transform 0.2s ease;
}

.flag-ec:hover {
    transform: scale(1.05);
}

/* Tablets */
@media (max-width: 991px) {
    .flag-ec {
        height: 20px;
        margin-left: 6px;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .flag-ec {
        height: 18px;
        margin-left: 4px;
    }
}


/* ===== BOTÓN WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 130px; /* para no tapar al chatbot */
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366; /* verde WhatsApp */
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  text-decoration: none;
  z-index: 9999;
  transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

/* 🔥 Ocultar el dropdown de PRODUCTOS en escritorio */
@media (min-width: 993px) {
  .nav-item.dropdown .dropdown-menu {
    display: none !important;
  }
}

/* 🔥 Ocultar el mega menú en móvil */
@media (max-width: 992px) {
  .mega-menu {
    display: none !important;
  }
}

/*validacion de errores en el campo de chekout color rojo*/
.input-error {
  border: 2px solid #e63946 !important;
  background-color: #ffe6e6 !important;
  animation: shake 0.3s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* ==== RADIOS DEL CHECKOUT (bonitos y uniformes) ==== */
.checkout-card .form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid #b30021;
  border-radius: 50%;
  appearance: none;
  background: #fff;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.checkout-card .form-check-input:checked {
  background-color: #b30021;
  border-color: #b30021;
}

.checkout-card .form-check-input:checked::after {
  content: "";
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  top: 4px;
  left: 4px;
}


/* === RADIOS BONITOS – FORZAR ESTILO COMO PRODUCCIÓN === */
.form-check-input {
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #b30021 !important;
  border-radius: 50% !important;
  appearance: none !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: 0.2s ease-in-out !important;
  margin-right: 8px !important;
}

.form-check-input:checked {
  background-color: #b30021 !important;
  border-color: #b30021 !important;
}

.form-check-input:checked::after {
  content: "" !important;
  position: relative !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  background: #fff !important;
  border-radius: 50% !important;
  top: 4px !important;
  left: 4px !important;
}


/* ============================================================
   🎨 WRAPPER GENERAL DE FILTROS — PREMIUM
============================================================ */
.filtros-wrapper {
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
}

/* Botón móvil */
.btn-toggle-filtros {
  width: 100%;
  border: none;
  background: #E30613;
  color: #fff;
  padding: 0.8rem 1rem;
  font-size: 1.1rem;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-toggle-filtros i {
  font-size: 1.3rem;
}

/* ============================================================
   🎯 PANEL COLAPSABLE PARA MÓVIL
============================================================ */
.filtros-panel {
  max-height: 1000px; /* abierto */
  overflow: hidden;
  transition: all 0.45s ease;
}

.filtros-panel.open {
  max-height: 2000px;
}

@media (max-width: 768px) {
  .filtros-panel {
    max-height: 0; /* cerrado desde inicio */
  }
  .filtros-panel.open {
    max-height: 1500px;
  }
}

/* ============================================================
   🎛️ BARRA DE FILTROS — PREMIUM
============================================================ */
.filtros-bar {
  padding: 1rem;
}

.filtros-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.filtro-item {
  display: flex;
  flex-direction: column;
  min-width: 180px;
  flex: 1;
}

.filtro-item label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Inputs / selects premium */
.filtro-item select,
.filtro-item input[type="text"] {
  border-radius: 10px;
  border: 1px solid #dfe3e8;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  background: #fafafa;
  transition: all 0.15s ease;
}

.filtro-item select:focus,
.filtro-item input[type="text"]:focus {
  border-color: #E30613;
  box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.15);
}

/* Buscar ancho */
.filtro-buscar {
  flex: 2;
}

/* Botones */
.filtro-botones {
  flex: 0 0 auto;
  display: flex;
  gap: 0.6rem;
}

.btn-aplicar-filtros {
  border-radius: 8px;
  background: #E30613;
  border: none;
  color: #fff;
  padding: 0.65rem 1.2rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-aplicar-filtros:hover {
  background: #b9040f;
}

.btn-limpiar-filtros {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 0.6rem 1rem;
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

/* ============================================================
   📱 RESPONSIVE MÁS PRO
============================================================ */
@media (max-width: 992px) {
  .filtro-item {
    min-width: 48%;
  }
  .filtro-buscar {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .filtros-bar {
    padding: 0;
  }
  .filtros-row {
    flex-direction: column;
  }
  .filtro-item {
    width: 100%;
  }
  .btn-aplicar-filtros,
  .btn-limpiar-filtros {
    width: 100%;
  }
  .filtro-botones {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .filtros-wrapper {
    border-radius: 0;
    padding: 0.8rem;
  }
}

/* ============================
   🔧 FIX RESPONSIVE NAVBAR
============================ */

/* 1️⃣ Elimina altura fija que rompe el collapse */
.navbar {
  height: auto !important;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}


/* 3️⃣ Alineación perfecta de elementos */
.navbar .container {
  display: flex;
  align-items: center;
}

/* 4️⃣ Ícono hamburguesa más centrado y visible */
.navbar-toggler {
  margin-left: 8px;
  padding: 6px 8px;
}

/* 5️⃣ Botones móviles arriba correctamente */
.d-lg-none .btn-nav-login,
.d-lg-none .btn-nav-register {
  font-size: 0.9rem;
  border-radius: 25px;
}

/* 6️⃣ Evitar que el dropdown móvil quede TAPADO */
.navbar-collapse {
  background: white;
  padding: 1rem 0;
  z-index: 9999;
  border-radius: 0 0 12px 12px;
}

/* 7️⃣ Mostrar categorías SOLO en móvil */
@media (max-width: 992px) {
  .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
  }
}

/* 8️⃣ Mega menú solo escritorio (como ya lo tienes) */
@media (max-width: 992px) {
  .mega-menu {
    display: none !important;
  }
}

/* 9️⃣ Evita que algo lo empuje hacia abajo */
body {
  overflow-x: hidden;
}

/* ==== REDUCIR ALTURA DEL NAVBAR Y ESPACIO SUPERIOR ==== */

/* Reduce padding del navbar */
.navbar {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* 🔥 Tamaño fijo del logo en el navbar */
.navbar-brand .logo-nav {
    height: 87px;              /* <<< ajusta aquí el tamaño base */
    width: auto;
    transition: transform 0.25s ease-out;
    transform-origin: center center;
}

/* 🔥 Efecto hover sin alterar el alto del navbar */
.navbar-brand .logo-nav:hover {
    transform: scale(1.50);    /* <<< tamaño al hacer hover */
}

/* 🔥 Fijar altura del navbar para que NO crezca */
nav.navbar {
    height: 110px;             /* <<< ajusta para tu diseño */
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;  /* muestra el hover sin cambiar altura */
}

/* ============================================
   📱 RESPONSIVE GLOBAL PARA TODO EL SITIO
   ============================================ */

/* Teléfonos estándar (iPhone 11/12/13/14, Samsung, etc.) */
@media (max-width: 425px) {

    /* Navbar más compacto */
    nav.navbar {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    /* Logo controlado */
    .navbar .logo-nav {
        height: 48px !important;
        max-height: 50px !important;
        width: auto !important;
    }

    /* Bandera más pequeña */
    .flag-ec {
        height: 28px !important;
    }

    /* Botones ingresar / registrarse */
    .btn-nav-login,
    .btn-nav-register {
        padding: 5px 10px !important;
        font-size: 14px !important;
    }

    /* Separación general del searchbar */
    .home-searchbar-container {
        padding-top: 10px !important;
    }

    /* Títulos más compactos */
    h1, h2, h3 {
        margin-top: 5px !important;
    }
}

/* Teléfonos pequeños (iPhone SE, Android pequeño) */
@media (max-width: 375px) {

    .navbar .logo-nav {
        height: 42px !important;
    }

    .btn-nav-login,
    .btn-nav-register {
        font-size: 13px !important;
        padding: 4px 8px !important;
    }
}

/* FIX GLOBAL – evita que otras secciones empujen al navbar */
body {
    margin-top: 40px !important;   /* Ajusta según la altura real del navbar */
}

/* Nunca permitir que el navbar aumente de tamaño */
nav.navbar {
    height: 90px !important;  /* Ajusta si necesitas 80, 85, 100... */
    max-height: 90px !important;
    overflow: visible;
}

