/* ==========================================================================
   MODELO 2 — FRESCO / CONTEMPORÁNEO (Luminoso, Abierto, Aireado)
   ========================================================================== */

:root {
  --m2-primary: #10B981;
  --m2-primary-dark: #059669;
  --m2-bg: #FAFCF8;
  --m2-surface: #FFFFFF;
  --m2-card-bg: #F0FDF4;
  --m2-text: #064E3B;
  --m2-muted: #64748B;
  --m2-border: #E2E8F0;
  --m2-accent: #34D399;
  --m2-radius: 16px;
}

body.theme-m2 {
  background-color: var(--m2-bg);
  color: var(--m2-text);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* HEADER GLASSMORFICO CONTEMPORÁNEO */
.theme-m2 .site-header.header-solid {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}
.theme-m2 .header-brand {
  color: var(--m2-primary-dark);
  font-weight: 800;
}
.theme-m2 .nav-link {
  border-radius: 8px;
  color: #475569;
}
.theme-m2 .nav-link:hover, .theme-m2 .nav-link.active {
  background: #ECFDF5;
  color: var(--m2-primary-dark);
  font-weight: 700;
}
.theme-m2 .cart-count-badge {
  background: var(--m2-primary);
}
.theme-m2 .nav-btn-install {
  background: var(--m2-primary);
  color: #FFFFFF;
  border-radius: 8px;
}
.theme-m2 .nav-btn-install:hover {
  background: var(--m2-primary-dark);
}

/* HERO ASIMÉTRICO MODERNO */
.theme-m2 .hero-overlay-gradient {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.65) 0%, rgba(2, 44, 34, 0.9) 100%);
}
.theme-m2 .btn-hero-primary {
  background: var(--m2-primary);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}
.theme-m2 .btn-hero-primary:hover {
  background: var(--m2-primary-dark);
}

/* PRODUCTOS DESTACADOS — SHOWCASE HORIZONTAL PANORÁMICO */
.theme-m2 .featured-showcase-card {
  background: #FFFFFF;
  border: 1px solid #D1FAE5;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.07);
}
.theme-m2 .featured-showcase-card .card-img-wrapper {
  background: #F0FDF4;
  border-radius: 14px;
  height: 210px;
}
.theme-m2 .featured-badge {
  background: #064E3B;
  color: #34D399;
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

/* PRODUCTOS NORMALES */
.theme-m2 .catalog-products-grid .nexxis-card {
  background: var(--m2-surface);
  border: 1px solid #E2E8F0;
  border-radius: var(--m2-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
.theme-m2 .card-img-wrapper {
  background: #F8FAF6;
  height: 190px;
}
.theme-m2 .card-price {
  color: var(--m2-primary-dark);
}
.theme-m2 .btn-add-card {
  background: var(--m2-primary);
  border-radius: 8px;
}
.theme-m2 .btn-add-card:hover {
  background: var(--m2-primary-dark);
}
.theme-m2 .cat-btn.active {
  background: var(--m2-primary);
  color: #FFF;
}

.theme-m2 .btn-add-detail, .theme-m2 .btn-checkout-primary, .theme-m2 .btn-catalog-cta {
  background: var(--m2-primary);
  border-radius: 16px;
  color: #FFF;
}
.theme-m2 .btn-add-detail:hover, .theme-m2 .btn-checkout-primary:hover, .theme-m2 .btn-catalog-cta:hover {
  background: var(--m2-primary-hover);
}
