/* =============================================
   IL NEGOZIO DEL BLADES CLUB — /blades-club/, /produkti/, /produkti/<slug>/      (30/10/2026, inc/negozio.php)
   Sopra pagine-seo.css (stesso sistema .ps-*: nero profondo, rosso come luce, filetti da 1 px, display 700, Inter).
   Le foto dei prodotti stanno su carta chiara (--ng-paper, la stessa della landing del Club), intere (contain).
   Bronze/Silver/Gold: i colori della tessera della landing. Movimento solo transform/opacity, fermo con
   prefers-reduced-motion. Telefono: niente scorrimento orizzontale, ogni cosa toccabile ≥ 44 px.
   ============================================= */

.ng-page {
  --ng-paper:  #EEEBE5;
  --ng-card:   #141414;
  --ng-bronze: #dc9d6e;
  --ng-silver: #d3d8df;
  --ng-gold:   #e8c98d;
  --ng-ok:     #6fd49a;
  --ng-warn:   #ffb454;
}
.ng-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- la cifra: numero display + € rosso piccolo (come il listino di pagine-seo.css) ---------- */
.ng-cifra { display: inline-flex; align-items: flex-start; font-family: var(--ps-display); font-weight: 700; white-space: nowrap; }

/* ---------- etichetta delle scorte ---------- */
.ng-scorta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font: 600 12px/1.35 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ps-t2);
}
.ng-scorta__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ng-scorta--ok .ng-scorta__dot { background: var(--ng-ok); }
.ng-scorta--poco { color: var(--ng-warn); }
.ng-scorta--arrivo { color: #fff; }
.ng-scorta--arrivo .ng-scorta__dot { background: var(--ps-red-hi); }
.ng-scorta--fuori { color: var(--ps-t3); }
.ng-scorta--fuori .ng-scorta__dot { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

/* =============================================
   LA TESSERA (in cima a /blades-club/): l'esempio vero del risparmio
   ============================================= */
.ng-tessera {
  position: relative; isolation: isolate; overflow: hidden; max-width: 460px; width: 100%;
  padding: 22px 22px 24px; border-radius: 20px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(251, 61, 72, .34), rgba(251, 61, 72, 0) 58%),
              linear-gradient(140deg, #222 0%, #0d0d0d 55%, #1b1b1b 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .9), 0 18px 50px -22px rgba(176, 17, 30, .9), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.ng-tessera::after {   /* il riflesso che passa, come la tessera della landing */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .1) 45%, transparent 60%);
  transform: translateX(-100%); animation: ng-shine 7s var(--ps-ease) 1.2s infinite;
}
@keyframes ng-shine { 0% { transform: translateX(-100%); } 30%, 100% { transform: translateX(100%); } }
.ng-tessera__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 600 11.5px/1.3 'Inter', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--ps-t2);
}
.ng-tessera__brand { font: 700 15px/1 var(--ps-display); letter-spacing: .14em; color: #fff; }
.ng-tessera__prod { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.ng-tessera__foto { flex: none; width: 96px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ng-paper); }
.ng-tessera__foto img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ng-tessera__name { font: 700 clamp(22px, 6vw, 28px)/1.02 var(--ps-display); text-transform: uppercase; }
.ng-tessera__name a { color: #fff; text-decoration: none; }
.ng-tessera__name a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ng-tessera__fmt { margin-top: 4px; font-size: 13.5px; color: var(--ps-t2); }
.ng-tessera__prezzi { margin: 20px 0 0; border-top: 1px solid var(--ps-line); }
.ng-tessera__riga { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ps-line); }
.ng-tessera__riga dt { font: 600 12px/1.35 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-t2); }
.ng-tessera__riga dd { margin: 0; font: 700 22px/1 var(--ps-display); color: var(--ps-t2); }
.ng-tessera__riga s { text-decoration-thickness: 2px; text-decoration-color: var(--ps-red-hi); }
.ng-tessera__riga--club dt { color: #fff; }
.ng-tessera__riga--club dd { font-size: clamp(44px, 12vw, 56px); color: #fff; }
.ng-tessera__punti { margin-top: 14px; font: 600 13px/1.4 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ps-red-hi); }
.ng-tessera__save {
  display: inline-block; margin-top: 12px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font: 600 12.5px/1.2 'Inter', sans-serif; letter-spacing: .06em; color: #fff;
}
.ng-tessera--benvenuto { text-align: left; }
.ng-tessera__big { margin-top: 22px; font: 700 clamp(72px, 22vw, 120px)/.85 var(--ps-display); color: #fff; }

/* =============================================
   I PASSI (come funziona)
   ============================================= */
.ng-passi { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: ng-passo; border-top: 1px solid var(--ps-line); }
.ng-passo { position: relative; padding: 22px 0 24px 64px; border-bottom: 1px solid var(--ps-line); counter-increment: ng-passo; }
.ng-passo::before {
  content: counter(ng-passo, decimal-leading-zero); position: absolute; left: 0; top: 18px;
  font: 700 34px/1 var(--ps-display); color: var(--ps-red-hi);
}
.ng-passo__title { font: 700 clamp(21px, 5.8vw, 26px)/1.05 var(--ps-display); text-transform: uppercase; color: #fff; }
.ng-passo p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--ps-t2); max-width: 36em; }

/* =============================================
   LE CARTE DEI PRODOTTI
   ============================================= */
.ng-head .ps-lead { margin-top: 18px; }
.ng-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ng-grid + .ps-links { margin-top: 32px; }
.ng-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: 14px; background: var(--ng-card); border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .4s var(--ps-ease), transform .5s var(--ps-ease);
}
.ng-card:hover { border-color: rgba(251, 61, 72, .55); transform: translateY(-2px); }
.ng-card:focus-within { border-color: #fff; }
.ng-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--ng-paper); overflow: hidden; }
.ng-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ps-ease); }
.ng-card:hover .ng-card__media img { transform: scale(1.03); }
.ng-card__vuota { display: grid; place-items: center; width: 100%; height: 100%; font: 700 64px/1 var(--ps-display); color: rgba(0, 0, 0, .14); }
.ng-card--fuori .ng-card__media img { opacity: .55; }
.ng-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 12px 14px; }
.ng-card__name { font: 700 clamp(17px, 4.6vw, 21px)/1.08 var(--ps-display); text-transform: uppercase; }
.ng-card__name a { color: #fff; text-decoration: none; }
.ng-card__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }   /* tutta la carta si tocca */
.ng-card__name a:focus-visible { outline: none; }
.ng-card__name a:focus-visible::after { outline: 2px solid #fff; outline-offset: -3px; border-radius: 14px; }
.ng-card__fmt { margin-top: 4px; font-size: 13px; color: var(--ps-t3); }
.ng-card__prezzi { margin-top: auto; padding-top: 12px; }
.ng-card__price, .ng-card__club { font-size: clamp(28px, 8vw, 34px); color: #fff; }
.ng-card__price .ps-num, .ng-card__club .ps-num { line-height: .9; }
.ng-card__was { margin-top: 2px; font: 700 16px/1.2 var(--ps-display); color: var(--ps-t3); }
.ng-card__was s { text-decoration-thickness: 2px; text-decoration-color: var(--ps-red-hi); }
.ng-card__punti, .ng-card__member { margin-top: 6px; font: 600 11.5px/1.4 'Inter', sans-serif; letter-spacing: .06em; color: var(--ps-red-hi); }
.ng-card__member { text-transform: none; letter-spacing: .01em; font-size: 12.5px; }
.ng-card .ng-scorta { margin-top: 10px; font-size: 11px; letter-spacing: .06em; }

/* =============================================
   I LIVELLI
   ============================================= */
.ng-livelli { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.ng-livello {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 16px;
  padding: 18px 18px 18px 22px; border-radius: 14px; background: var(--ng-card); border: 1px solid rgba(255, 255, 255, .1);
}
.ng-livello::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ng-bronze); }
.ng-livello--silver::before { background: var(--ng-silver); }
.ng-livello--gold::before { background: var(--ng-gold); }
.ng-livello__name { grid-column: 1; font: 700 26px/1 var(--ps-display); text-transform: uppercase; color: var(--ng-bronze); }
.ng-livello--silver .ng-livello__name { color: var(--ng-silver); }
.ng-livello--gold .ng-livello__name { color: var(--ng-gold); }
.ng-livello__cond { grid-column: 1; font-size: 14.5px; color: var(--ps-t2); }
.ng-livello__val { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.ng-livello__val .ps-num { font: 700 clamp(40px, 11vw, 52px)/.85 var(--ps-display); color: #fff; }
.ng-livello__unit { margin-top: 6px; max-width: 9.5em; font: 600 11px/1.3 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ps-t3); }
.ng-note-2 { margin-top: 8px; }

/* =============================================
   CATALOGO: vuoto / non disponibile, invito al Club
   ============================================= */
.ng-sec-lista { padding-top: 24px; }
.ng-vuoto { max-width: 36em; padding: 28px 0; border-top: 1px solid var(--ps-line); border-bottom: 1px solid var(--ps-line); }
.ng-vuoto__title { font: 700 clamp(26px, 7vw, 36px)/1.02 var(--ps-display); text-transform: uppercase; }
.ng-vuoto p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ps-t2); }
.ng-entra { display: grid; gap: 28px; }
.ng-entra .ps-lead { margin-top: 18px; }
.ng-entra .ps-act { margin-top: 0; }
.ng-final__act { display: flex; justify-content: center; margin-top: 30px; }

