/* ===================
   Zigma Refacciones - styles.css
   =================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* Sticky Header - Clásico Modernizado */
.sticky-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Container */
.sticky-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  height: 60px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.cyan {
  color: #009FE3;
}

.magenta {
  color: #EC008C;
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: #1a1a2e;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #EC008C;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #EC008C;
}

.nav-menu a:hover::after {
  width: 100%;
}


/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  font-size: 28px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}


/* Hero Section */
.hero-section {
  background: url('../../resources/hero.webp') center center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 1rem;
  max-height: 1200px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Oscurece el fondo */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 0;
  max-width: 900px;
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title-main {
  font-size: 4.2rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  text-shadow: 0px 4px 20px rgba(0,0,0,0.5); /* Sombra para asegurar lectura sobre imagen */
}

.text-gradient {
  background: linear-gradient(135deg, #009FE3 0%, #EC008C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* El drop-shadow ayuda cuando hay background-clip: text */
  filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.4)); 
}

.hero-desc-main {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  text-shadow: 0px 2px 10px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.pulse-btn {
  box-shadow: 0 0 0 0 rgba(236, 0, 140, 0.7);
  animation: pulse-magenta 2s infinite;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes pulse-magenta {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 0, 140, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(236, 0, 140, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 0, 140, 0); }
}

.outline-button {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.outline-button:hover {
  background: #fff;
  color: #1a1a2e;
  transform: translateY(-3px);
}

/* CTA Button */
.cta-button {
  background-color: #EC008C;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(236, 0, 140, 0.3);
}

.cta-button:hover {
  background-color: #bf006e;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(236, 0, 140, 0.4);
}

.cta-button:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(236, 0, 140, 0.2);
}


/* About Section */
.about-section {
  padding: 6rem 2rem;
  background-color: #d4f1ff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  
  margin: auto;
}

.about-image-wrapper {
  flex: 1;
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.8rem;
  color: #EC008C;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

.about-subtext {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif;
}

.about-list {
  list-style: none;
  padding: 0;
  font-size: 1.05rem;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.about-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #EC008C;
  font-weight: bold;
  font-size: 1.2rem;
}


/* Services Section */
.services-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #EC008C;
  font-family: 'Poppins', sans-serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Icon circle */
.icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: #009FE3;
  color: #ffffff;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background-color 0.3s;
}

.service-card:hover .icon-wrapper {
  background-color: #EC008C;
}

/* Headings and paragraph */
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
}

.service-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.products-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
}

/* Products*/

.products-section .slide-image {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  background-color: #f0f0f0;
  display: block;
}

.products-section .slide-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.products-swiper {
  padding: 1rem 0;
}

.products-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navegación Swiper */
.swiper-button-next,
.swiper-button-prev {
  color: #ec008c;
  transition: color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #009fe3;
}

