/* ==========================================================================
   Detersfuso Villaricca — listino
   Colori presi dal logo: blu della fascia, rosso della scritta, verde della
   mascotte, azzurro delle bolle. L'elemento forte sono le bolle di sapone:
   tutto il resto resta pulito e molto leggibile.
   ========================================================================== */

:root {
  color-scheme: only light;

  --sky-top: #1c72d0;
  --sky-mid: #3b95ea;
  --sky-low: #8ccbfa;
  --foam: #f2f9ff;
  --foam-2: #e3f2ff;
  --white: #ffffff;
  --blue: #1662c4;
  --blue-ink: #0d3b7a;
  --red: #e3251e;
  --green: #2f9a3a;
  --wa: #1e9e4a;
  --ink: #0e2a4a;
  --ink-soft: rgba(14, 42, 74, 0.64);
  --ink-faint: rgba(14, 42, 74, 0.14);

  /* film di sapone */
  --film: conic-gradient(from var(--hue, 0deg), #ff9ed8, #9fdcff, #a8f7cf, #fff3a3, #c9b4ff, #ff9ed8);

  --display: 'Baloo 2', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter: 16px;
  --toolbar-h: 118px;
}

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

/* Ciò che è nascosto resta nascosto, qualunque sia il suo layout
   (senza questa regola le righe del listino ignoravano la ricerca). */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--toolbar-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.hero :focus-visible,
.how :focus-visible {
  outline-color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-ink);
  font-weight: 800;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ---------------------------------------------------------------- pulsanti */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 4px 22px 0;
  border: 0;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  margin-top: -4px;
}

.btn--white {
  background: var(--white);
  color: var(--blue-ink);
  box-shadow: 0 10px 24px -12px rgba(6, 40, 90, 0.7), inset 0 -3px 0 rgba(22, 98, 196, 0.12);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}

.btn--wa {
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 10px 24px -14px rgba(10, 70, 30, 0.8), inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}

.btn--line {
  background: transparent;
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}

/* ------------------------------------------------------------------ bolle */

.bubble,
.giant,
.ibubble,
.step__n {
  --hue: 0deg;
}

.bubble {
  position: absolute;
  left: var(--x);
  bottom: calc(var(--s) * -1.3);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  background:
    radial-gradient(circle at 31% 27%, rgba(255, 255, 255, 0.95) 0 5%, rgba(255, 255, 255, 0) 14%),
    radial-gradient(circle at 70% 75%, rgba(255, 255, 255, 0.6) 0 3%, rgba(255, 255, 255, 0) 9%),
    radial-gradient(circle, rgba(255, 255, 255, 0.02) 52%, rgba(255, 255, 255, 0.2) 68%, rgba(255, 255, 255, 0.6) 100%);
  box-shadow: inset 0 0 calc(var(--s) * 0.1) rgba(255, 255, 255, 0.4);
  animation:
    rise var(--d) linear var(--delay) infinite,
    sway calc(var(--d) / 3.2) ease-in-out var(--delay) infinite alternate;
}

.bubble::before,
.giant::before,
.ibubble::before,
.step__n::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--film);
  -webkit-mask: radial-gradient(circle, transparent 57%, #000 76%);
  mask: radial-gradient(circle, transparent 57%, #000 76%);
  opacity: 0.55;
  pointer-events: none;
}

.bubble::before {
  mix-blend-mode: screen;
}

@keyframes rise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    transform: translate3d(0, calc(-1 * var(--rise, 760px)), 0);
    opacity: 0;
  }
}

@keyframes sway {
  from {
    translate: calc(var(--sway) * -0.5) 0;
  }
  to {
    translate: var(--sway) 0;
  }
}

.bubble.is-popping {
  animation:
    rise var(--d) linear var(--delay) infinite,
    sway calc(var(--d) / 3.2) ease-in-out var(--delay) infinite alternate,
    pop 260ms ease-out forwards;
}

@keyframes pop {
  to {
    scale: 1.35;
    opacity: 0;
  }
}

