/* Capa visual del buscador de números (no sustituye la cabecera de la tienda) */
html {
  color-scheme: light;
  scroll-padding-top: 4.5rem;
}
body.np-body {
  background: #f7f1ee;
  color: #3b2433;
  overflow-x: hidden;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.np-body #menu1,
body.np-body #carrito_v_caja,
body.np-body #new_login,
body.np-body #fecha,
body.np-body #hora,
body.np-body #tel_atencion,
body.np-body #cab_contacto,
body.np-body #cab_app,
body.np-body #fax {
  display: none !important;
}
body.np-body #principal,
body.np-body .wrapper {
  min-width: 0 !important;
}
body.np-body .np-main a:not(.np-btn):not(.np-digit):not(.np-ticket):not(.np-sorteo):not(.np-subnav a) {
  color: #9b2669;
  font-weight: 800;
  text-decoration: none;
}
body.np-body .np-main a:not(.np-btn):not(.np-digit):not(.np-ticket):not(.np-sorteo):hover {
  text-decoration: underline;
}

.np-subnav {
  background: #511a3c;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 6px 18px rgba(81, 26, 60, 0.18);
}
.np-subnav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem 1rem;
  flex-wrap: wrap;
}
.np-subnav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
}
.np-subnav a {
  color: #f8d6e8;
  text-decoration: none;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: .4rem .8rem;
  border-radius: 999px;
}
.np-subnav a:hover,
.np-subnav a.is-active {
  background: #9b2669;
  color: #fed360;
}
.np-subnav-tel {
  background: #fed360;
  color: #511a3c !important;
  margin-left: auto;
}
.np-mini-search {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.np-mini-search input,
.np-mini-search select,
.np-mini-search button {
  width: auto !important;
  max-width: none !important;
  height: 36px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  border-radius: 10px !important;
  border: 0 !important;
  font-family: inherit;
  box-sizing: border-box;
}
.np-mini-search .np-search-num {
  width: 7.2rem !important;
  text-align: center !important;
  font-weight: 800 !important;
  letter-spacing: .12em;
  font-size: .95rem !important;
  color: #511a3c !important;
  background: #fff !important;
}
.np-mini-search select {
  min-width: 6.4rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%239b2669' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") right .55rem center no-repeat !important;
  padding: 0 1.5rem 0 .6rem !important;
  color: #511a3c;
  font-weight: 700;
  font-size: .82rem;
}
.np-mini-search .buscar {
  background: #9b2669 !important;
  color: #fed360 !important;
  font-weight: 800;
  padding: 0 .9rem !important;
  cursor: pointer;
  min-width: auto;
}

.np-main {
  flex: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3.5rem;
}
.np-hero {
  background: linear-gradient(165deg, #fff 0%, #fdeef6 55%, #fff8e8 100%);
  border: 1px solid #f0d3e4;
  border-radius: 24px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  text-align: center;
  box-shadow: 0 18px 40px rgba(81, 26, 60, 0.08);
  margin-bottom: 1.75rem;
}
.np-kicker {
  display: inline-block;
  margin: 0 0 .75rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: #511a3c;
  color: #fed360;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.np-hero h1,
.np-section h1,
.np-ficha-copy h1 {
  margin: 0 0 .6rem;
  color: #661c4a;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.np-lead {
  margin: 0 auto 1.35rem;
  max-width: 42rem;
  color: #5c3a4c;
  font-size: 1.05rem;
  line-height: 1.55;
}
.np-hero .np-lead { margin-bottom: 1.25rem; }
.np-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem 1.2rem;
  list-style: none;
  padding: 1.15rem 0 0;
  margin: 1.1rem 0 0;
  border-top: 1px solid #f0d3e4;
}
.np-stats li {
  color: #5c3a4c;
  font-size: .92rem;
}
.np-stats strong {
  display: block;
  color: #9b2669;
  font-size: 1.15rem;
}
.np-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin: 0 0 1.75rem;
  padding: 0;
}
.np-steps li {
  background: #fff;
  border: 1px solid #f0d3e4;
  border-radius: 18px;
  padding: 1rem 1.05rem 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .7rem;
  row-gap: .15rem;
  align-items: center;
}
.np-steps span {
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #9b2669;
  color: #fed360;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.np-steps strong { color: #661c4a; font-size: .95rem; }
.np-steps em { font-style: normal; color: #7a4a63; font-size: .82rem; }
.np-steps-inline {
  margin: 1.2rem 0 0;
  text-align: left;
}

.np-search-num:focus,
.np-search select:focus,
.np-mini-search input:focus,
.np-mini-search select:focus,
.np-search .buscar:focus-visible,
.np-mini-search .buscar:focus-visible {
  outline: 3px solid #fed360;
  outline-offset: 2px;
}

.np-search-panel {
  display: inline-block;
  max-width: 100%;
  background: #fff;
  border: 1px solid #f0d3e4;
  border-radius: 20px;
  padding: 1rem 1.1rem 1.05rem;
  box-shadow: 0 12px 28px rgba(81, 26, 60, .07);
}
.np-search {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  align-items: flex-end;
}
.np-search-field {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin: 0;
}
.np-search-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #9b2669;
  margin: 0 0 .3rem .15rem;
}
.np-search-hint {
  margin: .7rem 0 0;
  font-size: .82rem;
  color: #7a4a63;
}
.np-search input,
.np-search select,
.np-search button,
.np-search .buscar {
  width: auto !important;
  max-width: none !important;
  height: 56px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  border-radius: 14px !important;
  border: 2px solid #c9478c !important;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}
.np-search-num {
  width: 16rem !important;
  max-width: 100% !important;
  text-align: center !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  letter-spacing: .22em;
  font-variant-numeric: tabular-nums;
  color: #511a3c !important;
  background: #fff !important;
}
.np-search-num::placeholder {
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: none !important;
  color: #d7a4c0 !important;
  font-size: 1.15rem;
}
.np-search-num::-webkit-outer-spin-button,
.np-search-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.np-search select {
  min-width: 16rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%239b2669' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E") right 1rem center no-repeat !important;
  padding: 0 2.4rem 0 1rem !important;
  color: #511a3c;
  font-weight: 700;
  cursor: pointer;
}
.np-search .buscar,
.np-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.4rem;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.np-search .buscar,
.np-btn-primary {
  background: #9b2669 !important;
  color: #fed360 !important;
  border: 0 !important;
  min-width: 9rem;
  box-shadow: 0 8px 18px rgba(155, 38, 105, .28);
}
.np-search .buscar:hover,
.np-btn-primary:hover {
  background: #c9478c !important;
  transform: translateY(-1px);
}
.np-btn-ghost {
  background: #fff;
  color: #9b2669;
  border: 2px solid #e7a8c8;
  min-height: 52px;
  padding: 0 1.15rem;
}
.np-btn-ghost:hover { background: #fdeef6; }
.np-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1.1rem 0;
}

.np-draws {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.75rem;
  text-align: left;
}
.np-draws-home { margin-bottom: 1.75rem; }
.np-draw {
  background: #fff;
  border: 1px solid #f0d3e4;
  border-radius: 18px;
  padding: 1.05rem 1.15rem 1.2rem;
}
.np-draw-date {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9b2669;
}
.np-draw h2 {
  margin: 0 0 .4rem;
  color: #661c4a;
  font-size: 1.15rem;
}
.np-draw p {
  margin: 0 0 .85rem;
  color: #5c3a4c;
  font-size: .92rem;
  line-height: 1.45;
}
.np-draw .np-btn { width: 100%; min-width: 0; }
.np-ficha-copy .np-draws { margin: 1rem 0 .4rem; }
.np-ficha-visual-dual {
  display: grid;
  gap: 1rem;
}
.np-ficha-visual figure { margin: 0; }
.np-ficha-visual figcaption {
  margin-top: .55rem;
  font-size: .85rem;
  font-weight: 800;
  color: #9b2669;
}
.np-premios {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 0 0 2rem;
}
.np-sorteo {
  position: relative;
  display: block;
  min-height: 230px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 14px 28px rgba(81, 26, 60, .12);
}
.np-sorteo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  transition: transform .45s ease;
}
.np-sorteo:hover img { transform: scale(1.1); }
.np-sorteo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(81, 26, 60, .12), rgba(81, 26, 60, .88));
}
.np-sorteo-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem 1.4rem 1.45rem;
}
.np-sorteo-copy strong {
  font-size: 1.35rem;
  color: #fed360;
  display: block;
  margin-bottom: .25rem;
}
.np-sorteo-copy span {
  color: #fff;
  font-size: .95rem;
}

