/* ==========================================================================
   M3 DESIGN'S — DESIGN SYSTEM (Dark Emerald • Bricolage Grotesque + Onest)
   Inspirado en la Maqueta Oficial de Claude / SellAuth
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Onest:wght@400;500;600;700&display=swap');

:root {
  --m3-bg-base: #08110E;
  --m3-bg-strip: #0C1713;
  --m3-bg-card: #0F1B17;
  --m3-bg-dark: #050B09;
  --m3-border: #1F3329;
  --m3-border-light: #26382F;
  --m3-border-hover: #2F5A47;
  --m3-accent: #10B981;
  --m3-accent-hover: #34D399;
  --m3-discord: #4954D6;
  --m3-discord-hover: #5865F2;
  --m3-amber: #F5A524;
  --m3-amber-dark: #1E1707;
  --m3-amber-border: #4A3710;
  --m3-amber-text: #F7B84B;
  --m3-text-main: #EAF3EE;
  --m3-text-sub: #B5C7BD;
  --m3-text-muted: #8CA295;
  --m3-font-heading: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --m3-font-body: 'Onest', system-ui, -apple-system, sans-serif;
  --m3-font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

body {
  margin: 0;
  background-color: var(--m3-bg-base) !important;
  color: var(--m3-text-main) !important;
  font-family: var(--m3-font-body) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--m3-font-heading);
  letter-spacing: -0.015em;
  color: var(--m3-text-main);
}

p {
  margin: 0;
}

/* Microinteracciones y Hover */
.btn {
  transition: filter 0.15s ease, transform 0.15s ease !important;
  cursor: pointer;
}
.btn:hover {
  filter: brightness(1.12) !important;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.lift {
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}
.lift:hover {
  border-color: var(--m3-border-hover) !important;
}

/* Animaciones de la Terminal */
@keyframes m3in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes m3bar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.cl {
  opacity: 0;
  animation: m3in 0.45s ease forwards;
}
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.55s; }
.d3 { animation-delay: 0.95s; }
.d4 { animation-delay: 1.35s; }
.d5 { animation-delay: 1.75s; }
.d6 { animation-delay: 3.4s; }

.bar {
  width: 0;
  animation: m3bar 1.5s 1.9s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .cl { opacity: 1 !important; animation: none !important; }
  .bar { width: 100% !important; animation: none !important; }
  .btn, .lift { transition: none !important; }
}

/* Chips de Filtro */
.m3-chip {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--m3-border-light);
  background: transparent;
  color: var(--m3-text-main);
  font-family: var(--m3-font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.m3-chip:hover {
  border-color: var(--m3-accent);
}
.m3-chip.active {
  background: var(--m3-accent) !important;
  color: #04130D !important;
  border-color: var(--m3-accent) !important;
  font-weight: 600;
}

/* Tarjeta de Producto */
.m3-product-card {
  background: var(--m3-bg-card);
  border: 1px solid var(--m3-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.m3-product-card:hover {
  border-color: var(--m3-border-hover);
  transform: translateY(-2px);
}
.m3-product-cover {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  background: #0E2A21;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m3-product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.m3-product-card:hover .m3-product-cover img {
  transform: scale(1.03);
}

/* Badges */
.m3-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--m3-font-heading);
  z-index: 2;
}
.m3-badge-new {
  background: var(--m3-accent);
  color: #04130D;
}
.m3-badge-soon {
  background: #26382F;
  color: #EAF3EE;
  border: 1px solid #3A5A4A;
}

/* Tag Specs */
.m3-spec-tag {
  font-family: var(--m3-font-mono);
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid var(--m3-border-light);
  border-radius: 6px;
  color: var(--m3-text-sub);
  background: rgba(15, 27, 23, 0.6);
}

/* Precios */
.m3-price-now {
  font-family: var(--m3-font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--m3-text-main);
}
.m3-price-old {
  color: var(--m3-text-muted);
  text-decoration: line-through;
  font-size: 15px;
}
.m3-discount-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: #2A1F08;
  border: 1px solid var(--m3-amber-border);
  color: var(--m3-amber-text);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--m3-font-mono);
}