.splash {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.splash i {
  position: absolute;
  left: -3px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  transform: rotate(var(--a)) translateX(calc(var(--s) * 0.32));
  animation: droplet 560ms ease-out forwards;
}

@keyframes droplet {
  to {
    transform: rotate(var(--a)) translateX(calc(var(--s) * 0.85)) scale(0.3);
    opacity: 0;
  }
}

.is-paused .bubble {
  animation-play-state: paused;
}

.is-still .bubble {
  bottom: auto;
  top: var(--y);
  animation: none;
}

.is-still .bubble.is-popping {
  animation: pop 260ms ease-out forwards;
}

/* ------------------------------------------------------------------ cielo */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: max(26px, env(safe-area-inset-top)) var(--gutter) 84px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 48%, var(--sky-low) 100%);
  color: var(--white);
  text-align: center;
}

.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
  pointer-events: none;
}

.hero__inner a,
.hero__inner button {
  pointer-events: auto;
}

.hero__logo {
  margin: 0;
  line-height: 0;
}

.giant {
  --hue: 140deg;
  position: relative;
  display: grid;
  place-items: center;
  width: min(80vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 52%, #fff 0 62%, rgba(255, 255, 255, 0.94) 70%, rgba(214, 238, 255, 0.95) 100%);
  box-shadow:
    0 36px 60px -34px rgba(4, 34, 80, 0.75),
    inset 0 0 0 2px rgba(255, 255, 255, 0.85),
    inset -18px -26px 46px rgba(58, 148, 240, 0.22);
}

.giant::before {
  opacity: 0.75;
}

.giant::after {
  content: '';
  position: absolute;
  left: 15%;
  top: 9%;
  width: 26%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  transform: rotate(-32deg);
  pointer-events: none;
}

.giant img {
  position: relative;
  width: 82%;
  height: auto;
  translate: 2% 3%;
}

.hero__tagline {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(24px, 6.4vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(4, 34, 80, 0.35);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 8px 20px -14px rgba(4, 34, 80, 0.8);
}

.status::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.status.is-open::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 154, 58, 0.18);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 64px;
  fill: var(--foam);
  pointer-events: none;
}

/* L'unico momento orchestrato: la bolla grande si gonfia all'apertura. */
@media (prefers-reduced-motion: no-preference) {
  .giant {
    animation: inflate 900ms cubic-bezier(0.2, 1.35, 0.4, 1) 80ms both;
  }
  .hero__tagline,
  .status,
  .hero__cta {
    animation: rise-in 520ms ease-out 520ms both;
  }
}

@keyframes inflate {
  from {
    transform: scale(0.55);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes rise-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* --------------------------------------------------- ricerca e sezioni */

.toolbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(242, 249, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--ink-faint);
}

.toolbar__inner {
  display: grid;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 0 8px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 var(--gutter);
  color: var(--blue);
}

.search > svg {
  position: absolute;
  left: 16px;
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 50px;
  padding: 0 48px 0 46px;
  border: 2px solid #cfe6fa;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 6px 16px -12px rgba(22, 98, 196, 0.6);
  -webkit-appearance: none;
  appearance: none;
}

.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search input::placeholder {
  color: rgba(14, 42, 74, 0.42);
  font-weight: 500;
}

.search input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(22, 98, 196, 0.15);
}

.search__clear {
  position: absolute;
  right: 6px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--foam-2);
  color: var(--blue-ink);
}

.chips {
  display: flex;
  gap: 8px;
  padding: 2px var(--gutter) 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-ink);
  box-shadow: inset 0 0 0 1.5px #d4e9fb;
  font-weight: 750;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms, color 150ms;
}

.chip[aria-current] {
  background: var(--blue);
  color: var(--white);
  box-shadow: none;
}

/* Icona dentro una bolla */
.ibubble {
  --s: 46px;
  --hue: 200deg;
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  color: var(--blue);
  background:
    radial-gradient(circle at 31% 27%, #fff 0 9%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle, #f1f9ff 0 52%, #cfe8ff 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.95),
    0 5px 12px -6px rgba(22, 98, 196, 0.45);
}

.ibubble svg {
  position: relative;
  width: 54%;
  height: 54%;
}

.ibubble--mini {
  --s: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95);
}

