/* --------------------------------------------------------------------------
   TIPOGRAFIA
   I font NON sono più caricati da fonts.googleapis.com: quella richiesta
   trasferiva l'IP dell'utente a un terzo prima di qualsiasi consenso.
   Per riattivare Figtree/Fraunces: scarica i .woff2 (SIL OFL), mettili in
   /fonts e decommenta i blocchi @font-face qui sotto. Senza di essi il sito
   usa lo stack di sistema, che resta leggibile e coerente.
   -------------------------------------------------------------------------- */
/*
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-variable.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
*/

:root {
  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --ink: #17241f;
  --ink-soft: #3d4f47;
  --pine: #1c5749;
  --pine-deep: #0f2d27;
  --pine-mid: #2a6d5c;
  --cream: #f4efe6;
  --paper: #faf7f2;
  --sand: #e8dfd0;
  --brass: #b08a4f;
  --brass-dark: #8c6a38;
  --line: #d9cfc0;
  --white: #fffcf8;
  --max: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.011em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--pine);
  color: var(--cream);
}

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

a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--pine-deep); }

h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.45em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 560; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1em; }
.muted { color: var(--ink-soft); }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.promo-bar {
  background: var(--pine-deep);
  color: var(--cream);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 16px;
}

.promo-bar span {
  color: var(--brass);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.logo:hover { color: var(--pine); }

.logo svg {
  display: block;
  flex: 0 0 auto;
}

.logo span {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  gap: 26px;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.help-link {
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.cart-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--pine);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

button { font-family: inherit; cursor: pointer; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  padding: 14px 26px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--pine);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--pine-deep);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--pine);
  border: 1px solid var(--pine);
}

.btn-outline:hover {
  background: var(--pine);
  color: var(--cream);
}

.btn-block { width: 100%; }

.btn-light {
  background: var(--cream);
  color: var(--pine-deep);
}

.hero-wrap {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(176, 138, 79, 0.12), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 48px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brass-dark);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}

.hero-copy p {
  font-size: 1.12rem;
  max-width: 34rem;
  color: var(--ink-soft);
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pine);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 28px 0 22px;
}

.ship-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  padding: 18px 0 28px 28px;
}

.hero-visual img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 18px 24px 0 var(--sand);
}

.spec-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 16px;
}

.spec-float {
  right: -8px;
  top: 36px;
  text-align: right;
}

.spec-float b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 560;
  line-height: 1;
}

.spec-float span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  margin: 0;
}

.trust-item {
  padding: 18px 12px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine-deep);
  border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: 0; }

.section { padding: 88px 0; }

.section-cream { background: var(--cream); }
.section-alt { background: var(--cream); }

.section-intro {
  max-width: 640px;
  margin: 0 0 48px;
}

.tiles {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 14px;
  min-height: 460px;
}

.tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  color: var(--cream);
  display: block;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.7s ease;
}

.tile:hover img { transform: scale(1.06); }
.tile:hover { color: var(--cream); }

.tile-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(15, 45, 39, 0.78));
}

.tile-copy h3 {
  color: #fff;
  font-size: 1.7rem;
  margin: 0 0 6px;
}

.tile-copy p { margin: 0; color: rgba(255, 252, 248, 0.82); font-size: 0.95rem; }

.compare-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.compare-card {
  padding: 40px 36px;
  background: var(--white);
}

.compare-card.is-ours {
  background: var(--pine-deep);
  color: var(--cream);
}

.compare-card .eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brass);
  margin-bottom: 10px;
}

.compare-card.is-ours h3,
.compare-card.is-ours p { color: var(--cream); }

.compare-card ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.compare-card li {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.compare-card:not(.is-ours) li {
  border-top-color: var(--line);
  color: var(--ink-soft);
}

.process {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.process-visual img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
}

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

.process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.process-list li:last-child { border-bottom: 1px solid var(--line); }

.process-list b {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--brass-dark);
}

.conditions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.condition {
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
}

.condition:nth-child(3n) { border-right: 0; padding-right: 0; }
.condition:nth-child(3n+1) { padding-left: 0; }

.condition h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.disclaimer {
  margin-top: 28px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  max-width: 70ch;
}

.saline-grid,
.product-grid,
.category-grid,
.steps {
  display: grid;
  gap: 14px;
}

.saline-grid { grid-template-columns: 1fr 1fr; }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.category-grid { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(4, 1fr); }

.category-card,
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.category-card img,
.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--cream);
  transition: transform 0.5s ease;
}

