/* ==========================================================================
   Zola Zoo – Fish & Pet
   Foglio di stile unico per tutte le pagine
   ========================================================================== */

:root {
  --paper: #f6f2e9;
  --paper-2: #ede6d7;
  --card: #fffdf8;
  --ink: #1e1f1c;
  --ink-soft: #55534b;
  --line: rgba(30, 31, 28, .14);
  --green: #1f5a4c;
  --green-dark: #163f35;
  --ochre: #d99a2b;
  --ochre-soft: #f3dfb5;
  --ph: #e4dccb;

  --font-head: "Zilla Slab", Rockwell, "Courier New", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --r: 8px;
  --wrap: 1160px;
  --gutter: 20px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.2em;
}
.icon--fill { fill: currentColor; stroke: none; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  z-index: 100;
}
.skip:focus { left: 8px; }

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

/* Testo con sottolineatura "a mano", come il tratto del logo */
.scribble {
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C30 4 60 3.5 95 5.5s70 3 103-2' fill='none' stroke='%23d99a2b' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .32em no-repeat;
  padding-bottom: .08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; }
.muted { color: var(--ink-soft); }

/* Bottoni ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 2px solid transparent;
  font: 700 16px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-line-light { border-color: rgba(246, 242, 233, .6); color: var(--paper); }
.btn-line-light:hover { background: var(--paper); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 15px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Topbar ----------------------------------------------------------------- */
.topbar {
  background: var(--green-dark);
  color: var(--paper);
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.topbar a { color: var(--paper); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-addr, .topbar-tel { display: inline-flex; align-items: center; gap: 6px; }

.status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9b3a6;
}
.status.is-open .status-dot { background: #7fd6a0; box-shadow: 0 0 0 3px rgba(127, 214, 160, .25); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 56px; height: 56px; }
.brand-name {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.brand-name small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--ochre);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Segnaposto foto -------------------------------------------------------
   Ogni <figure class="ph"> contiene un <img> col percorso previsto.
   Finché il file non esiste resta visibile il segnaposto con la didascalia. */
.ph {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ar, 4 / 3);
  border-radius: var(--r);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(30, 31, 28, .05) 0 2px, transparent 2px 12px),
    var(--ph);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 80%;
  padding: 12px;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  color: #6f6a5d;
}
.ph figcaption::before {
  content: "";
  width: 30px;
  height: 30px;
  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='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A1.5 1.5 0 0 1 4.5 7h3L9 4.8h6L16.5 7h3A1.5 1.5 0 0 1 21 8.5v9a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 17.5z'/%3E%3Ccircle cx='12' cy='12.8' r='3.6'/%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='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A1.5 1.5 0 0 1 4.5 7h3L9 4.8h6L16.5 7h3A1.5 1.5 0 0 1 21 8.5v9a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 17.5z'/%3E%3Ccircle cx='12' cy='12.8' r='3.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s;
}
.ph img.is-loaded { opacity: 1; }

/* Sezioni ---------------------------------------------------------------- */
.section { padding: 88px 0; }
.section--alt { background: var(--paper-2); }
.section--tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--top { align-items: start; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 64px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon--fill { color: var(--ochre); }
.hero-meta strong { color: var(--ink); }

.hero-figure { position: relative; }

/* Cartellino "prezzo" appeso alla foto */
.tag {
  position: absolute;
  left: -22px;
  bottom: 36px;
  padding: 12px 20px 12px 34px;
  background: var(--ochre);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  border-radius: 4px 6px 6px 4px;
  transform: rotate(-5deg);
  box-shadow: 0 6px 16px rgba(30, 31, 28, .18);
}
.tag small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tag::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
}

/* Pagine interne --------------------------------------------------------- */
.page-hero { padding: 64px 0 48px; }
.page-hero h1 { max-width: 16em; }
.page-hero .lead { margin-bottom: 0; }

.wave {
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cpath d='M0 7c7.5 0 7.5-5 15-5s7.5 5 15 5 7.5 5 15 5 7.5-5 15-5' fill='none' stroke='%231e1f1c' stroke-opacity='.22' stroke-width='2'/%3E%3C/svg%3E") left center / 60px 14px repeat-x;
}

