/* Ducco Legna — original stylesheet. Mobile first. */
@font-face { font-family: "Bitter"; src: url("/static/fonts/bitter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/static/fonts/source-sans-3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --bg: #FAF6F0;
  --bg-warm: #F3EADF;
  --paper: #FFFFFF;
  --ink: #2B2A28;
  --ink-soft: #5B554E;
  --line: #E4D9CB;
  --ember: #C8501E;
  --ember-dark: #A33F14;
  --wood: #7A4E2D;
  --forest: #3F5B3A;
  --ok-bg: #E8F0E4;
  --warn-bg: #FFF1E0;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(43, 42, 40, .06), 0 8px 24px rgba(43, 42, 40, .06);
  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-dark); text-underline-offset: 3px; }
a:hover { color: var(--ember); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .02em; }
.lead { font-size: 1.125rem; color: var(--ink-soft); }
.eyebrow { font-size: .95rem; font-weight: 600; color: var(--wood); margin-bottom: .4em; }
.more { font-weight: 600; text-decoration: none; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.3em; border: 2px solid var(--ember); border-radius: 4px; background: var(--ember); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--ember-dark); border-color: var(--ember-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--lg { min-height: 54px; font-size: 1.05rem; padding: .8em 1.6em; }
.btn--sm { min-height: 38px; padding: .4em 1em; font-size: .9rem; }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; color: var(--ember-dark); text-decoration: underline; cursor: pointer; }
.linklike.danger { color: #9b2c1a; }

/* Top bar & header */
.topbar { background: var(--ink); color: #EFE6DA; font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 12px; padding: 7px 16px; }
.topbar a { color: #fff; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(250, 246, 240, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { font-family: var(--serif); font-weight: 800; font-size: 1.45rem; letter-spacing: .08em; line-height: 1; color: var(--wood); }
.logo__text small { display: block; font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .02em; color: var(--ink-soft); margin-top: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; text-decoration: none; color: var(--ink); font-weight: 500; padding: .6em .2em; }
.nav a[aria-current="page"] { color: var(--ember-dark); }
.header__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn, .cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.icon-btn:hover, .cart-btn:hover { background: var(--bg-warm); color: var(--ink); }
.icon-btn svg, .cart-btn svg { width: 24px; height: 24px; }
.cart-btn__n { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ember); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.nav-toggle { order: 3; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.nav-toggle__bar::before { position: absolute; top: -7px; }
.nav-toggle__bar::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
.nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
.nav.is-open { display: block; }
.nav__cat a { padding-left: 1em; font-size: .95rem; color: var(--ink-soft); }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav { position: static; display: block; background: none; border: 0; padding: 0; }
  .nav ul { display: flex; gap: 22px; }
  .nav__cat { display: none; }
  .header__in { gap: 28px; }
}

/* Hero */
.hero { background: var(--bg-warm); border-bottom: 1px solid var(--line); }
.hero__in { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 40px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--ember-dark); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); font-size: .95rem; }
.hero__points li::before { content: "✓ "; color: var(--forest); font-weight: 700; }
.hero__art img { margin: 0 auto; width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/3; }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.1fr .9fr; padding-top: 64px; padding-bottom: 72px; } }

/* Sections */
.section { padding: 48px 0; }
.section--warm { background: var(--bg-warm); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section__head p { color: var(--ink-soft); max-width: 60ch; margin: 0; flex-basis: 100%; }
.page-head { padding: 32px 0 12px; }
.page-head h1 { margin-bottom: .3em; }

/* Category tiles */
.cats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.cat img { aspect-ratio: 300/220; object-fit: cover; width: 100%; background: var(--bg-warm); }
.cat__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; padding: 14px 18px 2px; }
.cat__intro { padding: 0 18px 18px; color: var(--ink-soft); font-size: .95rem; }

