/* Nexus – «Dispensa guidata» (premium, tema 1.5.0): pagina chiara fatta di grandi pannelli arrotondati a colori tenui,
   foto dei prodotti come adesivi che escono dai bordi e dondolano, scaffali da scorrere, sigillo che gira.
   I colori arrivano da Nexus → Dispensa (--nxp-1…4 chiari, --nxp-deep scuro, --nxp-accent, --nxp-bg). Si anima solo transform e opacity. */
.nx-pantry { --nxp-r: 28px; --nxp-r-s: 18px; --nxp-cut: 22px 30px 24px 34px / 30px 24px 32px 22px; --nxp-ink: color-mix(in oklab, var(--nxp-deep) 82%, #000); --nxp-ease: cubic-bezier(.2, .8, .2, 1); --nxp-pop: cubic-bezier(.34, 1.56, .64, 1); }
.nxp { overflow: clip; background: var(--nxp-bg, #fffdf8); color: var(--nxp-ink); font-size: .98rem; line-height: 1.5; }
.nx-pantry .nxp :is(h1, h2, h3, h4, legend) { color: var(--nxp-ink); margin: 0; }
.nx-pantry .nxp :is(h1, h2) { font-family: var(--nx-font-display, inherit); letter-spacing: -.03em; }
.nx-pantry .nxp :is(.nxp-card, .nxp-pack, .nxp-scene__list, .nxp-faq__i, .nxp-cell) a:not(.nxp-add):not(.nxp-btn) { color: inherit; }
.nxp-sec { padding-block: clamp(1.6rem, 4vw, 3rem); }
.nxp-narrow { max-width: 46rem; margin-inline: auto; }
.nxp-tone-1 { --nxp-c: var(--nxp-1); } .nxp-tone-2 { --nxp-c: var(--nxp-2); } .nxp-tone-3 { --nxp-c: var(--nxp-3); } .nxp-tone-4 { --nxp-c: var(--nxp-4); }
.nxp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Titoli di sezione */
.nxp-head { max-width: 40rem; margin: 0 auto clamp(1.2rem, 3vw, 2rem); text-align: center; }
.nxp-head h2 { font-size: clamp(1.75rem, 4.6vw, 2.7rem); line-height: 1.05; font-weight: 700; text-wrap: balance; }
.nxp-head p { margin: .6rem auto 0; max-width: 34rem; font-size: .98rem; color: color-mix(in oklab, var(--nxp-ink) 80%, transparent); }
.nxp-head .nxp-kicker, .nxp-kicker { margin: 0 0 .6rem; font-size: .92rem; font-weight: 700; color: var(--nxp-ink); }

/* Pulsanti, etichette, prezzi */
.nx-pantry .nxp .nxp-btn, .nxp-quick .nxp-btn { background: var(--nxp-deep); color: #fff; border-radius: 999px; border: 2px solid var(--nxp-deep); font-weight: 700; transition: transform .3s var(--nxp-pop); }
.nxp-btn:hover { transform: translateY(-2px) scale(1.03); }
.nxp-btn:active { transform: scale(.96); }
.nx-pantry .nxp .nxp-btn--white { background: #fff; border-color: #fff; color: var(--nxp-ink); }
.nx-pantry .nxp .nxp-btn--pop { background: var(--nxp-3); border-color: var(--nxp-3); color: var(--nxp-ink); }
.nx-pantry .nxp .nxp-btn--glass { background: color-mix(in oklab, #fff 70%, transparent); border-color: transparent; color: var(--nxp-ink); }
.nxp-pill { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .9rem; padding: .35rem .85rem; border-radius: 999px; background: var(--nxp-4); color: var(--nxp-ink); font-size: .85rem; font-weight: 700; }
.nxp-price { font-weight: 800; color: var(--nxp-ink); margin: 0; }
.nxp-price del { font-weight: 500; opacity: .55; margin-left: .35em; }
.nxp-price ins { text-decoration: none; }
.nxp-tags, .nxp-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.nxp-tags span, .nxp-chips span { padding: .2rem .6rem; border-radius: 999px; background: #fff; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 22%, transparent); font-size: .76rem; font-weight: 700; }
.nxp-arrows { display: inline-flex; gap: .45rem; }
.nxp-arrows button { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: #fff; color: var(--nxp-ink); font-size: 1.1rem; cursor: pointer; transition: transform .3s var(--nxp-pop), opacity .2s ease; }
.nxp-arrows button:hover { transform: scale(1.1); }
.nxp-arrows button:disabled { opacity: .4; cursor: default; transform: none; }
.nxp-arrows--glass button { background: color-mix(in oklab, #fff 55%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Adesivi: foto con il bordo bianco e l'ombra, che dondolano piano */
.nx-pantry { --nxp-stk: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 10px 14px color-mix(in oklab, var(--nxp-deep) 28%, transparent)); }
.nxp-tile__pic img, .nxp-shelf__pic img, .nxp-arr__st img, .nxp-band img, .nxp-occ__b img { border-radius: 14px; object-fit: contain; filter: var(--nxp-stk); }
@keyframes nxp-bob { 0%, 100% { transform: translateY(0) rotate(var(--tilt, -3deg)); } 50% { transform: translateY(-8px) rotate(calc(var(--tilt, -3deg) + 4deg)); } }
@keyframes nxp-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes nxp-pop { 0% { transform: scale(1); } 45% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes nxp-spin { to { transform: rotate(360deg); } }
@keyframes nxp-run { to { transform: translateX(-50%); } }

/* 1. Avviso in cima */
.nxp-top { background: var(--nxp-3); color: var(--nxp-ink); text-align: center; font-weight: 700; font-size: .92rem; }
.nxp-top p { margin: 0; padding: .55rem 1rem; }
.nxp-top p:not([hidden]) { animation: nxp-rise .5s var(--nxp-ease) both; }

/* 2. Apertura: scena a tutta larghezza */
.nxp-th { padding-block: .8rem 0; }
.nxp-stage { position: relative; isolation: isolate; border-radius: var(--nxp-r); overflow: hidden; min-height: min(78svh, 36rem); display: grid; background: var(--nxp-deep); }
.nxp-stage__bg { position: absolute; inset: -4%; z-index: -2; background: var(--nxp-scene, none) center / cover no-repeat, radial-gradient(60% 55% at 78% 108%, var(--nxp-1) 0 99.4%, transparent 100%), radial-gradient(64% 59% at 78% 108%, color-mix(in oklab, var(--nxp-1) 30%, transparent) 0 99.4%, transparent 100%), radial-gradient(90% 70% at 20% 0%, color-mix(in oklab, var(--nxp-deep) 78%, #fff), transparent 70%), var(--nxp-deep); animation: nxp-drift 22s ease-in-out infinite alternate; }
@keyframes nxp-drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-1.5%, 1%); } }
/* Con una foto d'ambiente: niente foglioline, il prodotto «appoggia» sul piano in basso */
.nxp-stage--photo .nxp-stage__bg { inset: 0; background: var(--nxp-scene) center 62% / cover no-repeat; animation: nxp-drift 26s ease-in-out infinite alternate; }
.nxp-stage--photo .nxp-stage__bits { display: none; }
@media (min-width: 900px) { .nxp-stage--photo .nxp-slide__pic { align-self: end; padding-bottom: 1.2rem; } }
.nxp-stage--photo .nxp-slide__pic img { filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff) drop-shadow(0 30px 24px rgba(40, 25, 5, .45)); }
/* Foglioline che salgono: danno vita alla scena senza distrarre */
.nxp-stage__bits { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nxp-stage__bits i { position: absolute; left: calc(8% + var(--k) * 10.5%); bottom: -2rem; width: .8rem; aspect-ratio: 1 / 1.7; border-radius: 80% 10% 80% 10%; background: color-mix(in oklab, var(--nxp-3) 70%, #9bbf6a); opacity: 0; animation: nxp-leaf 11s linear infinite; animation-delay: calc(var(--k) * -1.7s); }
.nxp-stage__bits i:nth-child(3n) { width: .55rem; animation-duration: 14s; } .nxp-stage__bits i:nth-child(3n + 1) { width: 1rem; animation-duration: 9s; }
@keyframes nxp-leaf { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: .55; } 85% { opacity: .4; } 100% { transform: translateY(-36rem) rotate(260deg) translateX(3rem); opacity: 0; } }
.nxp-slide { grid-area: 1 / 1; display: grid; grid-template-rows: auto 1fr; gap: 1rem; padding: clamp(1rem, 3.2vw, 2.2rem); padding-bottom: 5.4rem; }
.nxp-slide[hidden] { display: none; }
@media (min-width: 900px) { .nxp-slide { grid-template-columns: minmax(0, 35rem) 1fr; grid-template-rows: 1fr; align-items: center; gap: 2rem; padding: 2.6rem 2.6rem 6rem; } }
.nxp-slide__copy { align-self: start; padding: clamp(1.1rem, 3.4vw, 2rem); border-radius: var(--nxp-r); background: color-mix(in oklab, #fff 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid color-mix(in oklab, #fff 70%, transparent); box-shadow: 0 20px 50px color-mix(in oklab, var(--nxp-deep) 14%, transparent); }
@media (min-width: 900px) { .nxp-slide__copy { align-self: center; } }
.nxp-slide.is-on .nxp-slide__copy > :not(h1):not(h2) { animation: nxp-rise .45s var(--nxp-ease) both; }
.nxp-slide :is(h1, h2) { font-size: clamp(1.9rem, 5.2vw, 3.5rem); line-height: 1; font-weight: 800; text-wrap: balance; }
.nxp-w { display: inline-block; }
.nxp-slide.is-on .nxp-w { animation: nxp-word .5s var(--nxp-ease) both; animation-delay: calc(var(--w) * 45ms); }
@keyframes nxp-word { from { opacity: 0; transform: translateY(.6em) rotate(4deg); } to { opacity: 1; transform: none; } }
.nxp-slide__text { margin: .8rem 0 0; font-size: 1.05rem; max-width: 28rem; }
.nxp-slide__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.3rem 0 0; }
.nxp-slide__pic { display: grid; place-items: center; min-height: 0; }
.nxp-slide__pic img { width: auto; max-width: min(100%, 26rem); max-height: min(44svh, 27rem); object-fit: contain; border-radius: 16px; filter: drop-shadow(5px 0 0 #fff) drop-shadow(-5px 0 0 #fff) drop-shadow(0 5px 0 #fff) drop-shadow(0 -5px 0 #fff) drop-shadow(0 26px 30px rgba(0, 0, 0, .28)); --tilt: 2deg; }
.nxp-slide.is-on .nxp-slide__pic img { animation: nxp-in-pic .55s var(--nxp-pop) both, nxp-bob 5.5s ease-in-out .55s infinite; }
@keyframes nxp-in-pic { from { opacity: .2; transform: translateY(24px) scale(.92) rotate(-4deg); } to { opacity: 1; transform: rotate(2deg); } }
.nxp-seal { position: relative; display: inline-grid; place-items: center; width: 7.6rem; aspect-ratio: 1; flex: none; }
.nxp-seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: nxp-spin 22s linear infinite; }
.nxp-seal__in { position: relative; width: 44%; height: 44%; }
.nxp-stage__seal { position: absolute; right: .8rem; bottom: 5.2rem; z-index: 2; width: 5.4rem; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .14)); }
@media (min-width: 900px) { .nxp-stage__seal { right: 2rem; top: 2rem; bottom: auto; width: 8rem; } }
.nxp-stage__nav { position: absolute; left: clamp(.7rem, 2.6vw, 2rem); right: clamp(.7rem, 2.6vw, 2rem); bottom: clamp(.7rem, 2.4vw, 1.6rem); display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.nxp-stage__tabs { display: flex; gap: .2rem; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: .3rem; border-radius: 999px; background: color-mix(in oklab, #fff 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nxp-stage__tabs button { position: relative; flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .95rem .3rem .3rem; border-radius: 999px; border: 0; background: transparent; color: var(--nxp-ink); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; overflow: hidden; transition: background-color .3s ease, color .3s ease; }
.nxp-stage__tabs button[aria-selected="true"] { background: var(--nxp-deep); color: #fff; }
.nxp-stage__tabs img { width: 2.2rem; height: 2.2rem; border-radius: 50%; object-fit: contain; background: #fff; padding: 2px; box-sizing: border-box; }
/* avanzamento: la riga sotto la linguetta accesa si riempie finché non tocca alla prossima */
.nxp-stage__tabs i { position: absolute; left: .9rem; right: .9rem; bottom: .22rem; height: 3px; border-radius: 3px; background: var(--nxp-3); transform: scaleX(0); transform-origin: left; }
.nxp-stage.is-auto .nxp-stage__tabs button[aria-selected="true"] i { animation: nxp-fill var(--nxp-hold, 6s) linear both; }
@keyframes nxp-fill { to { transform: scaleX(1); } }
@media (max-width: 899px) { .nxp-arrows--glass { display: none; } }

/* 3. Nastro grande */
.nxp-band { background: var(--nxp-3); color: var(--nxp-ink); overflow: hidden; margin-top: 1rem; }
.nxp-band__track { display: flex; width: max-content; animation: nxp-run 30s linear infinite; }
.nxp-band ul { display: flex; align-items: center; list-style: none; margin: 0; padding: .7rem 0; }
.nxp-band li { display: flex; align-items: center; gap: 1.2rem; padding-right: 1.2rem; white-space: nowrap; font-family: var(--nx-font-display, inherit); font-weight: 800; font-size: clamp(1.4rem, 4vw, 2.1rem); letter-spacing: -.03em; }
.nxp-band img { width: 3rem; height: 3rem; border-radius: 10px; transform: rotate(-6deg); }
.nxp-band li:nth-child(even) img { transform: rotate(5deg); }

/* 4. Categorie a riquadri */
.nxp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.6rem .8rem; padding-top: 2.6rem; }
@media (min-width: 860px) { .nxp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4.6rem 1.2rem; padding-top: 3.4rem; } }
.nx-pantry .nxp a.nxp-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(11rem, 26vw, 15rem); padding: clamp(6.2rem, 15.5vw, 10.5rem) 1.1rem 1.1rem; border-radius: var(--nxp-r); background: var(--nxp-c); color: var(--nxp-ink); text-decoration: none; transition: transform .4s var(--nxp-pop); }
.nxp-tile:hover { transform: translateY(-6px); }
.nxp-tile__pic { position: absolute; left: 50%; top: 0; width: clamp(7.4rem, 19vw, 12.5rem); transform: translate(-50%, -30%); pointer-events: none; }
.nxp-tile__pic img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--nxp-cut); object-fit: cover; --tilt: calc(-4deg + var(--i, 0) * 2.4deg); animation: nxp-bob calc(3.2s + var(--i, 0) * .35s) ease-in-out infinite; transition: scale .4s var(--nxp-pop); }
.nxp-tile:hover .nxp-tile__pic img { scale: 1.08; }
.nxp-tile__t { display: grid; gap: .1rem; padding-right: 3rem; }
.nxp-tile__t strong { font-family: var(--nx-font-display, inherit); font-size: clamp(1.15rem, 3vw, 1.5rem); line-height: 1.02; letter-spacing: -.02em; }
.nxp-tile__t span { font-size: .86rem; opacity: .8; }
.nxp-tile__t b { font-size: .84rem; }
.nxp-tile__go { position: absolute; right: 1rem; bottom: 1rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in oklab, #fff 75%, transparent); font-size: 1.1rem; transition: transform .35s var(--nxp-pop), background-color .2s ease; }
.nxp-tile:hover .nxp-tile__go { transform: translateX(4px) scale(1.08); background: #fff; }

/* 5. Scaffali */
.nxp-shelf { position: relative; margin-top: 3.2rem; padding: clamp(1rem, 3vw, 1.8rem); border-radius: var(--nxp-r); background: var(--nxp-c); }
.nxp-shelf + .nxp-shelf { margin-top: 3.6rem; }
.nxp-shelf--dark { background: var(--nxp-deep); color: #fff; }
.nxp-shelf__head { display: grid; gap: .8rem; margin-bottom: 1.1rem; }
@media (min-width: 800px) { .nxp-shelf__head { grid-template-columns: 1fr auto; align-items: end; padding-left: 9.5rem; min-height: 5.4rem; } }
.nxp-shelf__pic { position: absolute; left: 1rem; top: -2.6rem; width: 6.4rem; }
@media (min-width: 800px) { .nxp-shelf__pic { left: 1.2rem; top: -2.8rem; width: 8.6rem; } }
.nxp-shelf__pic img { display: block; width: 100%; height: auto; aspect-ratio: 1; --tilt: -7deg; animation: nxp-bob 4s ease-in-out infinite; }
.nxp-shelf__t { padding-top: 3.4rem; }
@media (min-width: 800px) { .nxp-shelf__t { padding-top: 0; } }
.nx-pantry .nxp .nxp-shelf__t h3 { font-family: var(--nx-font-display, inherit); font-size: clamp(1.4rem, 3.6vw, 1.8rem); line-height: 1.05; letter-spacing: -.02em; }
.nx-pantry .nxp .nxp-shelf--dark h3 { color: #fff; }
.nxp-shelf__t p { margin: .35rem 0 0; max-width: 34rem; font-size: .95rem; }
.nxp-shelf__t .nxp-tags { margin-top: .6rem; }
.nxp-shelf--dark .nxp-tags span { background: color-mix(in oklab, #fff 14%, transparent); border-color: transparent; color: #fff; }
.nxp-shelf__go { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.nx-pantry .nxp .nxp-shelf:not(.nxp-shelf--dark) .nxp-btn--pop { background: var(--nxp-deep); border-color: var(--nxp-deep); color: #fff; }
.nxp-row { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; padding: .4rem .2rem 1rem; margin-inline: -.2rem; }
.nxp-row::-webkit-scrollbar { display: none; }
.nxp-row > * { flex: 0 0 min(74vw, 15.5rem); scroll-snap-align: start; }
.nxp-row > .nxp-pack { flex-basis: min(80vw, 18rem); }
.nxp-row.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.nxp-row.is-drag a, .nxp-row.is-drag button { pointer-events: none; }
.nxp-line { height: 4px; border-radius: 4px; background: color-mix(in oklab, currentColor 16%, transparent); overflow: hidden; margin-inline: 20%; }
.nxp-line i { display: block; height: 100%; width: 100%; border-radius: 4px; background: currentColor; transform-origin: left; transform: scaleX(var(--p, .3)); transition: transform .2s linear; }

/* Box pronta */
.nxp-pack { display: flex; flex-direction: column; border-radius: var(--nxp-cut); background: #fff; color: var(--nxp-ink); overflow: hidden; }
.nxp-pack__pics { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: .3rem; padding: .7rem .7rem 1.1rem; background: var(--nxp-c); }
.nxp-pack__pics img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 14px; background: color-mix(in oklab, #fff 70%, transparent); padding: .3rem; box-sizing: border-box; }
.nxp-pack__tab { position: absolute; left: 50%; bottom: -.7rem; transform: translateX(-50%) rotate(-2deg); padding: .2rem .7rem; border-radius: 8px; background: var(--nxp-3); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.nxp-pack__b { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.2rem 1rem 1rem; }
.nx-pantry .nxp .nxp-pack h4 { font-family: var(--nx-font-display, inherit); font-size: 1.25rem; line-height: 1.1; letter-spacing: -.01em; }
.nxp-pack__in { margin: 0; font-size: .84rem; opacity: .85; }
.nxp-pack__f { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; }
.nxp-pack__f + .nxp-pack__f { margin-top: 0; align-items: flex-end; }
.nxp-pack__price { margin: 0; display: grid; line-height: 1.15; }
.nxp-pack__price strong { font-size: 1.3rem; }
.nxp-pack__price del { font-size: .82rem; opacity: .6; }
.nxp-save { padding: .25rem .6rem; border-radius: 999px; background: var(--nxp-3); border: 1.5px dashed color-mix(in oklab, var(--nxp-deep) 60%, transparent); font-size: .78rem; font-weight: 800; white-space: nowrap; transform: rotate(-3deg); }
.nxp-pack__d { min-width: 0; font-size: .86rem; }
.nxp-pack__d summary { list-style: none; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.nxp-pack__d summary::-webkit-details-marker { display: none; }
.nxp-pack__d ul { margin: .4rem 0 0; padding-left: 1rem; display: grid; gap: .15rem; }
.nxp-pack__d[open] ul { animation: nxp-rise .3s var(--nxp-ease) both; }
.nxp-plus { flex: none; width: 2.7rem; height: 2.7rem; border-radius: 50%; border: 0; background: var(--nxp-deep); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: transform .3s var(--nxp-pop); }
.nxp-plus:hover { transform: scale(1.12) rotate(90deg); }
.nxp-plus.is-busy { opacity: .6; pointer-events: none; }
.nxp-plus.is-done { background: var(--nxp-accent, #ffb703); animation: nxp-pop .4s var(--nxp-ease); }

/* Scheda prodotto */
.nxp-card { position: relative; display: flex; flex-direction: column; border-radius: var(--nxp-cut); background: #fff; border: 2px dashed color-mix(in oklab, var(--nxp-deep) 38%, transparent); overflow: hidden; color: var(--nxp-ink); transition: transform .35s var(--nxp-pop); }
.nxp-card:hover { transform: translateY(-4px) rotate(-.6deg); }
.nxp-card[hidden] { display: none; }
.nxp-card.is-in { animation: nxp-rise .45s var(--nxp-ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.nxp-card__img { display: block; margin: .5rem .5rem 0; border-radius: 16px 22px 18px 24px / 22px 18px 24px 16px; overflow: hidden; background: #fff; }
.nxp-card__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .5s var(--nxp-ease); }
.nxp-card:hover .nxp-card__img img { transform: scale(1.07); }
.nxp-card__body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: .7rem .8rem .9rem; flex: 1; }
.nx-pantry .nxp .nxp-card h3 { font-size: .98rem; line-height: 1.2; font-family: var(--nx-font-text, inherit); font-weight: 700; letter-spacing: 0; }
.nxp-card h3 a { text-decoration: none; }
.nxp-card .nxp-chips { justify-content: center; }
.nxp-card .nxp-chips span { background: var(--nxp-2); border-color: transparent; }
.nxp-card__foot { margin: auto 0 0; padding-top: .3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .7rem; }
.nxp-peek { padding: .3rem 0; border: 0; background: none; color: var(--nxp-ink); font: inherit; font-size: .82rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.nxp-add { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .95rem; border-radius: 999px; border: 0; background: var(--nxp-deep); color: #fff; font: inherit; font-weight: 700; font-size: .88rem; text-decoration: none; cursor: pointer; transition: transform .3s var(--nxp-pop); }
.nx-pantry .nxp a.nxp-add { color: #fff; }
.nxp-add:hover { transform: translateY(-2px) scale(1.04); }
.nxp-add.is-busy { opacity: .6; pointer-events: none; }
.nxp-add.is-done { animation: nxp-pop .4s var(--nxp-ease); background: var(--nxp-accent, #ffb703); color: #1a1a1a; }
.nxp-sticker { position: absolute; top: .9rem; right: .9rem; z-index: 2; padding: .25rem .65rem; border-radius: 999px; background: var(--nxp-accent, #ffb703); color: #1a1a1a; font-size: .76rem; font-weight: 800; transform: rotate(4deg); }
.nxp-sticker--off { background: #fff; }
.nxp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (min-width: 720px) { .nxp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }

/* 6. Garanzia */
.nxp-arr { position: relative; padding: clamp(1.4rem, 4.4vw, 3.4rem); border-radius: var(--nxp-r); background: var(--nxp-c); }
.nxp-arr__head { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
@media (min-width: 800px) { .nxp-arr__head { grid-template-columns: auto 1fr; align-items: center; gap: 2rem; padding-inline: 4%; } .nxp-arr .nxp-seal { width: 10.5rem; } }
.nxp-arr .nxp-seal__ring circle:first-child { fill: #fff; }
.nxp-arr__head h2 { font-size: clamp(1.8rem, 4.6vw, 2.5rem); line-height: 1; font-weight: 800; text-wrap: balance; }
.nxp-arr__head p:not(.nxp-kicker) { margin: .8rem 0 0; max-width: 34rem; }
.nxp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; counter-reset: nxps; position: relative; }
@media (min-width: 800px) { .nxp-steps { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; padding-inline: 4%; }
  .nxp-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; border-top: 2px dashed color-mix(in oklab, var(--nxp-deep) 55%, transparent); } }
.nxp-steps li { counter-increment: nxps; position: relative; padding: 2rem 1.3rem 1.3rem; border-radius: var(--nxp-r-s); background: color-mix(in oklab, #fff 62%, var(--nxp-c)); }
.nxp-steps li::before { content: counter(nxps); position: absolute; left: 1rem; top: -.8rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--nxp-deep); color: #fff; font-weight: 800; font-size: .9rem; }
.nx-pantry .nxp .nxp-steps h3 { font-family: var(--nx-font-display, inherit); font-size: 1.3rem; margin-bottom: .4rem; }
.nxp-steps p { margin: 0; font-size: .95rem; }
.nxp-more { text-align: center; margin: 1.6rem 0 0; }
.nxp-arr__st { position: absolute; width: clamp(3.6rem, 9vw, 6.4rem); z-index: 1; pointer-events: none; }
.nxp-arr__st img { display: block; width: 100%; height: auto; aspect-ratio: 1; animation: nxp-bob 4.4s ease-in-out infinite; }
.nxp-arr__st--0 { left: -.4rem; top: -1.6rem; --tilt: -8deg; } .nxp-arr__st--1 { right: .4rem; top: -1.8rem; --tilt: 6deg; }
.nxp-arr__st--2 { left: .6rem; bottom: -1.4rem; --tilt: 5deg; } .nxp-arr__st--3 { right: -.2rem; bottom: -1.2rem; --tilt: -5deg; }
.nxp-arr__st--1 img { animation-delay: -1.3s; } .nxp-arr__st--2 img { animation-delay: -2.1s; } .nxp-arr__st--3 img { animation-delay: -.6s; }
@media (max-width: 799px) { .nxp-arr__st--0, .nxp-arr__st--2, .nxp-arr__st--3 { display: none; } }

/* 7. Mosaico */
.nxp-bento { display: grid; gap: .8rem; }
@media (min-width: 860px) { .nxp-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(13rem, auto); gap: 1rem; }
  .nxp-cell:nth-child(1) { grid-column: span 2; } .nxp-bento--6 .nxp-cell:nth-child(6), .nxp-bento--5 .nxp-cell:nth-child(n + 4), .nxp-bento--4 .nxp-cell:nth-child(4) { grid-column: span 2; }
  .nxp-bento--4 .nxp-cell:nth-child(4), .nxp-bento--3 .nxp-cell:nth-child(1) { grid-column: span 2; } .nxp-bento--4 { grid-template-columns: repeat(4, 1fr); } }
.nxp-cell { display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; padding: 1.4rem; border-radius: var(--nxp-r); background: var(--nxp-c); color: var(--nxp-ink); transition: transform .4s var(--nxp-pop); }
.nxp-cell:hover { transform: translateY(-4px) rotate(.4deg); }
.nxp-cell--dark { background: var(--nxp-deep); color: #fff; }
.nx-pantry .nxp .nxp-cell h3 { font-family: var(--nx-font-display, inherit); font-size: clamp(1.2rem, 3vw, 1.4rem); line-height: 1.05; letter-spacing: -.02em; }
.nx-pantry .nxp .nxp-cell--dark h3 { color: var(--nxp-3); }
.nxp-cell p { margin: 0; font-size: .95rem; }
.nxp-cell a { font-weight: 700; }
.nxp-cell__i { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in oklab, #fff 70%, transparent); color: var(--nxp-ink); margin-bottom: auto; }
.nxp-cell--dark .nxp-cell__i { background: color-mix(in oklab, #fff 14%, transparent); color: #fff; }
.nxp-cell:hover .nxp-cell__i { animation: nxp-pop .5s var(--nxp-pop); }

/* 8. Compra la tavola */
.nxp-scene { display: grid; gap: 1.4rem; padding: clamp(1rem, 3vw, 2rem); border-radius: var(--nxp-r); background: var(--nxp-c); }
@media (min-width: 900px) { .nxp-scene:not(.nxp-scene--solo) { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 2rem; } }
.nxp-scene--solo { max-width: 48rem; margin-inline: auto; }
.nxp-scene__media { position: relative; }
.nxp-scene__media img { display: block; width: 100%; height: auto; border-radius: var(--nxp-r-s); }
.nxp-spot span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--nxp-ease); }
.nxp-spot:hover span, .nxp-spot:focus-visible span { max-width: 12rem; padding-right: .5rem; }
.nxp-spot:hover, .nxp-spot:focus-visible { z-index: 2; }
.nx-pantry .nxp a.nxp-spot { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .4rem; padding: .25rem; border-radius: 999px; background: #fff; color: var(--nxp-ink); font-size: .78rem; font-weight: 700; text-decoration: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: transform .3s var(--nxp-pop); }
.nxp-spot:hover { transform: translate(-50%, -50%) scale(1.1); }
.nxp-spot b, .nxp-scene__list li::before { width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--nxp-3); color: var(--nxp-ink); font-size: .74rem; font-weight: 800; }
.nxp-spot::before { content: ""; position: absolute; left: .25rem; top: .25rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid #fff; animation: nxp-ping 2.4s ease-out infinite; }
@keyframes nxp-ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.nxp-scene__text h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.02; font-weight: 800; text-wrap: balance; }
.nxp-scene__text > p:not(.nxp-kicker):not(.nxp-scene__all) { margin: .7rem 0 0; }
.nxp-scene__list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .45rem; counter-reset: nxp; }
.nxp-scene__list li { counter-increment: nxp; position: relative; display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: .7rem; padding: .45rem .6rem .45rem .45rem; border-radius: var(--nxp-r-s); background: #fff; transition: transform .3s var(--nxp-pop); }
.nxp-scene__list li:target, .nxp-scene__list li:hover { transform: translateX(-4px); }
.nxp-scene__list li::before { content: counter(nxp); position: absolute; left: .15rem; top: .15rem; z-index: 1; width: 1.25rem; height: 1.25rem; font-size: .68rem; }
.nxp-scene__list img { width: 3.2rem; height: 3.2rem; object-fit: contain; border-radius: 12px; background: var(--nxp-1); }
.nxp-scene__list li > span { display: grid; min-width: 0; }
.nxp-scene__list a { font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nxp-scene__list small { font-size: .84rem; }
.nxp-scene__all { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 0; }

/* 9. Scelta per occasione */
.nxp-panel { border-radius: var(--nxp-r); background: var(--nxp-c); padding: clamp(1.2rem, 4vw, 2.2rem); color: var(--nxp-ink); }
.nxp-panel__q { margin: 0 0 .4rem; text-align: center; font-family: var(--nx-font-display, inherit); font-weight: 700; font-size: 1.25rem; }
.nxp-panel__q:empty { display: none; }
.nxp-occ { display: flex; justify-content: flex-start; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: .9rem .2rem .4rem; }
@media (min-width: 860px) { .nxp-occ { justify-content: center; gap: 1.2rem; } }
.nxp-occ__b { flex: none; display: grid; justify-items: center; align-content: start; gap: .15rem; width: 8.4rem; padding: .4rem; border: 0; background: none; color: var(--nxp-ink); font: inherit; text-align: center; cursor: pointer; }
.nxp-occ__b img { width: 5.4rem; height: 5.4rem; margin-bottom: .4rem; transition: transform .4s var(--nxp-pop); }
.nxp-occ__b:hover img { transform: translateY(-4px) rotate(-4deg); }
.nxp-occ__b.is-on img { --tilt: 3deg; animation: nxp-bob 3.4s ease-in-out infinite; scale: 1.14; }
.nxp-occ__b strong { padding: .15rem .6rem; border-radius: 999px; font-size: .92rem; transition: background-color .25s ease, color .25s ease; }
.nx-pantry .nxp .nxp-occ__b.is-on strong { background: var(--nxp-deep); color: #fff; }
.nxp-occ__b span { font-size: .76rem; opacity: .75; }
.nxp-calc { margin: .8rem auto 0; max-width: 40rem; text-align: center; }
.nxp-calc summary { display: inline-block; list-style: none; cursor: pointer; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.nxp-calc summary::-webkit-details-marker { display: none; }
.nxp-calc__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem; margin-top: .8rem; padding: .8rem; border-radius: var(--nxp-r-s); background: #fff; }
.nxp-calc[open] .nxp-calc__in { animation: nxp-rise .3s var(--nxp-ease) both; }
.nxp-step { display: inline-flex; align-items: center; border-radius: 999px; background: var(--nxp-2); padding: .2rem; }
.nxp-step button { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: var(--nxp-deep); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.nxp-step input { width: 2.8rem; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 800; color: var(--nxp-ink); -moz-appearance: textfield; appearance: textfield; }
.nxp-step input::-webkit-outer-spin-button, .nxp-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nxp-calc__out { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.nxp-calc__out li { display: flex; gap: .45rem; align-items: baseline; padding: .4rem .75rem; border-radius: 999px; background: var(--nxp-3); font-size: .88rem; }
.nxp-calc__out b.is-tick { display: inline-block; animation: nxp-pop .35s var(--nxp-ease); }
.nxp-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 1.1rem; }
.nxp-filter button, .nxp-q__opts button { padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 22%, transparent); background: #fff; color: var(--nxp-ink); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: transform .3s var(--nxp-pop); }
.nxp-filter button:hover, .nxp-q__opts button:hover { transform: translateY(-2px); }
.nxp-filter button.is-on, .nxp-q__opts button.is-on { background: var(--nxp-deep); border-color: var(--nxp-deep); color: #fff; }
.nxp-pick__res { margin-top: 1rem; }
.nxp-count { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-weight: 700; font-size: 1.1rem; color: var(--nxp-ink); }
.nxp-count .nxp-arrows { margin-left: auto; }
.nxp-count .nxp-arrows button { background: var(--nxp-2); }
.nxp-count b { display: inline-grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding-inline: .5rem; border-radius: 999px; background: var(--nxp-3); }
.nxp-count b.is-tick { animation: nxp-pop .35s var(--nxp-ease); }
.nxp-empty { padding: 1.2rem; border-radius: var(--nxp-r-s); background: var(--nxp-1); text-align: center; }

/* 10. Trova il prodotto */
.nxp-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.nxp-q[hidden] { display: none; }
.nxp-q:not([hidden]) { animation: nxp-rise .4s var(--nxp-ease) both; }
.nxp-q__step { margin: 0 0 .4rem; font-size: .86rem; font-weight: 700; }
.nxp-q__bar { height: .5rem; border-radius: 999px; background: #fff; overflow: hidden; margin-bottom: 1.1rem; }
.nxp-q__bar i { transition: width .35s ease; display: block; height: 100%; border-radius: 999px; background: var(--nxp-deep); transform-origin: left; animation: nxp-grow .5s var(--nxp-ease) both; }
@keyframes nxp-grow { from { transform: scaleX(.2); } to { transform: none; } }
.nxp-q legend { float: left; width: 100%; font-family: var(--nx-font-display, inherit); font-size: clamp(1.25rem, 3.4vw, 1.6rem); font-weight: 800; line-height: 1.08; margin-bottom: .8rem; padding: 0; }
.nxp-q__hint { clear: both; margin: 0 0 .7rem; font-size: .86rem; opacity: .8; }
.nxp-q__opts { clear: both; display: flex; flex-wrap: wrap; gap: .5rem; }
.nxp-quiz__nav { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.3rem 0 0; }
.nxp-quiz__nav button[hidden], .nxp-quiz__res[hidden], .nxp-quiz__steps[hidden] { display: none; }
.nxp-quiz__nav button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.nx-pantry .nxp .nxp-quiz__res h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.nxp-quiz__res .nxp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 11. Domande */
.nxp-faq { position: relative; padding: clamp(1.4rem, 4.4vw, 3.2rem); border-radius: var(--nxp-r); background: var(--nxp-c); }
.nxp-faq__pal { position: absolute; right: clamp(.6rem, 4vw, 3rem); top: -1.6rem; width: clamp(4rem, 9vw, 6.4rem); }
.nxp-faq__pal .nxp-olive { display: block; width: 100%; height: auto; --tilt: 8deg; animation: nxp-bob 3.2s ease-in-out infinite; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .16)); }
.nxp-faq .nxp-pill { background: var(--nxp-3); }
.nxp-faq__list { display: grid; gap: .6rem; max-width: 46rem; margin-inline: auto; }
.nxp-faq__i { border-radius: var(--nxp-r-s); background: #fff; color: var(--nxp-ink); transition: background-color .25s ease; }
.nxp-faq__i[open] { background: var(--nxp-3); }
.nxp-faq__i summary { list-style: none; cursor: pointer; padding: 1.05rem 3.4rem 1.05rem 1.2rem; font-weight: 700; position: relative; }
.nxp-faq__i summary::-webkit-details-marker { display: none; }
.nxp-faq__i summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; width: 1.9rem; height: 1.9rem; margin-top: -.95rem; display: grid; place-items: center; border-radius: 50%; background: var(--nxp-deep); color: #fff; font-weight: 700; transition: transform .35s var(--nxp-pop), background-color .2s ease; }
.nxp-faq__i[open] summary::after { transform: rotate(135deg); background: #fff; color: var(--nxp-ink); }
.nxp-faq__i p { margin: 0; padding: 0 1.2rem 1.2rem; max-width: 38rem; }
.nxp-faq__i[open] p { animation: nxp-rise .35s var(--nxp-ease) both; }

/* 12. Newsletter */
.nxp-news__in { display: grid; gap: 1.4rem; padding: clamp(1rem, 3vw, 1.6rem); border-radius: var(--nxp-r); background: var(--nxp-c); }
@media (min-width: 860px) { .nxp-news__in:not(.nxp-news__in--solo) { grid-template-columns: 1fr 1fr; align-items: center; gap: 2.4rem; } }
.nxp-news__in--solo { padding: clamp(1.6rem, 5vw, 3.4rem); text-align: center; }
.nxp-news__in--solo .nxp-news__t { max-width: 34rem; margin-inline: auto; }
.nxp-news__pics { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.nxp-news__pics img { width: 100%; aspect-ratio: 3 / 4; max-height: 24rem; object-fit: cover; border-radius: var(--nxp-r-s); }
.nxp-news__t h2 { font-size: clamp(1.7rem, 4.4vw, 2.3rem); line-height: 1.02; font-weight: 800; }
.nxp-news__t > p { margin: .7rem 0 1.2rem; }
.nxp-news__field { display: flex; padding: .3rem; border-radius: 999px; background: #fff; }
.nxp-news__field input { flex: 1; min-width: 0; padding: .7rem 1rem; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 600; color: var(--nxp-ink); }
.nxp-news__ok { display: flex; gap: .5rem; align-items: flex-start; margin-top: .8rem; font-size: .84rem; text-align: left; }
.nxp-news__ok input { margin-top: .2rem; }
.nxp-news__msg { margin: .6rem 0 0; font-weight: 700; min-height: 1.2em; }

/* 13. Spedizione e pagamenti */
.nxp-ship { background: var(--nxp-deep); color: #fff; margin-top: 1.4rem; }
.nxp-ship__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.1rem; }
.nxp-ship p { margin: 0; font-weight: 700; }
.nxp-ship ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.nxp-ship li { padding: .3rem .7rem; border-radius: 8px; background: #fff; color: var(--nxp-ink); font-size: .8rem; font-weight: 800; }

/* 14. Vista rapida */
.nxp-quick { width: min(46rem, calc(100vw - 1.6rem)); max-height: calc(100svh - 1.6rem); padding: 0; border: 0; border-radius: var(--nxp-r); background: #fff; color: var(--nxp-ink, #16302b); overflow: auto; }
.nxp-quick[open] { display: grid; animation: nxp-rise .35s var(--nxp-ease) both; }
@media (min-width: 720px) { .nxp-quick[open] { grid-template-columns: 1fr 1fr; } }
.nxp-quick::backdrop { background: rgba(20, 30, 28, .55); }
.nxp-quick__pic { display: grid; place-items: center; padding: 1.2rem; background: var(--nxp-1); }
.nxp-quick__pic img { max-width: 100%; max-height: 22rem; object-fit: contain; border-radius: var(--nxp-cut); border: 5px solid #fff; background: #fff; }
.nxp-quick__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.nxp-quick__body h2 { margin: 0 2rem 0 0; font-size: 1.5rem; line-height: 1.1; color: var(--nxp-ink); }
.nxp-quick__body p { margin: 0; }
.nxp-quick .nxp-price { font-size: 1.2rem; }
.nxp-quick .nxp-chips span { background: var(--nxp-2); border-color: transparent; }
.nxp-quick__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: auto !important; padding-top: .6rem; }
.nxp-quick__foot a:not(.nxp-add) { color: var(--nxp-ink); font-weight: 700; }
.nxp-quick__x { position: absolute; right: .7rem; top: .7rem; z-index: 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: var(--nxp-deep); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }

/* L'aiutante spunta dal bordo destro; dopo un po' di scorrimento dice la sua */
.nxp-helper { position: fixed; right: 0; top: 46%; z-index: 55; display: flex; flex-direction: row-reverse; align-items: center; }
.nxp-helper__pal { display: block; width: 3.6rem; margin-right: -1rem; transition: transform .4s var(--nxp-pop); }
.nxp-helper__pal:hover { transform: translateX(-.7rem) rotate(-8deg); }
.nxp-helper__pal .nxp-olive { display: block; width: 100%; height: auto; --tilt: -10deg; animation: nxp-bob 3.6s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .2)); }
.nxp-helper__say { position: relative; margin-right: .4rem; animation: nxp-say .5s var(--nxp-pop) both; }
.nxp-helper__say[hidden] { display: none; }
@media (max-width: 719px) { .nxp-helper { top: auto; bottom: 9.5rem; } .nxp-helper__say { display: none; } }
@keyframes nxp-say { from { opacity: 0; transform: translateX(20px) scale(.8); } to { opacity: 1; transform: none; } }
.nx-pantry .nxp a.nxp-helper__b { display: block; max-width: 12rem; padding: .6rem .9rem; border-radius: 16px 16px 4px 16px; background: var(--nxp-3); color: var(--nxp-ink); font-weight: 700; font-size: .88rem; line-height: 1.25; text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.nxp-helper__x { position: absolute; right: -.4rem; top: -.6rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 0; background: var(--nxp-deep); color: #fff; font-size: .9rem; line-height: 1; cursor: pointer; }

/* Comparsa allo scorrimento (la classe la mette pantry.js; senza script tutto resta visibile) */
.nxp-js [data-nxp-rise] { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .6s ease, transform .7s var(--nxp-ease); transition-delay: calc(var(--d, 0) * 70ms); }
.nxp-js [data-nxp-rise].is-in { opacity: 1; transform: none; }

/* Scheda prodotto: la descrizione breve troppo lunga si accorcia, così prezzo e «aggiungi» restano in vista */
.nxp-clip { position: relative; max-height: 8.4em; overflow: hidden; }
.nxp-clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(transparent, var(--nx-bg, #fff)); pointer-events: none; }
.nxp-clip.is-open { max-height: none; } .nxp-clip.is-open::after { display: none; }
.nxp-clipbtn { margin: .3rem 0 0; padding: .2rem 0; border: 0; background: none; color: var(--nx-primary, inherit); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* ---------- Scheda prodotto ---------- */
.nx-pantry.single-product div.product { --nxp-ink: color-mix(in oklab, var(--nxp-deep) 82%, #000); color: var(--nxp-ink); }
@media (min-width: 900px) { body.nx-pantry.single-product div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.6rem, 4vw, 3.4rem); } }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image { border-radius: var(--nxp-r); background: var(--nxp-4); padding: clamp(1rem, 4vw, 2.6rem); box-sizing: border-box; }
.nx-pantry.single-product div.product div.images img { border-radius: 0; filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff) drop-shadow(0 20px 22px rgba(0, 0, 0, .18)); }
.nx-pantry.single-product div.product .flex-control-thumbs li img { filter: none; border-radius: 14px; background: var(--nxp-4); }
.nxp-pchips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .7rem; }
.nxp-pchip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; background: #fff; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 20%, transparent); color: var(--nxp-ink); font-size: .84rem; font-weight: 700; text-decoration: none; }
.nx-pantry.single-product a.nxp-pchip--cat { background: var(--nxp-3); border-color: transparent; color: var(--nxp-ink); }
.nx-pantry.single-product div.product .product_title { font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; color: var(--nxp-ink); margin-bottom: .4rem; }
.nx-pantry.single-product div.product p.price, .nx-pantry.single-product div.product span.price { font-size: 1.4rem; font-weight: 800; color: var(--nxp-ink); }
.nx-pantry.single-product div.product form.cart { margin: 1.1rem 0 .9rem; gap: .6rem; }
.nx-pantry.single-product div.product form.cart .quantity .qty { min-height: 3.25rem; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 25%, transparent); font-weight: 700; }
.nx-pantry.single-product div.product form.cart .single_add_to_cart_button { flex: 1 1 12rem; min-height: 3.25rem; border-radius: 999px; background: var(--nxp-deep); border-color: var(--nxp-deep); color: #fff; font-weight: 700; font-size: 1rem; transition: transform .3s var(--nxp-pop); }
.nx-pantry.single-product div.product form.cart .single_add_to_cart_button:hover { transform: translateY(-2px) scale(1.01); }
.nxp-pship { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; padding: .7rem 1rem; border-radius: var(--nxp-r-s); background: var(--nxp-2); font-weight: 700; font-size: .92rem; }
.nxp-pbox { margin: 0 0 .8rem; padding: 1rem; border-radius: var(--nxp-r-s); background: var(--nxp-4); }
.nxp-pbox__t { margin: 0 0 .6rem; font-family: var(--nx-font-display, inherit); font-weight: 800; font-size: 1.05rem; color: var(--nxp-ink); }
.nxp-pmates { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.nxp-pmates li { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: .7rem; padding: .4rem .55rem .4rem .4rem; border-radius: 14px; background: #fff; }
.nxp-pmates img { width: 3rem; height: 3rem; object-fit: contain; }
.nxp-pmates li > span { display: grid; min-width: 0; }
.nx-pantry.single-product .nxp-pmates a:not(.nxp-add) { color: var(--nxp-ink); font-weight: 700; font-size: .92rem; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nxp-pmates small { font-size: .84rem; }
.nxp-pfacts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.nxp-pfacts > div { padding: .6rem .8rem; border-radius: 14px; background: #fff; }
.nxp-pfacts dt { font-size: .76rem; opacity: .7; }
.nxp-pfacts dd { margin: 0; font-weight: 800; font-size: .95rem; }
.nxp-pguar { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; margin: 0 0 .8rem; padding: 1rem; border-radius: var(--nxp-r-s); background: var(--nxp-3); border: 2px solid var(--nxp-deep); }
.nxp-pguar .nxp-seal { width: 5rem; } .nxp-pguar .nxp-seal__ring circle:first-child { fill: #fff; }
.nxp-pguar p { margin: 0; font-size: .92rem; } .nxp-pguar .nxp-pbox__t { margin-bottom: .2rem; }
.nx-pantry.single-product div.product .woocommerce-tabs ul.tabs { border: 0; gap: .4rem; flex-wrap: wrap; }
.nx-pantry.single-product div.product .woocommerce-tabs ul.tabs li a { padding: .5rem 1rem; border-radius: 999px; background: var(--nxp-4); color: var(--nxp-ink); font-weight: 700; }
.nx-pantry.single-product div.product .woocommerce-tabs ul.tabs li.active a { background: var(--nxp-deep); color: #fff; }
.nx-pantry.single-product div.product .woocommerce-tabs ul.tabs li.active a::after, .nx-pantry.single-product div.product .woocommerce-tabs ul.tabs li a::after { display: none; }
.nx-pantry.single-product div.product .woocommerce-Tabs-panel { max-width: 46rem; }
.nx-pantry.single-product div.product .woocommerce-Tabs-panel h2 { font-size: 1.5rem; }
.nxp-pbottom { grid-column: 1 / -1; background: transparent; overflow: visible; }

/* Scheda prodotto: tagli di quantità */
.nxp-tiers { margin: 0 0 1.2rem; padding: .9rem; border-radius: var(--nxp-r-s); background: var(--nxp-2); color: var(--nxp-ink); }
.nxp-tiers__t { margin: 0 0 .6rem; font-weight: 700; }
.nxp-tiers__list { display: grid; gap: .4rem; }
.nxp-tier { position: relative; display: grid; grid-template-columns: 1fr auto auto; gap: .2rem .9rem; align-items: center; padding: .65rem .8rem; border-radius: 12px; border: 2px solid transparent; background: #fff; color: var(--nxp-ink); font: inherit; text-align: left; cursor: pointer; transition: transform .2s var(--nxp-ease); }
.nxp-tier.is-on { border-color: var(--nxp-deep); }
.nxp-tier:active { transform: scale(.98); }
.nxp-tier__q { font-weight: 700; }
.nxp-tier__e { font-size: .88rem; opacity: .8; }
.nxp-tier__s { font-weight: 700; }
.nxp-tier__p { position: absolute; top: -.55rem; right: .7rem; padding: .1rem .5rem; border-radius: 999px; background: var(--nxp-accent, #ffb703); color: #1a1a1a; font-size: .74rem; font-weight: 700; }
.nxp-inbox { opacity: .75; }

.nxp :focus-visible, .nxp-tiers :focus-visible, .nxp-helper :focus-visible, .nxp-quick :focus-visible { outline: 3px solid var(--nxp-deep); outline-offset: 3px; }
.nxp-shelf--dark :focus-visible, .nxp-ship :focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .nxp *, .nxp *::before, .nxp *::after, .nxp-quick[open] { animation: none !important; transition: none !important; }
  .nxp-band__track { width: auto; flex-wrap: wrap; } .nxp-band ul:last-child { display: none; } .nxp-band ul { flex-wrap: wrap; justify-content: center; }
  .nxp-stage__bits { display: none; }
  .nxp-js [data-nxp-rise] { opacity: 1; transform: none; }
}

/* ===== Pagina larga, apertura grande, scheda prodotto a riquadri ===== */
.nx-pantry { --nx-wrap: 1640px; --nx-gutter: clamp(.9rem, 2.3vw, 2.4rem); }
.nxp-top { position: relative; z-index: 2; }

/* Apertura: quasi tutta la finestra, il prodotto con due compagni */
.nxp-th { padding-block: 1rem 0; }
.nxp-stage { min-height: clamp(30rem, 78svh, 47rem); }
.nxp-slide :is(h1, h2) { font-size: clamp(2rem, 4.4vw, 4.3rem); line-height: .98; }
.nxp-slide__text { font-size: clamp(1rem, 1.2vw, 1.2rem); max-width: 30rem; }
.nxp-slide__pic { position: relative; }
.nxp-slide__pic img { max-height: min(52svh, 33rem); max-width: min(100%, 30rem); }
.nxp-slide__x { display: none; }
@media (min-width: 900px) {
  .nxp-slide { grid-template-columns: minmax(0, clamp(27rem, 38vw, 37rem)) 1fr; padding: clamp(2rem, 3.2vw, 3.6rem); padding-bottom: 6.6rem; }
  .nxp-slide__copy { padding: clamp(1.6rem, 2.6vw, 2.8rem); }
  .nxp-stage--photo .nxp-slide__pic { align-self: stretch; padding-bottom: 0; }
  .nxp-slide__pic--2 > img:first-child, .nxp-slide__pic--3 > img:first-child { position: absolute; right: 14%; bottom: 4%; max-width: 46%; max-height: 80%; z-index: 2; }
  .nxp-slide__pic .nxp-slide__x { display: block; position: absolute; width: auto; max-width: 34%; max-height: 54%; }
  .nxp-slide__pic .nxp-slide__x--1 { left: 4%; bottom: 10%; --tilt: -6deg; z-index: 1; }
  .nxp-slide__pic .nxp-slide__x--2 { left: 30%; top: 4%; max-width: 28%; max-height: 44%; --tilt: 5deg; }
  .nxp-slide.is-on .nxp-slide__pic .nxp-slide__x { animation: nxp-in-pic .6s var(--nxp-pop) .12s both, nxp-bob 6.4s ease-in-out .9s infinite; }
  .nxp-slide.is-on .nxp-slide__pic .nxp-slide__x--2 { animation-delay: .22s, 1.6s; animation-duration: .6s, 7.2s; }
  .nxp-stage__seal { width: clamp(7rem, 9vw, 9.5rem); }
}

/* Nastro: figure più grandi delle parole */
.nxp-band ul { padding: .9rem 0; }
.nxp-band li { gap: 1.6rem; padding-right: 1.6rem; font-size: clamp(1.3rem, 2.3vw, 2rem); }
.nxp-band img { width: clamp(3.4rem, 5vw, 4.6rem); height: clamp(3.4rem, 5vw, 4.6rem); }

/* Scheda prodotto: galleria a griglia di quadrati */
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__wrapper { display: flex; gap: .7rem; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image { flex: 0 0 86%; width: auto; margin: 0; float: none; scroll-snap-align: start; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; padding: clamp(1rem, 3vw, 2.4rem); }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image:only-child { flex-basis: 100%; }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image:nth-child(3n + 2) { background: var(--nxp-1); }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image:nth-child(3n) { background: var(--nxp-2); }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image > a { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--nxp-ease); }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image:hover img { transform: scale(1.04); }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image.nxp-gscene { background: var(--nxp-scene) center 70% / cover no-repeat; padding: 16% 22% 10%; align-items: end; }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image.nxp-gscene img { width: auto; max-width: 100%; height: auto; max-height: 100%; --tilt: 3deg; animation: nxp-bob 6s ease-in-out infinite; filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff) drop-shadow(0 22px 18px rgba(40, 25, 5, .45)); }
.nx-pantry.single-product div.product div.images .nxp-gscene:hover img { transform: none; }
@media (min-width: 900px) {
  .nx-pantry.single-product div.product { grid-template-columns: minmax(0, 1.22fr) minmax(0, .9fr); gap: clamp(1.6rem, 3.4vw, 4rem); }
  .nx-pantry.single-product div.product div.images .woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; overflow: visible; }
  .nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image:only-child { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
}

/* Colonna d'acquisto */
.nx-pantry.single-product div.summary .nx-crumbs { font-size: .82rem; margin: 0 0 .9rem; }
.nx-pantry.single-product div.product .product_title { font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: 1.05; text-wrap: balance; }

.nx-pantry.single-product div.product form.cart .quantity.nxp-qty { display: inline-flex; align-items: center; flex: none; min-height: 3.25rem; padding: 0 .25rem; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 25%, transparent); background: #fff; }
.nx-pantry.single-product div.product form.cart .quantity.nxp-qty .qty { width: 2.6rem; min-height: 0; padding: 0; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.nxp-qty .qty::-webkit-outer-spin-button, .nxp-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nxp-qty button { width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: transparent; color: var(--nxp-ink); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background-color .2s ease, transform .2s var(--nxp-pop); }
.nxp-qty button:hover { background: var(--nxp-4); } .nxp-qty button:active { transform: scale(.9); }
.nxp-pnotes { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .5rem; }
.nxp-pnotes li { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; color: var(--nxp-ink); }
.nxp-pnotes__i { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 12px; background: var(--nxp-2); color: var(--nxp-deep); }
.nx-pantry.single-product .nxp-pnotes a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.nxp-pabout { margin: 1.4rem 0 .4rem; }
.nx-pantry.single-product .nxp-pabout__t { margin: 0 0 .5rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--nxp-ink); }
.nxp-pabout .woocommerce-product-details__short-description > :first-child { margin-top: 0; }
.nx-pantry.single-product div.product > .woocommerce-tabs { margin: 1.2rem 0 0; }
.nx-pantry.single-product div.product > .woocommerce-tabs ul.tabs { flex-wrap: nowrap; gap: .2rem; margin: 0 0 .7rem; padding: .3rem; border-radius: 999px; background: var(--nxp-4); overflow-x: auto; scrollbar-width: none; }
.nx-pantry.single-product div.product > .woocommerce-tabs ul.tabs li { flex: none; margin: 0; padding: 0; border: 0; background: none; }
.nx-pantry.single-product div.product > .woocommerce-tabs ul.tabs li a { display: block; padding: .5rem 1rem; background: transparent; white-space: nowrap; font-size: .92rem; }
.nx-pantry.single-product div.product > .woocommerce-tabs ul.tabs li.active a { background: var(--nxp-deep); color: #fff; }
.nx-pantry.single-product div.product > .woocommerce-tabs .woocommerce-Tabs-panel { max-width: none; margin: 0; padding: 1.2rem 1.3rem; border-radius: var(--nxp-r-s); border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 16%, transparent); background: #fff; font-size: .95rem; }
.nx-pantry.single-product div.product > .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child { display: none; }
.nx-pantry.single-product div.product > .woocommerce-tabs .woocommerce-Tabs-panel > :last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .nx-pantry.single-product .nxp-gscene img { animation: none; } }
/* Le foto dopo la prima hanno spesso lo sfondo bianco: sul riquadro colorato il bianco si fonde con il colore */
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image:not(:first-child):not(.nxp-gscene) img { mix-blend-mode: multiply; filter: none; }

/* Scheda: a sinistra galleria e, sotto, le linguette con la descrizione; a destra la colonna d'acquisto per tutta l'altezza */
@media (min-width: 900px) {
  .nx-pantry.single-product div.product { grid-template-rows: auto 1fr; }
  .nx-pantry.single-product div.product > div.images { grid-column: 1; grid-row: 1; }
  .nx-pantry.single-product div.product > div.summary { grid-column: 2; grid-row: 1 / span 2; }
  .nx-pantry.single-product div.product > .woocommerce-tabs { grid-column: 1; grid-row: 2; margin: 0; align-self: start; }
}
.nx-pantry.single-product div.product > .woocommerce-tabs ul.tabs { width: fit-content; max-width: 100%; }
.nx-pantry.single-product div.product > .woocommerce-tabs .woocommerce-Tabs-panel { padding: clamp(1.2rem, 2.4vw, 2rem); }
.nx-pantry.single-product div.product > .woocommerce-tabs .woocommerce-Tabs-panel :is(h2, h3) { font-size: 1.15rem; margin: 1.2em 0 .4em; }

/* Unità di vendita e prezzo in arrivo */
.nxp-per { font-size: .62em; font-weight: 600; opacity: .75; white-space: nowrap; }
.nxp-soon { display: inline-block; padding: .25rem .8rem; border-radius: 999px; background: var(--nxp-3, #ffd49e); color: var(--nxp-ink, inherit); font-size: .95rem; font-weight: 700; }
.nx-pantry.single-product .nxp-pchip--unit { background: var(--nxp-2); border-color: transparent; }

/* Formati: una scheda per formato, poi la tabella «conviene di più» */
.nxp-fmt { margin: 1rem 0 0; }
.nxp-fmt__t { margin: 0 0 .5rem; font-weight: 700; font-size: .95rem; color: var(--nxp-ink); }
.nxp-fmt__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.2rem, 1fr)); gap: .6rem; }
.nx-pantry.single-product a.nxp-fmt__c { position: relative; display: grid; gap: .15rem; justify-items: center; padding: .85rem .6rem; border-radius: 16px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 18%, transparent); background: #fff; color: var(--nxp-ink); text-align: center; text-decoration: none; transition: transform .3s var(--nxp-pop), border-color .2s ease; }
.nx-pantry.single-product a.nxp-fmt__c:hover { transform: translateY(-3px); border-color: var(--nxp-deep); }
.nx-pantry.single-product a.nxp-fmt__c.is-on { border: 2.5px solid var(--nxp-deep); background: var(--nxp-4); box-shadow: 0 6px 0 -2px color-mix(in oklab, var(--nxp-deep) 18%, transparent); }
.nxp-fmt__c b { font-size: 1rem; } .nxp-fmt__c small { font-size: .8rem; opacity: .8; }
.nxp-fmt__c em, .nxp-fmt__val em { font-style: normal; font-weight: 700; font-size: .74rem; padding: .1rem .5rem; border-radius: 999px; background: var(--nxp-accent, #fc8400); color: #1a1a1a; }
.nxp-fmt__c em { position: absolute; top: -.6rem; right: .6rem; }
.nxp-fmt__val { margin: .8rem 0 0; padding: .9rem; border-radius: var(--nxp-r-s); background: var(--nxp-4); border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 14%, transparent); }
.nxp-fmt__val p { margin: 0 0 .5rem; font-weight: 700; }
.nxp-fmt__val ul { list-style: none; margin: 0; padding: 0; }
.nx-pantry.single-product .nxp-fmt__val li a { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: .9rem; padding: .55rem .7rem; border-radius: 12px; border: 2px solid transparent; color: var(--nxp-ink); text-decoration: none; }
.nxp-fmt__val li + li a { border-top: 1px dashed color-mix(in oklab, var(--nxp-deep) 22%, transparent); border-radius: 0; }
.nx-pantry.single-product .nxp-fmt__val li.is-on a { border: 2px solid var(--nxp-deep); border-radius: 12px; background: #fff; }
.nxp-fmt__val small { opacity: .8; }

/* Prodotti simili: schede un po' storte, che si raddrizzano e si alzano quando le tocchi */
.nx-pantry.single-product :is(.related, .upsells) > h2 { text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.03em; margin-bottom: 1.6rem; }
.nx-pantry ul.products { padding-block: .8rem 1.6rem; }
.nx-pantry ul.products li.product { padding: .8rem .8rem 1.1rem; border-radius: var(--nxp-r); background: #fff; text-align: center; box-shadow: 0 18px 34px -14px color-mix(in oklab, var(--nxp-deep) 30%, transparent), 0 2px 6px color-mix(in oklab, var(--nxp-deep) 8%, transparent); transform: rotate(var(--nxp-tilt, -1.2deg)) translateY(var(--nxp-dy, 0)); transition: transform .5s var(--nxp-pop), box-shadow .3s ease; }
.nx-pantry ul.products li.product:nth-child(4n + 2) { --nxp-tilt: 1.1deg; --nxp-dy: -8px; }
.nx-pantry ul.products li.product:nth-child(4n + 3) { --nxp-tilt: -.7deg; --nxp-dy: 4px; }
.nx-pantry ul.products li.product:nth-child(4n) { --nxp-tilt: 1.5deg; }
.nx-pantry ul.products li.product:is(:hover, :focus-within) { transform: rotate(0) translateY(-10px) scale(1.02); box-shadow: 0 28px 44px -16px color-mix(in oklab, var(--nxp-deep) 38%, transparent); z-index: 2; }
.nx-pantry ul.products li.product a img { border-radius: 20px; background: var(--nxp-4); object-fit: contain; }
.nx-pantry ul.products li.product .price { font-weight: 800; color: var(--nxp-ink); }
.nx-pantry ul.products li.product .button { border-radius: 999px; background: var(--nxp-deep); border-color: var(--nxp-deep); color: #fff; font-weight: 700; text-align: center; justify-content: center; }
/* stesso gesto sugli scaffali della prima pagina */
.nxp-shelf .nxp-card { transform: rotate(var(--nxp-tilt, -.9deg)); }
.nxp-shelf .nxp-card:nth-child(3n + 2) { --nxp-tilt: 1deg; } .nxp-shelf .nxp-card:nth-child(3n) { --nxp-tilt: -.4deg; }
.nxp-shelf .nxp-card:is(:hover, :focus-within) { transform: rotate(0) translateY(-8px) scale(1.02); z-index: 2; }
@media (prefers-reduced-motion: reduce) { .nx-pantry ul.products li.product, .nxp-shelf .nxp-card { transform: none; transition: none; } }
.nxp-shelf .nxp-card.is-in { animation-fill-mode: backwards; }
.nx-pantry.single-product div.product > .woocommerce-tabs { min-width: 0; }
.nx-pantry.single-product div.product > .woocommerce-tabs .woocommerce-Tabs-panel { min-width: 0; overflow-x: clip; overflow-wrap: anywhere; }
.nx-pantry.single-product div.product > .woocommerce-tabs .woocommerce-Tabs-panel :is(img, table, iframe) { max-width: 100%; height: auto; }
.nx-pantry.single-product :is(.related, .upsells) { overflow-x: clip; overflow-y: visible; padding-inline: .4rem; }

/* ===== Negozio e categorie ===== */
.nx-pantry:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag) { background: var(--nxp-bg, #fffdfa); }
.nxp-ahead { position: relative; display: grid; gap: 1.5rem; margin: 1rem 0 1.6rem; padding: clamp(1.4rem, 3.4vw, 3.2rem); border-radius: var(--nxp-r); background: var(--nxp-c, var(--nxp-2)); color: var(--nxp-ink); overflow: hidden; }
@media (min-width: 980px) { .nxp-ahead--figs { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; } }
.nxp-ahead__n { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .45rem 1rem; border-radius: 999px; background: color-mix(in oklab, #fff 70%, transparent); font-weight: 700; font-size: .92rem; }
.nx-pantry .nxp-ahead__h { margin: 0; font-family: var(--nx-font-display, inherit); font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.035em; font-weight: 800; color: var(--nxp-ink); text-wrap: balance; }
.nxp-ahead__d { max-width: 38rem; margin: .9rem 0 0; font-size: 1.05rem; } .nxp-ahead__d p { margin: 0 0 .4em; }
.nxp-ahead__cats, .nxp-ahead__subs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; }
.nx-pantry a.nxp-acat { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: .3rem 1.1rem; border-radius: 999px; background: color-mix(in oklab, #fff 62%, transparent); color: var(--nxp-ink); font-weight: 700; text-decoration: none; transition: transform .3s var(--nxp-pop), background-color .2s ease; }
.nx-pantry a.nxp-acat:hover { transform: translateY(-2px); background: #fff; }
.nx-pantry a.nxp-acat.is-on { background: var(--nxp-deep); color: #fff; }
.nxp-acat img { width: 2rem; height: 2rem; margin-left: -.6rem; border-radius: 50%; object-fit: cover; background: #fff; }
.nxp-ahead__l { margin: 1.5rem 0 0; font-weight: 700; font-size: .95rem; }
.nxp-ahead__subs { margin-top: .6rem; }
.nx-pantry a.nxp-asub { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border-radius: 999px; border: 1.5px dashed color-mix(in oklab, var(--nxp-deep) 45%, transparent); background: color-mix(in oklab, #fff 80%, transparent); color: var(--nxp-ink); font-weight: 700; font-size: .92rem; text-decoration: none; transition: transform .3s var(--nxp-pop), border-color .2s ease; }
.nx-pantry a.nxp-asub:hover { transform: translateY(-2px) rotate(-1deg); border-style: solid; }
.nx-pantry a.nxp-asub.is-on { background: var(--nxp-deep); border-color: var(--nxp-deep); border-style: solid; color: #fff; }
.nxp-asub small { font-weight: 600; opacity: .6; }
.nxp-ahead__figs { position: relative; display: none; min-height: 19rem; }
@media (min-width: 980px) { .nxp-ahead__figs { display: block; } }
.nxp-ahead__figs::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(86%, 21rem); aspect-ratio: 1; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; background: var(--nxp-3); transform: translate(-50%, -50%); }
.nxp-afig { position: absolute; width: auto; object-fit: contain; filter: var(--nxp-stk); animation: nxp-bob 6s ease-in-out infinite; }
.nxp-afig--0 { left: 50%; top: 50%; max-width: 46%; max-height: 82%; margin: -8.4rem 0 0 -5.4rem; --tilt: 3deg; z-index: 2; }
.nxp-afig--1 { left: 4%; bottom: 4%; max-width: 30%; max-height: 50%; --tilt: -8deg; animation-duration: 7s; animation-delay: -2s; }
.nxp-afig--2 { right: 2%; top: 2%; max-width: 30%; max-height: 48%; --tilt: 9deg; animation-duration: 6.6s; animation-delay: -3.4s; }
.nxp-afig--3 { right: 8%; bottom: 0; max-width: 24%; max-height: 40%; --tilt: -4deg; animation-duration: 7.4s; animation-delay: -1s; z-index: 3; }
/* Riga sopra le schede: conteggio a sinistra, ordinamento a pillola a destra */
.nx-pantry .woocommerce-result-count.nxp-acount { float: none; display: inline-flex; align-items: center; min-height: 3.2rem; margin: 0 0 1.4rem; padding: 0 1.3rem; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 16%, transparent); background: #fff; color: var(--nxp-ink); font-weight: 700; }
.nxp-acount span { margin-left: .4rem; font-weight: 500; opacity: .65; }
.nx-pantry:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag) .woocommerce-ordering { float: right; margin: 0 0 1.4rem; }
.nx-pantry:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag) .woocommerce-ordering select { min-height: 3.2rem; padding: 0 2.6rem 0 1.3rem; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 16%, transparent); background-color: #fff; color: var(--nxp-ink); font: inherit; font-weight: 700; }
.nx-pantry:is(.post-type-archive-product, .tax-product_cat, .tax-product_tag, .nxp-vendor) ul.products { clear: both; gap: clamp(1rem, 2vw, 1.8rem); padding-block: .6rem 2rem; }
/* Schede: riquadro della foto con il bordo tratteggiato, nome e prezzo al centro */
.nx-pantry ul.products li.product a img { aspect-ratio: 1; outline: 2px dashed color-mix(in oklab, var(--nxp-deep) 34%, transparent); outline-offset: -2px; transition: transform .5s var(--nxp-ease); }
.nx-pantry ul.products li.product .woocommerce-loop-product__title { font-size: 1.05rem; text-wrap: balance; }
.nx-pantry ul.products li.product .price { margin-bottom: .8rem; }
.nx-pantry ul.products li.product .price .nxp-soon { font-size: .82rem; }
.nx-pantry ul.products li.product .price .nxp-per { display: block; margin-top: .3rem; font-size: .78rem; }
.nx-pantry ul.products li.product .button:not(.add_to_cart_button) { background: transparent; color: var(--nxp-ink); border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 30%, transparent); }
.nx-pantry .woocommerce-pagination ul li :is(a, span) { min-width: 2.8rem; min-height: 2.8rem; display: inline-grid; place-items: center; font-weight: 700; background: #fff; }
.nx-pantry .woocommerce-pagination ul li span.current { background: var(--nxp-deep); border-color: var(--nxp-deep); color: #fff; }
@media (prefers-reduced-motion: reduce) { .nxp-afig { animation: none; } }
@media (min-width: 900px) { .nxp-ahead { margin-top: -2rem; } }

/* Formati a peso: le schede sono pulsanti, la riga della tabella si può toccare */
.nx-pantry.single-product button.nxp-fmt__c { position: relative; display: grid; gap: .15rem; justify-items: center; padding: .85rem .6rem; border-radius: 16px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 18%, transparent); background: #fff; color: var(--nxp-ink); font: inherit; text-align: center; cursor: pointer; transition: transform .3s var(--nxp-pop), border-color .2s ease; }
.nx-pantry.single-product button.nxp-fmt__c:hover { transform: translateY(-3px); border-color: var(--nxp-deep); }
.nx-pantry.single-product button.nxp-fmt__c.is-on { border: 2.5px solid var(--nxp-deep); background: var(--nxp-4); box-shadow: 0 6px 0 -2px color-mix(in oklab, var(--nxp-deep) 18%, transparent); }
.nx-pantry.single-product .nxp-fmt__val li button { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: .9rem; width: 100%; padding: .55rem .7rem; border: 2px solid transparent; border-radius: 12px; background: transparent; color: var(--nxp-ink); font: inherit; text-align: left; cursor: pointer; }
.nxp-fmt__val li + li button { border-top: 1px dashed color-mix(in oklab, var(--nxp-deep) 22%, transparent); border-radius: 0; }
.nx-pantry.single-product .nxp-fmt__val li.is-on button { border: 2px solid var(--nxp-deep); border-radius: 12px; background: #fff; }
.nxp-per--kg { display: inline-block; margin-left: .5rem; font-size: .5em; } .nxp-per--kg .nxp-per { font-size: 1em; }

/* ===== Scheda prodotto più compatta ===== */
@media (min-width: 900px) { .nx-pantry.single-product .nx-main { padding-top: 1.4rem; } .nx-pantry.single-product div.product { gap: clamp(1.4rem, 2.6vw, 3rem); } }
.nx-pantry.single-product div.product div.images .nxp-nophoto { grid-column: 1 / -1; flex-basis: 100%; aspect-ratio: 16 / 10; display: grid; place-content: center; justify-items: center; gap: .8rem; border-radius: var(--nxp-r); background: var(--nxp-4); color: var(--nxp-ink); box-shadow: none; }
.nx-pantry.single-product .nxp-nophoto .nxp-olive { width: clamp(5rem, 10vw, 8rem); height: auto; animation: nxp-bob 6s ease-in-out infinite; --tilt: -4deg; }
.nx-pantry.single-product .nxp-nophoto p { margin: 0; padding: .35rem 1rem; border-radius: 999px; background: #fff; font-weight: 700; font-size: .9rem; }
.nx-pantry.single-product div.product div.images .woocommerce-product-gallery__image--placeholder { box-shadow: none; }
.nx-pantry.single-product div.product .product_title { margin-bottom: .25rem; }
.nx-pantry.single-product div.product p.price { margin: 0 0 .2rem; }
.nx-pantry.single-product div.product form.cart { margin: .9rem 0 .8rem; }
.nxp-fmt { margin: .8rem 0 0; } .nxp-fmt + .nxp-pnotes, .nxp-fmt + form.cart { margin-top: .9rem; }
.nxp-pnotes { margin-top: .2rem; }
.nxp-pbox { margin-bottom: .7rem; padding: .9rem; }
.nxp-pfacts > div { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; }
.nxp-pfacts > div > span:last-child { display: grid; min-width: 0; }
.nxp-pfacts__i { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 12px; background: var(--nxp-4); color: var(--nxp-deep); }
.nxp-pguar { margin-bottom: .7rem; padding: .8rem 1rem; } .nxp-pguar .nxp-seal { width: 4.2rem; }
.nxp-pabout { margin-top: 1.1rem; }
.nxp-pinfo { margin: .9rem 0 1rem; }
.nxp-pinfo__tabs { display: flex; gap: .2rem; width: fit-content; max-width: 100%; margin: 0 0 .6rem; padding: .3rem; border-radius: 999px; background: var(--nxp-4); overflow-x: auto; scrollbar-width: none; }
.nxp-pinfo__tabs button { flex: none; padding: .5rem 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--nxp-ink); font: inherit; font-weight: 700; font-size: .92rem; white-space: nowrap; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.nxp-pinfo__tabs button[aria-selected="true"] { background: var(--nxp-deep); color: #fff; }
.nxp-pinfo__p { padding: 1.1rem 1.2rem; border-radius: var(--nxp-r-s); border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 16%, transparent); background: #fff; font-size: .95rem; animation: nxp-rise .35s var(--nxp-ease) both; }
.nxp-pinfo__p > :first-child { margin-top: 0; } .nxp-pinfo__p > :last-child { margin-bottom: 0; }
.nxp-pinfo__steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.nx-pantry.single-product .nxp-reviewbtn { margin-top: .8rem; padding: .7rem 1.4rem; cursor: pointer; }
.nx-pantry.single-product div.product > .woocommerce-tabs #reviews #comments > h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.nx-pantry.single-product .product_meta { font-size: .9rem; opacity: .85; }
@media (prefers-reduced-motion: reduce) { .nxp-nophoto .nxp-olive, .nxp-pinfo__p { animation: none; } }

/* ===== Pagine informative (chi siamo, consegna, resi) e blog ===== */
.nxp-page { padding-block: 1rem clamp(2rem, 5vw, 4rem); }
.nxp-page .nxp-ahead { margin-top: 0; }
.nxp-page .nxp-ahead__h { max-width: 18ch; }
.nxp-ahead__pill { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .45rem 1rem; border-radius: 999px; background: color-mix(in oklab, #fff 70%, transparent); font-weight: 700; font-size: .92rem; }
.nxp-page .nxp-sec { padding-block: clamp(1.8rem, 4.5vw, 3.6rem) 0; }
.nxp-page .nxp-head h2 { font-size: clamp(1.9rem, 4.8vw, 3.4rem); }
.nxp-page .nxp-head { max-width: 46rem; }
/* riquadri con l'icona tonda, il titolo e il testo o l'elenco con la spunta */
.nxp-info { display: grid; gap: 1rem; }
@media (min-width: 760px) { .nxp-info { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nxp-info--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nxp-info__c { display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.2rem, 2.4vw, 2rem); border-radius: var(--nxp-r); background: var(--nxp-c, var(--nxp-4)); color: var(--nxp-ink); transition: transform .4s var(--nxp-pop), box-shadow .3s ease; }
.nxp-info__c:hover { transform: translateY(-4px); box-shadow: 0 22px 34px -20px color-mix(in oklab, var(--nxp-deep) 40%, transparent); }
.nxp-info__c--dark { background: var(--nxp-deep); color: #fff; }
.nx-pantry .nxp .nxp-info__c--dark :is(h3, a) { color: #fff; }
.nx-pantry .nxp .nxp-info__c h3 { font-family: var(--nx-font-display, inherit); font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.02em; margin: .6rem 0 0; }
.nxp-info__c p { margin: 0; }
.nxp-info__c > a:last-child, .nxp-info__c p:last-child > a:only-child { margin-top: auto; padding-top: .8rem; font-weight: 800; text-decoration: none; }
.nxp-info__c > a:last-child::after { content: " →"; }
.nxp-ico { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #fff; color: var(--nxp-deep); }
.nxp-tone-4 .nxp-ico, .nxp-info__c--dark .nxp-ico { background: var(--nxp-3); }
.nxp-ico::before { content: ""; width: 1.5rem; height: 1.5rem; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.nxp-ico--heart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.400-7-10a4 4 0 0 1 7-2.600A4 4 0 0 1 19 10c0 5.600-7 10-7 10z'/%3E%3C/svg%3E"); }
.nxp-ico--truck { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7.500' cy='17.500' r='1.800'/%3E%3Ccircle cx='17.500' cy='17.500' r='1.800'/%3E%3C/svg%3E"); }
.nxp-ico--box { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8l8-4 8 4v8l-8 4-8-4zM4 8l8 4 8-4M12 12v8'/%3E%3C/svg%3E"); }
.nxp-ico--clock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.500'/%3E%3Cpath d='M12 7.500V12l3 2'/%3E%3C/svg%3E"); }
.nxp-ico--shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.500 8-7 10-3.500-2-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.nxp-ico--mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.nxp-ico--pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.500-5.600-6.500-10.500a6.500 6.500 0 0 1 13 0C18.500 15.400 12 21 12 21z'/%3E%3Ccircle cx='12' cy='10.500' r='2'/%3E%3C/svg%3E"); }
.nxp-ico--bulb { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M8.500 14.500a6 6 0 1 1 7 0c-.700.600-1 1.300-1 2h-5c0-.700-.300-1.400-1-2z'/%3E%3C/svg%3E"); }
.nxp-ico--leaf { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-9 5-14 14-14 0 9-5 14-14 14zM5 19l8-8'/%3E%3C/svg%3E"); }
.nxp-ico--hand { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15h4l5 2h5a2 2 0 0 0 0-4h-4M7 15v5h10l4-4'/%3E%3Cpath d='M15 9s-3-1.800-3-4a1.700 1.700 0 0 1 3-1 1.700 1.700 0 0 1 3 1c0 2.200-3 4-3 4z'/%3E%3C/svg%3E"); }
.nxp-check { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .5rem; }
.nxp-check li { position: relative; padding-left: 1.9rem; }
.nxp-check li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.500 12.500l2.500 2.500 4.500-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.500 12.500l2.500 2.500 4.500-5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* dal tuo ordine alla tua porta: passi numerati uniti da una riga tratteggiata */
.nxp-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem 1rem; counter-reset: nxpf; }
@media (min-width: 860px) { .nxp-flow { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.nxp-flow li { counter-increment: nxpf; position: relative; padding: 2rem 1.3rem 1.3rem; border-radius: var(--nxp-r-s); background: var(--nxp-2); }
.nxp-flow li::before { content: counter(nxpf); position: absolute; left: 1.1rem; top: -.9rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--nxp-deep); color: #fff; font-weight: 800; z-index: 1; }
@media (min-width: 860px) { .nxp-flow li + li::after { content: ""; position: absolute; right: 100%; top: .15rem; width: 1rem; border-top: 2px dashed color-mix(in oklab, var(--nxp-deep) 45%, transparent); } }
.nx-pantry .nxp .nxp-flow h3 { font-family: var(--nx-font-display, inherit); font-size: 1.25rem; margin: 0 0 .4rem; }
.nxp-flow p { margin: 0; font-size: .95rem; }
.nxp-flow small { display: inline-block; margin-top: .7rem; padding: .2rem .75rem; border-radius: 999px; background: #fff; font-weight: 700; font-size: .82rem; }
.nxp-note { display: flex; justify-content: center; gap: .5rem; margin: 1.2rem auto 0; max-width: 46rem; text-align: center; font-size: .92rem; opacity: .85; }
.nxp-page .nxp-ahead__figs { min-height: 17rem; }
/* blog: schede come quelle dei prodotti */
.nx-pantry:is(.blog, .category, .tag) .nx-main { padding-top: 1rem; background: var(--nxp-bg, #fffdfa); }
.nx-pantry:is(.blog, .category, .tag, .single-post) .nx-grid { gap: clamp(1rem, 2vw, 1.8rem); padding-block: .6rem 2rem; }
.nx-pantry:is(.blog, .category, .tag, .single-post) .nx-card { border-radius: var(--nxp-r); background: #fff; padding: .8rem .8rem 1.2rem; box-shadow: 0 18px 34px -14px color-mix(in oklab, var(--nxp-deep) 30%, transparent), 0 2px 6px color-mix(in oklab, var(--nxp-deep) 8%, transparent); transform: rotate(var(--nxp-tilt, -1deg)); transition: transform .5s var(--nxp-pop), box-shadow .3s ease; }
.nx-pantry:is(.blog, .category, .tag, .single-post) .nx-card:nth-child(3n + 2) { --nxp-tilt: 1deg; } .nx-pantry:is(.blog, .category, .tag, .single-post) .nx-card:nth-child(3n) { --nxp-tilt: -.5deg; }
.nx-pantry:is(.blog, .category, .tag, .single-post) .nx-card:is(:hover, :focus-within) { transform: rotate(0) translateY(-8px) scale(1.02); }
.nx-pantry:is(.blog, .category, .tag, .single-post) .nx-card__media img { border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; outline: 2px dashed color-mix(in oklab, var(--nxp-deep) 34%, transparent); outline-offset: -2px; }
.nx-pantry:is(.blog, .category, .tag, .single-post) .nx-card__title { font-size: 1.25rem; letter-spacing: -.02em; }
.nx-pantry:is(.blog, .category, .tag, .single-post) .nx-card__title a { color: var(--nxp-ink, inherit); text-decoration: none; }
.nx-pantry:is(.blog, .category, .tag, .single-post) .nx-card__meta { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: var(--nxp-4); font-size: .8rem; font-weight: 700; }
.nx-pantry.single-post .nx-main { background: var(--nxp-bg, #fffdfa); }
.nx-pantry.single-post .entry-title, .nx-pantry.single-post h1 { letter-spacing: -.03em; color: var(--nxp-ink, inherit); }
.nx-pantry.single-post .wp-post-image { border-radius: var(--nxp-r); }
@media (prefers-reduced-motion: reduce) { .nx-pantry:is(.blog, .category, .tag, .single-post) .nx-card, .nxp-info__c { transform: none; transition: none; } }

/* ===== Articolo del blog, ricette e video ===== */
.nx-pantry.single-post .nx-main { padding-top: 1.2rem; }
.nx-pantry.single-post .nx-article__head { max-width: 62rem; text-align: center; margin-inline: auto; }
.nx-pantry.single-post .nx-article__head .nx-title { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.02; text-wrap: balance; margin-inline: auto; max-width: 22ch; }
.nx-pantry.single-post .nx-article__head .nx-card__meta { display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: var(--nxp-4); font-weight: 700; font-size: .85rem; }
.nx-pantry.single-post .nx-article__media { max-width: 68rem; margin-block: 1.4rem 2rem; }
.nx-pantry.single-post .nx-article__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--nxp-r); }
.nx-pantry.single-post .nx-prose { font-size: 1.05rem; }
.nx-pantry.single-post .nx-prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; color: var(--nxp-ink); margin-top: 2em; }
.nxp-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--nxp-r, 28px); overflow: hidden; background: var(--nxp-deep, #005c68); }
.nxp-video :is(img, video, iframe) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.nx-pantry.single-post .nx-article__media .nxp-video img { border-radius: 0; }
.nxp-video__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .35)); cursor: pointer; }
.nxp-video__play span:first-child, .nxp-playbadge { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); transition: transform .35s var(--nxp-pop, ease); }
.nxp-video__play span:first-child::before, .nxp-playbadge::before, .nxp-playdot::before { content: ""; width: 0; height: 0; margin-left: .3rem; border-style: solid; border-width: .85rem 0 .85rem 1.35rem; border-color: transparent transparent transparent var(--nxp-deep, #005c68); }
.nxp-video__play:hover span:first-child { transform: scale(1.1); }
.nx-card__media { position: relative; display: block; }
.nxp-playbadge { position: absolute; left: 50%; top: 50%; width: 3.6rem; height: 3.6rem; transform: translate(-50%, -50%); pointer-events: none; }
.nxp-playbadge::before { border-width: .6rem 0 .6rem .95rem; margin-left: .2rem; }
.nxp-playdot { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-left: -.3rem; border-radius: 50%; background: var(--nxp-3); }
.nxp-playdot::before { border-width: .3rem 0 .3rem .5rem; margin-left: .1rem; }
.nxp-acat.is-on .nxp-playdot { background: #fff; }
/* ricetta: dati in breve, ingredienti, passi numerati, prodotti del negozio */
.nxp-recipe__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; padding: 0; }
.nxp-recipe__facts li { padding: .45rem 1rem; border-radius: 999px; background: var(--nxp-4); font-weight: 700; font-size: .92rem; }
.nxp-recipe__facts b { opacity: .65; font-weight: 600; margin-right: .3rem; }
.nx-prose .nxp-pbox { margin-block: 1.4rem; padding: clamp(1.1rem, 2.4vw, 1.8rem); border-radius: var(--nxp-r); }
.nx-prose .nxp-pbox--warm { background: var(--nxp-1); }
.nx-prose .nxp-check { padding-left: 0; }
.nxp-rsteps { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: 1rem; counter-reset: nxpr; }
.nxp-rsteps li { counter-increment: nxpr; position: relative; padding: 1.1rem 1.2rem 1.1rem 4.2rem; border-radius: var(--nxp-r-s); background: #fff; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 14%, transparent); }
.nxp-rsteps li::before { content: counter(nxpr); position: absolute; left: 1.1rem; top: 1rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--nxp-deep); color: #fff; font-weight: 800; }
.nxp-rsteps b { display: block; font-size: 1.08rem; color: var(--nxp-ink); }
.nxp-rshop { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .4rem; }
.nxp-rshop li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .6rem .6rem 1rem; border-radius: 14px; background: #fff; font-weight: 700; }
.nx-pantry .nx-prose .nxp-rshop a { flex: none; padding: .45rem 1rem; border-radius: 999px; background: var(--nxp-deep); color: #fff; font-size: .9rem; text-decoration: none; }
@media (min-width: 900px) { .nx-pantry:is(.blog, .category, .tag) .nxp-ahead { margin-top: 0; } }

/* Articolo: pannello in cima, come il resto del sito */
.nx-pantry.single-post .nxp-phead { margin: 0 0 clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 980px) { .nx-pantry.single-post .nxp-phead.nxp-ahead--figs { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); } }
.nxp-phead__top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.1rem; }
.nxp-phead__top .nxp-ahead__pill { margin: 0; }
.nx-pantry a.nxp-ahead__pill, .nx-pantry a.nxp-phead__back { color: var(--nxp-ink); text-decoration: none; transition: transform .3s var(--nxp-pop), background-color .2s ease; }
.nx-pantry a.nxp-ahead__pill:hover { background: #fff; transform: translateY(-2px); }
.nx-pantry a.nxp-phead__back { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: 999px; border: 1.5px dashed color-mix(in oklab, var(--nxp-deep) 45%, transparent); font-weight: 700; font-size: .92rem; }
.nx-pantry a.nxp-phead__back:hover { border-style: solid; transform: translateX(-3px); }
.nx-pantry.single-post .nxp-phead .nxp-ahead__h { font-size: clamp(2rem, 4.4vw, 3.9rem); max-width: 16ch; }
.nx-pantry.single-post .nxp-phead .nxp-ahead__d { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 34rem; }
.nxp-phead__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 0; padding: 0; }
.nxp-phead__meta li { padding: .35rem .9rem; border-radius: 999px; background: color-mix(in oklab, #fff 62%, transparent); font-weight: 700; font-size: .85rem; }
.nxp-phead__media { position: relative; }
.nxp-phead__media > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--nxp-r); border: 6px solid #fff; box-shadow: 0 26px 40px -18px color-mix(in oklab, var(--nxp-deep) 55%, transparent); transform: rotate(2deg); transition: transform .5s var(--nxp-pop); }
.nxp-phead__media > img:hover { transform: rotate(0) scale(1.02); }
.nxp-phead__media--video .nxp-video { border: 6px solid #fff; box-shadow: 0 26px 40px -18px color-mix(in oklab, var(--nxp-deep) 55%, transparent); transform: rotate(1.5deg); transition: transform .5s var(--nxp-pop); }
.nxp-phead__media--video .nxp-video:is(:hover, .is-playing, :focus-within) { transform: none; }

@media (prefers-reduced-motion: reduce) { .nxp-phead__media > img, .nxp-phead__media--video .nxp-video { transform: none; transition: none; } }

/* ===== Articolo largo: ricetta a due colonne ===== */
.nx-pantry.single-post .nx-article > .nx-prose { width: min(100% - 2 * var(--nx-gutter), var(--nx-wrap)); max-width: none; margin-inline: auto; padding-inline: 0; }
.nxp-rpost { max-width: 60rem; margin-inline: auto; }
.nxp-rbar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.nx-pantry .nxp-rbar__b { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.8rem; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 18%, transparent); background: #fff; color: var(--nxp-ink); font: inherit; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; transition: transform .3s var(--nxp-pop), border-color .2s ease; }
.nx-pantry .nxp-rbar__b:hover { transform: translateY(-2px); border-color: var(--nxp-deep); }
.nxp-rbar__b b { padding: 0 .45rem; border-radius: 999px; background: var(--nxp-3); font-size: .8rem; }
.nxp-rgrid { display: grid; gap: clamp(1.5rem, 3vw, 3.5rem); }
@media (min-width: 980px) { .nxp-rgrid { grid-template-columns: minmax(0, 1fr) minmax(19rem, 27rem); align-items: start; } .nxp-rside { position: sticky; top: 6.5rem; order: 2; } }
@media (max-width: 979px) { .nxp-rside { order: -1; } .nxp-rgrid { display: flex; flex-direction: column; } .nxp-rmain .nxp-rbar { display: none; } }
.nxp-rmain { font-size: 1.08rem; }
.nxp-rmain > p { max-width: 46rem; }
.nx-pantry.single-post .nxp-rmain h2, .nx-pantry.single-post .nxp-ring h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; color: var(--nxp-ink); margin: 1.6em 0 .7em; }
.nxp-rside .nxp-recipe__facts { margin-bottom: .9rem; }
.nxp-ring { padding: clamp(1.2rem, 2.2vw, 1.8rem); border-radius: var(--nxp-r); background: var(--nxp-1); color: var(--nxp-ink); }
.nx-pantry.single-post .nxp-ring h2 { margin: 0 0 .8rem; font-size: 1.5rem; }
.nxp-ring__g { margin: 1.1rem 0 .5rem; padding-bottom: .4rem; border-bottom: 1.5px dashed color-mix(in oklab, var(--nxp-deep) 30%, transparent); font-weight: 800; font-size: .85rem; letter-spacing: .02em; }
.nxp-ring .nxp-check { margin: 0; padding: 0; font-size: 1rem; }
.nx-pantry .nxp-ring .nxp-check a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.nx-pantry .nxp-ring .nxp-ring__all { display: flex; justify-content: center; width: 100%; margin-top: 1.2rem; text-align: center; cursor: pointer; }
.nxp-rnotes { background: transparent; overflow: visible; margin-top: 2rem; }
.nxp-rbelow { background: transparent; overflow: visible; margin-top: clamp(2.4rem, 6vw, 4.5rem); }
.nxp-rprods { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .9rem; }
.nx-pantry .nxp a.nxp-rprod { display: grid; grid-template-columns: 5rem 1fr; align-items: center; gap: .9rem; padding: .6rem; border-radius: var(--nxp-r-s); background: #fff; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 12%, transparent); color: var(--nxp-ink); text-decoration: none; transition: transform .35s var(--nxp-pop), box-shadow .3s ease; }
.nx-pantry .nxp a.nxp-rprod:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 18px 28px -18px color-mix(in oklab, var(--nxp-deep) 45%, transparent); }
.nxp-rprod img { width: 5rem; height: 5rem; object-fit: contain; border-radius: 14px; background: var(--nxp-4); }
.nxp-rprod span { display: grid; gap: .2rem; min-width: 0; } .nxp-rprod small { font-size: .85rem; }
.nx-pantry.single-post .nxp-rrel .nx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.nxp-rrel__all { text-align: center; margin: 1.4rem 0 0; }
.nx-pantry.single-post .nxp-rrel .nx-card__title { margin: .5rem 0 0; }
@media print { .nx-header, .nxp-top, .nxp-foot, .nxp-rbar, .nxp-rbelow, .nxp-helper, .nx-totop, .nxp-ring__all, #comments, #respond { display: none !important; } .nxp-rgrid { display: block; } .nxp-phead { background: none !important; } }
.nx-pantry.single-post .nxp-rmain > p, .nx-pantry.single-post .nxp-rpost > p { font-size: 1.14rem; line-height: 1.7; }
.nxp-rbelow .nxp-head { margin-inline: 0; text-align: left; max-width: none; }
.nxp-rprods { grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.nx-pantry .nxp a.nxp-rprod { grid-template-columns: 6.5rem 1fr; padding: .8rem; }
.nxp-rprod img { width: 6.5rem; height: 6.5rem; }
.nxp-rprod b { font-size: 1.02rem; line-height: 1.25; }
.nxp-rprod .nxp-price, .nxp-rprod .nxp-price * { display: inline; font-size: .92rem; }

/* ===== Venditori (Dokan): negozio del produttore ed elenco ===== */
@media (min-width: 900px) { .nx-pantry:is(.nxp-vendor, .nxp-vendors) .nxp-ahead { margin-top: 0; } }
.nx-pantry.nxp-vendor .nx-main, .nx-pantry.nxp-vendors .nx-main { padding-top: 1rem; }
.nxp-vhead { align-items: center; }
@media (min-width: 980px) { .nxp-vhead.nxp-ahead--figs { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); } }
.nxp-vhead .nxp-phead__top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.1rem; }
.nxp-vhead .nxp-phead__top .nxp-ahead__pill { margin: 0; }
.nx-pantry .nxp-vhead a.nxp-phead__back { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px; border: 1.5px dashed color-mix(in oklab, var(--nxp-deep) 45%, transparent); font-weight: 700; font-size: .92rem; color: var(--nxp-ink); text-decoration: none; }
.nx-pantry .nxp-vhead a.nxp-phead__back:hover { background: #fff; transform: translateY(-2px); }
.nxp-vhead__name { display: flex; align-items: center; gap: 1rem; }
.nxp-vhead__logo { flex: none; width: clamp(3.6rem, 6vw, 5.2rem); height: clamp(3.6rem, 6vw, 5.2rem); object-fit: cover; border-radius: 50%; border: 4px solid #fff; background: #fff; }
.nxp-vhead .nxp-phead__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; }
.nxp-vhead .nxp-phead__meta li { padding: .4rem .95rem; border-radius: 999px; background: #fff; font-weight: 700; font-size: .88rem; }
.nxp-vhead .nxp-phead__media > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--nxp-r); border: 6px solid #fff; box-shadow: 0 26px 40px -18px color-mix(in oklab, var(--nxp-deep) 55%, transparent); transform: rotate(2deg); transition: transform .5s var(--nxp-pop); }
.nxp-vhead .nxp-phead__media > img:hover { transform: rotate(0) scale(1.02); }
@media (max-width: 979px) { .nxp-vhead .nxp-phead__media { display: none; } }
/* gli attrezzi di Dokan sopra i prodotti: ricerca e ordinamento su una riga */
.nxp-vstore__tools { margin: 0 0 1.4rem; }
.nxp-vstore__tools .dokan-store-products-filter-area { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; padding: 0; border: 0; float: none; width: auto; }
.nxp-vstore__tools form { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; width: 100%; }
.nx-pantry .nxp-vstore__tools :is(input[type="text"], input[type="search"], select) { min-height: 3rem; width: auto; max-width: 100%; padding: 0 1.2rem; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 18%, transparent); background: #fff; color: var(--nxp-ink); font: inherit; float: none; margin: 0; }
.nx-pantry .nxp-vstore__tools input[type="text"] { flex: 1 1 14rem; max-width: 26rem; }
.nx-pantry .nxp-vstore__tools select { margin-left: auto; padding-right: 2.4rem; }
.nx-pantry .nxp-vstore__tools :is(input[type="submit"], button) { min-height: 3rem; padding: 0 1.5rem; border: 0; border-radius: 999px; background: var(--nxp-deep); color: #fff; font: inherit; font-weight: 700; cursor: pointer; float: none; margin: 0; }
.nxp-vstore .seller-items { clear: both; }
.nxp-vstore__none { padding: 2rem; border-radius: var(--nxp-r); background: var(--nxp-4); font-weight: 700; text-align: center; }
.nx-pantry .nxp-vstore .dokan-pagination-container { margin: 2rem 0 0; text-align: center; }
.nx-pantry .nxp-vstore .dokan-pagination { display: inline-flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.nx-pantry .nxp-vstore .dokan-pagination li a { display: grid; place-items: center; min-width: 2.8rem; min-height: 2.8rem; padding: 0 .8rem; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 18%, transparent); background: #fff; color: var(--nxp-ink); font-weight: 700; text-decoration: none; }
.nx-pantry .nxp-vstore .dokan-pagination li.active a { background: var(--nxp-deep); border-color: var(--nxp-deep); color: #fff; }
/* elenco dei produttori */
.nx-pantry.nxp-vendors .nx-article > .nx-prose { width: min(100% - 2 * var(--nx-gutter), var(--nx-wrap)); max-width: none; margin-inline: auto; padding-inline: 0; }
.nx-pantry.nxp-vendors :is(.nx-article__head, .nx-title-band) { display: none; }
.nxp-vcards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin: 0; padding: .6rem 0 0; }
.nxp-vcard { display: flex; flex-direction: column; border-radius: var(--nxp-r); background: #fff; overflow: hidden; box-shadow: 0 18px 30px -22px color-mix(in oklab, var(--nxp-deep) 50%, transparent); transition: transform .45s var(--nxp-pop), box-shadow .3s ease; }
.nxp-vcard:nth-child(odd) { transform: rotate(-1.2deg); } .nxp-vcard:nth-child(even) { transform: rotate(1deg); }
.nxp-vcard:is(:hover, :focus-within) { transform: rotate(0) translateY(-6px); box-shadow: 0 30px 44px -24px color-mix(in oklab, var(--nxp-deep) 60%, transparent); }
.nxp-vcard__pic { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: .2rem; aspect-ratio: 16 / 10; margin: .7rem .7rem 0; padding: 1rem 1rem 0; border-radius: calc(var(--nxp-r) - .5rem); background: var(--nxp-c, var(--nxp-2)); overflow: hidden; }
.nxp-vcard__pic img { display: block; min-width: 0; flex: 1 1 0; max-height: 100%; height: auto; object-fit: contain; object-position: bottom; transition: transform .5s var(--nxp-pop); }
.nxp-vcard__pic--photo img { mix-blend-mode: multiply; }
.nxp-vcard__pic--banner { padding: 0; } .nxp-vcard__pic--banner img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.nxp-vcard:hover .nxp-vcard__pic img { transform: scale(1.05); }
.nxp-vcard__body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: 1.2rem 1.4rem 1.4rem; }
.nx-pantry .nxp-vcard h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.02em; } .nx-pantry .nxp-vcard h2 a { color: var(--nxp-ink); text-decoration: none; }
.nxp-vcard__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; } .nxp-vcard__meta span { padding: .3rem .8rem; border-radius: 999px; background: var(--nxp-4); font-weight: 700; font-size: .84rem; }
.nx-pantry .nxp-vcard .nxp-btn { align-self: flex-start; margin-top: auto; }
.nxp-vlist__nav { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; }
.nxp-vcards { grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); }
.nxp-vcard__pic:not(.nxp-vcard__pic--banner) img { flex: 0 1 auto; width: auto; height: 88%; max-width: 34%; }
@media (max-width: 520px) { .nxp-vcards { grid-template-columns: 1fr; } }
.nxp-vcard__pic:not(.nxp-vcard__pic--banner) img { flex: 0 0 31%; width: 31%; max-width: 31%; height: auto; max-height: 94%; }

/* ===== Pagina informativa: modulo di contatto ===== */
.nxp-page .nxp-contact { display: grid; gap: clamp(1rem, 2.4vw, 1.8rem); align-items: start; }
@media (min-width: 900px) { .nxp-page .nxp-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.nxp-page .nxp-contact .nxp-info { grid-template-columns: 1fr; margin: 0; }
.nx-pantry .nxp-page .nx-x-form { padding: clamp(1.3rem, 2.8vw, 2.2rem); border-radius: var(--nxp-r); border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 14%, transparent); background: #fff; box-shadow: none; color: var(--nxp-ink); }
.nx-pantry .nxp-page .nx-x-form__title { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--nxp-ink); }
.nx-pantry .nxp-page .nx-x-field :is(input, select, textarea) { min-height: 3.2rem; border-radius: 16px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep) 20%, transparent); background: var(--nxp-bg, #fffdfa); }
.nx-pantry .nxp-page .nx-x-field :is(input, select, textarea):focus { border-color: var(--nxp-deep); box-shadow: 0 0 0 4px color-mix(in oklab, var(--nxp-deep) 16%, transparent); }
.nx-pantry .nxp-page .nx-x-form__send { min-height: 3.4rem; border-radius: 999px; background: var(--nxp-deep); color: #fff; font-weight: 800; transition: transform .35s var(--nxp-pop), background-color .2s ease, box-shadow .3s ease; }
.nx-pantry .nxp-page .nx-x-form__send:hover { transform: translateY(-3px); background: var(--nxp-accent); box-shadow: 0 16px 26px -14px color-mix(in oklab, var(--nxp-deep) 70%, transparent); }
