/* ============================================
   VEASE COMERCIAL - HOJA DE ESTILOS COMPARTIDA
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:root {
  --primary: #1F6E8C;
  --primary-dark: #0D1B3D;
  --accent: #2FA58A;
  --accent-dark: #1d8a72;
  --gold: #D4A017;
  --whatsapp: #25D366;
  --light: #F7F7F7;
  --dark: #0D1B3D;
  --gray: #6b7c8c;
  --border: #E6E8EB;
}

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  z-index: 1000;
}
.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}
.logo { display: inline-block; }
.logo-img {
  height: 55px;
  width: auto;
  display: block;
  transition: transform 0.3s;
}
.logo:hover .logo-img { transform: scale(1.05); }
.footer-logo-img {
  height: 65px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 0;
  margin-bottom: 15px;
}
nav ul { display: flex; list-style: none; gap: 30px; }
nav a {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--dark);
  transition: color 0.3s;
  position: relative;
}
nav a:hover, nav a.active { color: var(--primary); }
nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}
.header-icons { display: flex; gap: 15px; align-items: center; }
.header-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  transition: all 0.3s;
}
.header-icons a:hover { background: var(--primary); color: #fff; }
.header-icons svg { width: 18px; height: 18px; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary);
}

/* ============ DROPDOWN MENU ============ */
nav .has-dropdown { position: relative; }
nav .has-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  transition: transform 0.3s;
  display: inline-block;
}
nav .has-dropdown:hover > a::after { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  background: #fff;
  min-width: 270px;
  list-style: none;
  padding: 12px 0;
  margin: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 1000;
  border-top: 3px solid var(--primary);
}
nav .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { margin: 0; display: block; }
.dropdown a {
  display: block;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.5px;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.dropdown a::after { display: none !important; }
.dropdown a:hover {
  background: var(--light);
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 30px;
}

/* ============ HERO / CARRUSEL (INDEX) ============ */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active { opacity: 1; }
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,110,140,0.85) 0%, rgba(13,27,61,0.7) 100%);
}
.slide-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 30px;
}
.slide-content h1 {
  font-size: 52px;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.slide-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
  margin: 0 8px;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.btn.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}
