/* NSGrowing V59 — Premium UI 2026
   Visual layer only. Does not change Supabase, Forms, Dashboard or order engine. */
:root{
  --v59-ink:#2f1735;
  --v59-muted:#7c657e;
  --v59-line:rgba(123,33,79,.16);
  --v59-card:rgba(255,255,255,.82);
  --v59-soft:#fff7fb;
  --v59-grad:linear-gradient(135deg,#f236a4 0%,#8b4cf6 100%);
  --v59-shadow:0 22px 70px rgba(95,35,78,.13);
}
html{scroll-behavior:smooth;}
body.v59-premium{
  background:
    radial-gradient(circle at 17% 10%,rgba(242,54,164,.10),transparent 24%),
    radial-gradient(circle at 86% 8%,rgba(255,171,102,.16),transparent 25%),
    linear-gradient(180deg,#fff7fb 0%,#fffaf4 52%,#fff7fb 100%) !important;
  color:var(--v59-ink);
}
body.v59-premium .topbar{
  max-width:none;
  width:100%;
  padding:14px clamp(18px,4vw,58px);
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(123,33,79,.10);
  box-shadow:0 10px 30px rgba(87,35,77,.06);
}
body.v59-premium .brand h1{letter-spacing:.03em;}
body.v59-premium .brand p{font-size:.78rem; opacity:.78;}
body.v59-premium nav a{font-size:.88rem; font-weight:800;}
body.v59-premium .hero{
  max-width:980px;
  min-height:auto;
  margin:48px auto 20px;
  padding:34px;
  border:1px solid rgba(123,33,79,.12);
  border-radius:30px;
  background:rgba(255,255,255,.58);
  box-shadow:var(--v59-shadow);
  backdrop-filter:blur(12px);
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);
  gap:24px;
}
body.v59-premium .hero h2{font-size:clamp(2rem,4vw,3.6rem); line-height:.95; max-width:720px;}
body.v59-premium .hero p{max-width:620px;}
body.v59-premium .process-card{padding:24px; border-radius:22px; box-shadow:none;}
body.v59-premium main,
body.v59-premium .section,
body.v59-premium footer.footer-premium{max-width:980px;margin-left:auto;margin-right:auto;}
body.v59-premium .section{padding:32px 20px;}
body.v59-premium .split{gap:22px;}
/* New command center */
.nsg-v59-command{
  max-width:980px;
  margin:0 auto 18px;
  padding:22px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);
  gap:18px;
  border:1px solid rgba(123,33,79,.13);
  border-radius:30px;
  background:rgba(255,255,255,.72);
  box-shadow:0 18px 55px rgba(95,35,78,.10);
  backdrop-filter:blur(14px);
}
.v59-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:#fff0f7;color:#8d245d;font-weight:900;letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;}
.v59-command-copy h2{font-size:clamp(1.55rem,3vw,2.55rem);line-height:1.02;margin:12px 0 8px;}
.v59-command-copy p{margin:0;color:var(--v59-muted);line-height:1.55;}
.v59-main-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;}
.v59-btn{appearance:none;border:1px solid rgba(123,33,79,.14);border-radius:999px;padding:12px 18px;font-weight:900;text-decoration:none;color:var(--v59-ink);background:#fff;cursor:pointer;transition:box-shadow .18s ease, border-color .18s ease;}
.v59-btn.primary{background:var(--v59-grad);color:#fff;border:0;box-shadow:0 12px 28px rgba(175,55,170,.22);}
.v59-btn.soft{background:#fff7ed;border-color:rgba(255,136,87,.28);}
.v59-btn.ghost{background:rgba(255,255,255,.65);}
.v59-smart-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.v59-smart-panel button{border:1px solid rgba(123,33,79,.13);border-radius:20px;background:linear-gradient(180deg,#fff,#fff8fb);padding:16px;text-align:left;color:var(--v59-ink);cursor:pointer;box-shadow:0 10px 24px rgba(97,35,79,.06);}
.v59-smart-panel button.wide{grid-column:1/-1;}
.v59-smart-panel span{display:block;width:28px;height:4px;border-radius:999px;background:var(--v59-grad);margin-bottom:10px;}
.v59-smart-panel b{display:block;font-size:1.02rem;letter-spacing:.01em;}
.v59-smart-panel small{display:block;color:var(--v59-muted);margin-top:4px;line-height:1.35;}
/* Streamline old sections without deleting them */
body.v59-premium #rastreo,
body.v59-premium .quick-actions,
body.v59-premium .ventana-tools,
body.v59-premium #como-funciona,
body.v59-premium #destacados,
body.v59-premium #coming,
body.v59-premium #donaciones,
body.v59-premium #monat-extra{display:none !important;}
body.v59-premium #catalogo{padding-top:26px;}
body.v59-premium #catalogo .section-head,
body.v59-premium #pedido{border:1px solid rgba(123,33,79,.12);border-radius:28px;background:rgba(255,255,255,.62);box-shadow:0 18px 55px rgba(95,35,78,.08);}
body.v59-premium #catalogo .section-head{padding:22px;margin-bottom:14px;align-items:center;}
body.v59-premium .filters{gap:10px;}
body.v59-premium .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
body.v59-premium .product-card, body.v59-premium .featured-card{border-radius:20px;box-shadow:none;border:1px solid rgba(123,33,79,.10);}
body.v59-premium #pedido{padding:28px;align-items:start;}
body.v59-premium #pedido .info-card{padding:18px;margin-top:14px;}
body.v59-premium #orderForm{border-radius:24px;padding:22px;box-shadow:0 16px 45px rgba(95,35,78,.10);}
body.v59-premium #orderForm label{font-weight:800;color:#49334d;}
body.v59-premium input, body.v59-premium textarea, body.v59-premium select{border-radius:14px;}
body.v59-premium .compact-legal-section{border:1px solid rgba(123,33,79,.12);border-radius:28px;background:rgba(255,255,255,.62);box-shadow:0 18px 55px rgba(95,35,78,.06);}
body.v59-premium .compact-legal-section .legal-ventana-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
body.v59-premium .compact-legal-section .info-pop-btn{min-height:54px;}
body.v59-premium .footer-premium{border-radius:28px 28px 0 0;margin-top:20px;padding:28px;background:linear-gradient(135deg,#411247,#6c1e59);}
body.v59-premium .footer-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:20px;}
body.v59-premium .footer-payments span{border-radius:999px;}
/* Service modal */
.v59-services-modal{max-width:860px;}
.v59-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.v59-service-card{display:block;text-align:left;text-decoration:none;color:var(--v59-ink);border:1px solid rgba(123,33,79,.12);border-radius:18px;padding:16px;background:linear-gradient(180deg,#fff,#fff8fb);cursor:pointer;}
.v59-service-card b{display:block;font-size:1.05rem;margin-bottom:5px;}
.v59-service-card small{display:block;color:var(--v59-muted);line-height:1.42;}
/* Reduce flicker: no scale jumps on hover */
body.v59-premium a, body.v59-premium button, body.v59-premium .card, body.v59-premium .product-card, body.v59-premium .action-card{transform:none !important;}
body.v59-premium a:hover, body.v59-premium button:hover{box-shadow:0 12px 30px rgba(95,35,78,.10);}
/* Bottom bar cleaner */
body.v59-premium .mobile-bottom-actions{box-shadow:0 18px 48px rgba(95,35,78,.22);}
@media (max-width: 920px){
  body.v59-premium .hero,
  .nsg-v59-command,
  body.v59-premium #pedido{grid-template-columns:1fr;}
  body.v59-premium main, body.v59-premium .section, .nsg-v59-command, body.v59-premium .hero{width:calc(100% - 24px);}
  body.v59-premium .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 640px){
  body.v59-premium .topbar{padding:10px 12px;}
  body.v59-premium .brand h1{font-size:1.32rem;}
  body.v59-premium .brand p{font-size:.62rem;}
  body.v59-premium .hero{margin-top:18px;padding:22px;border-radius:24px;}
  .nsg-v59-command{padding:16px;border-radius:24px;}
  .v59-smart-panel{grid-template-columns:1fr;}
  .v59-smart-panel button.wide{grid-column:auto;}
  .v59-main-actions .v59-btn{width:100%;text-align:center;}
  body.v59-premium #catalogo .section-head{display:block;}
  body.v59-premium .filters{grid-template-columns:1fr;}
  body.v59-premium .product-grid{grid-template-columns:1fr;}
  body.v59-premium .compact-legal-section .legal-ventana-grid{grid-template-columns:1fr;}
  .v59-service-grid{grid-template-columns:1fr;}
  body.v59-premium .footer-grid{grid-template-columns:1fr;}
  body.v59-premium .section{padding:22px 0;}
  body.v59-premium #pedido{padding:20px;}
  body.v59-premium #orderForm{padding:18px;}
}
@media (min-width: 1200px){
  body.v59-premium .hero, .nsg-v59-command, body.v59-premium main, body.v59-premium .section, body.v59-premium footer.footer-premium{max-width:1080px;}
}