/* =============================================
   LA SCHEDA DEL PRODOTTO
   ============================================= */
.ng-prod-hero { padding-bottom: 64px; }
.ng-prod { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "buy"; gap: 24px; }
.ng-prod__head { grid-area: head; min-width: 0; }
.ng-prod__media { grid-area: media; min-width: 0; }
.ng-prod__buy { grid-area: buy; min-width: 0; display: grid; gap: 16px; align-content: start; }
.ng-prod__h1 {
  margin-top: 14px; font-family: var(--ps-display); font-weight: 700; text-transform: uppercase; color: #fff;
  font-size: clamp(38px, 10.5vw, 64px); line-height: .94; letter-spacing: -.005em; text-wrap: balance; overflow-wrap: break-word;
}
.ng-prod__fmt { margin-top: 10px; font: 600 14px/1.3 'Inter', sans-serif; letter-spacing: .02em; color: var(--ps-t2); }
.ng-prod__foto { margin: 0; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--ng-paper); border: 1px solid var(--ps-line); }
.ng-prod__foto img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ng-prod__foto--vuota { display: grid; place-items: center; font: 700 120px/1 var(--ps-display); color: rgba(0, 0, 0, .14); }
.ng-prod__altre { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ng-prod__altre:has(li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* pomate 01–04: tutte e 4 le varianti */
.ng-prod__altre li { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--ng-paper); }
.ng-prod__altre img { display: block; width: 100%; height: 100%; object-fit: contain; }

.ng-prezzo { padding-bottom: 16px; border-bottom: 1px solid var(--ps-line); }
.ng-prezzo__label { font: 600 12px/1.35 'Inter', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--ps-t2); }
.ng-prezzo__val { margin-top: 8px; font-size: clamp(52px, 15vw, 72px); color: #fff; }
.ng-prezzo__val .ps-num { line-height: .82; }
.ng-prezzo__nota { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ps-t3); }