.ibubble--big {
  --s: 66px;
}

.chip[aria-current] .ibubble {
  color: var(--blue);
}

/* ---------------------------------------------------------------- listino */

.listino {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px var(--gutter) 30px;
  outline: none;
}

.listino__cols {
  display: grid;
  gap: 0 56px;
}

.listino[data-columns='2'] .listino__cols {
  grid-template-columns: 1fr 1fr;
}

.cat,
.offers,
.news {
  padding-top: 26px;
}

.cat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.cat__title {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  color: var(--blue-ink);
}

.cat__count {
  margin: 4px 0 0 auto;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.offers {
  margin-top: 18px;
  padding: 18px 18px 8px;
  border-radius: 28px;
  background:
    radial-gradient(circle at calc(100% - 42px) 34px, rgba(255, 255, 255, 0.95) 0 18px, rgba(255, 255, 255, 0) 19px),
    radial-gradient(circle at calc(100% - 78px) 60px, rgba(255, 255, 255, 0.8) 0 7px, rgba(255, 255, 255, 0) 8px),
    #fff1ef;
  box-shadow: inset 0 0 0 2px #ffd9d4;
}

.offers .cat__title {
  color: var(--red);
}

/* Novità: verde come la mascotte, in cima al listino */
.news {
  --hue: 90deg;
  margin-top: 18px;
  padding: 18px 18px 8px;
  border-radius: 28px;
  background:
    radial-gradient(circle at calc(100% - 46px) 30px, rgba(255, 255, 255, 0.95) 0 20px, rgba(255, 255, 255, 0) 21px),
    radial-gradient(circle at calc(100% - 86px) 58px, rgba(255, 255, 255, 0.85) 0 8px, rgba(255, 255, 255, 0) 9px),
    radial-gradient(circle at calc(100% - 26px) 70px, rgba(255, 255, 255, 0.8) 0 5px, rgba(255, 255, 255, 0) 6px),
    #eaf8e6;
  box-shadow: inset 0 0 0 2px #cdeec5;
  scroll-margin-top: calc(var(--toolbar-h) + 10px);
}

.news .cat__title {
  color: #1f7a2b;
}

.news .ibubble {
  color: var(--green);
}

.news + .offers {
  margin-top: 14px;
}

.row__tag--new {
  background: var(--green);
}

.chip--new:not([aria-current]) {
  color: #1f7a2b;
  box-shadow: inset 0 0 0 1.5px #bfe6b6;
  background: #f1fbef;
}

.chip--new .ibubble {
  color: var(--green);
}

.offers .ibubble {
  color: var(--red);
}

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0 9px;
  border-bottom: 1px solid var(--ink-faint);
}

.row:last-child {
  border-bottom: 0;
}

.row__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.row__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.row__desc {
  font-size: 14px;
  color: var(--ink-soft);
}

.row__lead {
  flex: 1 1 12px;
  min-width: 12px;
  border-bottom: 2px dotted rgba(22, 98, 196, 0.22);
  transform: translateY(-5px);
}

