@charset "UTF-8";
/**
 * Startup Gasu 2026 - Main Sass Manifest
 * Directorio: /var/www/html/assets/css/main.scss
 */
/* Estilos reutilizables */
.product-location {
  text-align: left;
  font-size: 0.5rem;
  color: var(--gasu-gray);
  margin-bottom: 0.1rem;
}

.product-descrip-corta {
  font-size: 0.7rem;
  line-height: 1;
  color: var(--gasu-dark-gray);
}

.share-box-social {
  margin-top: 25px;
}
.share-box-social p {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}
.share-box-social .social-buttons {
  display: flex;
  gap: 15px;
}
.share-box-social .social-buttons .social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.share-box-social .social-buttons .social-icon:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}
.share-box-social .social-buttons .social-icon.whatsapp {
  background: #25D366;
}
.share-box-social .social-buttons .social-icon.facebook {
  background: #1877F2;
}
.share-box-social .social-buttons .social-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.share-box-social .social-buttons .social-icon.tiktok {
  background: #000000;
}

/* login */
.error-box {
  background: #fff5f5;
  color: #d32f2f;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  border: 1px solid #ffcccc;
}

.footer-links {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #666;
}

.footer-links a {
  color: #b48b3b;
  text-decoration: none;
  font-weight: 700;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4e342e;
  text-align: center;
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: #4e342e;
  font-size: 0.85rem;
  text-transform: uppercase;
}

input {
  width: 100%;
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 1rem;
  transition: 0.3s;
}

input:focus {
  border-color: #b48b3b;
  outline: none;
  background: #fffcf5;
}

:root {
  /* Identidad Gasu */
  --gasu-gold: #b48b3b;
  --gasu-brown: #4e342e;
  --gasu-dark: #1a1a1a;
  --gasu-white: #ffffff;
  --gasu-bg: #f8f5f2;
  /* Radiofrecuencia y Estado */
  --rf-active: #00ff41; /* Verde Matrix para transmisión */
  --rf-standby: #ffd700; /* Oro para espera */
  --rf-danger: #ff4b2b; /* Rojo para alertas */
  /* Sistema de Grilla */
  --container-width: 1300px;
  --gap-main: 1.5rem;
  /* Sombras Pro */
  --shadow-md: 0 10px 30px -5px rgba(78, 52, 46, 0.15);
}

/* RESET PROFESIONAL - ALTA PRODUCCIÓN */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: var(--gasu-bg);
  color: var(--gasu-dark);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Grid de home/index.php --- */
.vendedores-grid-mini {
  display: grid; /* Se elimina !important para mejorar la mantenibilidad */
  /* Crea una rejilla responsiva: cada tarjeta tendrá un mínimo de 160px y un máximo de 200px.
     Las columnas se ajustan automáticamente al ancho del contenedor. */
  grid-template-columns: repeat(auto-fill, minmax(160px, 200px));
  gap: 20px; /* Espacio entre elementos de la rejilla */
  padding: 20px; /* Espacio interno alrededor de la rejilla */
  justify-content: center; /* Centra la rejilla completa si no llena la fila */
}

/* Grid de productos.php */
.productos-view-container {
  display: grid;
  /* Usamos minmax(0, 1fr) para que la columna de productos no "empuje" el layout */
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px; /* Un poco más de espacio entre productos y buscador */
  margin-top: 20px;
  align-items: start;
  width: 100%;
  max-width: 1150px; /* Ajusta esto según el ancho máximo de tu web */
  margin-left: auto;
  margin-right: auto;
}

/* Grid de productos.php - Rejilla de productos */
.gasu-grid-productos {
  display: grid;
  /* Dividimos el 100% entre 5 y restamos el proporcional de los 4 gaps */
  grid-template-columns: repeat(5, calc((100% - 80px) / 5));
  gap: 20px;
  width: 100%;
  /* Esto evita que Edge intente expandir el grid por encima del padre */
  overflow: hidden;
  box-sizing: border-box;
}

/* SISTEMA DE BOTONES STARTUP GASU */
/* Viven en pág, home/index.php */
.btn-visitar-mini {
  background: var(--gasu-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 8px 15px;
  border-radius: 20px;
  margin-top: auto; /* Empuja el botón al final si hay poco texto */
  transition: background 0.3s;
}

.card-vendedor-mini:hover .btn-visitar-mini {
  background: var(--gasu-brown);
}

/* Viven en pág, productos.php */
.btn-gasu-mini {
  background: var(--gasu-gold);
  color: white;
  border: none;
  /* ACTIVAR FLEXBOX: Esto es lo que faltaba para que align/justify funcionen */
  display: flex;
  align-items: center;
  justify-content: center;
  /* DIMENSIONES */
  width: 100%; /* Ocupa todo el ancho de la tarjeta */
  padding: 10px 5px; /* Un poco más de altura (arriba/abajo) para que sea táctil */
  margin-top: auto; /* TRUCO CLAVE: Empuja el botón siempre al final de la tarjeta */
  /* ESTILO */
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600; /* Un poco más de grosor para legibilidad */
  border-radius: 0; /* Lo ponemos en 0 para que combine con tus tarjetas cuadradas */
  text-transform: uppercase; /* Opcional: le da un look más "táctico" */
  transition: background 0.3s ease;
}
.btn-gasu-mini:hover {
  background: var(--gasu-brown); /* Un color más oscuro al pasar el mouse */
}

.btn-gasu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--gasu-gold);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-gasu:hover {
  background-color: var(--gasu-brown);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gasu:active {
  transform: translateY(0);
}

/* Viven en pág, detalles_de_producto.php */
.btn-gasu-whatsapp {
  display: block;
  background: #25D366;
  color: white;
  padding: 18px;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
}
.btn-gasu-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* login */
.btn-login {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 12px;
  color: #fff;
  background: #4e342e;
  font-weight: 700;
  cursor: pointer;
  transition: 0.4s;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(78, 52, 46, 0.2);
}

.btn-login:hover {
  background: #35231f;
  transform: translateY(-3px);
}

/* Variante para el Dashboard / Radio */
.btn-ptt {
  background-color: var(--gasu-dark);
  border: 2px solid var(--gasu-gold);
  color: var(--gasu-gold);
}

.btn-ptt:active {
  background-color: var(--rf-danger);
  color: white;
  border-color: var(--rf-danger);
}

/**
 * Startup Gasu 2026 - Main Sass Manifest
 * Directorio: /var/www/html/assets/css/main.scss
 */
/* ==========================================================================
   COMPONENTS: CONTENEDOR DE CARDS
   ========================================================================== */
/* INDEX.PHP */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-vendedor-mini {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-vendedor-mini:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gasu-gold);
}

