/* =====================================================================
   NI PICA · Fanáticos del Picante
   Theme PrestaShop 8.2+ — hoja de estilo principal
   Diseño mobile-first. Negro + lima + rojo. Actitud picante.
   ---------------------------------------------------------------------
   Orden:
   0. Fuentes
   1. Tokens (variables de marca)
   2. Base / reset suave
   3. Tipografía y utilidades
   4. Botones
   5. Barra de anuncio (top bar)
   6. Header + menú móvil
   7. Hero / slider
   8. Tira de garantías (reassurance)
   9. Títulos de sección
   10. Tarjetas de producto
   11. Banners promo (KITS / MERCH)
   12. Instagram
   13. Footer
   14. Misceláneos PrestaShop
   ===================================================================== */

/* 0. FUENTES --------------------------------------------------------- */
/* Reemplazá estas por las fuentes reales de la marca cuando las tengas.
   Anton = impacto / Bangers = pincelada graffiti / Inter = cuerpo. */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bangers&family=Inter:wght@400;500;600;700;800&display=swap');

/* 1. TOKENS ---------------------------------------------------------- */
:root {
  /* Color */
  --np-black:      #0c0c0c;   /* fondo de página */
  --np-black-2:    #141414;   /* header / footer */
  --np-surface:    #1a1a1a;   /* tarjetas */
  --np-surface-2:  #222222;   /* elevado / hover */
  --np-lime:       #c5e82e;   /* acento principal */
  --np-lime-dark:  #a9cc1f;
  --np-red:        #e62429;   /* acento secundario */
  --np-red-dark:   #b81916;
  --np-white:      #ffffff;
  --np-text:       #f2f2f2;
  --np-muted:      #9a9a9a;
  --np-border:     rgba(255, 255, 255, 0.08);
  --np-border-2:   rgba(255, 255, 255, 0.14);
  --np-star:       #f2c318;   /* estrellas rating */

  /* Tipografía */
  --np-font-display: 'Anton', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --np-font-brush:   'Bangers', 'Anton', cursive;
  --np-font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Escala y forma */
  --np-radius:    14px;
  --np-radius-sm: 10px;
  --np-radius-pill: 999px;
  --np-gap:       16px;
  --np-maxw:      1280px;
  --np-shadow:    0 8px 24px rgba(0, 0, 0, 0.45);
  --np-ease:      cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE ------------------------------------------------------------ */
body {
  background: var(--np-black);
  color: var(--np-text);
  font-family: var(--np-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#wrapper,
.wrapper {
  background: var(--np-black);
  padding: 0;
}

#main { background: var(--np-black); }

a { color: inherit; text-decoration: none; transition: color .18s var(--np-ease); }
a:hover { color: var(--np-lime); }

img { max-width: 100%; height: auto; }

::selection { background: var(--np-lime); color: var(--np-black); }

/* Foco accesible visible (calidad mínima) */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--np-lime);
  outline-offset: 2px;
}

.np-container {
  width: 100%;
  max-width: var(--np-maxw);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 3. TIPOGRAFÍA ------------------------------------------------------ */
h1, h2, h3, .np-display {
  font-family: var(--np-font-display);
  font-weight: 400;
  letter-spacing: .5px;
  line-height: .95;
  text-transform: uppercase;
  color: var(--np-white);
}

.np-eyebrow {
  font-family: var(--np-font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--np-lime);
}

.np-accent-red   { color: var(--np-red); }
.np-accent-lime  { color: var(--np-lime); }

/* 4. BOTONES --------------------------------------------------------- */
.np-btn,
.btn-primary,
.product-add-to-cart .btn,
#footer .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--np-font-display);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: var(--np-radius-pill);
  border: none;
  cursor: pointer;
  background: var(--np-lime);
  color: var(--np-black);
  transition: transform .15s var(--np-ease), background .18s var(--np-ease), box-shadow .18s var(--np-ease);
}
.np-btn:hover,
.btn-primary:hover {
  background: var(--np-lime-dark);
  color: var(--np-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 232, 46, 0.25);
}
.np-btn:active { transform: translateY(0); }

.np-btn--ghost {
  background: transparent;
  color: var(--np-white);
  border: 2px solid var(--np-border-2);
}
.np-btn--ghost:hover { background: rgba(255,255,255,.06); color: var(--np-white); border-color: var(--np-lime); }

.np-btn--red { background: var(--np-red); color: var(--np-white); }
.np-btn--red:hover { background: var(--np-red-dark); color: var(--np-white); }

.np-link-more {
  font-family: var(--np-font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--np-lime);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 5. TOP BAR (anuncio) ---------------------------------------------- */
.np-topbar {
  background: var(--np-lime);
  color: var(--np-black);
  font-family: var(--np-font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
}
.np-topbar .np-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 38px;
  text-align: center;
}
.np-topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.np-topbar__sep { opacity: .35; }
/* En móvil mostramos solo el mensaje central */
.np-topbar__item--ship,
.np-topbar__item--geo,
.np-topbar__sep { display: none; }

@media (min-width: 768px) {
  .np-topbar .np-container { justify-content: space-between; }
  .np-topbar__item--ship,
  .np-topbar__item--geo,
  .np-topbar__sep { display: inline-flex; }
}

/* 6. HEADER ---------------------------------------------------------- */
#header,
.np-header {
  background: var(--np-black-2);
  border-bottom: 1px solid var(--np-border);
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 200;
}
#header .header-top { background: transparent; padding: 0; }

.np-header__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
}

/* Logo */
.np-logo,
#_mobile_logo img,
#_desktop_logo img { display: block; max-height: 46px; width: auto; }
.np-logo { font-family: var(--np-font-brush); font-size: 30px; color: var(--np-white); letter-spacing: 1px; line-height: 1; }
.np-logo small { display: block; font-size: 9px; letter-spacing: 3px; color: var(--np-lime); font-family: var(--np-font-body); font-weight: 800; }

/* Hamburguesa (móvil) */
.np-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.np-burger span { display: block; height: 2.5px; width: 100%; background: var(--np-white); border-radius: 2px; transition: transform .2s var(--np-ease), opacity .2s; }
.np-burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.np-burger.is-open span:nth-child(2) { opacity: 0; }
.np-burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Acciones derecha (buscar / cuenta / carrito) */
.np-header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.np-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--np-radius-pill);
  color: var(--np-white); background: transparent; border: none; cursor: pointer; position: relative;
}
.np-icon-btn:hover { background: rgba(255,255,255,.06); color: var(--np-lime); }
.np-cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--np-lime); color: var(--np-black);
  font-family: var(--np-font-body); font-weight: 800; font-size: 11px;
  border-radius: var(--np-radius-pill); display: grid; place-items: center;
}

