* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}

/* Navegación */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.5); /* más transparente */
  -webkit-backdrop-filter: blur(10px); /* para compatibilidad */
  backdrop-filter: blur(10px);
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 20px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 6px;
  position: relative;
}

.nav-links li a:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li a:hover::after {
  width: 80%;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2563eb;
  text-decoration: none;
}

.search-container {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
  margin: 0 30px;
}

.search-input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
}

.icons-container {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Estilos generales de los botones de icono */
.icon-button {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  color: #333;
}

/* Ajuste del tamaño de los íconos */
.icon-button svg {
  width: 28px;
  height: 28px;
}

/* Efecto al pasar el mouse */
.icon-button:hover {
  transform: scale(1.2);
  color: #007bff; /* Cambia a azul brillante al pasar el mouse */
}

/* Contador del carrito */
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: red;
  color: white;
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 50%;
}
/* Botón hamburguesa oculto en escritorio */
.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
}
.search-and-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
  justify-content: flex-end;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
  .search-container {
    max-width: 280px;
    margin: 0 15px;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .nav-links li a {
    padding: 6px 12px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 0;
  }
  
  .nav-container {
    flex-wrap: wrap;
    padding: 0 15px;
    gap: 15px;
  }
  
  .navbar-brand {
    flex-shrink: 0;
  }
  
  .navbar-brand img {
    max-width: 120px;
  }
  
  /* Mostrar botón hamburguesa */
  .nav-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }
  
  /* Ocultar navegación por defecto */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    margin: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 15px;
    order: 4;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li a {
    padding: 10px 15px;
    border-radius: 8px;
    width: 100%;
    text-align: left;
  }
  
  /* Contenedor de búsqueda e iconos en móvil */
  .search-and-icons {
    order: 2;
    flex-grow: 1;
    gap: 15px;
    min-width: 0; /* Importante para flex-shrink */
  }
  
  .search-container {
    flex-grow: 1;
    max-width: none;
    margin: 0;
    min-width: 0; /* Importante para que pueda encogerse */
  }
  
  .search-input {
    padding: 10px 40px 10px 12px;
    font-size: 14px;
    min-width: 0; /* Importante */
  }
  
  .search-icon {
    right: 12px;
    font-size: 14px;
  }
  
  .icons-container {
    gap: 12px;
    flex-shrink: 0; /* No permitir que se encoja */
  }
  
  .icon-button svg {
    width: 22px;
    height: 22px;
  }
  
  .user_name {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .dropdown-content {
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 10px;
  }
  
  .navbar-brand img {
    max-width: 100px;
  }
  
  .search-input {
    padding: 8px 35px 8px 10px;
    font-size: 13px;
  }
  
  .search-icon {
    right: 10px;
  }
  
  .icons-container {
    gap: 10px;
  }
  
  .icon-button svg {
    width: 20px;
    height: 20px;
  }
  
  .cart-count {
    font-size: 10px;
    padding: 1px 4px;
    min-width: 16px;
    height: 16px;
  }
  
  .user_name {
    font-size: 12px;
    padding: 5px 8px;
  }
  
  .dropdown-content {
    min-width: 160px;
    right: -10px; /* Ajustar posición en pantallas muy pequeñas */
  }
  
  .dropdown-content a {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Animaciones adicionales */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links.active {
  animation: slideDown 0.3s ease;
}

/* Estados activos */
.nav-links li a.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.nav-links li a.active::after {
  width: 80%;
}

/* Mejoras para accesibilidad */
.nav-toggle:focus,
.search-input:focus,
.icon-button:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Placeholder mejorado */
.search-input::placeholder {
  color: #9ca3af;
  font-size: 14px;
}

@media (max-width: 480px) {
  .search-input::placeholder {
    font-size: 13px;
  }
}

/* Hero Section */
.hero {
  height: 500px;
  background-image: 
    url('./imagenes/productos.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  transition: background 0.3s ease;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
/* Productos */
.products-section {
  max-width: 1200px;
  margin: 80px auto 60px;
  padding: 0 20px;
  position: relative;
}

.products-section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 80px;

  z-index: 1;
}
.products-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #4680d3;
  margin-bottom: 50px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  position: relative;
  transition: all 0.3s ease;
}

.product-card:hover .product-image {
  filter: brightness(1.1);
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #374151;
  margin-bottom: 10px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-name {
  opacity: 1;
}

.product-price {
  font-size: 1.1rem;
  color: #2563eb;
  font-weight: bold;
  margin-bottom: 15px;
}

.add-to-cart {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.add-to-cart:active {
  transform: translateY(0);
}
.categorias-sidebar {
  width: 250px;
  background: #f4f7fa;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-family: "Segoe UI", sans-serif;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.categorias-sidebar h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #2563eb;
}

.categoria-lista {
  list-style: none;
  padding-left: 10px;
}

.categoria-item {
  margin-bottom: 8px;
}

.categoria-nombre,
.categoria-link {
  font-size: 15px;
  color: #374151;
  text-decoration: none;
  cursor: pointer;
  display: block;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.2s;
}

.categoria-nombre:hover,
.categoria-link:hover {
  background-color: #e0e7ff;
}

.has-children > .categoria-nombre::after {
  content: "▼";
  float: right;
  font-size: 12px;
  transition: transform 0.3s;
}

.has-children.active > .categoria-nombre::after {
  transform: rotate(-180deg);
}

.has-children > ul {
  display: none;
  padding-left: 15px;
}

.has-children.active > ul {
  display: block;
}

/* Productos al lado */
.products-grid-container {
  flex: 1;
}

/* Tooltip */
.product-tooltip {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  white-space: nowrap;
}

.product-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}

.product-card:hover .product-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Modal del Carrito */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-modal.show {
  opacity: 1;
  visibility: visible;
}

.cart-content {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.cart-modal.show .cart-content {
  transform: scale(1);
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
}

.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.3s ease;
}

.close-cart:hover {
  color: #ef4444;
}

.cart-items {
  padding: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f3f4f6;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-info {
  flex-grow: 1;
}

.item-name {
  font-weight: bold;
  color: #1f2937;
}

.item-price {
  color: #2563eb;
  font-size: 14px;
}

.remove-item {
  background: #ef4444;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.3s ease;
}

.remove-item:hover {
  background: #dc2626;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #e5e7eb;
}

.contact-advisor {
  width: 100%;
  padding: 15px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-advisor:hover {
  background: #059669;
  transform: translateY(-1px);
}

.empty-cart {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
}

.empty-cart-icon {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .search-container {
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}
.product-card:nth-child(2) {
  animation-delay: 0.2s;
}
.product-card:nth-child(3) {
  animation-delay: 0.3s;
}
.product-card:nth-child(4) {
  animation-delay: 0.4s;
}
.product-card:nth-child(5) {
  animation-delay: 0.5s;
}
.product-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #3b5998 0%, #4a79c9 100%);
  color: #ffffff;
  padding: 3rem 0 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background: white;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.footer a {
  color: #e0e7ff; /* blanco azulado */
  text-decoration: none;
}
.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: white;
  color: #1e3c72;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .search-box {
    width: 150px;
  }

  .search-box:focus {
    width: 180px;
  }

  /* NUEVO: Menú de Categorías Responsive */
  .toggle-categorias-btn {
    display: block;
    margin: 0 auto 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .categorias-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background: #f4f7fa;
    padding: 20px;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 999;
    transition: left 0.3s ease;
  }
  .products-layout {
    display: flex;
    gap: 2rem;
  }

  .categorias-sidebar.open {
    left: 0;
  }

  .products-layout {
    flex-direction: column;
  }

  .products-grid-container {
    width: 100%;
  }
}
.toggle-categorias-btn {
  display: none;
}

@media (max-width: 768px) {
  .products-layout {
    flex-direction: column;
  }

  .toggle-categorias-btn {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .categorias-sidebar {
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background-color: #f4f7fa;
    position: fixed;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .categorias-sidebar.open {
    left: 0;
  }

  .products-grid-container {
    width: 100%;
  }
}
@font-face {
  font-family: "TituloFont";
  src: url("./fuentes/montserrat/Montserrat-Bold.otf") format("truetype");
}

@font-face {
  font-family: "TextoFont";
  src: url("./fuentes/Poppins/Poppins-Bold.ttf") format("truetype");
}
body {
  font-family: "TextoFont", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "TituloFont", sans-serif;
}
p,
a {
  font-family: "TextoFont", sans-serif !important;
}
.brand-carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 2rem auto;
  max-width: 90%;
  overflow: hidden;
}

.brand-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
}

.brand-carousel img {
  width: 300px;
  height: 80px;
  object-fit: contain; /* ajusta la imagen sin deformarla */
  transition: transform 0.3s;
  filter: grayscale(100%);
  cursor: pointer;
  background-color: white; /* por si el logo tiene fondo transparente */
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.brand-carousel img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.carousel-btn {
  background-color: #2a5298;
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s;
  z-index: 1;
}

.carousel-btn:hover {
  background-color: #1a3a6f;
}

.left {
  position: absolute;
  left: 0;
}

.right {
  position: absolute;
  right: 0;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse; /* ← clave para mostrar lista hacia arriba */
  align-items: flex-end;
}

.whatsapp-main-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.whatsapp-main-btn:hover {
  transform: scale(1.1);
}

.whatsapp-main-btn img {
  width: 35px;
  height: 35px;
}

.whatsapp-contacts {
  display: none;
  flex-direction: column;
  background: white;
  border-radius: 10px;
  margin-bottom: 10px; /* separa la lista del botón */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-option {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-option:last-child {
  border-bottom: none;
}

.contact-option:hover {
  background: #f0f0f0;
}

.contact-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%; /* círculo */
  object-fit: cover;
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-name {
  font-weight: bold;
  display: block;
  color: black;
}

.contact-role {
  font-size: 12px;
  color: #555;
}
.categorias-sidebar {
  width: 250px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1rem;
  background-color: #f8fafe;
  border-right: 1px solid #ccc;
}

.categoria-lista {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
}

.categoria-item {
  margin-bottom: 5px;
}

.categoria-item > .categoria-nombre {
  cursor: pointer;
  font-weight: bold;
  display: block;
  color: #333;
}

.categoria-item ul {
  display: none;
  padding-left: 15px;
}

.categoria-item.active > ul {
  display: block;
}

.categoria-link {
  text-decoration: none;
  color: #599bff;
}

.categoria-link:hover {
  text-decoration: underline;
}
open-modal-btn {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.open-modal-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
  background: linear-gradient(45deg, #ff5252, #d63031);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px); /* <- importante */
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
  padding: 20px; /* Agregado para móviles */
  box-sizing: border-box; /* Agregado */
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-container {
  background: white;
  border-radius: 20px;
  padding: 0;
  width: 90%;
  max-width: 450px;
  position: relative;
  animation: slideIn 0.4s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-height: 90vh; /* Agregado para móviles */
  overflow-y: auto; /* Agregado para scroll si es necesario */
}

.modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.modal-subtitle {
  opacity: 0.9;
  font-size: 0.9rem;
  font-weight: 300;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 10; /* Agregado para que esté siempre visible */
}

.close-btn:hover {
  opacity: 1;
}

.modal-body {
  padding: 40px 30px;
}

.form-tabs {
  display: flex;
  margin-bottom: 30px;
  background: #f8f9fa;
  border-radius: 50px;
  padding: 5px;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #666;
}

.tab-btn.active {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.form-container {
  display: none;
}

.form-container.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
  width: 50%;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  box-sizing: border-box; /* Agregado */
}

.form-group input::placeholder {
  color: #999;
  font-weight: 400;
}

.form-group input:focus::placeholder {
  color: #ccc;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.file-upload-container {
  border: 2px dashed #e1e8ed;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: #f8f9fa;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-upload-container:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.file-upload-container.dragover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.file-upload-icon {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 10px;
}

.file-upload-text {
  color: #666;
  font-size: 0.9rem;
}

.file-upload-input {
  display: none;
}

.file-selected {
  background: rgba(102, 126, 234, 0.1);
  border-color: #667eea;
}

.file-name {
  color: #667eea;
  font-weight: 500;
  margin-top: 10px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-sizing: border-box; /* Agregado */
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.switch-form {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 0.9rem;
}

.switch-form button {
  background: none;
  border: none;
  color: #667eea;
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
}

.switch-form button:hover {
  color: #764ba2;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape1 {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  top: 10%;
  left: 10%;
  animation-delay: -2s;
}

.shape2 {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 20px;
  top: 70%;
  right: 10%;
  animation-delay: -4s;
}

.shape3 {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 80%;
  animation-delay: -1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* RESPONSIVE MEJORADO PARA MÓVILES */
@media (max-width: 768px) {
  .modal-overlay {
    align-items: flex-start; /* Cambiado de center a flex-start */
    padding: 10px; /* Reducido el padding */
    overflow-y: auto; /* Permitir scroll vertical */
  }

  .modal-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    max-height: none; /* Quitamos la restricción de altura */
    min-height: 100vh; /* Altura completa de la pantalla */
    border-radius: 0; /* Sin bordes redondeados para aprovechar toda la pantalla */
    overflow-y: visible; /* Permitir que el contenido se extienda */
  }

  .modal-header {
    padding: 20px 15px; /* Reducido el padding */
  }

  .modal-title {
    font-size: 1.5rem; /* Reducido el tamaño */
  }

  .modal-subtitle {
    font-size: 0.8rem;
  }

  .close-btn {
    top: 10px;
    right: 15px;
    font-size: 1.3rem;
  }

  .modal-body {
    padding: 20px 15px 40px 15px; /* Más padding inferior para el botón */
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 15px; /* Reducido el margen */
    width: 100%;
  }

  .form-group {
    margin-bottom: 15px; /* Reducido el margen */
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="password"] {
    padding: 12px; /* Reducido el padding */
    font-size: 16px; /* Tamaño mínimo para evitar zoom en iOS */
  }

  .file-upload-container {
    padding: 15px; /* Reducido el padding */
  }

  .file-upload-icon {
    font-size: 1.5rem; /* Reducido el tamaño */
  }

  .file-upload-text {
    font-size: 0.8rem;
  }

  .submit-btn {
    padding: 12px; /* Reducido el padding */
    font-size: 1rem; /* Reducido el tamaño */
    margin-top: 15px;
  }

  .tab-btn {
    padding: 10px 15px; /* Reducido el padding */
    font-size: 0.9rem; /* Reducido el tamaño */
  }

  .form-tabs {
    margin-bottom: 20px; /* Reducido el margen */
  }
}

/* PARA MÓVILES MUY PEQUEÑOS */
@media (max-width: 480px) {
  .modal-container {
    width: 98%; /* Un poco más de espacio */
    margin: 5px auto; /* Margen mínimo */
    border-radius: 15px; /* Bordes redondeados más pequeños pero presentes */
  }

  .modal-header {
    padding: 15px 10px;
    border-radius: 15px 15px 0 0; /* Mantener redondeo en la parte superior */
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .modal-body {
    padding: 15px 10px 30px 10px;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="password"] {
    padding: 10px;
  }

  .file-upload-container {
    padding: 12px;
  }
}

.alert-container {
  background: rgba(255, 255, 255, 0.85);
  color: #2a3b5f;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Estilo para el mensaje informativo en móviles */
@media (max-width: 768px) {
  .info-message {
    font-size: 12px !important;
    padding: 8px !important;
    margin-top: 6px !important;
  }
}

/* Icono animado */
.success-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

@keyframes pulse {
  0% {
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
  }
  50% {
    box-shadow: 0 10px 40px rgba(76, 175, 80, 0.5),
      0 0 0 10px rgba(76, 175, 80, 0.1);
  }
  100% {
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
  }
}

.checkmark {
  width: 40px;
  height: 40px;
  position: relative;
}

.checkmark::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 12px;
  border: 3px solid rgb(255, 255, 255);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin-left: -10px;
  margin-top: -8px;
  animation: checkmark-draw 0.6s ease-in-out 0.3s both;
}

@keyframes checkmark-draw {
  0% {
    width: 0;
    height: 0;
  }
  50% {
    width: 20px;
    height: 0;
  }
  100% {
    width: 20px;
    height: 12px;
  }
}

/* Título y texto */
.alert-title {
  color: #1f2e4a;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.alert-message {
  color: #1f2e4a;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Información del usuario */
.user-info {
  background: #1900ff1a;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(68, 0, 255, 0.1);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.user-details {
  color: #1f2e4a;
}

.user-name {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 5px;
}

.user-email {
  color: #1f2e4a;
  font-size: 14px;
}

/* Botón de continuar */
.continue-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  animation: fadeInUp 0.8s ease-out 1s both;
  position: relative;
  overflow: hidden;
}

.continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.continue-btn:active {
  transform: translateY(0);
}

/* Efectos de brillo */
.continue-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.continue-btn:hover::before {
  left: 100%;
}

/* Indicador de tiempo */
.time-indicator {
  position: absolute;
  top: 15px;
  right: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
  .alert-container {
    padding: 30px 20px;
    margin: 20px;
  }

  .alert-title {
    font-size: 24px;
  }

  .success-icon {
    width: 70px;
    height: 70px;
  }
}
.alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6); /* Fondo oscuro */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.user-menu {
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
}

.user-menu .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border-radius: 8px;
  overflow: hidden;
}

.user-menu .dropdown-content a {
  color: #1f2e4a;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.user-menu .dropdown-content a:hover {
  background-color: #f1f1f1;
}

.user-menu.active .dropdown-content {
  display: block;
}
.alert-mini {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  padding: 20px;
  max-width: 280px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  animation: slideIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.25);
  animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.25);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35);
  }
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.title {
  color: #2d3748;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.message {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 18px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
}

.alert-mini {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

@media (max-width: 320px) {
  .alert-mini {
    padding: 18px;
    max-width: 260px;
  }

  .title {
    font-size: 15px;
  }

  .message {
    font-size: 13px;
  }
}

.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
  }
}

.shake {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  75% {
    transform: translateX(2px);
  }
}
.input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  user-select: none;
  color: #555;
  z-index: 2;
}
.arrow {
  color: black;
  margin-left: 4px; /* para separar un poco de la palabra */
}
/* 🎨 ESTILOS ADICIONALES PARA LOS PRODUCTOS */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #666;
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.productos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.productos-info {
  color: #666;
  font-size: 0.9rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  max-width: 400px;
}

.search-form input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
}

.search-form button {
  padding: 0.5rem 1rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.search-form button:hover {
  background: #1d4ed8;
}

.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 3rem;
  color: #ccc;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}


.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 1rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 1rem;
}

.add-to-cart {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: translateY(-1px);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #f8f9fa;
  border-color: #2563eb;
  color: #2563eb;
}

.pagination .current {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.no-products {
  text-align: center;
  padding: 3rem;
  color: #666;
}

.no-products-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.categoria-activa {
  background-color: #e3f2fd !important;
  border-left: 3px solid #2563eb !important;
}

.categoria-activa a {
  color: #2563eb !important;
  font-weight: 600;
}

@media (max-width: 768px) {
  .productos-header {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form {
    max-width: none;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
/* Agregar estos estilos al final de productos2.css */

/* Product Actions */
.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.view-details-btn {
    flex: 1;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.add-to-cart {
    flex: 1;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Product name clickable */
.product-name {
    cursor: pointer;
    transition: color 0.3s ease;
}

.product-name:hover {
    color: #007bff;
}

/* Product image clickable */
.product-image-container {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-image-container:hover {
    transform: scale(1.02);
}

/* Responsive adjustments for product actions */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .view-details-btn,
    .add-to-cart {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 480px) {
    .view-details-btn,
    .add-to-cart {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
}