.category-card:hover img,
.product-card:hover img { transform: scale(1.03); }

.card-body { padding: 22px 22px 24px; }

.product-card h3,
.category-card h3 {
  font-size: 1.35rem;
  margin: 0 0 8px;
}

.product-card .btn { width: 100%; }

.product-card .price,
.price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 10px 0 16px;
}

.price-now {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 560;
}

.price-was {
  color: var(--ink-soft);
  text-decoration: line-through;
  font-size: 0.92rem;
}

.sale {
  display: inline-block;
  margin-left: 4px;
  padding: 4px 8px;
  background: var(--pine);
  color: var(--cream);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  vertical-align: 4px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 24px;
}

.step-num {
  color: var(--brass-dark);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-question {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 22px 0;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.faq-item.is-open .faq-question span:last-child {
  transform: rotate(45deg);
}

.faq-question span:last-child {
  font-family: var(--font-serif);
  color: var(--brass-dark);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
  color: var(--ink-soft);
  max-width: 62ch;
}

.faq-item.is-open .faq-answer { display: block; }

.site-footer {
  background: var(--pine-deep);
  color: #d5e4dc;
  padding: 72px 0 28px;
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: "Ariavito";
  position: absolute;
  right: -2%;
  bottom: -18%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18vw;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.site-footer a { color: #d5e4dc; }
.site-footer a:hover { color: var(--brass); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  position: relative;
  z-index: 1;
}

.cta-band {
  display: block;
  background: var(--pine-deep);
  color: var(--cream);
  padding: 56px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--cream);
  max-width: 16ch;
}

.cta-band p { color: #d5e4dc; margin: 0; }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding: 48px 0 72px;
}

.gallery-main {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  background: var(--cream);
  border: 1px solid var(--line);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.thumbs button {
  border: 1px solid var(--line);
  padding: 0;
  background: var(--cream);
  overflow: hidden;
}

.thumbs button.is-active,
.thumbs button:hover { border-color: var(--pine); }

.thumbs img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}

.product-buy {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 22px 0;
}

.qty-control {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--white);
}

.qty-control button,
.qty-control input {
  border: 0;
  background: transparent;
  width: 42px;
  height: 46px;
  text-align: center;
  font: inherit;
}

.qty-control input {
  width: 48px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.specs {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.specs li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.page-hero { padding: 56px 0 8px; }
.page-hero h1 { max-width: 16ch; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.contact-card,
form,
.cart-summary {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 7px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0;
  padding: 12px 14px;
  font: inherit;
  margin-bottom: 16px;
}

.cart-empty { text-align: center; padding: 90px 16px; }
.cart-empty h1 { font-style: italic; }

.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.cart-table-wrap { overflow-x: auto; }

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.cart-table th,
.cart-table td {
  padding: 18px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.cart-product {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cart-product img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  background: var(--cream);
  border: 1px solid var(--line);
}

.link-btn {
  display: block;
  margin-top: 6px;
  background: none;
  border: 0;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fine-print { color: var(--ink-soft); font-size: 0.86rem; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--pine-deep);
  color: var(--cream);
  padding: 14px 18px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 80;
}

.toast.is-visible { opacity: 1; transform: none; }

.more-link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.checkout-page {
  padding-bottom: 24px;
}

.crumb {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 32px 0 8px;
}

.crumb a { color: var(--ink-soft); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
  padding: 8px 0 80px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.form-grid-3 {
  grid-template-columns: 1.2fr 0.7fr 0.55fr;
}

.optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.pay-box {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 18px 20px;
  margin: 6px 0 22px;
}

.pay-box legend {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 8px;
}

.pay-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.pay-option input {
  width: auto;
  margin: 4px 0 0;
}

.pay-option strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.checkout-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.checkout-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: var(--cream);
}

.checkout-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 400;
}

.total-line {
  font-size: 1.05rem;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

body.modal-open { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] { display: none !important; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 39, 0.58);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 32px;
  box-shadow: 0 30px 80px rgba(15, 45, 39, 0.2);
}

.modal-card h2 {
  font-style: italic;
  font-size: 2rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 14px 0 0;
  font-size: 0.86rem;
}

.legal-nav a { color: var(--ink-soft); }
.legal-nav a.is-active { color: var(--pine); font-weight: 700; }

.legal-doc {
  max-width: 760px;
  padding: 12px 0 80px;
}

.legal-doc h1 { margin-top: 12px; }
.legal-doc h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.45rem;
}
.legal-doc h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin: 1.4rem 0 0.4rem;
}
.legal-doc p, .legal-doc li { color: var(--ink-soft); }
.legal-doc ul, .legal-doc ol { padding-left: 1.2rem; }
.legal-doc li { margin: 0 0 0.4rem; }
.legal-doc .updated {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-dark);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th {
  width: 38%;
  color: var(--ink);
  font-weight: 650;
}
.legal-box {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 20px 22px;
  margin: 18px 0;
}
.recesso-form {
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--white);
}
.check-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 12px;
  cursor: pointer;
}
.check-line input {
  width: auto;
  margin: 4px 0 0;
}
.precontract {
  border: 1px solid var(--line);
  padding: 18px 20px;
  margin: 0 0 20px;
  background: var(--white);
  font-size: 0.92rem;
}
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  max-width: 720px;
  margin: 0 auto;
  background: var(--pine-deep);
  color: var(--cream);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-bar p {
  margin: 0;
  color: #d5e4dc;
  font-size: 0.88rem;
  max-width: 46rem;
}
.cookie-bar a { color: var(--brass); }
.footer-ids { font-size: 0.84rem; }
.footer-bottom a { color: #d5e4dc; }

@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    flex-direction: column;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--line);
    gap: 10px;
  }

  .site-nav.is-open { display: flex; }

  .hero,
  .product-layout,
  .contact-grid,
  .cart-layout,
  .checkout-layout,
  .footer-grid,
  .saline-grid,
  .category-grid,
  .steps,
  .conditions,
  .trust-row,
  .tiles,
  .compare-split,
  .process,
  .form-grid,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }

  .help-link { display: none; }

  .hero-visual { padding: 0; }
  .hero-visual img,
  .gallery-main,
  .process-visual img { min-height: 280px; box-shadow: none; }

  .spec-float { right: 12px; top: 12px; }

  .cta-inner {
    align-items: start;
  }

  .product-grid { grid-template-columns: 1fr 1fr; }
  .condition,
  .condition:nth-child(3n) {
    border-right: 0;
    padding: 22px 0;
  }

  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .product-grid,
  .thumbs { grid-template-columns: 1fr 1fr; }
  .product-buy { flex-direction: column; align-items: stretch; }
  .hero { padding: 36px 0 28px; }
}