/* Nav escritorio (oculto en móvil) */
.np-nav { display: none; }
.np-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.np-nav a {
  font-family: var(--np-font-display); font-size: 16px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--np-text); padding: 6px 0; position: relative;
}
.np-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  background: var(--np-lime); transition: width .2s var(--np-ease);
}
.np-nav a:hover, .np-nav a.is-active { color: var(--np-white); }
.np-nav a:hover::after, .np-nav a.is-active::after { width: 100%; }

@media (min-width: 992px) {
  .np-burger { display: none; }
  .np-nav { display: block; margin-inline: 8px auto; }
}

/* Drawer móvil */
.np-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--np-ease); z-index: 300;
}
.np-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.np-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(84vw, 340px);
  background: var(--np-black-2); border-right: 2px solid var(--np-lime);
  transform: translateX(-100%); transition: transform .28s var(--np-ease);
  z-index: 301; display: flex; flex-direction: column; padding: 20px;
}
.np-drawer.is-open { transform: translateX(0); }
.np-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.np-drawer__close { background: none; border: none; color: var(--np-white); font-size: 28px; line-height: 1; cursor: pointer; }
.np-drawer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.np-drawer nav a {
  display: block; padding: 16px 4px; border-bottom: 1px solid var(--np-border);
  font-family: var(--np-font-display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; color: var(--np-text);
}
.np-drawer nav a:hover { color: var(--np-lime); padding-left: 10px; }
.np-drawer__cta { margin-top: auto; }

@media (min-width: 992px) { .np-drawer, .np-drawer-backdrop { display: none; } }

/* 7. HERO ------------------------------------------------------------ */
.np-hero {
  position: relative;
  background: #0a0a0a radial-gradient(120% 120% at 70% 30%, #2a0d0d 0%, #0a0a0a 60%);
  overflow: hidden;
  border-bottom: 1px solid var(--np-border);
}
.np-hero__inner {
  position: relative; z-index: 2;
  padding: 34px 18px 30px;
  min-height: 460px;
  display: flex; flex-direction: column; justify-content: center;
}
.np-hero__media {
  position: absolute; inset: 0; z-index: 1;
  background-position: center; background-size: cover; opacity: .9;
}
.np-hero__inner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,10,.2) 0%, rgba(10,10,10,.75) 100%);
}
.np-hero__kicker { font-family: var(--np-font-display); color: var(--np-lime); font-size: 34px; line-height: 1; }
.np-hero h1 { font-size: clamp(52px, 16vw, 86px); margin: 4px 0; }
.np-hero h1 .l2 { color: var(--np-white); }
.np-hero h1 .l3 { color: var(--np-red); }
.np-hero__sub { font-family: var(--np-font-body); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; color: var(--np-text); margin: 14px 0 22px; }
.np-hero__cta { align-self: flex-start; }