.np-section {
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.55rem;
  margin-bottom: 1.25rem;
  border: 1px solid #f0d3e4;
}
.np-section h2 {
  margin: 0 0 .7rem;
  color: #9b2669;
  font-size: 1.25rem;
}
.np-section p { line-height: 1.5; margin: 0 0 .85rem; color: #4a3340; }

.np-digits {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.np-digit {
  min-width: 3.35rem;
  height: auto;
  padding: .4rem .45rem .35rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #e7a8c8;
  color: #9b2669;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}
.np-digit small {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #7a4a63;
}
.np-digit:hover small,
.np-digit.is-active small { color: #fed360; }
.np-digit:hover,
.np-digit.is-active {
  background: #9b2669;
  border-color: #9b2669;
  color: #fed360;
}

.np-tickets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 1rem;
}
.np-ticket {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #511a3c;
  border: 1px solid #f0d3e4;
  box-shadow: 0 8px 18px rgba(81, 26, 60, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.np-ticket:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(81, 26, 60, .12);
}
.np-ticket-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 530 / 280;
  object-fit: contain;
  background: #fff8f4;
  padding: .45rem .45rem 0;
}
.np-ticket-num {
  display: block;
  text-align: center;
  font-weight: 800;
  letter-spacing: .16em;
  padding: .45rem .4rem .7rem;
  font-size: 1.05rem;
}

.np-ficha {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 1.25rem;
}
.np-ficha-visual {
  background: #fff;
  border-radius: 22px;
  padding: 1rem;
  border: 1px solid #f0d3e4;
  text-align: center;
}
.np-boleto-hero {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}
.np-ficha-copy {
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.5rem 1.6rem;
  border: 1px solid #f0d3e4;
}
.np-ficha-prefix {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #9b2669;
  margin-bottom: .45rem;
}
.np-ficha-copy h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
}
.np-slots {
  display: inline-flex;
  gap: .28rem;
}
.np-slots span {
  display: inline-flex;
  width: 2.05rem;
  height: 2.55rem;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#fff, #fdeef6);
  border: 2px solid #e7a8c8;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
  font-size: 1.55rem;
  font-weight: 800;
  color: #511a3c;
  box-shadow: 0 3px 0 #f0d3e4;
}
.np-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
  font-weight: 800;
  color: #9b2669;
}
.np-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .55rem 0 1rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}
.np-badge-ok { background: #e7f6ea; color: #1f7a3a; }
.np-badge-warn { background: #fff3d6; color: #8a5a00; }
.np-badge-mute { background: #f3e6ee; color: #7a4a63; }
.np-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.np-meta li {
  background: #fdeef6;
  color: #661c4a;
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .85rem;
  font-weight: 700;
}
.np-premio {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid #f1d48a;
  color: #5c3a00;
  text-align: left;
}
.np-premio:empty,
.np-premio-empty { display: none; }

.np-ficha-dock {
  display: none;
}
.np-kicker {
  line-height: 1.35;
  max-width: 100%;
}

.np-faq details {
  background: #fff;
  border: 1px solid #f0d3e4;
  border-radius: 14px;
  padding: .85rem 1rem;
  margin-bottom: .55rem;
}
.np-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: #9b2669;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.np-faq summary::-webkit-details-marker { display: none; }
.np-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #fdeef6;
  color: #9b2669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}
.np-faq details[open] summary::after { content: "–"; }
.np-faq details p {
  margin: .6rem 0 0;
  line-height: 1.5;
  color: #4a3340;
}

.np-admins {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .85rem;
}
.np-admin {
  background: #fff;
  color: #4a3340;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  border: 1px solid #f0d3e4;
}
.np-admin h3 {
  margin: 0 0 .4rem;
  color: #9b2669;
  font-size: 1rem;
}
.np-admin p { margin: .2rem 0; font-size: .9rem; line-height: 1.4; }

.breadcrumbs {
  margin: 0 0 1rem;
  font-size: .9rem;
  color: #7a4a63;
}
.breadcrumbs a { color: #9b2669; text-decoration: none; font-weight: 700; }
.breadcrumbs a:hover { text-decoration: underline; }

.np-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
  margin: 1rem 0 0;
}
.np-links .np-btn { min-width: 12rem; }
.np-more { justify-content: flex-start; margin-top: 1rem; }

.site-footer {
  background: #511a3c;
  color: #f7e6ef;
  padding: 2rem 1.25rem 2.4rem;
  margin-top: auto;
}
.site-footer .nap,
.np-footer {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1rem 2rem;
}
.np-footer {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.site-footer a { color: #fed360; }
.site-footer p { margin: .25rem 0; line-height: 1.45; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.np-hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #9b2669;
  color: #fff;
  padding: .6em 1em;
  z-index: 100000;
}
.skip-link:focus { left: 1em; top: 1em; }

@media (max-width: 860px) {
  .np-ficha,
  .np-sorteos,
  .np-draws,
  .np-steps,
  .np-footer { grid-template-columns: 1fr; }
  .np-search-num,
  .np-search select,
  .np-search .buscar,
  .np-search-field { width: 100% !important; min-width: 0; }
  .np-search-field .np-search-num,
  .np-search-field select { width: 100% !important; }
  .np-mini-search {
    flex: 1 1 100%;
    order: 8;
    margin-left: 0;
  }
  .np-mini-search .np-search-num { flex: 1 1 auto; width: auto !important; }
  .np-subnav-tel { margin-left: auto; }
  .np-tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-slots span {
    width: 1.7rem;
    height: 2.15rem;
    font-size: 1.25rem;
  }
  .np-kicker { font-size: .7rem; letter-spacing: .04em; }
  .np-ficha-copy .np-actions { display: none; }
  body.np-body:has(.np-ficha-dock) { padding-bottom: 4.75rem; }
  .np-ficha-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    gap: .5rem;
    padding: .75rem .9rem calc(.75rem + env(safe-area-inset-bottom));
    background: rgba(247, 241, 238, .94);
    backdrop-filter: blur(10px);
    border-top: 1px solid #f0d3e4;
  }
  .np-ficha-dock .np-btn { flex: 1; min-width: 0; min-height: 48px; }
}
@media (max-width: 1050px) {
  body.np-body #cabecera,
  body.np-body #menu1 { min-width: 0 !important; }
  body.np-body .wrapper { width: 100% !important; }
}