/* Botones Principales */
.m3-btn-primary {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--m3-accent);
  color: #04130D !important;
  font-weight: 700;
  font-family: var(--m3-font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  font-size: 15px;
}
.m3-btn-primary:hover {
  background: var(--m3-accent-hover);
}

.m3-btn-discord {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--m3-discord);
  color: #FFFFFF !important;
  font-weight: 700;
  font-family: var(--m3-font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  font-size: 15px;
}
.m3-btn-discord:hover {
  background: var(--m3-discord-hover);
}

.m3-btn-cart {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--m3-border-light);
  background: #0F1B17;
  color: var(--m3-text-main) !important;
  font-weight: 600;
  font-family: var(--m3-font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.m3-btn-cart:hover {
  border-color: var(--m3-accent) !important;
  color: var(--m3-accent) !important;
  background: rgba(16, 185, 129, 0.08) !important;
}

.m3-toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0D1A15;
  border: 1px solid #10B981;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1000000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.m3-toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.m3-btn-outline {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid #3A5A4A;
  background: transparent;
  color: var(--m3-text-main) !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
}
.m3-btn-outline:hover {
  border-color: var(--m3-accent);
}

/* Modal de Detalle de Producto SellAuth */
.m3-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 19, 13, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.m3-modal-card {
  background: #0D1A15;
  border: 1px solid var(--m3-border);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  animation: m3in 0.3s ease;
}

/* ========================================================================
   M3 TECH STUDIO — VISUAL POLISH v2
   Accesibilidad, jerarquía visual, responsive y microinteracciones.
   Mantiene intactas las plantillas y la lógica de compra de SellAuth.
   ======================================================================== */
:root {
  --m3-bg-base: #080d0b;
  --m3-bg-strip: #0b1410;
  --m3-bg-card: #0e1813;
  --m3-bg-dark: #050907;
  --m3-border: rgba(148, 163, 184, .14);
  --m3-border-light: rgba(148, 163, 184, .22);
  --m3-border-hover: rgba(16, 185, 129, .58);
  --m3-accent: #10B981;
  --m3-accent-hover: #34D399;
  --m3-text-main: #F0F7F3;
  --m3-text-sub: #B8C9C0;
  --m3-text-muted: #91A59A;
  --m3-glow: rgba(16, 185, 129, .13);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background-image:
    radial-gradient(ellipse at 12% 0%, rgba(16,185,129,.075), transparent 34rem),
    radial-gradient(ellipse at 92% 22%, rgba(38,132,54,.055), transparent 30rem) !important;
  background-attachment: fixed;
}
::selection { background: rgba(16,185,129,.32); color: #fff; }
:focus-visible { outline: 2px solid var(--m3-accent) !important; outline-offset: 3px; }

/* Contenedores: superficies más limpias y consistentes */
.component { position: relative; }
.m3-hero-section {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 42%, rgba(16,185,129,.10), transparent 34%),
    linear-gradient(180deg, rgba(8,13,11,.98), rgba(8,13,11,.92)) !important;
}
.m3-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

/* Acciones principales: contraste y objetivos táctiles */
.btn, button, [role="button"], .m3-btn-primary, .m3-btn-outline, .m3-btn-discord {
  -webkit-tap-highlight-color: transparent;
}
.btn, .m3-btn-primary, .m3-btn-outline, .m3-btn-discord {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease !important;
}
.btn:hover, .m3-btn-primary:hover, .m3-btn-outline:hover, .m3-btn-discord:hover {
  transform: translateY(-2px);
}
.btn:not(.m3-btn-outline), .m3-btn-primary {
  box-shadow: 0 8px 24px rgba(16,185,129,.13);
}
.btn:not(.m3-btn-outline):hover, .m3-btn-primary:hover {
  box-shadow: 0 12px 30px rgba(16,185,129,.22);
}

/* Cards de catálogo y contenido */
.m3-product-card, .card, .product-card, [class*="product-card"] {
  border-color: var(--m3-border);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.m3-product-card:hover, .card:hover, .product-card:hover {
  border-color: var(--m3-border-hover);
  box-shadow: 0 16px 38px rgba(0,0,0,.22), 0 0 0 1px rgba(16,185,129,.045);
}
.m3-product-cover img, .product-card img { backface-visibility: hidden; }
.m3-chip { min-height: 42px; }
.m3-chip.active { box-shadow: 0 5px 18px rgba(16,185,129,.17); }

/* Formularios, inputs y estados de interacción */
input, textarea, select {
  color: var(--m3-text-main);
  accent-color: var(--m3-accent);
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(16,185,129,.7) !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,.10) !important;
}
hr { border-color: var(--m3-border); }

