/* Botón de WhatsApp flotante */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-btn i {
    color: white;
    font-size: 34px;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    animation: none;
}

.whatsapp-btn:hover i {
    transform: rotate(15deg);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn i {
        font-size: 28px;
    }
}


/* Estilos para el modal Quiénes Somos */
.about-modal .modal-content {
    max-width: 600px;
    padding: 2rem;
    text-align: center;
}

.about-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.nav-right {
    display: flex;
    gap: 1rem;
}

.about-btn {
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* Logos de dietas */
.diet-logos {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.diet-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px;
  transition: transform 0.3s ease;
}

.diet-logo:hover {
  transform: scale(1.1);
}



/* Estilos del carrusel macOS */
.glass-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 2rem auto;
    padding: 0.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    overflow: hidden;
}

.glass-carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    padding: 1rem 0;
}

.glass-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 7)); }
}

.glass-carousel-item {
    flex: 0 0 150px;
    height: 150px;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.glass-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

.glass-carousel-item.active {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.glass-carousel-item:hover img {
    transform: scale(1.05);
}





/* Animación logo */
/*h1[data-text] {
  position: relative;
  animation: neonPulse 1.5s ease-in-out infinite alternate;
  text-shadow:
    0 0 5px rgba(255,255,255,0.3),
    0 0 10px rgba(255,255,255,0.2),
    0 0 15px rgba(255,255,255,0.1);
}

@keyframes neonPulse {
  from {
    opacity: 0.9;
    text-shadow:
      0 0 5px rgba(255,255,255,0.3),
      0 0 10px rgba(255,255,255,0.2);
  }
  to {
    opacity: 1;
    text-shadow:
      0 0 10px rgba(255,255,255,0.6),
      0 0 20px rgba(255,255,255,0.4),
      0 0 30px rgba(255,255,255,0.2);
  }
}

.logo-entrance {
  animation: logoEntrance 1s ease-out forwards;
  opacity: 0;
  transform: translateY(-20px) scale(0.9);
}
@keyframes logoEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
*/
/* Animación título */
.text-entrance {
  animation: textEntrance 1s 0.3s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes textEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: float 10s linear infinite;
  opacity: 0.7;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(20px) translateX(-10px);
  }
  75% {
    transform: translateY(-10px) translateX(20px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}
*/
/* Asegurar que el contenedor principal esté encima */
.glass-container {
    position: relative;
    z-index: 10;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.5;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    max-width: 90%;
    width: 800px;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-image-container {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-info {
    padding: 1.5rem 0;
    color: white;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-category {
    display: inline-block;
    background: rgba(78, 205, 196, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #4ecdc4;
}
/* Estilos para el logo y header */
.header-content {
    display: flex;
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
    gap: 15px; /* Espacio entre logo y texto */
    margin-bottom: 20px;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.glass-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Paginación activa */
.load-more-btn.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.product-card {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-card.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.message {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin: 1rem auto;
  max-width: 300px;
}

.message.error {
  background: rgba(255, 106, 106, 0.2);
  color: #ff6b6b;
}
.glass-nav .active {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #4ecdc4 !important;
  box-shadow: 0 0 15px rgba(78, 205, 196, 0.3);
}

.load-more-btn {
  display: block;
  margin: 2rem auto;
  padding: 1rem 2rem;
  background: rgba(78, 205, 196, 0.8);
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  transform: scale(1.05);
  background: rgba(78, 205, 196, 1);
}

.load-more-btn.hidden {
  display: none;
}
/* Agrega esto al header */
.glass-header {
  position: relative;
  padding: 2rem 3rem;
}

.admin-btn-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.admin-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 10px 20px !important;
  border-radius: 30px !important;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease !important;
margin-left: auto;
}

.admin-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.nav-left {
    display: flex;
    gap: 1.5rem;
}

.admin-btn:hover {
    background: rgba(255, 75, 75, 0.3) !important;
    transform: scale(1.05);
}

.admin-btn i {
    font-size: 0.9em;
}

/* Efecto de brillo al pasar el mouse */
.admin-btn:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    animation: shine 1.5s;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.product-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: #f5f5f5;
}

.category-filter {
  padding: 2rem;
  text-align: center;
}

.load-more {
  padding: 1rem 2rem;
  margin: 2rem auto;
  display: block;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.admin-panel {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
}
:root {
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

body {
  min-height: 100vh;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow-x: hidden;
}

.glass-container {
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  margin: 2rem;
  padding: 2rem;
}

.glass-header {
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.glass-header h1 {
  font-size: 3rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  position: relative;
  display: inline-block;
}

.glass-header h1::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(255,255,255,0.1);
  z-index: -1;
  transform: scale(1.1);
}

.glass-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.nav-link {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
}

.nav-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.product-card {
  background: var(--glass-bg);
  border-radius: 15px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  transition: 0.5s;
}

.product-card:hover::before {
  left: 100%;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  animation: bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
}
