body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
}
.logo_nav{
  background-color: #fff;
  border-radius: 0.3em;
  padding: 0.25rem 0.5rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}
/* sombreado de imagen */
.img-with-shadow {
  filter: drop-shadow(2px 0 5px rgba(248, 248, 248, 0.92)); /* Sombra difusa */
  height: 2.5rem; /* Altura fija responsive */
  width: auto; /* Ancho automático para mantener proporciones */
  max-width: 100%; /* No exceder el contenedor */
  object-fit: contain; /* Mantiene proporciones sin distorsión */
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .img-with-shadow {
    height: 2rem; /* Más pequeño en móviles */
  }
}

@media (min-width: 1024px) {
  .img-with-shadow {
    height: 3rem; /* Más grande en pantallas grandes */
  }
}
.gradiente-fondo {
  /* background: linear-gradient(to right, #d0723f, #764BA2, #8A2387); */
  /* background: linear-gradient(135deg, #f08c33, #ffae42, #1a472a); */
  /* background: linear-gradient(135deg, #f08c33, #3b83bd, #00bfa6); */
  /* background: linear-gradient(135deg, #f08c33, #f06292, #8e24aa); */
  background: linear-gradient(to right, #f08c33, #ed9f04, #f12e03);

}
.gradiente-fondo1 {
  /* background: linear-gradient(to right, #d0723f, #764BA2, #8A2387); */
  /* background: linear-gradient(135deg, #f08c33, #ffae42, #1a472a); */
  /* background: linear-gradient(135deg, #f08c33, #3b83bd, #00bfa6); */
  /* background: linear-gradient(135deg, #f08c33, #f06292, #8e24aa); */
  background: linear-gradient(to right, #f12e03, #f08c33, #ed9f04);
  border-radius: 2em;
  padding: 0.4em;
}

.div_carrousel {
  border-radius: 15px; /* Ajusta el radio según tus necesidades */
  padding: 20px; /* Ajusta el padding según tus necesidades */
}
.carousel-text1{
  color: rgb(254, 254, 254);
  font-size: 2em;
  text-shadow: #ed9f04;
}
.indicator-button {
  cursor: pointer;
  transition: opacity 0.3s;
}

.indicator-button:hover {
  opacity: 0.75;
}

/* navbar */
/* Sistema de Colores Unificado */
:root {
  --primary-orange: #f08c33;
  --secondary-orange: #ed9f04;
  --accent-orange: #f12e03;
  --text-light: #f8f9fa;
  --text-dark: #1a1a1a;
  --gray-light: #e5e7eb;
  --gray-medium: #6b7280;
  --gray-dark: #374151;
}

/* Tailwind CSS Personalizado */
.bg-dark-600 {
  background: linear-gradient(to right, var(--primary-orange), var(--secondary-orange), var(--accent-orange));
}
.bg-dark-700 {
  background: linear-gradient(to right, var(--accent-orange), var(--secondary-orange), var(--accent-orange));
  border-radius: 0.5em;
  padding: 0.2em;
  transition: all 0.3s ease; 
}
.bg-dark-700:hover {
  background: linear-gradient(to right, #d91ae0, #b91ae0, #d91ae0);
  transform: translateY(-2px);
}
.bg-dark-800 {
  background: linear-gradient(to right, var(--primary-orange), var(--secondary-orange), var(--accent-orange));
}

/* Clases de texto unificadas */
.text-primary { color: var(--primary-orange); }
.text-secondary { color: var(--secondary-orange); }
.text-accent { color: var(--accent-orange); }
.text-light { color: var(--text-light); }
.text-dark { color: var(--text-dark); }

/* Grid responsivo unificado mejorado */
.grid-responsive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0 0.5rem;
}

/* Móvil pequeño */
@media (min-width: 480px) {
  .grid-responsive {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
    padding: 0 0.75rem;
  }
}

/* Móvil grande */
@media (min-width: 640px) {
  .grid-responsive {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .grid-responsive {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
}

/* Tablet grande */
@media (min-width: 1024px) {
  .grid-responsive {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
  }
}

/* Desktop */
@media (min-width: 1280px) {
  .grid-responsive {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Desktop grande */
@media (min-width: 1536px) {
  .grid-responsive {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0 3rem;
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* Clase screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Estilos responsivos para tarjetas de productos */
.product-card {
  min-height: 320px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsividad para móviles */
@media (max-width: 640px) {
  .product-card {
    min-height: 280px;
    padding: 0.75rem !important;
  }
  
  .product-card h4 {
    font-size: 1rem;
    line-height: 1.25;
  }
  
  .product-card .text-sm {
    font-size: 0.8rem;
  }
  
  .product-card .add-to-cart-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .product-card .qty-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
}

/* Responsive para botones */
.add-to-cart-btn {
  transition: all 0.2s ease;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .add-to-cart-btn {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .add-to-cart-btn svg {
    width: 1rem;
    height: 1rem;
  }
}

/* Responsive para títulos de categorías */
@media (max-width: 640px) {
  .gradiente-fondo1 {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
  }
  
  .text-xl {
    font-size: 1.125rem;
  }
}

/* Responsive para botón flotante */
@media (max-width: 640px) {
  #view-summary {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  
  #view-summary span:last-child {
    display: none;
  }
}

/* Responsive para modal */
@media (max-width: 768px) {
  #summary-modal .bg-white {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
  
  #summary-modal table {
    font-size: 0.875rem;
  }
  
  #summary-modal th,
  #summary-modal td {
    padding: 0.5rem 0.25rem;
  }
}

/* Mejoras para la experiencia táctil */
@media (hover: none) and (pointer: coarse) {
  .toggle-category,
  .add-to-cart-btn,
  .qty-btn {
    min-height: 44px;
    min-width: 44px;
  }
}
.nav1{
    height: 0.35em;
    background: #f08c33; /* Color de fondo personalizado */
    /* centrar contenido  */
    display: flex;
    justify-content: center;
    align-items: center;
    /* centrar contenido  */

}
/* fijar nav  */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}





nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
}

main {
  padding: 20px;
}

.flash-messages {
  background-color: #f0f0f0;
  padding: 10px;
  list-style-type: none;
}

footer {
  background: #ed9f04;
  color: #fff;
  text-align: center;
  padding: 10px;
  bottom: 0;
  width: 100%;
}