.row__tag {
  flex: none;
  align-self: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.price {
  display: inline-flex;
  flex: none;
  align-items: baseline;
  gap: 6px;
}

.price__pill {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 3px 11px 0;
  border-radius: 999px;
  background: var(--foam-2);
  color: var(--blue-ink);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(22, 98, 196, 0.1);
}

.price--ask {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 700;
  font-style: italic;
  white-space: nowrap;
}

.price__unit {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.price--offer .price__pill {
  background: var(--red);
  color: var(--white);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.price--offer .price__unit {
  color: rgba(255, 255, 255, 0.85);
}

.price__old {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.row.is-out .row__name,
.row.is-out .row__desc {
  opacity: 0.5;
}

.row.is-out .price {
  opacity: 0.45;
  text-decoration: line-through;
}

/* Quando i proprietari cambiano un prezzo, la riga brilla per un attimo. */
.row.is-changed {
  animation: changed 2.6s ease-out;
  border-radius: 12px;
}

@keyframes changed {
  0%,
  35% {
    background: #fff6b8;
    box-shadow: 0 0 0 6px #fff6b8;
  }
  100% {
    background: transparent;
    box-shadow: 0 0 0 6px transparent;
  }
}

.noresults {
  margin: 30px 0 10px;
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--white);
  font-size: 16px;
  text-align: center;
  box-shadow: inset 0 0 0 2px var(--foam-2);
}

.empty {
  margin: 40px 0;
  font-size: 18px;
  text-align: center;
}

.loading {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 60px 0;
  color: var(--ink-soft);
}

.loading p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .loading__bubble {
    animation: bob 1.4s ease-in-out infinite alternate;
  }
}

@keyframes bob {
  to {
    transform: translateY(-10px) scale(1.04);
  }
}

/* ----------------------------------------------------------- come funziona */

.how {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  padding: 56px var(--gutter) 60px;
  background:
    radial-gradient(circle at 8% 22%, rgba(255, 255, 255, 0.35) 0 22px, rgba(255, 255, 255, 0) 23px),
    radial-gradient(circle at 14% 34%, rgba(255, 255, 255, 0.25) 0 9px, rgba(255, 255, 255, 0) 10px),
    radial-gradient(circle at 92% 78%, rgba(255, 255, 255, 0.3) 0 34px, rgba(255, 255, 255, 0) 35px),
    radial-gradient(circle at 85% 90%, rgba(255, 255, 255, 0.22) 0 12px, rgba(255, 255, 255, 0) 13px),
    linear-gradient(160deg, var(--sky-top), var(--sky-mid));
  color: var(--white);
  clip-path: ellipse(160% 100% at 50% 100%);
}

.section-title {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
}

.steps {
  display: grid;
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: center;
}

.step__n {
  --hue: 60deg;
  position: relative;
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  padding-top: 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 27%, #fff 0 9%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle, #fff 0 55%, #d9eeff 100%);
  color: var(--blue);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 10px 22px -12px rgba(4, 34, 80, 0.8);
}

.step h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 750;
  line-height: 1.1;
}

.step p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
  }
  .step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 10px;
  }
  .step__n {
    grid-row: auto;
    width: 86px;
    height: 86px;
    font-size: 42px;
  }
}

/* ------------------------------------------------------------- dove siamo */

.visit {
  padding: 64px var(--gutter) 10px;
}

.visit__card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 70px 22px 26px;
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 30px 60px -40px rgba(13, 59, 122, 0.55), inset 0 0 0 2px var(--foam-2);
  text-align: center;
}

.visit__mascot {
  position: absolute;
  left: 50%;
  top: -58px;
  width: 116px;
  height: auto;
  translate: -50% 0;
  filter: drop-shadow(0 10px 14px rgba(13, 59, 122, 0.25));
}

.visit .section-title {
  margin-bottom: 8px;
  color: var(--blue-ink);
}

.visit__address {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 650;
}

.visit__actions {
  display: grid;
  gap: 10px;
  max-width: 340px;
  margin: 0 auto 24px;
}

@media (min-width: 640px) {
  .visit__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
  }
}

.hours {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0 3px;
  font-size: 16px;
}

.hours th,
.hours td {
  padding: 8px 14px;
  text-align: left;
  font-weight: 650;
}

.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.hours th {
  border-radius: 999px 0 0 999px;
}

.hours td {
  border-radius: 0 999px 999px 0;
}

.hours tr.is-today th,
.hours tr.is-today td {
  background: var(--foam-2);
  color: var(--blue-ink);
  font-weight: 800;
}

.visit__note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ------------------------------------------------------------------ piede */

.foot {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 34px var(--gutter) max(34px, env(safe-area-inset-bottom));
  color: var(--ink-soft);
  font-size: 14.5px;
  text-align: center;
}

.foot p {
  margin: 0;
  max-width: 60ch;
}

