/* NSGrowing V60 — Pedido PRO + Categorías limpias
   Visual/notification layer only; does not change Supabase RPC schema. */
:root{--nsg60-ink:#2f1735;--nsg60-muted:#755f77;--nsg60-line:rgba(123,33,79,.14);--nsg60-card:rgba(255,255,255,.78);--nsg60-grad:linear-gradient(135deg,#f236a4 0%,#8b4cf6 100%);--nsg60-soft:#fff7fb;}
/* HOME: keep page premium and remove repeated visible order form from homepage */
body.nsg-v60-home #pedido{display:none!important;}
body.nsg-v60-home .hero-actions a[href*="pedido"],
body.nsg-v60-home .v59-main-actions a[href*="pedido"],
body.nsg-v60-home .action-card[href*="pedido"],
body.nsg-v60-home a[href*="pedido.html"]{scroll-margin-top:0;}
body.nsg-v60-home #faq .legal-ventana-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;align-items:stretch;}
body.nsg-v60-home #faq .info-pop-btn{width:100%;min-height:62px;position:static!important;transform:none!important;}
/* PEDIDO PAGE: secondary page focused only on conversion */
body.nsg-v60-pedido .nsg-v59-command,
body.nsg-v60-pedido #rastreo,
body.nsg-v60-pedido .quick-actions,
body.nsg-v60-pedido .ventana-tools,
body.nsg-v60-pedido #como-funciona,
body.nsg-v60-pedido #destacados,
body.nsg-v60-pedido #catalogo,
body.nsg-v60-pedido #coming,
body.nsg-v60-pedido #donaciones,
body.nsg-v60-pedido #faq,
body.nsg-v60-pedido #monat-extra{display:none!important;}
body.nsg-v60-pedido .hero{max-width:1080px!important;margin:34px auto 18px!important;min-height:auto!important;padding:28px!important;}
body.nsg-v60-pedido .hero h2{font-size:clamp(2rem,4vw,3.4rem)!important;}
body.nsg-v60-pedido main{max-width:1080px!important;}
body.nsg-v60-pedido #pedido{display:grid!important;grid-template-columns:minmax(260px,.82fr) minmax(360px,1.18fr)!important;gap:24px!important;margin:18px auto 34px!important;padding:24px!important;border:1px solid var(--nsg60-line)!important;border-radius:32px!important;background:rgba(255,255,255,.72)!important;box-shadow:0 24px 80px rgba(95,35,78,.12)!important;}
body.nsg-v60-pedido #pedido::before{content:'Flujo seguro 2026';position:absolute;opacity:0;pointer-events:none;}
body.nsg-v60-pedido #pedido .mini-label::after{content:' · pedido seguro';}
body.nsg-v60-pedido #pedido h2{font-size:clamp(2rem,3.6vw,3.1rem)!important;line-height:1!important;margin-bottom:12px;}
body.nsg-v60-pedido #pedido > div:first-child{position:sticky;top:92px;align-self:start;}
body.nsg-v60-pedido #pedido .info-card{padding:18px!important;border-radius:22px!important;background:rgba(255,255,255,.78)!important;border:1px solid rgba(123,33,79,.12)!important;box-shadow:none!important;}
body.nsg-v60-pedido #orderForm{padding:22px!important;border-radius:28px!important;background:rgba(255,255,255,.90)!important;border:1px solid rgba(123,33,79,.14)!important;box-shadow:0 20px 70px rgba(95,35,78,.10)!important;}
body.nsg-v60-pedido #orderForm::before{content:'Completa tu solicitud';display:block;font-weight:900;font-size:1.25rem;margin:0 0 12px;color:var(--nsg60-ink);}
body.nsg-v60-pedido #orderForm label{font-weight:850;color:#49334d;}
body.nsg-v60-pedido #shippingBox,
body.nsg-v60-home #shippingBox{display:grid!important;}
body.nsg-v60-pedido #shippingBox::before{content:'Dirección / entrega';font-weight:900;color:var(--nsg60-ink);font-size:1rem;margin:2px 0 6px;}
body.nsg-v60-pedido .policy-check,
body.nsg-v60-home .policy-check{display:grid!important;grid-template-columns:34px 1fr!important;gap:14px!important;align-items:start!important;margin:16px 0!important;padding:16px!important;border:1px solid rgba(123,33,79,.16)!important;border-radius:20px!important;background:#fff8fb!important;}
body.nsg-v60-pedido .policy-check input[type="checkbox"],
body.nsg-v60-home .policy-check input[type="checkbox"]{display:block!important;appearance:auto!important;width:26px!important;height:26px!important;margin:3px 0 0!important;opacity:1!important;position:static!important;accent-color:#a32573;}
body.nsg-v60-pedido .policy-check span,
body.nsg-v60-home .policy-check span{font-size:.94rem;line-height:1.48;display:block!important;}
body.nsg-v60-pedido #orderActions .btn,
body.nsg-v60-home #orderActions .btn{min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;}
/* Clean payment area */
body.nsg-v60-pedido .payment-secure-box,
body.nsg-v60-home .payment-secure-box{border:1px solid rgba(123,33,79,.14);border-radius:24px;background:linear-gradient(180deg,#fff,#fff8fb);padding:20px;margin-top:16px;}
body.nsg-v60-pedido .payment-logo-row img,
body.nsg-v60-home .payment-logo-row img{max-height:36px;object-fit:contain;}
/* Categorias page 2026 alignment */
body.nsg-v60-categorias{background:linear-gradient(180deg,#fff7fb,#fffaf4)!important;}
body.nsg-v60-categorias .topbar{max-width:none;width:100%;padding:14px clamp(18px,4vw,56px);background:rgba(255,255,255,.84);backdrop-filter:blur(18px);}
body.nsg-v60-categorias .category-hero{max-width:1080px;margin:36px auto 20px;padding:30px;border:1px solid rgba(123,33,79,.13);border-radius:30px;background:rgba(255,255,255,.72);box-shadow:0 20px 70px rgba(95,35,78,.10);display:grid;grid-template-columns:1.3fr .7fr;gap:22px;}
body.nsg-v60-categorias main{max-width:1080px;margin:0 auto;}
body.nsg-v60-categorias .category-masonry{columns:unset!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch;}
body.nsg-v60-categorias .category-masonry .category-card{break-inside:auto!important;min-height:unset!important;margin:0!important;padding:18px!important;border-radius:20px!important;background:rgba(255,255,255,.82)!important;border:1px solid rgba(123,33,79,.12)!important;box-shadow:0 12px 32px rgba(95,35,78,.07)!important;display:flex;flex-direction:column;justify-content:space-between;}
body.nsg-v60-categorias .category-card h3{margin:0 0 8px;font-size:1.05rem;}
body.nsg-v60-categorias .category-card p{font-size:.88rem;line-height:1.42;color:var(--nsg60-muted);}
body.nsg-v60-categorias .category-card .btn{width:100%;margin-top:12px;}
body.nsg-v60-categorias #categoryGallery{margin-top:10px;}
body.nsg-v60-categorias #categoryGallery .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
body.nsg-v60-categorias footer{max-width:1080px;margin:30px auto 0;padding:22px;border-radius:24px 24px 0 0;background:#5a174d;color:#fff;}
/* Remove hover flicker globally in v60 */
body.nsg-v60-home *,body.nsg-v60-pedido *,body.nsg-v60-categorias *{backface-visibility:hidden;}
body.nsg-v60-home .product-card:hover,body.nsg-v60-home .category-card:hover,body.nsg-v60-pedido .product-card:hover,body.nsg-v60-categorias .category-card:hover{transform:none!important;}
@media(max-width:980px){
  body.nsg-v60-pedido #pedido,body.nsg-v60-categorias .category-hero{grid-template-columns:1fr!important;width:calc(100% - 24px)!important;}
  body.nsg-v60-pedido #pedido > div:first-child{position:static;}
  body.nsg-v60-categorias .category-masonry{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.nsg-v60-categorias #categoryGallery .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  body.nsg-v60-pedido .hero{width:calc(100% - 20px)!important;margin-top:18px!important;padding:20px!important;}
  body.nsg-v60-pedido #pedido{width:calc(100% - 20px)!important;padding:18px!important;border-radius:24px!important;}
  body.nsg-v60-pedido #orderForm{padding:16px!important;}
  body.nsg-v60-pedido #orderForm .two,body.nsg-v60-home #orderForm .two{grid-template-columns:1fr!important;}
  body.nsg-v60-pedido .policy-check,body.nsg-v60-home .policy-check{grid-template-columns:30px 1fr!important;padding:14px!important;}
  body.nsg-v60-categorias .category-masonry,body.nsg-v60-categorias #categoryGallery .product-grid{grid-template-columns:1fr!important;}
  body.nsg-v60-categorias .category-hero{width:calc(100% - 20px)!important;padding:20px!important;}
}