/* Paginación Swiper */
.swiper-pagination-bullet {
  background: #ec008c;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}




/* Testimonials */
.testimonials-section {
  padding: 5rem 2rem;
  background-color: #d4f1ff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #EC008C;
  margin-bottom: 2.5rem;
  font-family: 'Poppins', sans-serif;
}

.carousel {
  position: relative;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: opacity 0.5s ease;
}

.testimonial-card.active {
  display: block;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.stars {
  color: gold;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.testimonial-card h4 {
  font-weight: 600;
  color: #333;
}

/* Flechas carrusel */
.carousel-controls {
  margin-top: 1.5rem;
}

.carousel-controls button {
  background-color: #009FE3;
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-controls button:hover {
  background-color: #EC008C;
}

/* Marcas */
.brands-section {
  margin-top: 4rem;
}

.brands-text {
  font-size: 1.1rem;
  color: #2b2b2b;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: center;
  align-items: center;
}

.brands-logos img {
  max-height: 150px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.brands-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}



.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}


/* Sección de Contacto */
.contact-section {
  background-color: #ffffff;
  padding: 4rem 0;
}/* Grid general de la sección (Ahora Wrapper Unificado) */
.contact-wrapper {
  display: grid;
  grid-template-columns: 40% 60%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  background-color: #fff;
}

/* Panel Izquierdo (Info) */
.contact-info-panel {
  background: linear-gradient(135deg, #009FE3 0%, #EC008C 100%);
  color: #fff;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.contact-info-panel h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.contact-info-panel .contact-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.contact-info-panel ul {
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 2;
}

.contact-info-panel li {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-panel li i {
  color: #fff;
  font-size: 1.3rem;
  margin-top: 4px;
}

.contact-decor {
  position: absolute;
  bottom: -30px;
  right: -30px;
  font-size: 15rem;
  opacity: 0.1;
  color: #fff;
  transform: rotate(-15deg);
  pointer-events: none;
}

/* Panel Derecho (Formulario) */
.contact-form-panel {
  background: #fff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.contact-form-panel h3 {
  font-size: 1.8rem;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
}

.contact-form-panel input,
.contact-form-panel textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  background-color: #f9f9f9;
  transition: all 0.3s;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
  border-color: #009FE3;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.1);
}

.contact-form-panel .cta-button {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.8rem 2rem;
}

@media (max-width: 850px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-info-panel {
    padding: 2rem;
  }
  
  .contact-form-panel {
    padding: 2rem;
  }
}


/* Mapa dentro de la columna izquierda */
.map-inline {
  margin-top: 1.5rem;
}

.map-title {
  font-size: 1.5rem;
  color: #EC008C;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.map-inline iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/*Footer*/

.footer {
  background-color: #000;
  color: #fff;
  padding: 4rem 1rem 2rem;
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #EC008C;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 50px;
  margin-bottom: 0.8rem;
}

.footer-brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.8rem;
}

.footer-desc {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
  max-width: 280px;
}

.cyan {
  color: #009FE3;
}

.magenta {
  color: #EC008C;
}


.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #EC008C;
}

.footer-contact i {
  color: #009FE3;
  margin-right: 0.5rem;
}

.brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.brand-list li {
  margin-bottom: 0.5rem;
}


/* Redes sociales */
.social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
}

.social-icons a {
  color: #ffffff;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #009FE3;
}

/* Pie inferior */
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #cccccc;
}

.footer-bottom a {
  color: #EC008C;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* RESPONSIVE GENERAL */

@media (max-width: 414px) {

  /* WhatsApp Button */
  .whatsapp-button {
    display: flex;
    width: 45px;
    height: 45px;
    font-size: 22px;
    bottom: 15px;
    right: 15px;
    z-index: 1100;
    opacity: 1;
    visibility: visible;
  }

  /* Header Mobile */
  .sticky-header {
    top: 0;
    width: 100%;
    border-radius: 0;
  }

  .sticky-header .container {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .nav-menu {
    gap: 1rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu a {
    padding: 0;
    font-size: 0.95rem;
  }

  /* Hero Section */
  .hero-overlay {
    padding: 1rem;
    max-width: 95%;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
  }

  /* About Section */
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-subtext {
    font-size: 1rem;
  }

  .about-list li {
    font-size: 0.95rem;
  }

  /* Ajustes de tipografía para hero en móvil */
  .hero-title-main {
    font-size: 2.5rem;
  }
  
  .hero-desc-main {
    font-size: 1rem;
  }

  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Testimonios */
  .testimonial-card {
    margin: 1rem auto;
    max-width: 90%;
  }

  .carousel-controls button {
    font-size: 1.1rem;
    padding: 0.4rem 1rem;
  }

  /* Marcas */
  .brands-logos {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brands-logos img {
    max-height: 90px;
  }

  /* Contact Section */
  .contact-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .contact-info h2,
  .contact-form h3 {
    font-size: 1.6rem;
    text-align: center;
  }

  .contact-subtitle {
    text-align: center;
    font-size: 0.95rem;
  }

  .contact-info li {
    justify-content: center;
    font-size: 0.95rem;
  }

  .map-inline iframe {
    height: 220px;
  }

  .map-title {
    font-size: 1.3rem;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-col {
    text-align: center;
  }

  .footer-brand-name {
    font-size: 1.1rem;
    text-align: center;
  }

  .footer-desc {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .footer-links li,
  .footer-contact li {
    text-align: center;
    font-size: 0.9rem;
  }

  .brand-list {
    text-align: center;
    font-size: 0.9rem;
  }

  .social-icons {
    justify-content: center;
    gap: 0.6rem;
  }

  .social-icons a {
    font-size: 1rem;
  }

  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.75rem;
  }

  /* Productos */
  .products-swiper img {
    height: 130px;
    object-fit: cover;
  }
}

/* ==================== CATÁLOGO Y FRONTEND ==================== */
.catalogo-hero {
  background: linear-gradient(135deg, #009FE3 0%, #EC008C 100%);
  padding: 5rem 2rem 6rem; /* Extra padding en el fondo para que la toolbar flote */
  text-align: center;
  color: #fff;
  position: relative;
}

.catalogo-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  font-weight: 300;
}

.toolbar-container {
  position: relative;
  margin-top: -3.5rem; /* Hace que flote sobre el banner */
  z-index: 10;
}

.catalogo-toolbar-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.5);
}

.search-wrapper, .filter-wrapper {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-wrapper i, .filter-wrapper i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 1.1rem;
  pointer-events: none;
}

.catalogo-toolbar-glass input,
.catalogo-toolbar-glass select {
  width: 100%;
  padding: 14px 14px 14px 50px;
  border: 2px solid #eaeaea;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  outline: none;
  background: #fff;
  transition: all 0.3s ease;
  color: #333;
}

.catalogo-toolbar-glass select {
  appearance: none;
  cursor: pointer;
}

.catalogo-toolbar-glass input:focus,
.catalogo-toolbar-glass select:focus {
  border-color: #009FE3;
  box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.1);
}

.catalogo-body {
  padding: 4rem 2rem 5rem;
  background-color: #f4f6f9; /* Fondo un poco más oscuro para que resalten las tarjetas blancas */
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.frontend-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pag-btn {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pag-btn:hover:not(:disabled) {
  background: #f0f0f0;
  border-color: #ccc;
}

.pag-btn.active {
  background: #009FE3;
  color: #fff;
  border-color: #009FE3;
}

.pag-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f9f9f9;
}

.producto-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.02);
}

.producto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.producto-img-container {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  background: #f4f4f4;
  overflow: hidden;
}

.producto-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.producto-card:hover .producto-img-container img {
  transform: scale(1.05);
}

.producto-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #009FE3;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.producto-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.producto-info h3 {
  font-size: 1.25rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.producto-specs {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  flex: 1;
  white-space: pre-wrap;
}

.btn-cotizar {
  text-align: center;
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  background-color: #009FE3;
  transition: all 0.3s ease;
}

.btn-cotizar:hover {
  background-color: #007bb0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 159, 227, 0.3);
}

/* ==================== PRODUCT MODAL (GLASSMORPHISM) ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1100px; /* Expandido para descripciones largas */
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #EC008C;
}

.modal-split {
  display: flex;
  flex-wrap: wrap;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-image-col {
  flex: 1;
  min-width: 350px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-image-col img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.modal-info-col {
  flex: 1.3; /* Darle más espacio visual a la columna de texto */
  min-width: 350px;
  padding: 3rem 2.5rem; /* Un poco más de margen para que respire */
  display: flex;
  flex-direction: column;
}

.modal-info-col h2 {
  font-size: 2rem;
  color: #EC008C;
  margin-bottom: 1rem;
}

.modal-specs {
  font-weight: 600;
  color: #444;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  white-space: pre-wrap;
}

.modal-desc {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
  flex: 1;
  white-space: pre-wrap;
}

/* Modificamos el hover del product-card para que indique click */
.producto-card {
  cursor: pointer;
}