.foot__notes {
  display: grid;
  gap: 2px;
  color: var(--ink);
  font-weight: 650;
}

.foot__offline {
  margin-top: 6px !important;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1.5px solid var(--ink-faint);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.lock:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.noscript {
  margin: 30px var(--gutter);
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 200;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--blue-ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 30px -12px rgba(4, 34, 80, 0.6);
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
  pointer-events: none;
}

.toast.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast--error {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 12px 30px -12px rgba(4, 34, 80, 0.5), inset 0 0 0 2px #ffd0cc;
}

.toast--ok {
  background: var(--green);
}

/* --------------------------------------------------------------- computer */

@media (min-width: 900px) {
  :root {
    --gutter: 32px;
    --toolbar-h: 76px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 100px;
  }

  .giant {
    width: 360px;
  }

  .hero__wave {
    height: 90px;
  }

  .toolbar__inner {
    grid-template-columns: minmax(280px, 380px) 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
  }

  .search {
    margin-right: 0;
  }

  .chips {
    padding-left: 0;
  }

  .cat__title {
    font-size: 30px;
  }
}

/* ----------------------------------------------------------------- stampa */

.print-head {
  display: none;
}

@page {
  size: A4;
  margin: 12mm 12mm 14mm;
}

@media print {
  body {
    background: #fff;
  }
}

@media print {
  .hero,
  .toolbar,
  .how,
  .visit,
  .foot,
  .skip,
  .toast,
  .noresults {
    display: none !important;
  }
}

body.print-preview .hero,
body.print-preview .toolbar,
body.print-preview .how,
body.print-preview .visit,
body.print-preview .foot,
body.print-preview .noresults {
  display: none !important;
}

body.print-preview {
  background: #fff;
}

@media print {
  .print-head {
    display: flex;
  }
}

body.print-preview .print-head {
  display: flex;
}

.print-head {
  align-items: center;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px var(--gutter) 6px;
  border-bottom: 3px solid var(--blue);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.print-head img {
  width: 128px;
  height: auto;
}

.print-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.print-head .print-head__title {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--blue-ink);
}

body.print-preview .listino {
  max-width: 1000px;
}

@media print {
  .listino {
    max-width: none;
    padding: 0;
    font-size: 11px;
  }
}

body.print-preview .listino__cols {
  display: block;
  columns: 2;
  column-gap: 28px;
}

@media print {
  .listino__cols {
    display: block !important;
    columns: 2;
    column-gap: 8mm;
  }
  .listino__col {
    display: contents;
  }
  .offers,
  .news,
  .row__tag--new {
    display: none !important;
  }
  .cat {
    padding-top: 6px;
  }
  .cat__head {
    break-after: avoid;
    gap: 6px;
    margin-bottom: 1px;
  }
  .cat__title {
    font-size: 15px;
  }
  .cat__count {
    display: none;
  }
  .ibubble {
    --s: 20px;
    box-shadow: none;
  }
  .ibubble::before {
    display: none;
  }
  .row {
    padding: 1px 0 0;
    gap: 5px;
    border-bottom-color: rgba(14, 42, 74, 0.1);
    break-inside: avoid;
  }
  .row__text {
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
  }
  .row__name {
    font-size: 10.5px;
    line-height: 1.5;
  }
  .row__desc {
    font-size: 8.5px;
  }
  .row__lead {
    transform: translateY(-3px);
    border-bottom-width: 1px;
  }
  .price__pill {
    padding: 0 6px;
    font-size: 11px;
    line-height: 1.35;
    box-shadow: none;
  }
  .price__unit {
    font-size: 7.5px;
  }
  .price__old {
    font-size: 9px;
  }
  .print-head {
    padding: 0 0 6px;
    margin-bottom: 4px;
  }
  .print-head img {
    width: 92px;
  }
  .print-head .print-head__title {
    font-size: 24px;
  }
  .print-head p {
    font-size: 10px;
  }
  .listino,
  .price__pill,
  .row__tag,
  .print-head {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

.search__clear[hidden] {
  display: none;
}