/* PRODUCTOS.PHP */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gasu-gold);
}
.product-card .product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-card .card-productos {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card .card-productos .btn-gasu-mini {
  margin-top: auto;
  text-align: center;
  display: block;
}

/* ==========================================================================
   PAGES: DETALLES DE PRODUCTO (CON EFECTO LUPA PREMIUM)
   ========================================================================== */
.details-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 20px;
  position: relative;
}
.details-wrapper .product-gallery {
  position: relative;
}
.details-wrapper .product-gallery .main-img-container {
  position: relative;
  overflow: visible;
  cursor: grab;
  border-radius: 20px;
}
.details-wrapper .product-gallery .main-img-container:active {
  cursor: grabbing;
}
.details-wrapper .product-gallery .main-img-container img {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.details-wrapper .product-gallery .main-img-container {
  /* --- LA LUPITA (LENTE) --- */
}
.details-wrapper .product-gallery .main-img-container #zoom-lens {
  position: absolute;
  border: 2px dashed var(--gasu-gold);
  background-color: rgba(180, 139, 59, 0.15);
  width: 130px;
  height: 130px;
  border-radius: 10px;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
.details-wrapper .product-gallery .main-img-container {
  /* --- CAJA FLOTANTE DE RESULTADO --- */
}
.details-wrapper .product-gallery .main-img-container #zoom-result {
  position: absolute;
  border: 3px solid var(--gasu-gold);
  background-color: #fff;
  width: 100%;
  height: 100%;
  top: 0;
  left: 105%;
  background-repeat: no-repeat;
  visibility: hidden;
  z-index: 100;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  transform: translateZ(0);
  will-change: background-position;
}
.details-wrapper .product-gallery .thumbs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 15px;
}
.details-wrapper .product-gallery .thumbs-grid .gallery-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.details-wrapper .product-gallery .thumbs-grid .gallery-thumb:hover {
  transform: scale(1.05);
}
.details-wrapper .product-gallery .thumbs-grid .gallery-thumb.active {
  border-color: var(--gasu-gold);
}
.details-wrapper .product-gallery .video-container {
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
  background: #000;
}
.details-wrapper .product-gallery .video-container video {
  width: 100%;
  aspect-ratio: 16/9;
}
.details-wrapper .product-info .product-title {
  font-size: 2rem;
  margin: 10px 0;
}
.details-wrapper .product-info .price-tag {
  font-size: 2.5rem;
  color: var(--gasu-gold);
  font-weight: bold;
}
.details-wrapper .product-info .price-tag span {
  display: block;
  font-size: 0.8rem;
  color: #777;
}
.details-wrapper .product-info .product-desc-box {
  margin: 30px 0;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  border-left: 5px solid var(--gasu-gold);
}
.details-wrapper .product-info .product-desc-box h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gasu-brown);
}
.details-wrapper .product-info .product-desc-box p {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #444;
}
.details-wrapper .product-info .btn-gasu-whatsapp {
  display: block;
  background: #25D366;
  color: white;
  padding: 18px;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
}
.details-wrapper .product-info .btn-gasu-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.details-wrapper .product-info .pago-movil-box {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
}
.details-wrapper .product-info .pago-movil-box h5 {
  text-align: center;
  margin-bottom: 10px;
  color: var(--gasu-dark);
}
.details-wrapper .product-info .pago-movil-box .pago-movil-datos p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* --- RESPONSIVIDAD INTEGRADA --- */
@media (max-width: 992px) {
  .details-wrapper {
    grid-template-columns: 1fr;
  }
  .details-wrapper .product-gallery .main-img-container {
    cursor: default;
  }
  .details-wrapper .product-gallery .main-img-container #zoom-lens, .details-wrapper .product-gallery .main-img-container #zoom-result {
    display: none !important;
  }
  /* Solución al panel de menú lateral borroso */
  .sidebar-gasu {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
  }
}
/* LOGIN.PHP */
.login-container-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.login-image-side {
  width: 50vw;
  max-width: 900px;
  display: block;
}

.login-image-side img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.login-card {
  background: #fff;
  padding: 60px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 420px;
  border-top: 6px solid var(--gasu-gold);
  flex-shrink: 0;
}

/* 6. (Filtro por estados y municipios) */
.filter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filter-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--gasu-brown);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.filter-form select, .filter-form input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.8rem;
  background: #fff;
}

.reset-filter {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  color: #d9534f;
  text-decoration: none;
  margin-top: 10px;
}

/* ==========================================================================
   COMPONENTS: FORMS & INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-m);
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--gasu-brown);
  margin-bottom: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  background: #fdfdfd;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gasu-gold);
  background: white;
  box-shadow: 0 0 0 4px rgba(180, 139, 59, 0.1);
}

/* Contenedor de Registro */
.registro-box {
  max-width: 600px;
  margin: 40px auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--gasu-gold);
}

/* ==========================================================================
   COMPONENT: RADIOFRECUENCIA TÁCTICA
   ========================================================================== */
