/* Banner dei cookie dello shop (16 nov 2026): inc/consenso.php, consenso.js.
   Riquadro in basso a sinistra, sul telefono largo quanto lo schermo. «Rifiuta» e «Accetta» sono
   lo stesso bottone: nessuna delle due scelte pesa più dell'altra. */

.wupConsenso {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9000;
  width: min(420px, calc(100% - 36px));
  padding: 22px 22px 20px;
  background: var(--deep, #fff);
  color: var(--paper, #1c1e20);
  border: 1px solid var(--ink, #0f1012);
  box-shadow: 0 18px 40px -20px #0f101299;
  transform: translateY(calc(100% + 30px));
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wupConsenso[hidden] {
  display: none;
}
.wupConsenso.wupConsensoSu {
  transform: none;
}
.wupConsenso p {
  margin: 0;
}
.wupConsensoTitolo {
  padding-right: 34px;
  color: var(--ink, #0f1012);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}
.wupConsensoTesto {
  margin-top: 10px !important;
  color: var(--muted, #3b3e41);
  font-size: 14px;
  line-height: 1.5;
}
.wupConsensoTesto a {
  color: var(--ink, #0f1012);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wupConsensoBottoni {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.wupConsensoBottone {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--ink, #0f1012);
  border-radius: 0;
  background: var(--ink, #0f1012);
  color: var(--lime, #b6ff00);
  font: 800 12px/1 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.wupConsensoBottone:hover {
  background: var(--paper, #1c1e20);
}
.wupConsensoChiudi {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink, #0f1012);
  font: 400 26px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.wupConsenso :is(a, button):focus-visible {
  outline: 2px solid var(--ink, #0f1012);
  outline-offset: 3px;
}
.wupConsensoBottone:focus-visible {
  outline-offset: 2px;
}

/* «PREFERENZE COOKIE» nel piede: un bottone vestito come i link accanto */
.wupPiedeConsenso {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.wupPiedeConsenso:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* bottone «Cambia le tue scelte» dentro la pagina /cookie-policy/ */
.wupConsensoApri {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink, #0f1012);
  border-radius: 0;
  background: var(--lime, #b6ff00);
  color: #0f1012;
  font: 800 12px/1 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (width <= 700px) {
  .wupConsenso {
    left: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 18px 16px 16px;
  }
  .wupConsensoTesto {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wupConsenso {
    transition: none;
  }
}
