/* Nexus – «Dispensa guidata»: piè di pagina. Un pannello chiaro e arrotondato, il logo a colori, collegamenti in colonne, i dati della società in fondo. */
.nxp-foot { --nxp-ink: color-mix(in oklab, var(--nxp-deep, #005c68) 82%, #000); padding: clamp(1.5rem, 4vw, 3rem) 0 1.4rem; background: var(--nxp-bg, #fffdfa); color: var(--nxp-ink); font-size: .95rem; line-height: 1.5; }
.nxp-foot__panel { position: relative; display: grid; gap: 2rem 2.4rem; padding: clamp(1.5rem, 3.6vw, 3.2rem); border-radius: 28px; background: var(--nxp-4, #e9f4f5); }
@media (min-width: 760px) { .nxp-foot__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nxp-foot__brand { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .nxp-foot__panel { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } .nxp-foot__brand { grid-column: auto; } }
.nxp-foot__brand .custom-logo-link { display: inline-block; }
.nxp-foot__brand .custom-logo { display: block; width: auto; max-width: 13rem; max-height: 4.2rem; height: auto; }
.nxp-foot a.nxp-foot__name { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; color: inherit; text-decoration: none; }
.nxp-foot__text { margin: 1rem 0 0; max-width: 30rem; color: color-mix(in oklab, var(--nxp-ink) 82%, transparent); }
.nxp-foot__contact { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .6rem; }
.nxp-foot__contact li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 600; }
.nxp-foot__contact address { font-style: normal; }
.nxp-foot__i { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 12px; background: #fff; color: var(--nxp-deep, #005c68); }
.nxp-foot__contact li > :last-child { padding-top: .35rem; }
.nxp-foot a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
.nxp-foot a:hover { text-decoration: underline; }
.nxp-foot__h { margin: 0 0 .8rem; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.nxp-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.nxp-foot__col a { display: inline-block; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.nxp-foot__col a:hover { transform: translateX(4px); }
.nxp-foot .nxp-foot__olive { position: absolute; right: clamp(1rem, 3vw, 2.6rem); top: -1.9rem; width: 4.2rem; height: auto; transform: rotate(8deg); filter: 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 8px 10px rgba(0, 0, 0, .14)); animation: nxp-foot-bob 6s ease-in-out infinite; }
@keyframes nxp-foot-bob { 0%, 100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(-7px) rotate(3deg); } }
.nxp-foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; padding: 1.1rem 4.4rem 0 .4rem; }
.nxp-foot__pay { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.nxp-foot__pay p { margin: 0; font-weight: 700; }
.nxp-foot__pay ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.nxp-foot__pay li { padding: .25rem .8rem; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--nxp-deep, #005c68) 22%, transparent); background: #fff; font-weight: 700; font-size: .82rem; }
.nxp-foot__legal { margin: 0; font-size: .85rem; color: color-mix(in oklab, var(--nxp-ink) 70%, transparent); }
.nxp-foot :focus-visible { outline: 3px solid var(--nxp-deep, #005c68); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .nxp-foot .nxp-foot__olive, .nxp-foot__col a { animation: none; transition: none; } }

/* ===== Menu a tendina (tutto il sito): un cartoncino bianco arrotondato, ogni voce con il suo riquadro ===== */
.nx-pantry-site .nx-menu .menu-item-has-children { position: relative; }
.nx-pantry-site .nx-menu > .menu-item-has-children > a::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .5em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.22em) rotate(45deg); transition: transform .25s ease; }
.nx-pantry-site .nx-menu .sub-menu a { display: flex; align-items: center; gap: .8rem; padding: .45rem .7rem .45rem .45rem; border-radius: 14px; font-weight: 600; white-space: nowrap; }
.nxp-mi { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--nxp-4, #e9f4f5); color: var(--nxp-deep, #005c68); overflow: hidden; }
.nxp-mi:not(.nxp-mi--img)::before { content: ""; width: 1.15rem; height: 1.15rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.1L20 10l-5.800 2.200L12 18l-2.200-5.800L4 10l5.800-1.900z'/%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'%3E%3Cpath d='M12 2l2.2 6.1L20 10l-5.800 2.200L12 18l-2.200-5.800L4 10l5.800-1.900z'/%3E%3C/svg%3E") center / contain no-repeat; }
.nxp-mi img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 881px) {
  .nx-pantry-site .nx-menu .sub-menu { display: block; position: absolute; top: calc(100% + .5rem); left: 50%; z-index: 60; min-width: 16rem; margin: 0; padding: .7rem; list-style: none; border-radius: 22px; background: #fff; box-shadow: 0 26px 50px -18px color-mix(in oklab, var(--nxp-deep, #005c68) 40%, transparent), 0 2px 8px rgba(0, 0, 0, .06); opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center; transition: opacity .2s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1), visibility 0s linear .2s; }
  .nx-pantry-site .nx-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
  .nx-pantry-site .nx-menu .menu-item-has-children:is(:hover, :focus-within) > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
  .nx-pantry-site .nx-menu > .menu-item-has-children:is(:hover, :focus-within) > a::after { transform: translateY(.05em) rotate(225deg); }
  .nx-pantry-site .nx-menu .sub-menu a:hover { background: var(--nxp-4, #e9f4f5); }
  .nx-pantry-site .nx-menu .sub-menu li + li { margin-top: .15rem; }
  .nx-pantry-site .nx-menu > li:last-child > .sub-menu, .nx-pantry-site .nx-menu > li:nth-last-child(2) > .sub-menu { left: auto; right: 0; transform: translate(0, 8px) scale(.98); transform-origin: top right; }
  .nx-pantry-site .nx-menu > li:last-child:is(:hover, :focus-within) > .sub-menu, .nx-pantry-site .nx-menu > li:nth-last-child(2):is(:hover, :focus-within) > .sub-menu { transform: translate(0, 0) scale(1); }
}
@media (max-width: 880px) {
  .nx-pantry-site .nx-menu .sub-menu { display: block; list-style: none; margin: 0 0 .4rem; padding: 0 0 0 .2rem; }
  .nx-pantry-site .nx-menu > .menu-item-has-children > a::after { display: none; }
  .nx-pantry-site .nx-menu > .menu-item-has-children > a { font-weight: 800; }
}
@media (prefers-reduced-motion: reduce) { .nx-pantry-site .nx-menu .sub-menu { transition: none; } }
.nxp-foot__hours { display: block; font-weight: 500; font-size: .85em; opacity: .75; margin-top: .15rem; }

/* ===== Icone del menu: piccoli disegni a filo con il tono della famiglia di prodotti ===== */
.nxp-mi--ico { --mi-bg: var(--nxp-4, #e9f4f5); --mi-fg: var(--nxp-deep, #005c68); background: var(--mi-bg); color: var(--mi-fg); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--mi-fg) 12%, transparent); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease; }
.nxp-mi--ico::before { content: none !important; display: none; }
.nxp-mi--ico svg { width: 1.4rem; height: 1.4rem; }
.nxp-mi--butter { --mi-bg: #fff3cf; --mi-fg: #8a6100; }
.nxp-mi--tomato { --mi-bg: #ffe4dc; --mi-fg: #b23a26; }
.nxp-mi--wheat { --mi-bg: #fbeedb; --mi-fg: #8a5512; }
.nxp-mi--olive { --mi-bg: #ebf2d8; --mi-fg: #55691a; }
.nxp-mi--rose { --mi-bg: #fde5ee; --mi-fg: #a8335f; }
.nxp-mi--sea { --mi-bg: #e2f0fb; --mi-fg: #1d6299; }
.nx-pantry-site .nx-menu .sub-menu a:hover .nxp-mi--ico, .nx-pantry-site .nx-menu .sub-menu a:focus-visible .nxp-mi--ico { transform: rotate(-8deg) scale(1.08); }
.nx-pantry-site .nx-menu .sub-menu a:hover { background: color-mix(in oklab, var(--nxp-4, #e9f4f5) 70%, #fff); }
.nxp-mi--top { display: none; }
@media (max-width: 880px) {
  .nx-pantry-site .nx-menu > li > a:has(.nxp-mi--top) { display: flex; align-items: center; gap: .7rem; }
  .nx-pantry-site .nx-menu .nxp-mi--top { display: grid; width: 2.2rem; height: 2.2rem; border-radius: 11px; }
  .nx-pantry-site .nx-menu .nxp-mi--top svg { width: 1.15rem; height: 1.15rem; }
  .nx-pantry-site .nx-menu .sub-menu .nxp-mi { width: 2.1rem; height: 2.1rem; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { .nxp-mi--ico { transition: none; } .nx-pantry-site .nx-menu .sub-menu a:hover .nxp-mi--ico { transform: none; } }