/* Product grid & card */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.card:hover { box-shadow: var(--shadow); }
.card__img { position: relative; display: block; background: var(--bg-warm); }
.card__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--paper); color: var(--ink); font-size: .8rem; font-weight: 700; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--line); }
.badge--inline { position: static; display: inline-block; margin-bottom: 10px; }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.12rem; margin: 0; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--ember-dark); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips { gap: 4px 12px; }
.chips li { font-size: .88rem; color: var(--ink-soft); }
.chips li + li::before { content: "·"; margin-right: 12px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; margin: 0; }
.price small { font-family: var(--sans); font-size: .8rem; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.price--lg { font-size: 2.1rem; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; scrollbar-width: none; }
.filters a { white-space: nowrap; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--paper); border-radius: 4px; padding: 7px 16px; font-weight: 500; font-size: .95rem; }
.filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 40px 0; text-align: center; color: var(--ink-soft); }
.seo-text { margin: 40px 0; max-width: 75ch; }

/* Why / steps */
.why { display: grid; gap: 32px; }
@media (min-width: 900px) { .why { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: .7em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 3 3 5-6' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.steps { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; margin-bottom: 16px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ember); color: #fff; font-weight: 700; display: grid; place-items: center; }

/* FAQ */
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--ember); }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 18px 16px; margin: 0; color: var(--ink-soft); }
.faq-group { margin-bottom: 32px; }

/* Breadcrumb */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: .875rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--ink-soft); }