.btn.btn-outline:hover { background: #fff; color: var(--primary); }
.btn.btn-primary { background: var(--primary); }
.btn.btn-primary:hover { background: var(--primary-dark); }

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active { background: #fff; width: 35px; border-radius: 6px; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.carousel-arrow:hover { background: rgba(255,255,255,0.4); }
.carousel-arrow.prev { left: 30px; }
.carousel-arrow.next { right: 30px; }

/* ============ PAGE HERO (PÁGINAS INTERIORES) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 80px 30px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(76,175,80,0.25), transparent 60%);
}
.page-hero h1 {
  font-size: 48px;
  margin-bottom: 12px;
  position: relative;
  font-weight: 700;
}
.page-hero p {
  font-size: 18px;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb {
  position: relative;
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { opacity: 0.7; }

/* ============ SECCIONES GENERALES ============ */
section { padding: 80px 30px; }
.container { max-width: 1300px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-size: 38px;
  color: var(--dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.section-title p {
  color: var(--gray);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}
.section-title .underline {
  width: 70px;
  height: 4px;
  background: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ============ CATEGORÍAS (INDEX) ============ */
.categories { background: var(--light); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.cat-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  transition: transform 0.4s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.cat-card:hover { transform: translateY(-8px); }
.cat-card .cat-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}
.cat-card:hover .cat-img { transform: scale(1.1); }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}
.cat-card .cat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  z-index: 2;
  color: #fff;
}
.cat-card h3 { font-size: 22px; margin-bottom: 5px; letter-spacing: 1px; }
.cat-card span { font-size: 13px; opacity: 0.9; }
.cat-escolar .cat-img { background: linear-gradient(135deg, #1F6E8C, #0D1B3D); }
.cat-oficina .cat-img { background: linear-gradient(135deg, #2FA58A, #0D1B3D); }
.cat-exterior .cat-img { background: linear-gradient(135deg, #2FA58A, #1d8a72); }
.cat-juegos .cat-img { background: linear-gradient(135deg, #D4A017, #b88a10); }
.cat-follaje .cat-img { background: linear-gradient(135deg, #2FA58A, #1d8a72); }

/* ============ SUBCATEGORÍAS LANDING (CARDS GRANDES) ============ */
.subcats-landing {
  padding: 80px 30px;
  background: var(--light);
}
.subcats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
}
.subcat-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid var(--border);
}
.subcat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--primary);
}
.subcat-card .icon-wrapper {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #fff;
  position: relative;
  transition: all 0.4s;
}
.subcat-card:hover .icon-wrapper { font-size: 90px; }
.subcat-card .card-body {
  padding: 25px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.subcat-card h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 700;
}
.subcat-card p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 18px;
}
.subcat-card .view-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  transition: gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.subcat-card:hover .view-link { gap: 14px; }
.bg-blue { background: linear-gradient(135deg, #1F6E8C, #0D1B3D); }
.bg-green { background: linear-gradient(135deg, #2FA58A, #1d8a72); }
.bg-orange { background: linear-gradient(135deg, #D4A017, #b88a10); }
.bg-purple { background: linear-gradient(135deg, #9c27b0, #4a148c); }
.bg-red { background: linear-gradient(135deg, #e53935, #b71c1c); }
.bg-teal { background: linear-gradient(135deg, #2FA58A, #1F6E8C); }
.bg-pink { background: linear-gradient(135deg, #e91e63, #ad1457); }
.bg-brown { background: linear-gradient(135deg, #795548, #3e2723); }

/* ============ QUIÉNES SOMOS (INDEX) ============ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  height: 450px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(76,175,80,0.3), transparent 60%);
}
.about-image .years {
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  z-index: 2;
}
.about-image .years-label { font-size: 22px; margin-top: 10px; z-index: 2; }
.about-text h2 { font-size: 36px; margin-bottom: 20px; color: var(--dark); }
.about-text h2 .accent { color: var(--primary); }
.about-text p { color: var(--gray); margin-bottom: 15px; font-size: 16px; }
.about-text .btn { background: var(--primary); margin: 20px 0 0; }
.about-text .btn:hover { background: var(--primary-dark); }

/* ============ PRODUCTOS ============ */
.products { background: var(--light); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.product-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.product-img {
  height: 200px;
  background: #f0f4f7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img .placeholder-shape {
  width: 60%;
  height: 70%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 50px;
}
.product-card.green .placeholder-shape { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.product-card.orange .placeholder-shape { background: linear-gradient(135deg, #ff9800, #e65100); }
.product-card.yellow .placeholder-shape { background: linear-gradient(135deg, #ffc107, #ff8f00); }
.product-card.red .placeholder-shape { background: linear-gradient(135deg, #e53935, #b71c1c); }
.product-card.purple .placeholder-shape { background: linear-gradient(135deg, #9c27b0, #4a148c); }
.product-card.teal .placeholder-shape { background: linear-gradient(135deg, #26a69a, #00695c); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}
.badge.sale { background: #e74c3c; }
.product-info { padding: 18px; }
.product-info .code { color: var(--gray); font-size: 11px; letter-spacing: 1px; }
.product-info h4 { font-size: 15px; margin: 5px 0 10px; color: var(--dark); }
.product-info .colors { display: flex; gap: 5px; margin-bottom: 12px; flex-wrap: wrap; }
.product-info .colors span {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.btn-quote {
  display: block; width: 100%; padding: 9px;
  background: var(--whatsapp); color: #fff; border: none;
  border-radius: 0; font-weight: 600; cursor: pointer;
  font-size: 13px; transition: background 0.3s;
}
.btn-quote:hover { background: #1ea952; }

/* ============ FEATURES ============ */
.features { background: var(--light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.feature-box { text-align: center; padding: 30px 20px; }
.feature-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 36px;
}
.feature-box h4 { font-size: 18px; margin-bottom: 10px; color: var(--dark); }
.feature-box p { color: var(--gray); font-size: 14px; }

/* ============ VLOG ============ */
.vlog-section { background: var(--dark); color: #fff; }
.vlog-section .section-title h2 { color: #fff; }
.vlog-section .section-title p { color: #b0bec5; }
.vlog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.vlog-card {
  position: relative; height: 380px;
  border-radius: 0; overflow: hidden; cursor: pointer;
  background-size: cover; background-position: center;
  transition: transform 0.4s;
}
.vlog-card:hover { transform: scale(1.03); }
.vlog-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
}
.vlog-card .play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.2);
  border: 2px solid #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.vlog-card .play-icon::after {
  content: ''; width: 0; height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.vlog-card .vlog-info {
  position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2;
}
.vlog-card .vlog-info h4 { color: #fff; font-size: 16px; margin-bottom: 5px; }
.vlog-card .vlog-info span { color: #b0bec5; font-size: 12px; }
.vlog-1 { background: linear-gradient(135deg, #2FA58A, #1d8a72); }
.vlog-2 { background: linear-gradient(135deg, #D4A017, #b88a10); }
.vlog-3 { background: linear-gradient(135deg, #1F6E8C, #0D1B3D); }
.vlog-4 { background: linear-gradient(135deg, #2FA58A, #1F6E8C); }

/* ============ CONTACT ============ */
.contact {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.contact .section-title h2 { color: #fff; }
.contact .section-title p { color: rgba(255,255,255,0.85); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0;
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.3s;
}
.contact-card:hover { transform: translateY(-5px); }
.contact-card .icon {
  width: 60px; height: 60px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.contact-card h4 { font-size: 18px; margin-bottom: 8px; }
.contact-card p { font-size: 15px; opacity: 0.95; }
.contact-card a { color: #fff; transition: opacity 0.3s; }
.contact-card a:hover { opacity: 0.7; }

/* ============ CTA BLOCK ============ */
.cta-block {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 60px 30px;
  text-align: center;
}
.cta-block h2 { font-size: 32px; margin-bottom: 12px; }
.cta-block p { font-size: 17px; margin-bottom: 25px; opacity: 0.95; }
.cta-block .btn { background: #fff; color: var(--accent-dark); }
.cta-block .btn:hover { background: var(--dark); color: #fff; }

/* ============ FOOTER ============ */
footer { background: var(--dark); color: #b0bec5; padding: 60px 30px 20px; }
.footer-grid {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h5 { color: #fff; font-size: 16px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col p { font-size: 14px; margin-bottom: 10px; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 14px; }
.footer-col ul li a:hover { color: var(--accent); }
.social-icons { display: flex; gap: 12px; margin-top: 15px; }
.social-icons a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.social-icons a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  max-width: 1300px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; text-align: center; font-size: 13px;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed; bottom: 25px; right: 25px;
  width: 60px; height: 60px;
  background: var(--whatsapp); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: transform 0.3s;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 20px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============ COMING SOON / EMPTY ============ */
.coming-soon {
  grid-column: 1 / -1;
  background: #fff;
  border: 2px dashed var(--border);
  border-radius: 0;
  padding: 50px 30px;
  text-align: center;
  color: var(--gray);
}
.coming-soon h4 { color: var(--dark); margin-bottom: 8px; font-size: 18px; }
.coming-soon p { font-size: 14px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
  nav ul { display: none; }
  .menu-toggle { display: block; }
  .nav-mobile-open ul {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    max-height: 70vh; overflow-y: auto;
  }
  nav .has-dropdown > a::after { content: ' +'; font-size: 16px; font-weight: 700; }
  nav .has-dropdown.open > a::after { content: ' −'; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: none; background: var(--light);
    display: none; border-radius: 0; min-width: auto; margin-top: 8px;
  }
  nav .has-dropdown.open .dropdown { display: block; }
  .slide-content h1 { font-size: 36px; }
  .slide-content p { font-size: 16px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-image { height: 300px; }
  .about-image .years { font-size: 80px; }
  .section-title h2 { font-size: 28px; }
  .page-hero h1 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-arrow { width: 40px; height: 40px; }
}
@media (max-width: 600px) {
  section { padding: 60px 20px; }
  .hero { height: 500px; }
  .slide-content h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ MODAL DE PRODUCTO ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.modal-img {
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}
.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-img .modal-placeholder { font-size: 80px; }
.modal-img-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s;
}
.modal-img-arrow:hover { background: rgba(0,0,0,0.7); }
.modal-img-arrow.prev { left: 0; }
.modal-img-arrow.next { right: 0; }
.modal-img-counter {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  letter-spacing: 1px;
}
.modal-body {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.modal-code {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.modal-body h2 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.3;
}
.modal-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}
.modal-desc ul {
  margin-top: 10px;
  padding-left: 18px;
}
.modal-desc ul li { margin-bottom: 5px; }
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  line-height: 1;
  z-index: 10;
}
.modal-close:hover { color: var(--dark); }
.modal-btn-wa {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s;
}
.modal-btn-wa:hover { background: #1ea952; }
.product-card { cursor: pointer; }
@media (max-width: 600px) {
  .modal-box { grid-template-columns: 1fr; }
  .modal-img { min-height: 200px; }
}

/* ============ SEARCH ICON BUTTON ============ */
.search-icon-btn {
  display: flex;
  align-items: center;
  color: var(--dark);
  padding: 6px;
  margin-left: 8px;
  transition: color 0.2s;
  border-radius: 50%;
}
.search-icon-btn:hover { color: var(--primary); }

.product-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