/* dots del slider */
.np-dots { display: flex; gap: 8px; margin-top: 22px; }
.np-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; }
.np-dots button.is-active { background: var(--np-lime); width: 24px; border-radius: var(--np-radius-pill); }

@media (min-width: 992px) {
  .np-hero__inner { min-height: 540px; padding: 60px 0; }
  .np-hero__inner > * { max-width: 52%; }
}

/* 8. GARANTÍAS (reassurance) ---------------------------------------- */
.np-reassurance { background: var(--np-black); border-bottom: 1px solid var(--np-border); }
.np-reassurance__grid { display: flex; flex-direction: column; }
.np-reassurance__item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 4px; border-bottom: 1px solid var(--np-border);
}
.np-reassurance__item:last-child { border-bottom: none; }
.np-reassurance__ico {
  flex: 0 0 auto; width: 40px; height: 40px; color: var(--np-lime);
  display: grid; place-items: center;
}
.np-reassurance__ico svg { width: 30px; height: 30px; }
.np-reassurance__txt strong {
  display: block; font-family: var(--np-font-display); font-size: 16px; letter-spacing: .5px;
  text-transform: uppercase; color: var(--np-white);
}
.np-reassurance__txt span { font-size: 13px; color: var(--np-muted); }

@media (min-width: 768px) {
  .np-reassurance__grid { flex-direction: row; }
  .np-reassurance__item { flex: 1; border-bottom: none; border-right: 1px solid var(--np-border); }
  .np-reassurance__item:last-child { border-right: none; }
}

/* 9. TÍTULOS DE SECCIÓN --------------------------------------------- */
.np-section { padding: 36px 0; }
.np-section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px;
}
.np-section__title { font-size: clamp(26px, 7vw, 36px); position: relative; }
.np-section__title em {
  font-style: normal; color: var(--np-red);
}
.np-section__title::after {
  content: ""; display: block; height: 4px; width: 64px; margin-top: 8px;
  background: linear-gradient(90deg, var(--np-lime) 60%, var(--np-red) 60%);
  border-radius: 2px;
}

/* 10. PRODUCTOS ------------------------------------------------------ */
/* Carrusel horizontal en móvil */
.np-products {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  margin-inline: -16px;
  padding-inline: 16px;
  scrollbar-width: none;
}
.np-products::-webkit-scrollbar { display: none; }
.np-products > * { scroll-snap-align: start; }

@media (min-width: 600px) { .np-products { grid-auto-columns: 42%; } }
@media (min-width: 992px) {
  .np-products {
    grid-auto-flow: row; grid-template-columns: repeat(5, 1fr);
    overflow: visible; margin-inline: 0; padding-inline: 0;
  }
}

/* Tarjeta — aplica a nuestra clase y a la miniatura de PrestaShop */
.np-card,
.product-miniature .thumbnail-container {
  position: relative;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius);
  overflow: hidden;
  transition: transform .18s var(--np-ease), border-color .18s var(--np-ease);
  display: flex; flex-direction: column;
}
.np-card:hover,
.product-miniature .thumbnail-container:hover {
  transform: translateY(-4px);
  border-color: var(--np-border-2);
}
.np-card__media,
.product-miniature .thumbnail { position: relative; padding: 18px; display: grid; place-items: center; background: #161616; }
.np-card__media img,
.product-miniature .thumbnail img { mix-blend-mode: normal; max-height: 200px; object-fit: contain; }

.np-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--np-red); color: var(--np-white);
  font-family: var(--np-font-display); font-size: 12px; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 6px; text-transform: uppercase;
}

.np-card__body,
.product-miniature .product-description { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.np-card__title,
.product-miniature .product-title a {
  font-family: var(--np-font-body); font-weight: 700; font-size: 14px; color: var(--np-text);
  line-height: 1.25; min-height: 2.4em;
}
.product-miniature .product-title { margin: 0; }

.np-stars { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--np-muted); }
.np-stars__row { color: var(--np-star); letter-spacing: 1px; }

.np-card__foot,
.product-miniature .product-price-and-shipping {
  display: flex; align-items: center; justify-content: space-between; margin-top: 4px;
}
.np-price,
.product-miniature .price {
  font-family: var(--np-font-display); font-size: 22px; color: var(--np-white); letter-spacing: .5px;
}

.np-add {
  width: 40px; height: 40px; border-radius: var(--np-radius-sm);
  background: var(--np-lime); color: var(--np-black);
  border: none; cursor: pointer; display: grid; place-items: center;
  transition: background .15s var(--np-ease), transform .15s var(--np-ease);
}
.np-add:hover { background: var(--np-lime-dark); transform: scale(1.06); }
.np-add svg { width: 20px; height: 20px; }

/* 11. BANNERS PROMO -------------------------------------------------- */
.np-promos { display: grid; gap: 16px; }
@media (min-width: 768px) { .np-promos { grid-template-columns: 1fr 1fr; } }