/* Card reparti ----------------------------------------------------------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.card .ph { border-radius: 0; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-body p { color: var(--ink-soft); font-size: 16px; }
.card-body .link-arrow { margin-top: auto; }

/* Elenco con spunte ------------------------------------------------------ */
.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 24px; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.points .bullet {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 18px;
}
.points h3 { margin-bottom: 4px; font-size: 1.2rem; }
.points p { margin: 0; color: var(--ink-soft); }

/* Fascia recensioni ------------------------------------------------------ */
.band {
  background: var(--green-dark);
  color: var(--paper);
}
.band a:not(.btn) { color: var(--paper); }
.band .eyebrow { color: var(--ochre); }
.reviews {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.reviews .section-head { margin-bottom: 32px; }
.rating-num {
  font-family: var(--font-head);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
}
.stars { display: flex; gap: 3px; margin: 10px 0 6px; color: var(--ochre); font-size: 22px; }
.rating small { display: block; font-size: 15px; opacity: .8; }
.rating-bars { list-style: none; margin: 24px 0 24px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.rating-bars li { display: grid; grid-template-columns: 10px 16px 1fr 26px; gap: 8px; align-items: center; }
.rating-bars .icon { color: var(--ochre); font-size: 14px; }
.rating-bars .bar { height: 8px; border-radius: 4px; background: rgba(246, 242, 233, .15); overflow: hidden; }
.rating-bars .bar span { display: block; height: 100%; background: var(--ochre); border-radius: 4px; }
.rating-bars .bar-n { text-align: right; opacity: .8; }
.rating .btn-row { flex-direction: column; align-items: stretch; }

/* Carosello recensioni */
.carousel { min-width: 0; }
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - 20px) / 2);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px 28px 24px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r);
}
.review-stars { display: flex; gap: 2px; color: var(--ochre); font-size: 18px; margin-bottom: 14px; }
.review blockquote { margin: 0 0 20px; flex: 1; }
.review blockquote p {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
}
.review blockquote p::before { content: "«"; }
.review blockquote p::after { content: "»"; }
.review figcaption { font-size: 14px; color: var(--ink-soft); padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption strong { color: var(--ink); }

.carousel-controls { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.carousel.is-static .carousel-controls { display: none; }
.carousel-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(246, 242, 233, .5);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 20px;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.carousel-btn:hover { background: var(--paper); color: var(--ink); }
.carousel-btn[data-prev] .icon { transform: scaleX(-1); }
.carousel-dots { display: flex; gap: 8px; flex: 1; justify-content: center; }
.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 242, 233, .35);
  cursor: pointer;
  transition: background-color .2s, width .2s;
}
.carousel-dots button[aria-current="true"] { width: 24px; border-radius: 5px; background: var(--ochre); }

