/* NSGrowing V74 Surgical Receipt + Visual Fix
   Carga final segura. No toca Supabase core, Dashboard core, Netlify Forms, caja, clientes, invoices ni sincronización V72.
*/
:root{
  --nsg-v74-wine:#7b214f;
  --nsg-v74-cream:#fff8ef;
}

/* Anti-parpadeo quirúrgico en hero/story: apaga sombras animadas, blur y transiciones agresivas donde estaba el flash. */
.nsg-v74-stable .hero,
.nsg-v74-stable .hero *,
.nsg-v74-stable #inicio,
.nsg-v74-stable #inicio *,
.nsg-v74-stable .hero-premium,
.nsg-v74-stable .hero-premium *,
.nsg-v74-stable .process-card,
.nsg-v74-stable #storyText{
  animation:none!important;
  transition:none!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  text-shadow:none!important;
}
.nsg-v74-stable .hero,
.nsg-v74-stable .hero-premium,
.nsg-v74-stable .process-card{
  box-shadow:0 12px 28px rgba(75,28,55,.12)!important;
}
.nsg-v74-stable .hero::before,
.nsg-v74-stable .hero::after,
.nsg-v74-stable .hero-premium::before,
.nsg-v74-stable .hero-premium::after{
  animation:none!important;
  transition:none!important;
  opacity:.18!important;
  filter:none!important;
}

/* Laptop / desktop: más compacto para que no se vea gigante. */
@media (min-width: 900px){
  body.nsg-v74-stable{ font-size:15px; }
  .nsg-v74-stable .topbar{ padding-top:10px!important; padding-bottom:10px!important; }
  .nsg-v74-stable .brand h1{ font-size:clamp(1.3rem,1.8vw,1.8rem)!important; }
  .nsg-v74-stable .logo-img{ max-height:58px!important; }
  .nsg-v74-stable .hero,
  .nsg-v74-stable .hero-premium{
    min-height:auto!important;
    padding:clamp(36px,5vw,62px) clamp(18px,5vw,72px)!important;
    gap:24px!important;
  }
  .nsg-v74-stable .hero h2,
  .nsg-v74-stable .hero-premium h2{
    font-size:clamp(2.2rem,4.2vw,4.7rem)!important;
    line-height:1.02!important;
    margin-bottom:12px!important;
  }
  .nsg-v74-stable .section{ padding-top:44px!important; padding-bottom:44px!important; }
  .nsg-v74-stable .product-grid{ gap:18px!important; }
  .nsg-v74-stable .card,
  .nsg-v74-stable .glass-card{ padding:18px!important; }
}

/* Celular: botones del hero siempre ordenados y sin montarse. */
@media (max-width: 720px){
  .nsg-v74-stable .hero-actions,
  .nsg-v74-stable .v59-main-actions,
  .nsg-v74-stable .order-actions,
  .nsg-v74-stable .v70-actions,
  .nsg-v74-stable .v74-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
  }
  .nsg-v74-stable .hero-actions .btn,
  .nsg-v74-stable .v59-main-actions .v59-btn,
  .nsg-v74-stable .order-actions .btn,
  .nsg-v74-stable .v74-actions .btn{
    width:100%!important;
    min-width:0!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
  }
  .nsg-v74-stable .hero h2,
  .nsg-v74-stable .hero-premium h2{ font-size:clamp(2.1rem,11vw,3.2rem)!important; }
}

/* Recibo/pago más claro. */
.nsg-v74-stable .v74-payment-box{
  border:1px solid rgba(123,33,79,.22)!important;
  background:linear-gradient(180deg,rgba(255,248,239,.96),rgba(255,255,255,.97))!important;
}
.nsg-v74-stable .v74-options-line{ font-weight:800; color:var(--nsg-v74-wine); }
.nsg-v74-stable .v74-small-note{ font-size:.92rem; opacity:.86; }