/* Product page */
.product { display: grid; gap: 28px; padding: 20px 0 32px; }
@media (min-width: 900px) { .product { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.gallery__main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); background: var(--bg-warm); }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery__thumbs button { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer; flex: none; background: none; }
.gallery__thumbs button.is-active { border-color: var(--ember); }
.gallery__thumbs img { width: 84px; height: 63px; object-fit: cover; }
.specs-icons { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 520px) { .specs-icons { grid-template-columns: repeat(4, 1fr); } }
.specs-icons li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.specs-icons .ic { width: 26px; height: 26px; margin: 0 auto 4px; color: var(--wood); }
.specs-icons strong { font-size: .95rem; }
.specs-icons small { color: var(--ink-soft); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.buybox { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.unit-detail { font-weight: 600; color: var(--wood); margin: 0 0 .3em; }
.buy { display: grid; gap: 14px; margin-top: 14px; }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.qty__ctl { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg); }
.qty__ctl button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.qty__ctl input { width: 56px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty__ctl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.wa-inline { display: block; text-align: center; margin-top: 12px; font-weight: 600; color: #1F7A45; }
.delivery-box { margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--bg-warm); font-size: .95rem; }
.delivery-box p { margin-bottom: .5em; }
.product__more { display: grid; gap: 32px; padding: 16px 0 24px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .product__more { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.specs { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 12px; overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.specs th { color: var(--ink-soft); font-weight: 500; width: 45%; }
.tip { margin-top: 18px; padding: 16px; border-left: 4px solid var(--forest); background: var(--ok-bg); border-radius: 0 12px 12px 0; }
.tip p { margin: .3em 0 0; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }

/* Notices */
.notice { border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
.notice--ok { background: var(--ok-bg); border: 1px solid #C7DABD; }
.notice--warn { background: var(--warn-bg); border: 1px solid #F0CDA4; }

/* Cart */
.cart { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 900px) { .cart { grid-template-columns: 1fr 380px; align-items: start; } }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.line__img img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.line__name { font-weight: 600; color: var(--ink); text-decoration: none; display: block; }
.line__qty { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.line__qty input { width: 70px; height: 38px; text-align: center; border: 1px solid var(--line); border-radius: 8px; }
.line__total { font-family: var(--serif); font-size: 1.15rem; }
@media (min-width: 640px) { .line { grid-template-columns: 96px 1fr auto auto; } .line__img img { width: 96px; height: 72px; } .line__qty { grid-column: auto; } }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.summary h2 { font-size: 1.3rem; }
@media (min-width: 900px) { .summary { position: sticky; top: 90px; } }
.totals { margin: 0 0 18px; }
.totals > div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals dd { margin: 0; font-weight: 600; }
.totals__grand { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px !important; font-family: var(--serif); font-size: 1.35rem; }
.totals__vat { font-size: .85rem; color: var(--ink-soft); }
.delivery-form { display: grid; gap: 10px; margin-bottom: 20px; }

/* Forms */
.field { display: grid; gap: 4px; margin-bottom: 14px; font-size: .95rem; }
.field > span { font-weight: 600; }
.field abbr { color: var(--ember); text-decoration: none; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #CFC2B1; border-radius: 10px; background: #fff; }
.field textarea { min-height: 0; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ember); outline: none; box-shadow: 0 0 0 3px rgba(200, 80, 30, .18); }
.field small { color: var(--ink-soft); }
.field--error input, .field--error textarea { border-color: #B3261E; }
.err { color: #B3261E !important; font-weight: 600; display: block; }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; }
.radio input, .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ember); flex: none; }
.row2, .row3 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 1fr 2fr 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 18px; background: var(--paper); }
legend { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; padding: 0 8px; }
.checkout { display: grid; gap: 24px; padding-bottom: 48px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1fr 400px; align-items: start; } }
.mini-lines { list-style: none; padding: 0; margin: 0 0 12px; font-size: .95rem; }
.mini-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.pay-info { background: var(--bg-warm); border-radius: 12px; padding: 14px; margin: 0 0 16px; font-size: .92rem; }
.pay-info p { margin: .4em 0 0; }
.hp { position: absolute; left: -10000px; }

/* Order confirmation */
.confirm { text-align: center; padding: 40px 0 16px; }
.confirm__icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--forest); color: #fff; font-size: 2rem; display: grid; place-items: center; }
.status { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--warn-bg); border: 1px solid #F0CDA4; font-weight: 600; }
.status--pagato, .status--spedito, .status--consegnato { background: var(--ok-bg); border-color: #C7DABD; }
.bank { background: #FFF8EE; border: 2px solid #E9C9A6; border-radius: var(--radius); padding: 22px; margin: 24px 0; }
.bank__grid { display: grid; gap: 0; margin: 0 0 12px; }
.bank__grid > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #F0DCC4; }
.bank__grid dt { color: var(--wood); }
.bank__grid dd { margin: 0; font-weight: 600; word-break: break-word; }
.bank__amount { font-family: var(--serif); font-size: 1.5rem; }
[data-copy] { cursor: copy; }
.order-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.table .num { text-align: right; white-space: nowrap; }
.table .grand td { font-weight: 700; font-size: 1.05rem; }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; }

/* Content pages */
.about { display: grid; gap: 32px; padding-bottom: 48px; }
@media (min-width: 900px) { .about { grid-template-columns: 1.4fr 1fr; } }
.about__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; align-self: start; }
.kv { margin: 16px 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.cols3 { display: grid; gap: 16px; margin: 32px 0; }
@media (min-width: 760px) { .cols3 { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact { display: grid; gap: 32px; padding-bottom: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.3fr 1fr; } }
.contact__info { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; align-self: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.map { border-radius: 12px; overflow: hidden; background: var(--bg-warm); padding: 16px; font-size: .92rem; }
.map iframe { width: 100%; height: 280px; border: 0; display: block; }
.map:has(iframe) { padding: 0; }
.legal { padding-bottom: 48px; }
.form-box { border: 1px dashed var(--wood); border-radius: 12px; padding: 16px; background: var(--paper); }
.big-code { font-family: var(--serif); font-size: 5rem; color: var(--ember); margin: 0; line-height: 1; }

/* Reassurance band & footer */
.reassure { background: var(--paper); border-top: 1px solid var(--line); }
.reassure__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
@media (min-width: 900px) { .reassure__grid { grid-template-columns: repeat(4, 1fr); } }
.reassure__grid > div { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--ink-soft); }
.reassure__grid strong { color: var(--ink); font-size: 1rem; }
.reassure .ic { width: 30px; height: 30px; color: var(--wood); margin-bottom: 4px; }
.footer { background: var(--ink); color: #D9CFC2; font-size: .93rem; }
.footer a, .footer .linklike { color: #F4E9DC; text-decoration: none; }
.footer a:hover, .footer .linklike:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 32px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: .4em; }
.footer__title { color: #fff; font-weight: 600; margin-bottom: .6em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .45em; }
.footer__legal { border-top: 1px solid #45423E; font-size: .82rem; padding: 16px 0 90px; }
.footer__legal p { margin: .2em 0; }
@media (min-width: 760px) { .footer__legal { padding-bottom: 20px; } }

/* WhatsApp float */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px 0 12px; border-radius: 26px; background: #1F8A4C; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.wa-float:hover { background: #18703D; color: #fff; }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; } }

/* Cookie banner */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px; }
.cookie__in { max-width: 920px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, .18); padding: 16px 18px; display: grid; gap: 12px; font-size: .92rem; }
.cookie__in p { margin: 0; }
.cookie__btns { display: flex; gap: 10px; justify-content: flex-end; }
@media (min-width: 760px) { .cookie__in { grid-template-columns: 1fr auto; align-items: center; } }

/* Grid items must be allowed to shrink below their content width (no horizontal scroll on phones) */
.hero__in, .why, .product, .product__more, .cart, .checkout, .about, .contact, .footer__grid { grid-template-columns: minmax(0, 1fr); }
.hero__in > *, .why > *, .product > *, .product__more > *, .cart > *, .checkout > *, .about > *, .contact > *, .footer__grid > * { min-width: 0; }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .why { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .product__more { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .cart { grid-template-columns: minmax(0, 1fr) 380px; }
  .about { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
@media (min-width: 960px) { .checkout { grid-template-columns: minmax(0, 1fr) 400px; } }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.topbar__in span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price { white-space: nowrap; }
.card__foot { flex-wrap: wrap; }

/* Icons, photos, company block */
.ic { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }
.footer__contact li, .contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.footer__contact .ic, .contact-list .ic { margin-top: .2em; color: #C9A27A; }
.contact-list .ic { color: var(--wood); }
.delivery-box .ic { color: var(--wood); }
.company { margin: 14px 0 0; padding: 12px 14px; border: 1px solid #514D47; border-radius: var(--radius); font-size: .9rem; }
.company > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.company dt { color: #B5AA9C; }
.company dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.footer__legal { background: #1F1E1C; color: #E8DFD3; font-size: .9rem; }
.footer__legal strong { color: #fff; }
.topbar strong { color: #fff; }
.photo { margin: 0 0 1.5em; }
.photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.photo figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 6px; }
.steps__img { width: 100%; border-radius: var(--radius); margin-bottom: 18px; aspect-ratio: 4/3; object-fit: cover; }
.about__card img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.cat img { object-fit: cover; }
.steps li::before { border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (max-width: 600px) { .topbar a { display: none; } }

/* Quantity discounts (prezzo scalare) */
.tiers { margin: 14px 0 16px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--bg-warm); }
.tiers__title { font-weight: 700; margin: 0 0 8px; color: var(--wood); }
.tiers__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tiers__table th { text-align: left; font-size: .8rem; font-weight: 600; color: var(--ink-soft); padding: 0 0 4px; }
.tiers__table td { padding: 5px 0; border-top: 1px solid var(--line); }
.tiers__table .num { text-align: right; }
.tiers__table tr.is-active td { font-weight: 700; color: var(--ink); }
.tiers__live { margin: 8px 0 0; font-size: .92rem; }
.tiers__live:empty { display: none; }
.card__tier { margin: 2px 0 0; font-size: .8rem; font-weight: 600; color: var(--wood); }
.save-tag { display: inline-block; margin-top: 2px; font-size: .8rem; font-weight: 600; color: var(--forest); }
.tier-hint { display: block; font-size: .8rem; color: var(--ink-soft); }
.totals__save dd { color: var(--forest); }
.photo-note { font-size: .85rem; color: var(--ink-soft); margin: 6px 0 0; }