.np-promo {
  position: relative; min-height: 230px; border-radius: var(--np-radius);
  overflow: hidden; border: 1px solid var(--np-border);
  background: var(--np-surface);
  display: flex; flex-direction: column; justify-content: center;
  padding: 26px; isolation: isolate;
}
.np-promo__media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .85; }
.np-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,12,12,.85) 0%, rgba(12,12,12,.25) 100%); }
.np-promo h3 { font-size: 30px; line-height: .95; }
.np-promo h3 em { font-style: normal; color: var(--np-lime); display: block; }
.np-promo p { color: var(--np-muted); font-size: 14px; margin: 8px 0 18px; max-width: 60%; }
.np-promo .np-btn { align-self: flex-start; }

/* 12. INSTAGRAM ------------------------------------------------------ */
.np-ig__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
@media (min-width: 768px) { .np-ig__grid { grid-template-columns: repeat(4, 1fr); } }
.np-ig__item { position: relative; aspect-ratio: 1; border-radius: var(--np-radius-sm); overflow: hidden; background: var(--np-surface); }
.np-ig__item img { width: 100%; height: 100%; object-fit: cover; }
.np-ig__handle { font-family: var(--np-font-body); font-weight: 700; color: var(--np-lime); margin-top: 4px; }

/* 13. FOOTER --------------------------------------------------------- */
#footer, .np-footer { background: var(--np-black-2); border-top: 2px solid var(--np-lime); color: var(--np-text); padding: 0; }
.np-footer__top { padding: 36px 0 10px; display: grid; gap: 18px; }
.np-footer__brand .np-logo { margin-bottom: 12px; }
.np-footer__social { display: flex; gap: 12px; }
.np-footer__social a {
  width: 42px; height: 42px; border-radius: var(--np-radius-pill); border: 1px solid var(--np-border-2);
  display: grid; place-items: center; color: var(--np-white);
}
.np-footer__social a:hover { background: var(--np-lime); color: var(--np-black); border-color: var(--np-lime); }

/* Acordeón de columnas en móvil */
.np-foot-col { border-top: 1px solid var(--np-border); }
.np-foot-col__head {
  width: 100%; background: none; border: none; color: var(--np-white);
  font-family: var(--np-font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase;
  padding: 16px 2px; display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.np-foot-col__head::after { content: "+"; color: var(--np-lime); font-size: 22px; }
.np-foot-col.is-open .np-foot-col__head::after { content: "–"; }
.np-foot-col__body { display: none; padding: 0 2px 16px; }
.np-foot-col.is-open .np-foot-col__body { display: block; }
.np-foot-col__body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.np-foot-col__body a { color: var(--np-muted); font-size: 14px; }
.np-foot-col__body a:hover { color: var(--np-lime); }

/* Newsletter */
.np-news__title { font-family: var(--np-font-display); text-transform: uppercase; letter-spacing: 1px; color: var(--np-white); margin-bottom: 10px; }
.np-news__form { display: flex; background: var(--np-surface); border: 1px solid var(--np-border-2); border-radius: var(--np-radius-pill); overflow: hidden; }
.np-news__form input { flex: 1; background: none; border: none; color: var(--np-text); padding: 13px 18px; font-size: 14px; }
.np-news__form input::placeholder { color: var(--np-muted); }
.np-news__form button { background: var(--np-lime); color: var(--np-black); border: none; width: 52px; cursor: pointer; display: grid; place-items: center; }

.np-footer__bottom {
  border-top: 1px solid var(--np-border); padding: 16px 0; margin-top: 20px;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  font-size: 12px; color: var(--np-muted); text-align: center;
}

@media (min-width: 768px) {
  .np-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 30px; align-items: start; }
  .np-foot-col { border-top: none; }
  .np-foot-col__head { cursor: default; padding: 0 0 14px; }
  .np-foot-col__head::after { content: ""; }
  .np-foot-col__body { display: block !important; padding: 0; }
  .np-footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* 14. MISC PRESTASHOP ------------------------------------------------ */
/* Migas, paginación, filtros: dejarlos coherentes con el tema oscuro */
.breadcrumb, .page-header h1 { color: var(--np-text); }
.breadcrumb a { color: var(--np-muted); }
.page-content, #content-wrapper { color: var(--np-text); }
.card, .block-categories, .search-widget input {
  background: var(--np-surface); border-color: var(--np-border); color: var(--np-text);
}
.h1, .h2, .h3, .page-header { color: var(--np-white); }

/* Mensajes / alerts */
.alert-success { background: rgba(197,232,46,.12); border-color: var(--np-lime); color: var(--np-text); }
.alert-danger  { background: rgba(230,36,41,.12); border-color: var(--np-red); color: var(--np-text); }
