/* ==========================================================================
   Estilos Generales y Estructura del Sitio - Mundocarnes
   ========================================================================== */

body {
  background-image: url('https://i.postimg.cc/cHBw1YVq/MUNDOCARNE-web.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
  padding: 20px 0;
}

.panel-base {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border: 2px solid #333;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  width: 100%;
}

.logo-header {
  width: 100%;
  max-width: 250px;
  display: block;
  margin: 0 auto 20px auto;
}

.login-container {
  max-width: 500px;
}

.combos-container {
  max-width: 1200px;
}

.hidden {
  display: none !important;
}

/* Tarjetas de Catálogo */
.card {
  border: 2px solid #4a4a4a !important;
  background-color: rgba(255, 255, 255, 0.9);
}

.card-img-top {
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.card-img-top:hover {
  transform: scale(1.05);
}

/* Pestañas de Navegación */
.nav-tabs .nav-link {
  color: #333;
  font-weight: bold;
  border: 1px solid #ccc;
  margin-right: 5px;
}

.nav-tabs .nav-link.active {
  color: #fff !important;
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
}

.img-agotado {
  opacity: 0.4;
  filter: grayscale(100%);
}

/* Overlay Zoom Imagen */
#overlayImagenGrande {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: zoom-out;
}

#overlayImagenGrande.show {
  display: flex !important;
}

#imagenGrandePopUp {
  max-width: 90%;
  max-height: 90%;
  border: 5px solid white;
  border-radius: 10px;
}

/* Adaptación del Widget intl-tel-input con Bootstrap 5 */
.iti {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
}

.iti__country-list {
  color: #333 !important;
  text-align: left !important;
  z-index: 1050;
}