

:root {
  --nero:            #000000;
  --nero-sollevato:  #0B0A0C;
  --filo:            #1A181C;
  --filo-forte:      #2B272F;
  --argento:         #C9C7C4;
  --argento-fioco:   #A8A5A0;
  --argento-tenue:   #85827D;

  --oro:             #C9A85C;   
  --oro-vivo:        #E2C377;   
  --oro-luce:        #F5E3A8;   
  --oro-cupo:        #8E7238;   
  --cremisi:         #7A0B18;   
  --cremisi-cupo:    #2A0509;

  --accento:         var(--oro);
  --accento-vivo:    var(--oro-vivo);
  --accento-luce:    var(--oro-luce);
  --alone-rgb:       226, 195, 119;   
  --atmosfera:       var(--cremisi);

  --display: 'Pirata One', 'Grenze Gotisch', 'Times New Roman', serif;
  --testo:   'Spectral', Georgia, 'Times New Roman', serif;

  --gronda: 20px;
  --respiro: 72px;
  --misura: 1180px;
}

@media (min-width: 900px) {
  :root { --gronda: 40px; --respiro: 120px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; color-scheme: dark; }

body {
  margin: 0;
  background: var(--nero);
  color: var(--argento-fioco);
  font-family: var(--testo);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) { body { font-size: 18px; } }

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

a { color: var(--argento); text-decoration-color: var(--argento-tenue); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accento); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--argento);
  margin: 0;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--accento-vivo);
  outline-offset: 3px;
}

.salta {
  position: absolute; left: -9999px;
  background: var(--nero); color: var(--argento);
  padding: 12px 16px; z-index: 100;
}
.salta:focus { left: 12px; top: 12px; }

.dentro {
  width: 100%;
  max-width: var(--misura);
  margin: 0 auto;
  padding-inline: var(--gronda);
}

section { padding-block: var(--respiro); }

.tasto {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 30px;
  border-radius: 15px;
  font-family: var(--testo);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--oro);
  background: var(--nero-sollevato);
  border: 1px solid var(--oro-cupo);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: background 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out,
              transform 120ms ease-out, box-shadow 300ms ease-out;
}
.tasto::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 15px;
  mix-blend-mode: screen;
  background-image: linear-gradient(104deg,
    rgba(255,244,214,0) 36%, rgba(255,244,214,.10) 44%, rgba(255,250,236,.62) 50%,
    rgba(255,244,214,.10) 56%, rgba(255,244,214,0) 64%);
  background-size: 300% 100%; background-repeat: no-repeat; background-position: 150% 0;
  animation: tasto-lama 6.8s ease-in-out infinite;
}
@keyframes tasto-lama {
  0%, 58%   { background-position: 152% 0; }
  92%, 100% { background-position: -52% 0; }
}
.tasto--pieno {
  color: #0B0A0C;
  background: var(--oro);
  border-color: var(--oro-vivo);
}
.tasto--negozio {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--oro-vivo);
  background: rgba(226, 195, 119, .10);
  border-color: var(--oro);
}
.tasto:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) {
  .tasto:hover {
    color: #0B0A0C;
    background: var(--oro-vivo);
    border-color: var(--oro-luce);
    box-shadow: 0 0 28px rgba(226,195,119,.22);
  }
  .tasto:hover::after { animation: tasto-lama-mano 720ms ease-out 1; }
}
@keyframes tasto-lama-mano {
  from { background-position: 152% 0; }
  to   { background-position: -52% 0; }
}

.tasto--spento {
  opacity: .42;
  cursor: default;
  pointer-events: none;
}
.tasto--spento::after { display: none; }
.tasto small { font-size: 12px; font-weight: 400; letter-spacing: .04em; }

.tasto .bandiera { width: 28px; height: 19px; flex: none; outline: 1px solid rgba(0,0,0,.45); outline-offset: -1px; }

.negozi { display: grid; gap: 12px; }
.negozi__titolo { margin: 0; color: var(--argento-fioco); font-size: 16px; }
.negozi__elenco { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.negozi__elenco a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid rgba(var(--alone-rgb), .42); border-radius: 15px;
  color: var(--argento); font-family: var(--testo); font-size: 15px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: color 200ms ease-out, border-color 200ms ease-out, background 200ms ease-out;
}
.negozi__elenco a:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) {
  .negozi__elenco a:hover { color: var(--accento-vivo); border-color: var(--accento-vivo); background: rgba(var(--alone-rgb), .08); }
}

.lingua { display: flex; align-items: center; gap: 6px; }
.lingua .lingua__voce {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 15px;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 200ms ease-out, background 200ms ease-out;
}
.lingua .bandiera { display: block; height: 17px; flex: none; outline: 1px solid rgba(0,0,0,.45); outline-offset: -1px; transition: transform 200ms ease-out; }
.lingua .bandiera--it { width: 26px; }
.lingua .bandiera--uk { width: 34px; }
.lingua [aria-current] { border-color: var(--accento); background: rgba(var(--alone-rgb), .08); }
@media (hover: hover) and (pointer: fine) {
  .lingua a.lingua__voce:hover { border-color: var(--accento-vivo); }
  .lingua a.lingua__voce:hover .bandiera { transform: translateY(-1px); }
}
.lingua__nome { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 599px) {
  .lingua .lingua__voce[aria-current] { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .testa__destra .percorso { flex-basis: 100%; }
  .testa__destra .percorso ol { justify-content: flex-end; }
}
.testata .lingua { margin-left: auto; }
.testata .lingua + .tasto--negozio { margin-left: 0; }
@media print { .lingua { display: none !important; } }

.segnaposto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background: var(--nero-sollevato);
  border: 1px dashed var(--accento);
  color: var(--argento-tenue);
  font-size: 13px;
  line-height: 1.4;
  padding: 20px;
}
.segnaposto b { display: block; color: var(--accento-vivo); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.segnaposto span { font-size: 12px; color: var(--argento-tenue); }
.segnaposto--riga {
  display: inline-block;
  padding: 3px 10px;
  border: 1px dashed var(--accento-vivo);
  color: var(--accento-vivo);
  font-size: 13px;
  background: none;
}

@media (prefers-reduced-motion: no-preference) {
  html[data-js="si"] .entra { opacity: 0; transform: translateY(8px); transition: opacity 520ms ease-out, transform 520ms ease-out; }
  html[data-js="si"] .entra[data-vista="si"] { opacity: 1; transform: none; }
}

.piede {
  padding: 40px var(--gronda) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--filo);
  color: var(--argento-tenue);
  font-size: 14px;
  line-height: 1.6;
}
.piede .dentro { display: grid; gap: 10px; }
.piede a { color: var(--argento-fioco); }
.piede__punto { color: var(--oro-cupo); }
.piede__cookie {
  display: inline-block;
  padding: 2px 11px;
  border: 1px solid var(--oro-cupo);
  border-radius: 999px;
  color: var(--oro);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  white-space: nowrap;
}

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