/* Contenedor Principal de la Radio */
.radio-terminal {
  background: #0a0a0a; /* Negro profundo */
  border: 2px solid var(--gasu-gold);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 600px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(180, 139, 59, 0.2);
}

/* Cabecera de Frecuencia */
.radio-header {
  background: var(--gasu-brown);
  color: var(--gasu-gold);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gasu-gold);
  font-family: monospace;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.led-active {
  width: 10px;
  height: 10px;
  background-color: var(--rf-active);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--rf-active);
  animation: pulse-radio 1.5s infinite;
}

/* Pantalla de Mensajes (Monitor) */
.radio-screen {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: linear-gradient(180deg, #0f0f0f 0%, #050505 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Burbujas de Transmisión */
.transmision {
  max-width: 85%;
  padding: 10px 15px;
  border-radius: 8px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.4;
}

.transmision--entrante {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
  border-left: 3px solid var(--gasu-gold);
}

.transmision--saliente {
  align-self: flex-end;
  background: rgba(180, 139, 59, 0.1);
  color: var(--gasu-gold);
  border-right: 3px solid var(--gasu-gold);
}

.transmision__meta {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-bottom: 4px;
  display: block;
  font-family: monospace;
}

/* Panel de Control (PTT) */
.radio-controls {
  padding: 15px;
  background: #1a1a1a;
  border-top: 1px solid #333;
  display: flex;
  gap: 10px;
}

.radio-input {
  flex: 1;
  background: #000;
  border: 1px solid #444;
  color: var(--rf-active); /* Texto verde tipo terminal */
  padding: 10px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
}

.radio-input:focus {
  border-color: var(--gasu-gold);
  outline: none;
}

/* Botón PTT (Push To Talk) */
.btn-ptt {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gasu-brown);
  border: 3px solid var(--gasu-gold);
  color: var(--gasu-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ptt:active {
  background: var(--rf-danger);
  border-color: #fff;
  color: #fff;
  transform: scale(0.9);
}

/* Animaciones */
@keyframes pulse-radio {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
/* Scrollbar Estilo Terminal */
.radio-screen::-webkit-scrollbar {
  width: 5px;
}

.radio-screen::-webkit-scrollbar-thumb {
  background: var(--gasu-gold);
  border-radius: 10px;
}

/* ==========================================================================
   LAYOUT: HEADER, BANNER & FOOTER - STARTUP GASU 2026
   ========================================================================== */
/* --- 1. HEADER --- */
.header-minimal {
  background-color: var(--gasu-brown);
  border-bottom: 3px solid var(--gasu-gold);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header-title-main {
  color: var(--gasu-gold);
  color: #f4c430;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  text-align: center;
  flex: 2; /* Asegura espacio central */
}

/* --- 2. BANNER PRINCIPAL --- */
.banner-principal {
  width: 100%;
  height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://startupgasu.store/uploads/STARTUPGASU/BannerStartupGasu.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* --- 3. FOOTER (Pie de página) --- */
footer.footer-main {
  background-color: var(--gasu-brown);
  color: var(--gasu-white);
  padding: 40px 20px;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Redondo */
.footer-left .logo-footer {
  height: 80px;
  width: 80px; /* Ancho y alto iguales */
  border-radius: 50%; /* Esto lo hace redondo */
  object-fit: cover; /* Evita que se deforme la imagen */
}

.footer-center {
  text-align: center;
  font-size: 0.9rem;
}

/* Lista Vertical de Enlaces */
.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column; /* Alineación vertical */
  gap: 8px;
}

.footer-right a {
  color: var(--gasu-gold);
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.3s;
}

.footer-right a:hover {
  text-decoration: underline;
  color: var(--gasu-white);
}

/* --- RESPONSIVO ORIGINAL --- */
@media (max-width: 768px) {
  .header-container, .footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
/* ==========================================================================
   WIDGET ADICIONAL: ASISTENTE DE IA FLOTANTE PÚBLICO (GASUBOT)
   ========================================================================== */
.gasubot-trigger {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--gasu-gold);
  color: var(--gasu-white);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  z-index: 9999;
  transition: transform 0.3s, background-color 0.3s;
}
.gasubot-trigger:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--gasu-brown);
}

.gasubot-window {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 370px;
  height: 500px;
  background-color: var(--gasu-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  border: 1px solid #e1e8ed;
  font-family: inherit;
}

.gasubot-header {
  background-color: var(--gasu-brown);
  color: var(--gasu-white);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--gasu-gold);
}
.gasubot-header h4 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  display: inline-block;
}
.gasubot-header .close-btn {
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.gasubot-header .close-btn:hover {
  opacity: 1;
}

.gasubot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #fafafb;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.g-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
}
.g-msg.ia {
  background-color: #eef2f5;
  color: #333333;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.g-msg.user {
  background-color: var(--gasu-brown);
  color: var(--gasu-white);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.gasubot-input-area {
  padding: 12px;
  border-top: 1px solid #eef2f5;
  display: flex;
  gap: 8px;
  background-color: var(--gasu-white);
}
.gasubot-input-area input {
  flex: 1;
  border: 1px solid #dcdcdc;
  padding: 10px 15px;
  border-radius: 20px;
  outline: none;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}
.gasubot-input-area input:focus {
  border-color: var(--gasu-gold);
}
.gasubot-input-area button {
  background-color: var(--gasu-gold);
  color: var(--gasu-white);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}
.gasubot-input-area button:hover {
  background-color: var(--gasu-brown);
}

@media (max-width: 480px) {
  .gasubot-window {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 90px;
    height: 450px;
  }
}
/* ==========================================================================
   LAYOUT: ESTRUCTURA GLOBAL
   ========================================================================== */
.main-wrapper {
  min-height: calc(100vh - 150px);
  padding: 20px;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.body-admin {
  background-color: #fcfcfc;
}
.body-admin .login-container-flex,
.body-admin .recuperar-wrapper {
  margin-top: 40px;
  margin-bottom: 40px;
}
.body-admin .header-minimal {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.container-gasu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 60px 0;
}

/* /var/www/html/assets/scss/pages/_responsives.scss */
@media (max-width: 768px) {
  .page-publicar {
    padding: 10px;
  }
  .page-publicar .form-card {
    padding: 1.2rem;
    margin: 5px;
    width: auto;
  }
  .page-publicar {
    /* FUERZA BRUTA: Convertimos cualquier grilla en una sola columna 
       Esto soluciona el agrupamiento molesto.
    */
  }
  .page-publicar .grid-2, .page-publicar .grid-3 {
    display: block !important;
  }
  .page-publicar .grid-2 > *, .page-publicar .grid-3 > * {
    width: 100% !important;
    margin-bottom: 12px;
    display: block;
  }
  .page-publicar .gasu-input {
    font-size: 16px !important;
    height: 50px;
    margin-bottom: 15px;
  }
  .page-publicar textarea.gasu-input {
    height: 120px !important;
  }
  .page-publicar .media-visor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
  }
  .page-publicar .media-visor .img-preview-container {
    width: 100%;
    height: 110px;
  }
  .page-publicar .drop-zone {
    padding: 1.5rem 1rem;
  }
  .page-publicar .drop-zone label b {
    font-size: 0.9rem;
  }
  .page-publicar .btn-submit {
    padding: 18px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
  }
}
/* INDEX.SCSS - STARTUP GASU 2026 */
/* --- Título Directorio --- */
.main-title-directorio {
  text-align: center;
  color: var(--gasu-brown);
  font-size: 1.8rem;
  margin: 40px 0;
  font-weight: 800;
  text-transform: uppercase;
}

/* Avatar circular pequeño */
.avatar-mini {
  width: 50px;
  height: 50px;
  background: var(--gasu-brown);
  color: var(--gasu-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  border: 2px solid var(--gasu-gold);
}

.vendedor-name {
  font-size: 0.9rem;
  margin: 5px 0;
  color: var(--gasu-dark);
  font-weight: 700;
  /* Evita que nombres largos rompan la tarjeta */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.vendedor-user {
  color: #888;
  display: block;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

/* Titulo de bienvenida */
.welcome-text {
  text-align: center; /* Centra el texto horizontalmente */
  font-size: 1.5rem; /* Tamaño de letra */
  font-weight: bold; /* Negrita */
  margin-top: 1rem; /* Espacio superior */
  color: #333; /* Color del texto */
}

.product-image-container {
  width: 100%; /* Ocupa todo el ancho disponible del padre para mayor flexibilidad */
  aspect-ratio: 1/1; /* Mantiene una proporción cuadrada perfecta */
  overflow: hidden; /* Oculta cualquier contenido que exceda los límites del contenedor */
  border-radius: 12px; /* Bordes redondeados para un aspecto moderno */
  margin-bottom: 15px; /* Espacio inferior para separar de otros elementos */
  background: #f9f9f9; /* Fondo ligero como placeholder o respaldo */
}
.product-image-container img {
  display: block; /* Elimina espacio extra debajo de la imagen */
  width: 100%; /* La imagen ocupa todo el ancho del contenedor */
  height: 100%; /* La imagen ocupa toda la altura del contenedor */
  object-fit: cover; /* Asegura que la imagen cubra el contenedor sin distorsionarse, recortando si es necesario */
  transition: transform 0.5s ease; /* Transición suave para posibles efectos de hover */
}

/* Nombre y precio del producto */
.product-name {
  font-size: 0.7rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1rem;
  color: var(--gasu-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

/* RESPONSIVIDAD (Crucial para que no se rompa en móviles) */
@media (max-width: 1200px) {
  .gasu-grid-productos {
    grid-template-columns: repeat(3, 1fr); /* Baja a 3 columnas en pantallas medianas */
  }
}
@media (max-width: 992px) {
  .productos-view-container {
    grid-template-columns: 1fr; /* El sidebar se va abajo en tablets/móviles */
  }
  .gasu-grid-productos {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles */
  }
}
/* ==========================================================================
   PAGES DETALLES DE PRODUCTO SCSS
   ========================================================================== */
.details-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 20px;
}
.details-wrapper .product-gallery .main-img-container img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.details-wrapper .product-gallery .thumbs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 15px;
}
.details-wrapper .product-gallery .thumbs-grid .gallery-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}
.details-wrapper .product-gallery .thumbs-grid .gallery-thumb.active {
  border-color: var(--gasu-gold);
}
.details-wrapper .product-gallery .video-container {
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
  background: #000;
}
.details-wrapper .product-gallery .video-container video {
  width: 100%;
  aspect-ratio: 16/9;
}
.details-wrapper .product-info .product-title {
  font-size: 2rem;
  margin: 10px 0;
}
.details-wrapper .product-info .price-tag {
  font-size: 2.5rem;
  color: var(--gasu-gold);
  font-weight: bold;
}
.details-wrapper .product-info .price-tag span {
  display: block;
  font-size: 0.8rem;
  color: #777;
}
.details-wrapper .product-info .product-desc-box {
  margin: 30px 0;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  border-left: 5px solid var(--gasu-gold);
}
.details-wrapper .product-info .product-desc-box h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gasu-brown);
}
.details-wrapper .product-info .product-desc-box p {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #444;
}
.details-wrapper .product-info .btn-gasu-whatsapp {
  display: block;
  background: #25D366;
  color: white;
  padding: 18px;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
}
.details-wrapper .product-info .btn-gasu-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.details-wrapper .product-info .pago-movil-box {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
}
.details-wrapper .product-info .pago-movil-box h5 {
  text-align: center;
  margin-bottom: 10px;
  color: var(--gasu-dark);
}
.details-wrapper .product-info .pago-movil-box .pago-movil-datos p {
  margin: 5px 0;
  font-size: 0.9rem;
}
.details-wrapper .product-info .share-box {
  margin-top: 25px;
  display: flex;
  gap: 10px;
}
.details-wrapper .product-info .share-box input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* Sugerido tarjetita lateral */
.sugerido-container {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #ddd;
}
.sugerido-container .sugerido-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--gasu-brown);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.sugerido-container .sugerido-card-mini {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(180, 139, 59, 0.2);
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 12px;
}
.sugerido-container .sugerido-card-mini:hover {
  border-color: var(--gasu-gold);
  transform: scale(1.02);
  box-shadow: var(--shadow-sm);
}
.sugerido-container .sugerido-card-mini .sug-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.sugerido-container .sugerido-card-mini .sug-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sugerido-container .sugerido-card-mini .sug-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.sugerido-container .sugerido-card-mini .sug-info .sug-name {
  font-size: 0.85rem;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
  margin-bottom: 4px;
}
.sugerido-container .sugerido-card-mini .sug-info .sug-price {
  font-size: 0.9rem;
  color: var(--gasu-gold);
  font-weight: 800;
}
.sugerido-container .sugerido-card-mini .sug-icon {
  color: #ccc;
  font-size: 0.8rem;
  padding-right: 5px;
}

@media (max-width: 992px) {
  .details-wrapper {
    grid-template-columns: 1fr;
  }
}
.login-container-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  /* Reducimos el gap para dar aire a la imagen */
  width: 100%;
  /* Aseguramos que ocupe todo el ancho */
  max-width: 100%;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

/* Responsive: En móviles ocultamos la imagen para priorizar el login */
@media (max-width: 992px) {
  .login-container-flex {
    flex-direction: column;
    gap: 20px;
  }
  .login-image-side {
    max-width: 300px;
    order: -1;
  } /* La imagen sube arriba del card en móviles */
}
@media (max-width: 600px) {
  .login-image-side {
    display: none;
  } /* Opcional: ocultar del todo en pantallas muy pequeñas */
}
/* /var/www/html/assets/scss/pages/directorio.scss */
.container-directorio {
  padding: 2rem;
  background-color: #f8f9fa;
  min-height: 100vh;
}
.container-directorio .directorio-header-flex {
  margin-bottom: 2rem;
  border-left: 5px solid #007bff;
  padding-left: 1rem;
}
.container-directorio .directorio-header-flex .title-primary {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 0;
  text-transform: uppercase;
}
.container-directorio .directorio-header-flex .subtitle {
  color: #7f8c8d;
  font-size: 0.9rem;
}
.container-directorio {
  /* Formulario de Filtros */
}
.container-directorio .filters-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  align-items: flex-end;
}
.container-directorio .filters-form .search-box {
  flex: 1;
  min-width: 250px;
}
.container-directorio .filters-form .search-box input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.container-directorio .filters-form .select-group {
  display: flex;
  gap: 0.5rem;
}
.container-directorio .filters-form .select-group select {
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.container-directorio .filters-form .btn-filter {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s;
}
.container-directorio .filters-form .btn-filter:hover {
  background: #0056b3;
}
.container-directorio .filters-form .btn-clear {
  text-decoration: none;
  color: #666;
  font-size: 0.85rem;
  padding-bottom: 0.5rem;
}
.container-directorio .filters-form .btn-clear:hover {
  color: #000;
}
.container-directorio {
  /* Tabla Estilizada */
}
.container-directorio .table-responsive {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.container-directorio .table-responsive .gasu-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.container-directorio .table-responsive .gasu-table thead {
  background: #2c3e50;
  color: #fff;
}
.container-directorio .table-responsive .gasu-table thead th {
  padding: 1rem;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.container-directorio .table-responsive .gasu-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.container-directorio .table-responsive .gasu-table tbody tr:hover {
  background: #fdfdfd;
}
.container-directorio .table-responsive .gasu-table tbody td {
  padding: 1rem;
  vertical-align: middle;
  font-size: 0.9rem;
  color: #444;
}
.container-directorio .table-responsive .gasu-table tbody td .text-muted {
  color: #999;
  font-size: 0.8rem;
}
.container-directorio {
  /* Componentes de Estado */
}
.container-directorio .badge-rango {
  background: #e1f0ff;
  color: #007bff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}
.container-directorio .status-pill {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
}
.container-directorio .status-pill.pago-si {
  background: #d4edda;
  color: #155724;
}
.container-directorio .status-pill.pago-no {
  background: #f8d7da;
  color: #721c24;
}
.container-directorio .btn-action-exp {
  display: inline-block;
  background: #f1f3f5;
  color: #333;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: bold;
  border: 1px solid #dee2e6;
}
.container-directorio .btn-action-exp:hover {
  background: #e2e6ea;
  color: #000;
}
.container-directorio .btn-action-exp i {
  margin-right: 5px;
}
.container-directorio .empty-state {
  text-align: center;
  padding: 3rem !important;
  color: #999;
  font-style: italic;
}

/* /var/www/html/assets/scss/pages/detalles_de_usuario.scss */
.page-detalle-usuario {
  background-color: #f4f7f6;
  padding: 2rem;
}
.page-detalle-usuario .container-expediente {
  max-width: 1100px;
  margin: 0 auto;
}
.page-detalle-usuario .header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 1rem;
}
.page-detalle-usuario .header-flex .title-primary {
  font-size: 1.5rem;
  color: #2c3e50;
  margin: 0;
}
.page-detalle-usuario .header-flex .subtitle {
  color: #888;
  font-size: 0.9rem;
}
.page-detalle-usuario .grid-expediente {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .page-detalle-usuario .grid-expediente {
    grid-template-columns: 1fr;
  }
}
.page-detalle-usuario .card-info, .page-detalle-usuario .card-control {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.page-detalle-usuario .card-info h3, .page-detalle-usuario .card-control h3 {
  margin-top: 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  color: #007bff;
}
.page-detalle-usuario .field {
  margin-bottom: 1.2rem;
}
.page-detalle-usuario .field label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #999;
  font-weight: bold;
}
.page-detalle-usuario .field p {
  margin: 0.2rem 0;
  font-size: 1.05rem;
  color: #333;
}
.page-detalle-usuario .field .link-wa {
  color: #25D366;
  text-decoration: none;
  font-weight: bold;
}
.page-detalle-usuario .info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.page-detalle-usuario .form-status {
  margin-top: 1rem;
}
.page-detalle-usuario .form-status .select-gasu {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.page-detalle-usuario .form-status .btn-update {
  width: 100%;
  background: #2c3e50;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.page-detalle-usuario .form-status .btn-update:hover {
  background: #000;
}
.page-detalle-usuario .docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.page-detalle-usuario .docs-grid .doc-box {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}
.page-detalle-usuario .docs-grid .doc-box label {
  display: block;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #666;
}
.page-detalle-usuario .docs-grid .img-doc {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border: 1px solid #ddd;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}
.page-detalle-usuario .docs-grid .img-doc:hover {
  transform: scale(1.01);
}
.page-detalle-usuario .docs-grid .no-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border: 2px dashed #ccc;
  color: #bbb;
}

/* /var/www/html/assets/scss/pages/dashboard.scss */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: #fdfaf4;
  position: relative;
  /* BOTÓN HAMBURGUESA MÓVIL: Oculto en escritorio */
}
.dashboard-wrapper .mobile-nav-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #b48b3b;
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-size: 24px;
  z-index: 1100;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.dashboard-wrapper .mobile-nav-toggle:active {
  transform: scale(0.9);
}
.dashboard-wrapper {
  /* MÁSCARA FONDO MÓVIL */
}
.dashboard-wrapper .sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(2px);
}
.dashboard-wrapper {
  /* SIDEBAR: Fijo y con scroll propio */
}
.dashboard-wrapper .sidebar-gasu {
  width: 280px;
  background: #1a1a1a;
  color: #fff;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 1000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease; /* Transición para suavidad en móviles */
}
.dashboard-wrapper .sidebar-gasu::-webkit-scrollbar {
  width: 5px;
}
.dashboard-wrapper .sidebar-gasu::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}
.dashboard-wrapper .sidebar-gasu .sidebar-header {
  margin-bottom: 2rem;
}
.dashboard-wrapper .sidebar-gasu .sidebar-header .logo-text {
  color: #b48b3b;
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.dashboard-wrapper .sidebar-gasu .sidebar-header .logo-text span {
  color: #fff;
  font-weight: 300;
}
.dashboard-wrapper .sidebar-gasu .nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dashboard-wrapper .sidebar-gasu .nav-menu .menu-label {
  font-size: 0.7rem;
  color: #555;
  font-weight: 800;
  margin: 1.5rem 0 0.5rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.dashboard-wrapper .sidebar-gasu .nav-menu .menu-label.admin-label {
  color: #b48b3b;
}
.dashboard-wrapper .sidebar-gasu .nav-menu .nav-link {
  color: #aaa;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.dashboard-wrapper .sidebar-gasu .nav-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateX(5px);
}
.dashboard-wrapper .sidebar-gasu .nav-menu .nav-link.active {
  background: #b48b3b;
  color: #fff;
  font-weight: bold;
}
.dashboard-wrapper .sidebar-gasu .nav-menu .nav-link.logout-btn {
  margin-top: 2rem;
  color: #ff5252;
  border: 1px solid rgba(255, 82, 82, 0.2);
}
.dashboard-wrapper .sidebar-gasu .nav-menu .nav-link.logout-btn:hover {
  background: #ff5252;
  color: #fff;
}
.dashboard-wrapper {
  /* ÁREA DE CONTENIDO */
}
.dashboard-wrapper .content-area {
  flex: 1;
  margin-left: 280px;
  padding: 2rem;
  transition: margin-left 0.3s ease;
}
.dashboard-wrapper .content-area .welcome-banner {
  background: linear-gradient(135deg, #4e342e 0%, #6d4c41 100%);
  padding: 3rem;
  border-radius: 16px;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(78, 52, 46, 0.2);
  margin-bottom: 2.5rem;
}
.dashboard-wrapper .content-area .welcome-banner h1 {
  margin: 0.5rem 0;
  font-size: 2.2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.dashboard-wrapper .content-area .welcome-banner p {
  opacity: 0.9;
  font-size: 1.1rem;
}
.dashboard-wrapper .content-area .welcome-banner .badge-rango {
  background: #b48b3b;
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.dashboard-wrapper {
  /* Estadísticas */
}
.dashboard-wrapper .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
}
.dashboard-wrapper .stats-grid .stat-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #eee;
}
.dashboard-wrapper .stats-grid .stat-box .label {
  display: block;
  font-size: 0.7rem;
  color: #888;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.dashboard-wrapper .stats-grid .stat-box .value {
  font-size: 2rem;
  font-weight: 800;
  color: #4e342e;
}
.dashboard-wrapper {
  /* Explorador de Archivos (Modo Oscuro) */
}
.dashboard-wrapper .gasu-file-explorer {
  background: #111;
  color: #eee;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #333;
  margin-top: 20px;
}
.dashboard-wrapper .gasu-file-explorer .explorer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.dashboard-wrapper .gasu-file-explorer .explorer-header h3 {
  margin: 0;
  color: #b48b3b;
}
.dashboard-wrapper .gasu-file-explorer .breadcrumb {
  font-size: 11px;
  color: #666;
  margin-bottom: 20px;
  font-family: monospace;
}
.dashboard-wrapper .gasu-file-explorer .product-selector {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dashboard-wrapper .gasu-file-explorer .product-selector .btn-prod {
  background: #1a1a1a;
  color: #ccc;
  border: 1px solid #333;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  transition: 0.3s;
}
.dashboard-wrapper .gasu-file-explorer .product-selector .btn-prod:hover {
  border-color: #b48b3b;
  color: #fff;
}
.dashboard-wrapper .gasu-file-explorer .file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}
.dashboard-wrapper .gasu-file-explorer .file-item {
  background: #1a1a1a;
  padding: 20px 10px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #222;
  transition: all 0.3s ease;
  position: relative;
}
.dashboard-wrapper .gasu-file-explorer .file-item:hover {
  background: #222;
  border-color: #b48b3b;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.dashboard-wrapper .gasu-file-explorer .file-item .file-preview {
  margin-bottom: 10px;
}
.dashboard-wrapper .gasu-file-explorer .file-item .file-preview img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.dashboard-wrapper .gasu-file-explorer .file-item .file-preview .icon {
  font-size: 35px;
}
.dashboard-wrapper .gasu-file-explorer .file-item .file-name {
  font-size: 11px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.dashboard-wrapper .gasu-file-explorer .file-item .file-size {
  font-size: 9px;
  color: #b48b3b;
}
.dashboard-wrapper .btn-action {
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}
.dashboard-wrapper .btn-action.btn-edit {
  background: #b48b3b;
  color: #fff;
}
.dashboard-wrapper .btn-action.btn-delete {
  background: #4e342e;
  color: #fff;
  margin-top: 10px;
  width: 100%;
}
.dashboard-wrapper .btn-action:hover {
  opacity: 0.8;
}
.dashboard-wrapper {
  /* RESPONSIVE MEDIA QUERY PARA MÓVILES */
}
@media (max-width: 991px) {
  .dashboard-wrapper {
    /* Fuerza al botón a mostrarse rompiendo cualquier herencia */
  }
  .dashboard-wrapper .mobile-nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px !important; /* Un poco más grande para facilitar el toque táctil */
    height: 60px !important;
    background: #b48b3b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    font-size: 28px !important;
    z-index: 100001 !important; /* El botón por encima del menú */
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }
  .dashboard-wrapper .sidebar-gasu {
    /* 1. Cambiamos el porcentaje por valor exacto en píxeles fijos (elimina el bug de subpíxeles decimales) */
    width: 280px !important;
    transform: translateX(-280px) !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    /* 2. Forzamos renderizado de fuentes suavizado nativo del procesador móvil */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 3. Limpiamos cualquier filtro acumulado por hardware de capas inferiores */
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    will-change: transform !important;
    backface-visibility: hidden;
    perspective: 1000px;
    /* =======================================================
       CORRECCIÓN: El menú DEBE estar sobre el overlay oscuro
       ======================================================= */
    z-index: 100000 !important;
  }
  .dashboard-wrapper .sidebar-gasu.open {
    /* Posición final entera y limpia */
    transform: translateX(0) !important;
  }
  .dashboard-wrapper .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Incrementamos opacidad para compensar el blur eliminado */
    /* =======================================================
       CORRECCIÓN: El overlay queda debajo del menú para no pisar clics
       ======================================================= */
    z-index: 99990 !important;
    /* Eliminamos el backdrop-filter de la máscara porque causaba fugas de blur al sidebar superior en iOS/Chrome móvil */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .dashboard-wrapper .sidebar-overlay.open {
    display: block !important;
  }
  .dashboard-wrapper .content-area {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .dashboard-wrapper .report-container {
    padding: 5px !important;
    overflow-x: auto; /* Evita que las tablas rompan el layout */
  }
  .dashboard-wrapper .report-container table {
    font-size: 12px;
  }
  .dashboard-wrapper .report-container table th, .dashboard-wrapper .report-container table td {
    padding: 8px !important;
  }
}

/* Cierre definitivo de .dashboard-wrapper */
/* /var/www/html/assets/scss/pages/publicar_producto.scss */
.page-publicar {
  padding: 2rem;
  background: #f4f4f4;
  font-family: "Segoe UI", Roboto, sans-serif;
}
.page-publicar .form-card {
  background: #fff;
  max-width: 900px;
  margin: 20px auto;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.page-publicar .form-card .form-header {
  text-align: center;
  margin-bottom: 2rem;
}
.page-publicar .form-card .form-header h2 {
  color: #4e342e;
  margin-bottom: 5px;
  font-weight: 800;
}
.page-publicar .form-card .form-header p {
  color: #888;
  font-size: 0.9rem;
}
.page-publicar .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.page-publicar .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.page-publicar .gasu-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin-bottom: 10px;
}
.page-publicar .gasu-input:focus {
  border-color: #b48b3b;
  outline: none;
  box-shadow: 0 0 8px rgba(180, 139, 59, 0.2);
}
.page-publicar .media-visor {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 140px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 25px;
}
.page-publicar .media-visor .img-preview-container {
  width: 130px;
  height: 130px;
  position: relative;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.page-publicar .media-visor .img-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.page-publicar .media-visor .img-preview-container .btn-girar {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(78, 52, 46, 0.9);
  color: #fff;
  border: none;
  font-size: 10px;
  padding: 6px;
  cursor: pointer;
}
.page-publicar .media-visor .img-preview-container .btn-girar:hover {
  background: #b48b3b;
}
.page-publicar .media-visor .placeholder-text {
  color: #999;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  align-self: center;
}
.page-publicar .drop-zone {
  background: #fffaf0;
  border: 2px dashed #b48b3b;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-top: 20px;
}
.page-publicar .drop-zone label {
  display: block;
  margin-bottom: 10px;
}
.page-publicar .drop-zone input[type=file] {
  width: 100%;
}
.page-publicar .drop-zone hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 15px 0;
}
.page-publicar .progress-wrapper {
  margin-top: 25px;
}
.page-publicar .progress-wrapper .progress-bar {
  height: 24px;
  background: #eee;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ddd;
}
.page-publicar .progress-wrapper .progress-bar .fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4e342e, #b48b3b);
  transition: width 0.3s;
}
.page-publicar .progress-wrapper p {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 8px;
  font-weight: bold;
}
.page-publicar .btn-submit {
  width: 100%;
  padding: 18px;
  background: #4e342e;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 25px;
  transition: 0.3s;
}
.page-publicar .btn-submit:hover:not(:disabled) {
  background: #362420;
  transform: translateY(-2px);
}
.page-publicar .btn-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.page-publicar .gasu-alert {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.perfil-view-container {
  padding: 50px 20px;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
}
.perfil-view-container .expediente-card {
  width: 100%;
  max-width: 850px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-top: 5px solid #4e342e;
}
.perfil-view-container .expediente-card .expediente-header {
  display: flex;
  align-items: center;
  padding: 30px;
  background: linear-gradient(to right, #4e342e, #6d4c41);
  color: white;
}
.perfil-view-container .expediente-card .expediente-header .perfil-avatar {
  position: relative;
  margin-right: 25px;
}
.perfil-view-container .expediente-card .expediente-header .perfil-avatar img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #b48b3b;
  object-fit: cover;
}
.perfil-view-container .expediente-card .expediente-header .perfil-avatar .badge-status {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  background: #2ecc71;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: bold;
}
.perfil-view-container .expediente-card .expediente-header .perfil-identidad h1 {
  margin: 0;
  font-size: 1.8rem;
}
.perfil-view-container .expediente-card .expediente-header .perfil-identidad .rango-tag {
  background: #b48b3b;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
  margin: 5px 0;
}
.perfil-view-container .expediente-card .expediente-header .perfil-identidad .id-gasu {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  opacity: 0.8;
}
.perfil-view-container .expediente-card .expediente-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px;
}
.perfil-view-container .expediente-card .expediente-body .info-group h3 {
  font-size: 1rem;
  color: #4e342e;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 15px;
}
.perfil-view-container .expediente-card .expediente-body .info-group .data-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.perfil-view-container .expediente-card .expediente-body .info-group .data-row .label {
  font-weight: bold;
  color: #777;
}
.perfil-view-container .expediente-card .expediente-body .info-group .data-row .value {
  color: #333;
  text-align: right;
}
.perfil-view-container .expediente-card .expediente-body .info-group.full-width {
  grid-column: span 2;
}
.perfil-view-container .expediente-card .expediente-body .info-group .bio-text {
  line-height: 1.6;
  color: #555;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  font-style: italic;
}
.perfil-view-container .expediente-card .expediente-body .social-item {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}
.perfil-view-container .expediente-card .expediente-body .social-item .social-label {
  color: #b48b3b;
  font-weight: bold;
}
.perfil-view-container .expediente-card .expediente-footer {
  padding: 20px;
  background: #fdfdfd;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}
.perfil-view-container .expediente-card .expediente-footer .btn-print {
  background: #eee;
  border: 1px solid #ddd;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
}
.perfil-view-container .expediente-card .expediente-footer .btn-back {
  color: #4e342e;
  text-decoration: none;
  font-weight: bold;
  padding: 8px;
}

@media (max-width: 600px) {
  .perfil-view-container .expediente-card .expediente-body {
    grid-template-columns: 1fr;
  }
  .perfil-view-container .expediente-card .expediente-body .info-group.full-width {
    grid-column: span 1;
  }
  .perfil-view-container .expediente-card .expediente-header {
    flex-direction: column;
    text-align: center;
  }
  .perfil-view-container .expediente-card .expediente-header .perfil-avatar {
    margin: 0 0 15px 0;
  }
}
.badge-pago {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: bold;
  white-space: nowrap;
}
.badge-pago.verificado {
  background: #27ae60;
  color: white;
  box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}
.badge-pago.pendiente {
  background: #f1c40f;
  color: #000;
  box-shadow: 0 4px 10px rgba(241, 196, 15, 0.3);
}

.editar-perfil-container {
  padding: 20px;
  background: #f0f2f5;
}
.editar-perfil-container .edit-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.editar-perfil-container .edit-card .edit-header {
  background: #2c3e50;
  color: white;
  padding: 20px;
}
.editar-perfil-container .edit-card .edit-header h2 {
  margin: 0;
  font-size: 1.2rem;
}
.editar-perfil-container .edit-card .edit-header p {
  margin: 5px 0 0;
  opacity: 0.7;
  font-family: monospace;
}
.editar-perfil-container .edit-card .alerta-gasu {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  margin: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}
.editar-perfil-container .edit-card .grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}
.editar-perfil-container .edit-card .grid-admin .seccion-admin {
  background: #fdfdfd;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
}
.editar-perfil-container .edit-card .grid-admin .seccion-admin h3 {
  font-size: 0.9rem;
  color: #b48b3b;
  margin-top: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.editar-perfil-container .edit-card .grid-admin .seccion-admin label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  margin: 10px 0 5px;
  color: #666;
}
.editar-perfil-container .edit-card .grid-admin .seccion-admin input, .editar-perfil-container .edit-card .grid-admin .seccion-admin select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
}
.editar-perfil-container .edit-card .grid-admin .seccion-admin .flex-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.editar-perfil-container .edit-card .admin-actions {
  padding: 20px;
  background: #f8f9fa;
  text-align: center;
}
.editar-perfil-container .edit-card .admin-actions .btn-save-admin {
  background: #4e342e;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.editar-perfil-container .edit-card .admin-actions .btn-save-admin:hover {
  background: #000;
  transform: scale(1.02);
}