/* Galleria --------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery .ph { aspect-ratio: auto; height: 100%; }
.gallery .ph:first-child { grid-column: span 2; grid-row: span 2; }

/* Orari ------------------------------------------------------------------ */
.hours-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 28px 20px;
}
.hours-box h3 { display: flex; align-items: center; gap: 10px; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { padding: 10px 8px; text-align: left; border-top: 1px solid var(--line); }
.hours th { font-weight: 700; }
.hours td { text-align: right; color: var(--ink-soft); }
.hours tr.is-closed td { color: #8d887b; }
.hours tr.is-today { background: var(--ochre-soft); }
.hours tr.is-today th::after {
  content: "oggi";
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.hours tr.is-today td { color: var(--ink); font-weight: 700; }

.visit-address {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
}

/* Contatti --------------------------------------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.contact-list .bullet {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--green);
  font-size: 20px;
}
.contact-list span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list a, .contact-list strong { font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--green); text-decoration: underline; }

.map {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ph);
}
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.info-list .icon { margin-top: .3em; color: var(--green); }

/* Storia ----------------------------------------------------------------- */
.timeline { list-style: none; margin: 32px 0 0; padding: 0; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.timeline li:last-child::before { background: var(--ochre); }
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; }
.timeline p { margin: 2px 0 0; color: var(--ink-soft); }

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.cols-3 h3 { padding-top: 16px; border-top: 3px solid var(--ink); }
.cols-3 p { color: var(--ink-soft); }

/* Passi primo acquario --------------------------------------------------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.steps li::before {
  content: counter(step);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
}
.steps h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ochre);
  border-radius: var(--r);
}
.note .icon { font-size: 22px; color: var(--green); margin-top: 2px; }
.note p { margin: 0; }

/* Call to action --------------------------------------------------------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
}
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; opacity: .85; }

/* Catalogo --------------------------------------------------------------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px;
  margin-bottom: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 700 15px/1.2 var(--font-body);
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.field {
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: 16px var(--font-body);
}
.field:focus { border-color: var(--ink); outline: none; }
.toolbar select.field { padding-right: 32px; }
.search-wrap { position: relative; flex: 1 1 220px; }
.search-wrap .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.search-wrap .field { width: 100%; padding-left: 38px; }
.count { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--ink-soft); }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product .ph { --ar: 1 / 1; }
.product .card-body { padding: 18px 18px 20px; }
.product-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.product h3 { font-size: 1.15rem; margin-bottom: 8px; }
.product p { font-size: 15px; margin-bottom: 12px; }
.product-brand { font-weight: 700; color: var(--ink) !important; margin-bottom: 4px !important; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; }
.product-meta:empty { display: none; }
.product-price { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }
.product-format {
  display: inline-block;
  padding: 3px 9px;
  background: var(--paper-2);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.product .btn { margin-top: auto; }

.empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--ink-soft);
  border: 1.5px dashed var(--line);
  border-radius: var(--r);
}

/* Novità ----------------------------------------------------------------- */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post h3 { font-size: 1.25rem; margin-bottom: 8px; }
.post h3 a { color: var(--ink); text-decoration: none; }
.post h3 a:hover { color: var(--green); text-decoration: underline; }
.post > a { display: block; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.post-cat {
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.post-cat[data-cat="Offerte"] { background: var(--ochre); }
.post-cat[data-cat="Nuovi arrivi"] { background: var(--green); color: #fff; }
.post-valid { font-size: 14px; font-weight: 700; color: var(--green) !important; }
.post-valid.is-expired { color: #8d887b !important; text-decoration: line-through; }
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}
.section-head--row > div { max-width: 640px; }
.filters { margin-bottom: 28px; }
.filters:empty { display: none; }

.article { max-width: 760px; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 8px; }
.article .lead { margin-bottom: 16px; }
.article .ph { margin: 28px 0 8px; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-weight: 700;
  text-decoration: none;
}
.back .icon { transform: scaleX(-1); }
.prose { margin-top: 28px; font-size: 1.08rem; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose img { border-radius: var(--r); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--ochre); color: var(--ink-soft); }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #d9d4c7;
  font-size: 15px;
  padding-top: 64px;
}
.site-footer a { color: #d9d4c7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .8fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { width: 76px; height: 76px; margin-bottom: 16px; }
.footer-brand p { max-width: 26em; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(246, 242, 233, .15);
  font-size: 13px;
  color: #9d988b;
}

.powered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer .powered:hover { text-decoration: none; }
.powered img {
  height: 30px;
  width: auto;
  transform-origin: left center;
  transition: transform .3s ease;
}
.powered:hover img,
.powered:focus-visible img { transform: scale(1.08); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .split { gap: 40px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(30, 31, 28, .08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { left: 0; right: auto; width: 32px; bottom: 8px; }
}

@media (max-width: 860px) {
  .hero-grid, .split, .reviews { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 40px; }
  .hero-figure { max-width: 520px; }
  .split .ph { order: -1; }
  .split--keep .ph { order: 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr; gap: 24px; }
  .reviews { gap: 32px; }
  .rating .btn-row { flex-direction: row; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .page-hero { padding: 44px 0 36px; }
  .topbar-addr { display: none; }
  .header-inner { min-height: 68px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 22px; }
  .tag { left: 12px; bottom: 16px; }
  .cards-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .rating-num { font-size: 72px; }
  .review { flex-basis: 100%; padding: 24px 22px 20px; }
  .posts { grid-template-columns: 1fr; }
  .toolbar { padding: 12px; }
  .count { margin-left: 0; }
  .map iframe { height: 320px; }
  .hours-box { padding: 22px 18px 16px; }
  .btn-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