/* Scrollbar discreta en navegadores compatibles */
* { scrollbar-color: #284638 #080d0b; scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #080d0b; }
*::-webkit-scrollbar-thumb { background: #284638; border: 2px solid #080d0b; border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: #347451; }

/* Diseño móvil: menos ruido y sin efectos que provoquen desbordamiento */
@media (max-width: 700px) {
  html { scroll-padding-top: 68px; }
  .m3-hero-section { background-size: auto, auto; }
  .m3-hero-section > div { gap: 30px !important; }
  .m3-hero-section h1 { font-size: clamp(34px, 9vw, 48px) !important; line-height: 1.06 !important; }
  .m3-hero-section p { font-size: 16px !important; }
  .m3-hero-section .btn { min-height: 48px !important; padding-inline: 18px !important; }
  .m3-product-card { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}



/* ========================================================================
   GLOBAL SELLAUTH THEME OVERRIDES & 60FPS GPU ACCELERATION
   ======================================================================== */
:root {
  --cl-accent: #10B981 !important;
  --cl-accent-rgb: 16, 185, 129 !important;
  --cl-background-primary: #080D0B !important;
  --cl-background-primary-rgb: 8, 13, 11 !important;
  --cl-background-secondary: #0E1813 !important;
  --cl-background-secondary-rgb: 14, 24, 19 !important;
  --cl-border: #26382F !important;
  --cl-border-rgb: 38, 56, 47 !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Optimización de Renderizado GPU & Content Visibility (Zero-Lag Architecture) */
.m3-product-card, .lift, article, .component {
  content-visibility: auto;
  contain-intrinsic-size: 1px 360px;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, border-color;
}

/* ========================================================================
   PASO 1: UI/UX OVERHAUL — PORTAL DE CLIENTE, FONDOS & CONTRASTE
   ======================================================================== */

/* Fondo Watermark Sutil sin choques visuales de opacidad */
.bg-image {
  position: fixed !important;
  inset: 0 !important;
  z-index: -1 !important;
  background-position: center !important;
  background-size: cover !important;
  pointer-events: none !important;
  opacity: 0.12 !important;
  filter: saturate(0.4) brightness(0.28) contrast(1.15) !important;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 25%, rgba(11, 22, 18, 0.75) 0%, rgba(5, 11, 9, 0.98) 100%);
  pointer-events: none;
}

/* Contenedor Principal del Portal de Usuario */
.m3-customer-portal {
  position: relative;
  z-index: 2;
  min-height: 80vh;
}

/* Cabecera del Portal */
.m3-portal-header-card {
  background: #0B1612 !important;
  border: 1px solid #1F3329 !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), inset 0 0 20px rgba(16, 185, 129, 0.03) !important;
  backdrop-filter: blur(14px) !important;
}

.m3-portal-title {
  font-family: var(--m3-font-heading) !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  color: #EAF3EE !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.25rem !important;
}

.m3-portal-subtitle {
  color: #8CA295 !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Tarjetas de Estadísticas (Pedidos, Inversión, Rango) */
.m3-stat-card {
  background: #0D1914 !important;
  border: 1px solid #1F3329 !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  height: 100%;
}

.m3-stat-card:hover {
  border-color: #10B981 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.15) !important;
}

.m3-stat-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 0.75rem !important;
}

.m3-stat-title {
  font-family: var(--m3-font-heading) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #8CA295 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

.m3-stat-icon-circle {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #10B981 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
}

.m3-stat-value {
  font-family: var(--m3-font-heading) !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: #10B981 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.25rem !important;
}

/* Tarjetas Principales del Portal */
.m3-portal-card {
  background: #0D1914 !important;
  border: 1px solid #1F3329 !important;
  border-radius: 14px !important;
  padding: 1.5rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(12px) !important;
}

.m3-card-header-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  margin-bottom: 1.25rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid #1F3329 !important;
}

.m3-section-title {
  font-family: var(--m3-font-heading) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #EAF3EE !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
}

/* Sidebar de Usuario */
.m3-customer-sidebar {
  background: #0B1612 !important;
  border: 1px solid #1F3329 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.m3-sidebar-header {
  background: #08110E !important;
  border: 1px solid #1F3329 !important;
  border-radius: 12px !important;
}

.m3-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.m3-sidebar-status {
  font-size: 0.78rem;
  color: #8CA295;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.m3-pulse-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
}

.m3-sidebar-email {
  font-size: 0.82rem;
  color: #8CA295;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(31, 51, 41, 0.6);
}

.m3-sidebar-divider {
  border-color: #1F3329 !important;
  opacity: 0.7 !important;
}

.m3-sidebar-link {
  color: #B5C7BD !important;
  padding: 0.65rem 0.9rem !important;
  border-radius: 10px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
}

.m3-sidebar-link:hover {
  background: rgba(16, 185, 129, 0.08) !important;
  color: #10B981 !important;
  transform: translateX(2px) !important;
}

.m3-sidebar-link.active {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10B981 !important;
  border-left: 3px solid #10B981 !important;
  box-shadow: inset 0 0 12px rgba(16, 185, 129, 0.06) !important;
}

.m3-sidebar-logout {
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #fca5a5 !important;
  background: rgba(239, 68, 68, 0.05) !important;
}

.m3-sidebar-logout:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
  border-color: #ef4444 !important;
}

/* Botones de Acción del Portal */
.m3-btn-catalog {
  background: #10B981 !important;
  color: #04130D !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  border-radius: 10px !important;
  padding: 0.5rem 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.m3-btn-catalog:hover {
  background: #34D399 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35) !important;
}

.m3-btn-discord-portal {
  background: #5865F2 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  border-radius: 10px !important;
  padding: 0.5rem 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.m3-btn-discord-portal:hover {
  background: #4752c4 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35) !important;
}

/* Modales Premium M3 Studio (High Z-Index & Clean Overlay) */
.modal {
  z-index: 1000000 !important;
}

.modal-backdrop {
  z-index: 999999 !important;
  background-color: rgba(4, 8, 16, 0.88) !important;
  backdrop-filter: blur(10px) !important;
}

.modal-content {
  background: #0B1612 !important;
  border: 1px solid #1F3329 !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.12) !important;
  color: #EAF3EE !important;
}

.modal-header {
  border-bottom: 1px solid #1F3329 !important;
  padding: 1.25rem 1.5rem !important;
}

.modal-body {
  padding: 1.5rem !important;
}

.modal-footer {
  border-top: 1px solid #1F3329 !important;
  padding: 1rem 1.5rem !important;
}

/* ========================================================================
   CARRITO DE COMPRAS (/cart) — DARK EMERALD HIGH CONTRAST
   ======================================================================== */
.cart .cart-item-bg {
  background: #0D1914 !important;
  border: 1px solid #1F3329 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
  transition: border-color 0.2s ease !important;
}

.cart .cart-item-bg:hover {
  border-color: #10B981 !important;
}

.cart .form {
  background: #0B1612 !important;
  border: 1px solid #1F3329 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  color: #EAF3EE !important;
}

.cart-qty-btn {
  background: #15241D !important;
  border: 1px solid #1F3329 !important;
  color: #10B981 !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
}

.cart-qty-btn:hover:not(:disabled) {
  background: #10B981 !important;
  color: #04130D !important;
}

.cart-qty-input {
  background: #08110E !important;
  color: #EAF3EE !important;
  border: 1px solid #1F3329 !important;
  font-weight: 700 !important;
  width: 46px !important;
  height: 32px !important;
}

.cart-remove-icon, .cart-remove-icon-sm {
  width: 20px;
  height: 20px;
  color: #8CA295;
  transition: color 0.15s ease, transform 0.15s ease;
}

.cart-remove-desktop:hover .cart-remove-icon,
.cart-remove-mobile:hover .cart-remove-icon-sm {
  color: #ef4444 !important;
  transform: scale(1.1);
}