/* =========================================
   VARIABLES Y CONFIGURACIÓN BASE
   ========================================= */
:root {
  --verde-prince: #92bc54; /* Verde de tu logo */
  --negro-prince: #1a1a1a; 
  --blanco: #ffffff;
  --gris-suave: #f9f9f9;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: var(--blanco);
  color: #333;
}

/* =========================================
   HEADER (Optimizado con Hamburguesa)
   ========================================= */
header {
  background: var(--blanco);
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-bottom: 3px solid var(--verde-prince);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.btn-prince {
  background-color: var(--verde-prince);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  border: none;
}

/* =========================================
   CATÁLOGO Y GALERÍA DESLIZABLE
   ========================================= */
.grid-productos {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Mobile-first: 2 columnas */
  gap: 15px;
  padding: 15px;
}

.card-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  height: 200px;
  background: #eee;
  border-radius: 8px 8px 0 0;
}

.card-gallery img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  object-fit: cover;
}

.card-gallery::-webkit-scrollbar { display: none; }

/* =========================================
   VISOR DE IMÁGENES (MODAL)
   ========================================= */
.modal-prince {
  display: none;
  position: fixed;
  z-index: 3000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 95%;
  max-height: 80vh;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 25px; right: 25px;
  color: white; font-size: 35px;
  cursor: pointer;
}

/* =========================================
   FOOTER Y BLOQUES VERDES
   ========================================= */
.block-prince {
  background-color: var(--verde-prince);
  padding: 30px;
  text-align: center;
  margin: 10px;
  border-radius: 8px;
}

.footer-prince {
  background-color: var(--negro-prince);
  color: white;
  padding: 40px 5%;
  text-align: center;
}