.ng-club {
  position: relative; padding: 18px 18px 20px; border-radius: 14px;
  border: 1px solid rgba(251, 61, 72, .5);
  background: radial-gradient(120% 120% at 100% 0%, rgba(176, 17, 30, .34), transparent 62%), #130c0d;
}
.ng-club__label { font: 600 12px/1.35 'Inter', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ps-red-hi); }
.ng-club__val { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: clamp(48px, 13vw, 60px); color: #fff; }
.ng-club__val .ps-num { line-height: .82; }
.ng-club__was { font: 700 22px/1 var(--ps-display); color: var(--ps-t2); }
.ng-club__was s { text-decoration-thickness: 2px; text-decoration-color: var(--ps-red-hi); }
.ng-club__punti { margin-top: 12px; font: 600 13px/1.45 'Inter', sans-serif; letter-spacing: .04em; color: #fff; }
.ng-club__dot { margin: 0 8px; color: var(--ps-red-hi); }
.ng-club__act { margin-top: 16px; }
.ng-club__note { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--ps-t2); }
.ng-club__note a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ng-prod__book .ng-prezzo__nota { margin-top: 12px; }

/* =============================================
   PIÙ LARGO
   ============================================= */
@media (min-width: 600px) {
  .ng-grid { gap: 18px; }
  .ng-grid--lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ng-card__body { padding: 16px 16px 18px; }
  .ng-livelli { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ng-livello { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 22px 22px 24px 26px; }
  .ng-livello__val { grid-column: 1; grid-row: auto; align-items: flex-start; text-align: left; margin-top: 18px; }
  .ng-tessera__foto { width: 120px; }
  .ng-prod__buy .bs-cta { width: auto; display: inline-flex; }
}
@media (min-width: 900px) {
  .ng-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .ng-grid--lista { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ng-passi { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border-top: 0; }
  .ng-passo { padding: 70px 0 0; border-top: 1px solid var(--ps-line); border-bottom: 0; }
  .ng-passo::before { top: 22px; }
  .ng-entra { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 80px; align-items: end; }
  .ng-tessera { justify-self: end; padding: 28px 28px 30px; }
  .ng-prod-hero { padding-bottom: 96px; }
  .ng-prod {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
    grid-template-areas: "media head" "media buy"; gap: 28px 64px; align-items: start;
  }
  .ng-prod__h1 { font-size: clamp(44px, 4.8vw, 68px); }
}

@media (prefers-reduced-motion: reduce) {
  .ng-tessera::after { animation: none; display: none; }
  .ng-card, .ng-card__media img { transition: none; }
  .ng-card:hover { transform: none; }
  .ng-card:hover .ng-card__media img { transform: none; }
}