/* --- Avviso sanitario in linea (non solo footer) ------------------------- */
.health-notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  background: var(--white);
  padding: 22px 24px;
  margin: 40px 0 0;
  max-width: 78ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.health-notice strong { color: var(--ink); }

/* --- Prezzo di riferimento (art. 17-bis Cod. Cons.) ---------------------- */
.price-ref {
  display: block;
  margin: -8px 0 16px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* --- Stati dei form ------------------------------------------------------ */
.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.form-status[data-state="error"] {
  border-color: #a2453a;
  color: #7d2f26;
}
.form-status[data-state="pending"] { color: var(--ink-soft); }
button[disabled] { opacity: 0.55; cursor: progress; }

/* --- Cookie banner con Accetta / Rifiuta -------------------------------- */
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-bar .btn-outline {
  border-color: #7fa79a;
  color: var(--cream);
  background: transparent;
}
.cookie-bar .btn-outline:hover { background: rgba(255,255,255,0.08); color: var(--cream); }

/* --- Rimozione articoli dal carrello ------------------------------------- */
.row-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 10px 6px 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.85rem;
  line-height: 1;
  min-height: 34px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.row-remove span[aria-hidden] {
  font-size: 1.15rem;
  line-height: 1;
}

.row-remove:hover,
.row-remove:focus-visible {
  background: #7d2f26;
  border-color: #7d2f26;
  color: var(--white);
}

/* Nel riepilogo della cassa non c'è spazio per l'etichetta: resta la sola
   icona, con aria-label che ne spiega la funzione agli screen reader. */
.checkout-item .row-remove {
  margin: 0 0 0 10px;
  padding: 0;
  width: 30px;
  min-height: 30px;
  height: 30px;
  flex: 0 0 auto;
  justify-content: center;
}

.checkout-item .row-remove::after { content: none; }

.cart-summary [data-empty-cart] {
  margin-top: 16px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-summary [data-empty-cart]:hover { color: #7d2f26; }

/* Toast con azione di annullamento */
.toast {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toast-action {
  background: none;
  border: 0;
  border-left: 1px solid rgba(244, 239, 230, 0.3);
  padding: 2px 0 2px 16px;
  color: var(--brass);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.toast-action:hover { color: var(--cream); }

@media (max-width: 620px) {
  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}
