/* =========================================================
   Negozio – design minimale, mobile first
   Colore accento e font arrivano da Admin → Impostazioni → Aspetto
   ========================================================= */
html:root {
  --primary: #D9480F;          /* accento: CTA, badge, dettagli */
  --secondary: #14161A;        /* inchiostro: testi, pulsanti principali */
  --accent: #14532D;           /* verde: disponibilità, conferme */
  --ink: var(--secondary);
  --text-2: #4B4F57;
  --muted: #5F636B;
  --soft: #F4F4F1;
  --line: #ECEBE7;
  --line-2: #E2E1DC;
  --ok-bg: #E3F1E8;
  --bg: #FFFFFF;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bar-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; padding-bottom: var(--bar-h); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-display, var(--font)); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.03em; }
h1 { letter-spacing: -0.045em; }
p { margin: 0 0 1em; }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
[hidden] { display: none !important; }
.ico { flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }
.left { text-align: left; }

input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: #fff; font-size: 16px; transition: border-color .15s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--ink); flex-shrink: 0; }
label { display: block; font-size: 14px; font-weight: 600; }
label > input, label > select, label > textarea { margin-top: 6px; font-weight: 400; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
.main { min-height: 50vh; padding-bottom: 32px; }

/* ---------- Bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: .15s; color: var(--ink); }
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; opacity: .9; }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { color: #fff; filter: brightness(.93); border-color: var(--primary); }
.btn--ghost { background: transparent; }
.btn--lg { min-height: 54px; font-size: 16px; padding: 0 24px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; position: relative; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }

.alert { padding: 14px 16px; border-radius: var(--r); margin: 16px 0; font-weight: 500; }
.alert--success { background: var(--ok-bg); color: var(--accent); }
.alert--error { background: #FDECEC; color: #8F1D1D; }
.alert--info { background: #EAF1FD; color: #1E3A8A; }

.badge { position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.tag { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 8px; font-size: 11px; font-weight: 700; }
.tag--eco { background: var(--ok-bg); color: var(--accent); }
.tag--light { background: #fff; color: var(--ink); font-size: 12px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; text-align: center; padding: 9px 16px; }
.topbar a { color: #fff; }
.header { background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header__inner { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.header__burger { margin-left: -8px; }
.logo { flex: 1; text-decoration: none; font-size: 21px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo span { color: var(--primary); }
.logo img { max-height: 40px; }
.header__actions { display: flex; gap: 2px; margin-right: -8px; }
.search { order: 3; flex-basis: 100%; position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: var(--r); background: var(--soft); color: var(--muted); }
.search input { border: 0 !important; background: transparent !important; padding: 0 !important; min-height: 0 !important; height: 100%; font-size: 16px; color: var(--ink); }
.search__suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--r); box-shadow: 0 12px 32px rgba(20,22,26,.14); overflow: hidden; z-index: 60; }
.search__suggest a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; text-decoration: none; color: var(--ink); }
.search__suggest a:hover, .search__suggest a:focus { background: var(--soft); outline: none; }
.search__suggest .search__all { justify-content: center; font-weight: 600; font-size: .9rem; color: var(--primary); border-top: 1px solid var(--line, #eee); }
.search-fix { margin: 6px 0 0; color: var(--muted, #667); }
.search__suggest img { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; }
.search__suggest small { color: var(--muted); }

.nav { display: none; }
.nav.is-open { display: block; position: fixed; inset: 0; z-index: 80; background: #fff; overflow-y: auto; padding: 8px 0 40px; }
.nav__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 20px; font-weight: 800; font-size: 18px; }
.nav__inner { display: flex; flex-direction: column; }
.nav__link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav__link--all { color: var(--primary); }
.mega { padding: 4px 0 12px 16px; display: none; }
.nav__item.is-open .mega { display: block; }
.nav__item.is-open .nav__toggle .ico { transform: rotate(180deg); }
.mega__grid { display: grid; gap: 2px; }
.mega__grid a { text-decoration: none; padding: 10px 0; font-size: 15px; color: var(--text-2); }
.nav__row { display: flex; align-items: center; }
.nav__row .nav__link { flex: 1; }
.nav__toggle { border-bottom: 1px solid var(--line); border-radius: 0; height: 52px; }

/* Barra di navigazione inferiore (mobile) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px 8px calc(10px + env(safe-area-inset-bottom)); backdrop-filter: blur(8px); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 2px; font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tabbar a.is-active { color: var(--ink); font-weight: 700; }
.tabbar .badge { top: 2px; right: calc(50% - 22px); }
body.has-tabbar { --bar-h: 72px; }
body.has-buybar { --bar-h: 92px; }
body.has-buybar .tabbar { display: none; }

/* ---------- Sezioni ---------- */
.section { padding: 36px 0 8px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.section__head h2 { font-size: 22px; font-weight: 800; margin: 0; }
.section__head a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 10px 0; }

.hero { padding: 28px 0 8px; }
.hero__inner { display: grid; gap: 22px; }
.hero__text { display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font-size: clamp(38px, 9vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; margin: 0; }
.hero p { font-size: 16px; color: var(--text-2); margin: 0; max-width: 520px; }
.hero__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.hero__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 145px 145px; gap: 10px; }
.hero__tile { background: var(--soft); border-radius: var(--r-lg); display: grid; place-items: center; padding: 12px; overflow: hidden; }
.hero__tile:first-child { grid-row: span 2; }
.hero__tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.perks { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.perks li { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.perks .ico { color: var(--primary); }

.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cat-tile { background: var(--soft); border-radius: 18px; padding: 16px 8px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1.25; transition: .15s; }
.cat-tile:hover { background: #EDEDE8; color: var(--ink); }
.cat-tile small { font-size: 11.5px; font-weight: 500; color: var(--muted); }

.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: 0 0 160px; scroll-snap-align: start; }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps b { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; display: grid; place-items: center; }
.steps strong { display: block; font-size: 15px; }
.steps span { font-size: 14px; color: var(--muted); }

.cta-band { margin-top: 32px; padding: 24px 20px; border-radius: 24px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 12px; }
.cta-band h2 { margin: 0; font-size: 22px; font-weight: 800; }
.cta-band p { margin: 0; color: #C9CBD0; }
.cta-band__actions { display: flex; gap: 10px; margin-top: 6px; }
.cta-band__actions .btn--primary { flex: 1; }
.cta-band .btn--outline { width: 54px; padding: 0; background: transparent; border-color: #3A3D44; color: #fff; }

/* ---------- Card prodotto ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.card:hover { color: var(--ink); }
.card__media { position: relative; aspect-ratio: 1 / 1.08; background: var(--soft); border-radius: 18px; display: grid; place-items: center; padding: 14px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }
.card__title { font-size: 14px; font-weight: 700; line-height: 1.3; margin: 0; }
.card__desc { font-size: 12.5px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.card__price strong { font-size: 16px; color: var(--ink); }

/* ---------- Catalogo ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 0 2px; }
.breadcrumb a { text-decoration: none; }
.catalog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.catalog__head h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.catalog__intro { color: var(--text-2); margin: 8px 0 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 0 16px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px; border: 1.5px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar { display: flex; gap: 8px; margin: 12px 0 18px; }
.toolbar > * { flex: 1; }
.filters { position: relative; }
.filters summary { list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary.btn { width: 100%; }
.filters__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: min(340px, calc(100vw - 32px)); background: #fff; border-radius: var(--r); box-shadow: 0 16px 40px rgba(20,22,26,.16); padding: 18px; display: grid; gap: 14px; }
.sort select { height: 48px; font-weight: 600; font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 10px 0; line-height: 1.4; }
.empty { text-align: center; padding: 48px 20px; background: var(--soft); border-radius: var(--r-lg); }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 0 8px; }
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.pagination a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Scheda prodotto ---------- */
.pdp { display: grid; gap: 8px; padding-top: 8px; }
.pdp__main-img { position: relative; aspect-ratio: 1 / 0.95; border-radius: 24px; background: var(--soft); display: grid; place-items: center; padding: 24px; }
.pdp__main-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pdp__thumbs button { flex: 0 0 64px; height: 64px; border: 1.5px solid transparent; border-radius: var(--r-sm); background: var(--soft); padding: 6px; }
.pdp__thumbs button.is-active { border-color: var(--ink); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__info { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; }
.pdp__code { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pdp__title { font-size: 28px; line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.pdp__short { color: var(--text-2); margin: 0; }
.stock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); min-height: 20px; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; }
.stock:empty::before { display: none; }
.stock--low { color: #92400E; }
.stock--low::before { background: #D97706; }

.configurator { margin-top: 18px; border-top: 1px solid var(--line); }
.step { padding: 22px 0 4px; }
.step__title { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.step__title b { color: var(--muted); font-weight: 600; }
.step__title span { color: var(--muted); font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch img { width: 56px; height: 56px; object-fit: contain; border: 2px solid var(--line-2); border-radius: 14px; padding: 4px; background: var(--soft); cursor: pointer; mix-blend-mode: normal; }
.swatch input:checked + img { border-color: var(--ink); }
.swatch input:focus-visible + img { outline: 2px solid var(--primary); outline-offset: 2px; }
.stock { margin-top: 12px; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tier { height: 62px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--ink); }
.tier strong { font-size: 15px; }
.tier span { font-size: 12px; color: var(--muted); }
.tier.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.tier.is-current span { color: rgba(255,255,255,.8); }
.qty-custom { display: flex; flex-direction: column; justify-content: center; height: 62px; padding: 6px 12px; border: 1.5px dashed #CFCEC8; border-radius: 14px; font-size: 11px; font-weight: 600; color: var(--muted); }
.qty-custom input { border: 0 !important; padding: 0 !important; min-height: 0 !important; margin: 0 !important; font-size: 16px !important; font-weight: 700; color: var(--ink); background: transparent !important; }
.qty-custom input::-webkit-inner-spin-button { opacity: 1; }
.qty-custom.is-current { border-style: solid; border-color: var(--ink); }
.qty-note { display: block; margin-top: 8px; font-size: 13px; }

.print-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r); margin-bottom: 8px; cursor: pointer; font-size: 15px; font-weight: 700; }
.print-opt small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.print-opt:has(input:checked) { border-color: var(--ink); }
.positions { display: grid; gap: 8px; }
.positions.is-disabled { opacity: .35; pointer-events: none; }
.position { border: 1.5px solid var(--line-2); border-radius: var(--r); transition: border-color .15s; }
.position.is-on { border-color: var(--ink); }
.position__head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; font-size: 15px; }
.position__head small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.position__body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 16px; }
.position__body label { font-size: 12.5px; color: var(--muted); }
.position__pms { grid-column: 1 / -1; }
.position:not(.is-on) .position__body { display: none; }

.dropzone { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed #CFCEC8; border-radius: 18px; cursor: pointer; position: relative; font-weight: 400; }
.dropzone:hover { border-color: var(--ink); }
.dropzone__icon { flex: 0 0 44px; height: 44px; border-radius: var(--r-sm); background: var(--soft); display: grid; place-items: center; }
.dropzone strong { display: block; font-size: 15px; }
.dropzone small { color: var(--muted); font-size: 12.5px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.step textarea { margin-top: 10px; }

.price-box { margin-top: 22px; padding: 18px; border-radius: 20px; background: var(--soft); }
.price-box__main { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.price-box small { color: var(--muted); font-size: 12px; }
.price-box__unit { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.price-box__total-wrap { text-align: right; }
.price-box__total { font-size: 20px; font-weight: 800; }
.price-box__detail { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 14px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line-2); }
.price-box__detail dt { color: var(--text-2); }
.price-box__detail dd { margin: 0; text-align: right; font-weight: 700; }
.price-box__error { color: #8F1D1D; margin-top: 10px; font-weight: 600; }
.price-box__actions { display: none; }
.price-box.is-loading .price-box__unit, .price-box.is-loading .price-box__total, .buybar.is-loading strong { opacity: .35; }
.perks-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.perks-list li { display: flex; gap: 10px; }
.perks-list .ico { color: var(--primary); margin-top: 1px; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; backdrop-filter: blur(8px); }
.buybar__price { display: flex; flex-direction: column; min-width: 0; }
.buybar__price span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.buybar__price strong { font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.buybar .btn { flex: 1; }

.accordion { border-top: 1px solid var(--line); }
.accordion:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 58px; font-size: 15px; font-weight: 700; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion[open] summary .ico { transform: rotate(180deg); }
.accordion__body { padding-bottom: 18px; color: var(--text-2); font-size: 14px; }
.details { margin-top: 32px; max-width: 760px; }
.spec { border-collapse: collapse; width: 100%; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 8px 0; vertical-align: top; }
.spec th { color: var(--muted); font-weight: 500; width: 40%; padding-right: 12px; }
.print-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.print-area { background: var(--soft); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.print-area img { aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 6px; }
.print-area small { color: var(--muted); }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.docs a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.prose { color: var(--text-2); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
/* tabelle di confronto nelle guide (2.82): scorrono da sole su telefono, righe alternate */
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 15px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { white-space: nowrap; }
.prose tbody tr:nth-child(even) td { background: rgba(0, 0, 0, .025); }
.prose tbody td:first-child { font-weight: 700; color: var(--ink); }

/* ---------- Carrello e checkout ---------- */
.page-title { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin: 22px 0 6px; }
.page-title span { color: var(--muted); font-weight: 600; }
.page-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.progress { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.progress li { display: flex; flex-direction: column; gap: 6px; }
.progress li::before { content: ''; height: 4px; border-radius: 2px; background: var(--line-2); }
.progress li.is-done { color: var(--ink); }
.progress li.is-done::before { background: var(--ink); }
.ship-note { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--ok-bg); color: var(--accent); font-size: 14px; font-weight: 600; }
.ship-note--todo { background: #FFF4EC; color: #8A3410; }
.cart, .checkout { display: grid; gap: 8px; }
.cart-line { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line__img { height: 96px; border-radius: var(--r); background: var(--soft); display: grid; place-items: center; padding: 10px; }
.cart-line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; color: var(--muted); }
.cart-line__top { display: flex; justify-content: space-between; gap: 8px; }
.cart-line__top a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.3; }
.cart-line__remove { margin: -10px -10px 0 0; color: var(--muted); }
.file-chip { align-self: flex-start; margin-top: 2px; padding: 3px 8px; border-radius: 6px; background: var(--soft); font-size: 12px; font-weight: 600; color: var(--ink); }
.cart-line__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cart-line__qty { display: flex; align-items: center; gap: 6px; }
.cart-line__qty input { width: 96px !important; min-height: 42px !important; padding: 8px 10px !important; text-align: center; font-weight: 700; }
.cart-line__qty span { font-size: 12px; }
.cart-line__total { text-align: right; display: flex; flex-direction: column; }
.cart-line__total strong { font-size: 16px; color: var(--ink); }
.cart__actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.summary { margin-top: 22px; padding: 20px; border-radius: 20px; background: var(--soft); align-self: start; }
.summary h3 { font-size: 17px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 0; font-size: 14px; }
.summary dt { color: var(--text-2); }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.summary dd.free { color: var(--accent); }
.summary__total { padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 16px; color: var(--ink) !important; font-weight: 700; }
dd.summary__total { font-size: 22px; letter-spacing: -0.02em; }
.summary__items { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; }
.summary__items li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.summary__hint { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.summary .btn { margin-top: 16px; }
.reassure { list-style: none; margin: 22px 0 0; padding: 0 4px; display: grid; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.reassure li { display: flex; gap: 10px; }
.reassure .ico { color: var(--primary); margin-top: 1px; }

.box { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 20px; margin: 0 0 16px; }
fieldset.box { min-width: 0; }
fieldset.box legend { font-weight: 800; font-size: 17px; padding: 0 6px; margin-left: -6px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.span-2 { grid-column: 1 / -1; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r); margin-bottom: 10px; cursor: pointer; font-size: 15px; }
.radio-card small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 2px; }
.radio-card:has(input:checked) { border-color: var(--ink); }

.thanks { padding: 48px 0; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.thanks__icon--err { background: var(--primary); font-size: 22px; font-weight: 800; }
.thanks h1 { font-size: 28px; font-weight: 800; }
.auth { margin: 32px auto; max-width: 480px; }
.auth--wide { max-width: 980px; }
.auth--wide .auth__cols { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.auth input::placeholder { text-transform: none; }
.auth h1 { font-size: 26px; font-weight: 800; }
.auth form { display: grid; gap: 14px; margin-bottom: 14px; }
.account { display: grid; gap: 16px; margin-top: 16px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.table th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); white-space: nowrap; }
.totals { display: grid; grid-template-columns: 1fr auto; max-width: 340px; margin: 16px 0 0 auto; gap: 8px; }
.totals dd { margin: 0; text-align: right; }
.contact { display: grid; gap: 24px; padding-top: 8px; }
.contact__info { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.contact__info li { display: flex; align-items: center; gap: 10px; }
.contact__product { background: var(--soft); padding: 12px 14px; border-radius: var(--r-sm); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 24px; padding: 36px 0 24px; font-size: 14px; }
.footer__grid { display: grid; gap: 28px; }
.footer .logo { display: inline-block; margin-bottom: 8px; }
.footer p { color: var(--muted); margin: 0; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.footer__links a, .footer__contacts a { text-decoration: none; }
.footer__contacts { display: grid; gap: 8px; color: var(--text-2); }
.footer__contacts span, .footer__contacts a { display: flex; align-items: center; gap: 8px; }
.footer__legal { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer__bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 768px) {
  .container { padding: 0 28px; }
  .hscroll { margin: 0; padding: 0 0 4px; }
  .hscroll > * { flex-basis: 220px; }
  .chips { margin: 14px 0 0; padding: 0 0 4px; flex-wrap: wrap; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__cta { flex-direction: row; }
  .toolbar { max-width: 520px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .print-areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  body.has-tabbar, body.has-buybar { --bar-h: 0px; }
  .tabbar, .buybar, .header__burger { display: none !important; }
  .header__inner { flex-wrap: nowrap; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
  .logo { flex: 0 0 auto; font-size: 23px; }
  .search { order: 0; flex: 1; flex-basis: auto; max-width: 620px; }
  .header__actions { margin-left: auto; }
  .nav, .nav.is-open { display: block; position: static; padding: 0; overflow: visible; }
  .nav__head, .nav__toggle { display: none; }
  .nav__inner { flex-direction: row; flex-wrap: wrap; gap: 2px; }
  .nav__item { position: relative; }
  .nav__link { min-height: 46px; padding: 0 12px; border: 0; font-size: 14px; }
  .mega { position: absolute; top: 100%; left: 0; z-index: 40; min-width: 460px; padding: 16px 20px; background: #fff; border-radius: 0 0 var(--r) var(--r); box-shadow: 0 16px 40px rgba(20,22,26,.12); }
  .nav__item:hover .mega, .nav__item:focus-within .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .mega__grid a { padding: 7px 0; font-size: 14px; }

  .hero { padding: 56px 0 24px; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero__media { grid-template-rows: 210px 210px; }
  .perks { max-width: 640px; gap: 24px; }
  .perks li { flex-direction: row; align-items: center; font-size: 14px; }
  .section { padding: 56px 0 8px; }
  .section__head h2 { font-size: 28px; }
  .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hscroll { overflow: visible; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
  .hscroll > *:nth-child(n+9) { display: none; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps li { flex-direction: column; border: 0; background: var(--soft); border-radius: var(--r-lg); padding: 22px; }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 40px; }
  .cta-band__actions { margin: 0; min-width: 320px; }

  .pdp { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; padding-top: 16px; }
  .pdp__gallery { position: sticky; top: 140px; }
  .pdp__info { padding-top: 0; }
  .pdp__title { font-size: 34px; }
  .price-box__actions { display: grid; gap: 10px; margin-top: 16px; }

  .cart { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
  .checkout { grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
  .summary { position: sticky; top: 120px; margin-top: 0; }
  .contact { grid-template-columns: 1fr 1.3fr; gap: 48px; }
}

/* =========================================================
   Blocchi dell'editor visuale
   ========================================================= */
.b-section { position: relative; padding: var(--pt-m, 32px) 0 var(--pb-m, 8px); }
.b-section > .b-inner { position: relative; z-index: 1; }
.b-overlay { position: absolute; inset: 0; background: #000; z-index: 0; pointer-events: none; }
.b-inner--full { padding: 0; }
.b-inner--narrow { max-width: 760px; }
.b-inner--box { padding-left: 20px; padding-right: 20px; }
.b-row { display: grid; grid-template-columns: var(--cols, 1fr); gap: var(--gap, 32px); }
.b-row--stack { grid-template-columns: 1fr; }
.b-col { min-width: 0; }
.b-w { margin-top: var(--mt, 0); margin-bottom: var(--mb, 16px); }
.b-w:last-child { margin-bottom: 0; }
.b-align-center .section__head, .b-align-center .b-buttons, .b-align-center .hero__cta { justify-content: center; }
.b-align-center .b-image { margin-left: auto; margin-right: auto; }
.b-align-right .b-image { margin-left: auto; }
.b-heading { font-size: var(--fs-m, var(--fs, 26px)); margin: 0; font-weight: 800; letter-spacing: -0.025em; }
.b-heading--h1 { --fs-default: 40px; font-size: var(--fs-m, var(--fs, 38px)); line-height: 1.05; letter-spacing: -0.04em; }
.b-heading--h3 { font-size: var(--fs-m, var(--fs, 20px)); }
.b-heading--h4 { font-size: var(--fs-m, var(--fs, 17px)); }
.b-heading--p { font-size: var(--fs-m, var(--fs, 16px)); font-weight: 600; letter-spacing: 0; }
.b-heading a { text-decoration: none; }
.b-text > :last-child { margin-bottom: 0; }
.b-text a { color: var(--primary); }
.b-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.b-btn-block-m { width: 100%; }
.b-link { font-weight: 700; color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.b-image { margin: 0; }
.b-image img { width: 100%; height: auto; }
.b-image--soft img { background: var(--soft); padding: 16px; mix-blend-mode: multiply; }
.b-image figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.b-placeholder, .b-empty, .b-col-empty { display: grid; place-items: center; min-height: 120px; border: 1.5px dashed #CFCEC8; border-radius: var(--r); color: var(--muted); font-size: 14px; background: #FAFAF8; text-align: center; padding: 16px; }
.b-col-empty { min-height: 64px; }
.b-spacer { height: var(--h-m, var(--h, 24px)); }
.b-divider { border: 0; margin: 0; }
.b-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols-m, 3), minmax(0, 1fr)); gap: 14px; }
.b-icons li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.35; }
.b-icons .ico { color: var(--ic, var(--primary)); }
.b-icons strong { display: block; font-weight: 600; }
.b-icons span { display: block; color: var(--muted); margin-top: 2px; }
.b-icons--boxed li { background: var(--soft); border-radius: var(--r); padding: 16px; }
.b-quote { margin: 0; padding: 24px; border-radius: var(--r-lg); background: var(--soft); }
.b-quote blockquote { margin: 0 0 14px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.b-quote figcaption { font-size: 14px; color: var(--muted); }
.b-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.b-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.b-video { position: relative; width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.b-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-form h2 { font-size: 24px; font-weight: 800; }
.b-links h4, .b-contact h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.b-brand p { color: var(--muted); margin: 8px 0 0; }
.b-brand .logo { display: inline-block; }
.chips--wrap { flex-wrap: wrap; margin: 0; padding: 0; }
.cat-tile--img { padding: 10px 8px 12px; }
.cat-tile__img { width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.cat-tile__img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hero__inner--solo { grid-template-columns: 1fr !important; }
.hero__media--single { grid-template-columns: 1fr; }
.hero__media--single .hero__tile { grid-row: span 2; }
.b-section .hero { padding: 0; }
.footer--builder { padding: 0; }
.footer--builder .b-section:first-child { padding-top: var(--pt-m, 32px); }
.hide-m { display: none !important; }
@media (min-width: 768px) {
  .b-section { padding: var(--pt, 48px) 0 var(--pb, 16px); }
  .b-row--stack { grid-template-columns: var(--cols, 1fr); }
  .b-heading { font-size: var(--fs, 28px); }
  .b-heading--h1 { font-size: var(--fs, 52px); }
  .b-heading--h3 { font-size: var(--fs, 22px); }
  .b-heading--h4 { font-size: var(--fs, 18px); }
  .b-heading--p { font-size: var(--fs, 17px); }
  .b-spacer { height: var(--h, 40px); }
  .b-btn-block-m { width: auto; }
  .b-icons { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; }
  .b-icons li { font-size: 14px; }
  .b-gallery { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 14px; }
  .b-inner--box { padding-left: 40px; padding-right: 40px; }
  .hide-m { display: revert !important; }
  .hide-m.b-section, .hide-m.b-w { display: block !important; }
}
@media (min-width: 1024px) {
  .hide-d { display: none !important; }
}
/* Anteprima editor: evidenziazioni */
.b-region [data-b-id] { position: relative; }
.b-region [data-b-kind="widget"]:hover { outline: 2px dashed rgba(37, 99, 235, .55); outline-offset: 3px; cursor: pointer; }
.b-region [data-b-kind="section"]:hover { outline: 1px dashed rgba(37, 99, 235, .35); outline-offset: -1px; }
.b-region .is-b-selected { outline: 2px solid #2563EB !important; outline-offset: 3px; }
.b-region [data-b-kind="section"].is-b-selected { outline-offset: -2px; }
.b-region [data-b-kind="widget"]:hover::after, .b-region .is-b-selected::after { content: attr(data-b-label); position: absolute; top: -26px; left: -3px; background: #2563EB; color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px 4px 0 0; z-index: 30; pointer-events: none; white-space: nowrap; }
.b-region [data-b-kind="section"]::after { content: none !important; }

/* ---------- Editor visuale: effetti, visibilità, nuovi widget ---------- */
.b-anim { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.b-anim--fade-up { transform: translateY(28px); }
.b-anim--zoom { transform: scale(.94); }
.b-anim--slide-left { transform: translateX(40px); }
.b-anim--slide-right { transform: translateX(-40px); }
.b-anim.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .b-anim { opacity: 1; transform: none; transition: none; } }
.b-shadow-soft { box-shadow: 0 6px 20px rgba(20,22,26,.08); }
.b-shadow-strong { box-shadow: 0 16px 40px rgba(20,22,26,.16); }
.b-col { order: var(--order-m, 0); }
@media (min-width: 768px) { .b-col { order: 0; } }
@media (min-width: 768px) and (max-width: 1023px) { .hide-t { display: none !important; } }
.b-scheduled-off { opacity: .45; outline: 2px dashed #B45309; outline-offset: -2px; position: relative; }
.b-scheduled-off::before { content: attr(data-b-schedule); position: absolute; top: 6px; right: 6px; z-index: 5; background: #B45309; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }

.b-iconbox { display: flex; flex-direction: column; gap: 12px; }
.b-iconbox--left { flex-direction: row; align-items: flex-start; }
.b-iconbox__icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: var(--r); display: grid; place-items: center; color: var(--primary); }
.b-align-center .b-iconbox--top { align-items: center; }
.b-iconbox h3, .b-imagebox h3 { font-size: 18px; margin: 0 0 4px; }
.b-iconbox p, .b-imagebox p { margin: 0 0 8px; color: var(--text-2); }
.b-imagebox { display: flex; flex-direction: column; gap: 10px; }
.b-imagebox__media { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.b-imagebox__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.b-imagebox__media.is-soft img { object-fit: contain; padding: 16px; mix-blend-mode: multiply; }
.b-imagebox__media:hover img { transform: scale(1.03); }
.b-counter__num { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.b-counter__label { color: var(--text-2); margin-top: 4px; font-weight: 500; }
.b-tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.b-tabs__nav button { min-height: 42px; padding: 0 16px; border-radius: 21px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; color: var(--ink); }
.b-tabs__nav button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.b-tabs--underline .b-tabs__nav { gap: 0; border-bottom: 1px solid var(--line); }
.b-tabs--underline .b-tabs__nav button { border: 0; border-radius: 0; background: none; border-bottom: 3px solid transparent; color: var(--muted); }
.b-tabs--underline .b-tabs__nav button[aria-selected="true"] { background: none; color: var(--ink); border-color: var(--primary); }
.b-tabs__panel { color: var(--text-2); line-height: 1.65; }
.b-countdown__title { font-weight: 700; margin-bottom: 10px; }
.b-countdown__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.b-align-center .b-countdown__grid { margin: 0 auto; }
.b-countdown__cell { border-radius: var(--r); padding: 12px 6px; text-align: center; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(20,22,26,.08); }
.b-countdown__cell strong { display: block; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.b-countdown__cell small { font-size: 12px; color: var(--muted); }
.b-notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r); border: 1px solid; }
.b-notice p { margin: 2px 0 0; }
.b-notice a { font-weight: 700; }
.b-notice__icon { flex-shrink: 0; }
.b-notice--info { background: #EEF4FD; border-color: #C9DBF6; color: #1E3A8A; }
.b-notice--success { background: var(--ok-bg); border-color: #BFE0CB; color: var(--accent); }
.b-notice--warning { background: #FFF7E6; border-color: #F5D9A8; color: #7C4A03; }
.b-notice--promo { background: #FFF1E8; border-color: #F8CDB0; color: #8A3410; }
.b-map { border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.b-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.b-social h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.b-social__list { display: flex; flex-wrap: wrap; gap: 8px; }
.b-align-center .b-social__list { justify-content: center; }
.b-social__list a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); text-decoration: none; transition: .15s; }
.b-social--soft a { background: var(--soft); color: var(--ink); }
.b-social--dark a { background: var(--ink); color: #fff; }
.b-social--plain a { color: var(--ink); }
.b-social__list a:hover { transform: translateY(-2px); color: var(--primary); }

/* =========================================================
   Scheda prodotto (struttura: preventivo fisso + configuratore a passi)
   ========================================================= */
.pp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 6px; }
.pp > *, .pp-right, .pp-left > * { min-width: 0; }
.pp-h { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin: 0 0 10px; }
.pp-h small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); font-size: 13px; }

/* Galleria */
.pp-gallery { display: grid; gap: 10px; }
.pp-gallery__main { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; display: grid; place-items: center; padding: 22px; }
.pp-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.pp-gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pp-gallery__thumbs::-webkit-scrollbar { display: none; }
.pp-gallery__thumbs button { flex: 0 0 64px; height: 64px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; padding: 4px; }
.pp-gallery__thumbs button.is-active { border-color: var(--primary); }
.pp-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* Quantità consigliate */
.pp-reco { margin-top: 18px; }
.pp-reco__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pp-reco__tile { border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--ink); }
.pp-reco__tile:hover { border-color: var(--primary); }
.pp-reco__tile strong { font-size: 15px; }
.pp-reco__tile small { font-size: 11.5px; color: var(--muted); }
.pp-reco__tile b { font-size: 17px; color: var(--primary); margin-top: 2px; }

/* Il tuo preventivo */
.pp-quote { margin-top: 18px; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.pp-quote__head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px; background: var(--soft); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.pp-quote__rows { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 0; padding: 6px 18px; font-size: 14px; }
.pp-quote__rows dt, .pp-quote__rows dd { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; }
.pp-quote__rows dt { color: var(--text-2); }
.pp-quote__rows dd { text-align: right; font-weight: 700; }
.pp-quote__rows dd.ok { color: var(--accent); }
.pp-quote__rows dt:nth-last-child(2), .pp-quote__rows dd:last-child { border-bottom: 0; }
.pp-quote__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; background: var(--soft); font-weight: 700; }
.pp-quote__total strong { font-size: 24px; letter-spacing: -0.02em; }
.pp-quote__error { margin: 0; padding: 10px 18px; color: #8F1D1D; font-weight: 600; font-size: 14px; background: #FDECEC; }
.pp-quote__actions { display: grid; grid-template-columns: 1fr 1.3fr; }
.pp-quote__actions .btn { border-radius: 0; min-height: 54px; border: 0; border-top: 1px solid var(--line); }
.pp-quote.is-loading [data-q-total], .pp-quote.is-loading [data-q-unit] { opacity: .35; }

/* Intestazione e descrizione */
.pp-title { font-size: 26px; line-height: 1.2; font-weight: 800; margin: 0 0 6px; }
.pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13.5px; color: var(--muted); }
.pp-meta a { color: var(--primary); }
.pp-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pp-badge--ok { background: var(--ok-bg); color: var(--accent); }
.pp-badge--eco { background: #EDF7E4; color: #3F6212; }
.pp-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pp-dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; padding: 3px; overflow: hidden; }
.pp-dot img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pp-dot.is-current { border-color: var(--ink); }
.pp-desc { margin-top: 18px; }
.pp-desc p { margin: 0 0 6px; color: var(--text-2); }
.pp-desc__long { max-height: 4.8em; overflow: hidden; color: var(--text-2); font-size: 14px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.pp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp-specs dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pp-specs dd { margin: 2px 0 0; font-weight: 600; }
.pp-cta { margin-bottom: 18px; }

/* Riquadri informativi */
.pp-info { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); } /* 2.82.1: affiancati quando c'è spazio, a qualsiasi larghezza */
.pp-info__box { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.pp-info__icon { flex: 0 0 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); display: grid; place-items: center; }
.pp-info__box strong { display: block; font-size: 15px; margin-bottom: 2px; }
.pp-info__box p { margin: 0; font-size: 13.5px; color: var(--text-2); }
.pp-info__box p + p { margin-top: 4px; }

/* Tabella prezzi */
.pp-table { margin-top: 22px; }
.pp-table__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.pp-table table { border-collapse: collapse; width: 100%; font-size: 13.5px; white-space: nowrap; }
.pp-table th, .pp-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.pp-table tbody tr:last-child th, .pp-table tbody tr:last-child td { border-bottom: 0; }
.pp-table th[scope="row"] { text-align: left; position: sticky; left: 0; background: #fff; font-weight: 600; color: var(--text-2); }
.pp-table thead th { background: var(--soft); }
.pp-table thead th[scope="row"] { background: var(--soft); }
.pp-table thead button { border: 0; background: none; font-weight: 800; color: var(--ink); padding: 4px 6px; border-radius: 6px; }
.pp-table thead button:hover { background: #fff; color: var(--primary); }
.pp-note { font-size: 12.5px; margin: 6px 0 0; }

/* Configuratore */
.pp-config { margin-top: 28px; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); background: #FAFAF8; scroll-margin-top: 110px; }
.pp-config__title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 18px; font-size: 17px; font-weight: 800; border-bottom: 1px solid var(--line); background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; scroll-margin-top: 110px; }
.pp-config__title .ico { color: var(--primary); }
.pp-step { padding: 18px; border-bottom: 1px solid var(--line); }
.pp-step__title { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 800; margin: 0 0 14px; }
.pp-step__title b { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.pp-types, .pp-files { display: grid; gap: 10px; }
.pp-type, .pp-file { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px; border: 2px solid var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; font-weight: 400; }
.pp-type input, .pp-file input { position: absolute; opacity: 0; pointer-events: none; }
.pp-type:has(input:checked), .pp-file:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.pp-type:has(input:checked)::after, .pp-file:has(input:checked)::after { content: 'SCELTO'; position: absolute; top: -9px; right: 10px; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; padding: 2px 8px; border-radius: 6px; }
.pp-type:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.pp-type:has(input:focus-visible), .pp-file:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.pp-type__icon, .pp-file__icon { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--ink); }
.pp-type strong, .pp-file strong { display: block; font-size: 15px; }
.pp-type small, .pp-file small { color: var(--muted); font-size: 12.5px; }
.pp-file { flex-direction: column; align-items: flex-start; text-align: left; }

.pp-colors { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.pp-color { display: grid; grid-template-columns: 52px 1fr 110px; gap: 12px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.pp-color:last-child { border-bottom: 0; }
.pp-color.is-current { background: color-mix(in srgb, var(--primary) 5%, #fff); }
.pp-color__img { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 3px; }
.pp-color__img img { width: 100%; height: 100%; object-fit: contain; }
.pp-color__info strong { display: block; font-size: 14.5px; }
.pp-color__info small { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.pp-color__info small.is-low { color: #92400E; }
.pp-color__qty input { text-align: center; font-weight: 800; font-size: 16px; min-height: 44px !important; padding: 8px !important; }
.pp-total-line { margin: 10px 2px 0; font-size: 14px; color: var(--text-2); }

.pp-positions { display: grid; gap: 12px; }
.pp-pos { border: 2px solid var(--line-2); border-radius: var(--r); background: #fff; overflow: hidden; }
.pp-pos.is-on { border-color: var(--primary); }
.pp-pos__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--soft); cursor: pointer; font-size: 14px; }
.pp-pos__img { display: grid; place-items: center; padding: 12px; height: 180px; }
.pp-pos__img img { width: 100%; height: 100%; object-fit: contain; }
.pp-pos__img { overflow: hidden; }
.pp-pos__body { display: grid; gap: 10px; padding: 0 14px 14px; }
.pp-pos:not(.is-on) .pp-pos__body, .pp-pos:not(.is-on) .pp-pos__img { opacity: .45; pointer-events: none; }
.pp-pos__colours { border: 0; padding: 0; margin: 0; }
.pp-pos__colours legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.pp-pos__colours [data-colours-list] { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pp-pos__colours label { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.pp-pos__max { margin: 0; font-size: 13px; font-weight: 700; color: var(--primary); }
.pp-pos__size { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.pp-step .dropzone { margin-top: 10px; }
.pp-step textarea { margin-top: 10px; }

.pp-summary { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.pp-summary h3 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; margin: 0 0 6px; color: var(--primary); text-transform: uppercase; letter-spacing: .03em; }
.pp-summary ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14px; }
.pp-summary__cta { display: flex; flex-direction: column; gap: 10px; }
.pp-summary__cta strong { font-size: 18px; }

.pp-help { margin-top: 24px; }
.pp-help h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 12px; }
.pp-help__grid { display: grid; gap: 10px; }
.pp-help__box { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: #fff; }
.pp-help__box:hover { border-color: var(--primary); color: var(--ink); }
.pp-help__box .ico { color: var(--primary); }
.pp-help__box span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--text-2); }
.pp-help__box strong { font-size: 16px; color: var(--ink); }

.pp-details { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.pp-details__grid { display: grid; gap: 28px; }
.pp-faq { margin-top: 32px; max-width: 860px; scroll-margin-top: 100px; }
.pp-also { margin-top: 28px; }

@media (min-width: 640px) {
  .pp-types { grid-template-columns: 1fr 1fr; }
  .pp-files { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pp-help__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pp-summary { flex-direction: row; justify-content: space-between; align-items: center; }
  .pp-summary__cta { align-items: flex-end; flex-shrink: 0; }
}
@media (min-width: 900px) {
  .pp-positions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-details__grid { grid-template-columns: 1.4fr 1fr; gap: 48px; }
}
@media (min-width: 1024px) {
  .pp { grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
  .pp-left { position: sticky; top: 130px; max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
  .pp-gallery { grid-template-columns: 70px 1fr; align-items: start; }
  .pp-gallery__thumbs { flex-direction: column; order: -1; max-height: 420px; overflow-y: auto; }
  .pp-gallery__thumbs button { flex-basis: 64px; }
  .pp-title { font-size: 30px; }
}
@media (max-width: 1023px) {
  .pp-left { display: contents; }
  .pp-gallery { order: 1; }
  .pp-right { order: 2; }
  .pp-reco { order: 3; }
  .pp-quote { order: 4; margin-top: 0; }
  .pp-quote__actions { grid-template-columns: 1fr; }
}

/* Stampa del preventivo */
@media print {
  body.print-quote * { visibility: hidden !important; }
  body.print-quote .pp-quote, body.print-quote .pp-quote *, body.print-quote .pp-summary, body.print-quote .pp-summary *, body.print-quote .pp-title { visibility: visible !important; }
  body.print-quote .pp-quote__actions, body.print-quote .pp-summary__cta .btn, body.print-quote .tabbar, body.print-quote .buybar { display: none !important; }
  body.print-quote .pp-left { position: static; max-height: none; overflow: visible; }
}

/* =========================================================
   Design "Catalogo ricco": navy + arancio, header e card dettagliate
   --secondary = blu navy del marchio, --primary = arancio (prezzi, pulsanti d'azione)
   ========================================================= */
html:root {
  --text: #1C2430;
  --text-2: #4A5462;
  --muted: #5A6472;
  --soft: #F1F4F8;
  --band: #EEF3F8;
  --line: #E3E7ED;
  --line-2: #CBD3DE;
}
body { color: var(--text); }
h1, h2, h3 { color: var(--ink); }

/* ---------- Barra superiore ---------- */
.topbar { background: var(--ink); text-align: left; padding: 0; font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__links { display: none; gap: 20px; }

/* ---------- Header ---------- */
.header { position: relative; background: #fff; border-bottom: 0; backdrop-filter: none; }
.header__inner { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.brand { flex: 1; display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand:hover { color: inherit; }
.brand__mark { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.brand__mark .ico { width: 100%; height: 100%; }
.brand__mark .ico { width: 22px; height: 22px; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand .logo { flex: none; font-size: 21px; }
.brand small { display: none; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hblocks { display: none; }
.search { order: 3; flex-basis: 100%; height: 50px; padding: 0; background: #fff; border: 2px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; gap: 0; }
.search input { padding: 0 14px !important; background: #fff !important; }
.search__btn { flex: 0 0 52px; height: 100%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search__btn:hover { opacity: .92; }
.quick { order: 4; flex-basis: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick a { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13.5px; }
.quick .quick--wa { color: #14532D; }
.quick .quick--quote { background: #FFF4EC; border-color: #FFF4EC; color: #7C2D12; }

/* Barra categorie con icone */
.catbar { background: var(--band); border-top: 1px solid var(--line); border-bottom: 3px solid var(--ink); }
.catbar__inner { display: flex; overflow-x: auto; scrollbar-width: none; padding-left: 0; padding-right: 0; }
.catbar__inner::-webkit-scrollbar { display: none; }
.catbar__cell { position: relative; flex: 0 0 auto; display: flex; }
.catbar__item { flex: 0 0 92px; min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; text-align: center; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.2; border-right: 1px solid #DCE4EE; }
.catbar__item:hover { background: #fff; color: var(--ink); }
.catbar__item.is-active { background: #fff; box-shadow: inset 0 -3px 0 var(--primary); }
.catbar__menu { display: none; }
.catbar + .nav { display: none; }
.catbar + .nav.is-open { display: block; }

/* ---------- Banda titolo categoria ---------- */
.cat-band { background: #F8FAFC; border-bottom: 1px solid var(--line); }
.cat-band__inner { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: flex-end; justify-content: space-between; padding-top: 14px; padding-bottom: 22px; }
.cat-band__text { flex: 1 1 560px; min-width: 0; }
.cat-band .breadcrumb { padding: 0 0 6px; }
.cat-band h1 { font-size: 26px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.02em; }
.cat-band__intro { color: var(--text-2); max-width: 780px; margin: 0; }
.cat-band__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-band__badges span { display: flex; align-items: center; gap: 8px; padding: 9px 13px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; font-weight: 600; }
.cat-band__badges .ico { color: #166534; }

/* ---------- Catalogo con colonna laterale ---------- */
.catalog2 { display: grid; gap: 20px; padding-top: 20px; padding-bottom: 40px; }
.catalog2__side { display: grid; gap: 14px; align-content: start; min-width: 0; }
.catalog2__main { min-width: 0; }
.side-box { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.side-box__head { background: var(--ink); color: #fff; padding: 12px 16px; font-weight: 700; }
.side-box ul { list-style: none; margin: 0; padding: 4px 0; max-height: 340px; overflow-y: auto; }
.side-box li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px; font-size: 14px; text-decoration: none; color: var(--text); border-bottom: 1px solid #F0F3F7; }
.side-box li a small { color: var(--muted); }
.side-box li a:hover { background: var(--band); color: var(--ink); }
.side-box li a.is-active { background: var(--band); color: var(--ink); font-weight: 800; }
.side-box--pad { padding: 16px; display: grid; gap: 18px; overflow: visible; margin-top: 8px; }
.side-box--pad fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.side-box--pad legend { font-weight: 800; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.side-box--pad .check { margin: 6px 0; font-size: 14px; }
.side-filters summary { list-style: none; }
.side-filters summary::-webkit-details-marker { display: none; }
.swatch-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatch-filter label { position: relative; cursor: pointer; }
.swatch-filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch-filter span { display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #C9D1DC; }
.swatch-filter input:checked + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.swatch-filter input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 3px; }
.swatch-filter__all span { width: auto; height: 30px; padding: 0 10px; border-radius: 15px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; background: #fff; }
.side-help { border-radius: var(--r); padding: 16px; background: #FFF4EC; display: grid; gap: 8px; }
.side-help strong { color: #7C2D12; font-size: 16px; }
.side-help span { color: #5B3A26; font-size: 14px; }
.side-help__phone { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; text-decoration: none; color: #7C2D12; }
.catalog2__toolbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.catalog2__toolbar strong { color: var(--text); }
.catalog2__tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qty-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; background: var(--band); padding: 4px; border-radius: 10px; font-size: 13.5px; }
.qty-switch span { padding: 0 8px; color: var(--text-2); font-weight: 600; }
.qty-switch a { padding: 7px 11px; border-radius: 8px; text-decoration: none; font-weight: 700; color: var(--ink); }
.qty-switch a.is-active { background: var(--ink); color: #fff; }
.sort-select { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-2); }
.sort-select select { width: auto; min-height: 40px; padding: 6px 10px; font-size: 14px; margin: 0; }

/* ---------- Card prodotto dettagliata ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.hscroll > .pcard { flex: 0 0 270px; }
.pcard { display: flex; flex-direction: column; border: 1px solid #DCE2EA; border-radius: var(--r); overflow: hidden; background: #fff; transition: box-shadow .2s, border-color .2s; min-width: 0; }
.pcard:hover { border-color: #B9C3D1; box-shadow: 0 10px 28px rgba(18, 48, 90, .10); }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 0.9; padding: 18px; background: #fff; border-bottom: 1px solid #EEF1F5; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.pcard:hover .pcard__media img { transform: none; }
.pcard__badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.pcard__badge--best { background: var(--ink); color: #fff; }
.pcard__badge--eco { background: #E3F1E8; color: #14532D; }
.pcard__badge--new { background: #FFF1E8; color: #9A3412; }
.pcard__badge--fast { background: #EAF1FB; color: #12305A; }
.pcard__code { position: absolute; bottom: 10px; right: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.pcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pcard__colors { display: flex; align-items: center; gap: 5px; }
.pcard__colors span { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #C9D1DC; }
.pcard__colors small { margin-left: 4px; font-size: 12.5px; color: var(--muted); }
.pcard__title { margin: 0; font-size: 16.5px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__desc { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 13px; }
.pcard__specs dt { color: var(--muted); }
.pcard__specs dd { margin: 0; font-weight: 600; }
.pcard__price { margin-top: auto; padding-top: 11px; border-top: 1px dashed #DCE2EA; display: flex; flex-direction: column; gap: 5px; }
.pcard__price-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.pcard__price-main strong { font-size: 21px; color: var(--primary); letter-spacing: -0.01em; }
.pcard__price-main span { font-size: 12.5px; color: var(--text-2); }
.pcard__info { display: inline-grid !important; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink) !important; font-weight: 800; font-size: 12px !important; cursor: help; }
.pcard__tiers { font-size: 12px; color: var(--text-2); }
.pcard__flags { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; font-weight: 600; }
.pcard__ship { display: flex; align-items: center; gap: 5px; color: #166534; }
.pcard__stock { display: flex; align-items: center; gap: 6px; }
.pcard__stock i { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; }
.pcard__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 2px; }
.pcard__actions .btn { min-height: 44px; font-size: 14px; padding: 0 14px; border-radius: 10px; }

/* ---------- Footer (sezioni scure dell'editor) ---------- */
.footer { border-top: 0; margin-top: 0; padding: 0; }
.is-dark, .is-dark p, .is-dark .footer__contacts, .is-dark .footer__contacts span { color: #D7E0EC; }
.is-dark h2, .is-dark h3, .is-dark h4, .is-dark .b-links h4, .is-dark .b-contact h4, .is-dark .b-social h4 { color: #fff; text-transform: none; letter-spacing: 0; font-size: 15px; }
.is-dark a { color: #D7E0EC; }
.is-dark a:hover { color: #fff; }
.is-dark .logo { color: #fff; }
.is-dark .logo span { color: #FDBA8C; }
.is-dark .b-brand p { color: #D7E0EC; line-height: 1.6; }
.is-dark .b-divider { border-color: rgba(255, 255, 255, .14) !important; }
.is-dark .b-social--soft a { background: rgba(255, 255, 255, .1); color: #fff; }
.b-links .footer__links { gap: 9px 16px; }
.b-newsletter { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.b-newsletter__text { flex: 1 1 340px; }
.b-newsletter__text strong { display: block; font-size: 20px; color: inherit; }
.b-newsletter__text p { margin: 4px 0 0; font-size: 14px; }
.b-newsletter form { flex: 1 1 380px; max-width: 540px; display: grid; gap: 8px; }
.b-newsletter__row { display: flex; gap: 8px; }
.b-newsletter__row input { flex: 1; min-width: 0; border: 0 !important; }
.b-newsletter .check { font-size: 12.5px; margin: 0; color: inherit; }
.b-newsletter .check a { color: inherit; text-decoration: underline; }
.b-newsletter .check a { color: inherit; text-decoration: underline; }
.b-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.b-payments span { padding: 5px 10px; border-radius: 6px; background: rgba(20, 22, 26, .06); font-size: 12.5px; font-weight: 600; }
.is-dark .b-payments span { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .topbar__links { display: flex; }
  .brand small { display: block; }
  .pgrid { gap: 20px; }
}
@media (min-width: 1024px) {
  .header__inner { flex-wrap: nowrap; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
  .brand { flex: 0 0 auto; }
  .brand__mark { flex-basis: 50px; height: 50px; border-radius: 14px; }
  .brand .logo { font-size: 25px; }
  .hblocks { display: flex; flex: 1 1 auto; justify-content: center; gap: 22px; }
  .hblock { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding-right: 22px; border-right: 1px solid var(--line); font-size: 13.5px; }
  .hblock:last-child { border-right: 0; padding-right: 0; }
  .hcontact { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
  .hcontact .ico { color: var(--ink); }
  .hcontact--wa .ico { color: #166534; }
  .hcontact span { display: flex; flex-direction: column; line-height: 1.2; }
  .hcontact small { font-size: 11px; color: var(--muted); }
  .hcontact strong { font-size: 14.5px; }
  .hlink { display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--text); white-space: nowrap; }
  .hlink .ico { color: var(--ink); }
  .hlink:hover { color: var(--primary); }
  .hlink--strong { font-weight: 700; }
  .hbadge { background: var(--primary); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 12px; }
  .header__actions { display: none; }
  .search { order: 0; flex: 0 1 380px; max-width: 420px; }
  .quick { display: none; }
  .catbar__inner { padding-left: 12px; padding-right: 12px; overflow: visible; flex-wrap: nowrap; }
  .catbar__item { flex-basis: 100px; min-height: 92px; }
  .catbar__menu { position: absolute; top: 100%; left: 0; z-index: 40; min-width: 420px; padding: 16px 20px; background: #fff; border-radius: 0 0 var(--r) var(--r); box-shadow: 0 16px 40px rgba(20, 22, 26, .14); border-top: 3px solid var(--ink); }
  .catbar__cell:hover .catbar__menu, .catbar__cell:focus-within .catbar__menu { display: block; }
  .catbar__cell:nth-last-child(-n+3) .catbar__menu { left: auto; right: 0; }
  .catbar + .nav, .catbar + .nav.is-open { display: none !important; }
  .cat-band h1 { font-size: 32px; }
  .catalog2 { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .side-filters summary { display: none; }
  .side-filters > .side-box { margin-top: 0; }
}
@media (max-width: 1023px) {
  .catbar__inner { scroll-snap-type: x proximity; }
  .catbar__item { scroll-snap-align: start; }
  .catalog2__side .side-box:first-child ul { max-height: 220px; }
}

/* ---------- Tabella prezzi cadauno (pagina prodotto) */
.pp-table .pp-h small { font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; }
.pp-table thead button { font-size: 14px; }
.pp-table td.is-current, .pp-table tr.is-current td, .pp-table tr.is-current th { background: #FFF4EC; }
.pp-table thead th.is-current { background: var(--primary); }
.pp-table thead th.is-current button { color: #fff; }
.pp-table thead th.is-current button:hover { background: transparent; }
.pp-table--narrow { display: none; }
.pp-table--narrow th, .pp-table--narrow td { white-space: normal; }
.pp-table--narrow tbody th[scope="row"] { text-align: center; position: static; }
@media (max-width: 640px) {
  .pp-table--wide { display: none; }
  .pp-table--narrow { display: block; }
}

/* ---------- Pallini colore (pagina prodotto) */
.pp-dot { width: 34px; height: 34px; padding: 3px; background: #fff; }
.pp-dot span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.pp-dot:hover { border-color: var(--line-2); transform: scale(1.06); }
.pp-dot.is-current { border-color: var(--primary); }
.pcard__colors span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.pp-color__img span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.pp-color__img { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; }
.pcard__from { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 2px; align-self: baseline; }
.pcard__tiers b { color: var(--ink); }

/* ---------- Pagina a tutta larghezza: il sito usa lo schermo fino a 1720 px */
.container { max-width: 1720px; }
@media (min-width: 1280px) { .container { padding: 0 36px; } }

/* ---------- Galleria prodotto: grande, immagini intere, lente */
.pp-gallery__main { padding: 10px; overflow: hidden; cursor: zoom-in; }
.pp-gallery__main img { transition: transform .12s ease-out; will-change: transform; }
.pp-gallery__main.is-zoom img { transform: scale(2.3); }
.pp-gallery__main::after { content: "🔍 Clic per ingrandire"; position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(18, 48, 90, .78); color: #fff; font-size: 11.5px; font-weight: 600; pointer-events: none; opacity: .9; }
.pp-gallery__main.is-zoom::after { opacity: 0; }
.pp-gallery__thumbs button { flex-basis: 72px; height: 72px; }
@media (min-width: 1024px) {
  .pp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 44px; }
  .pp-gallery { grid-template-columns: 80px minmax(0, 1fr); }
  .pp-gallery__thumbs { max-height: 640px; }
}

/* ---------- Immagini delle posizioni di stampa: intere e più grandi, clic per lo zoom */
.pp-pos__img { height: auto; aspect-ratio: 4 / 3; padding: 8px; background: #fff; }
.pp-pos__img img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }

/* ---------- Finestra immagine a schermo intero */
.lb { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(10, 16, 28, .93); }
.lb[hidden] { display: none; }
.lb__stage { width: min(94vw, 1300px); height: 86vh; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; border-radius: 10px; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 10px; transition: transform .2s ease-out; }
.lb.is-zoom .lb__stage { cursor: move; }
.lb.is-zoom .lb__stage img { transform: scale(2.6); }
.lb__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.lb__btn:hover { background: rgba(255, 255, 255, .28); }
.lb__close { top: 16px; right: 16px; font-size: 30px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__btn[hidden] { display: none; }
.lb__count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; }
.lb__hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 13px; }

@media (min-width: 1024px) {
  /* una sola immagine: niente colonna per le miniature */
  .pp-gallery:not(:has(.pp-gallery__thumbs)) { grid-template-columns: minmax(0, 1fr); }
  .pp-gallery__main { grid-column: -2 / -1; }
}
.lb__stage img { width: auto; height: 100%; max-width: 100%; }
@media (orientation: portrait) { .lb__stage img { width: 100%; height: auto; max-height: 100%; } }

/* ---------- Immagini prodotto sempre dentro il loro riquadro (le foto Giving sono enormi e spesso verticali) */
.pcard__media { overflow: hidden; }
.pcard__media img { position: absolute; top: 8%; left: 8%; width: 84%; height: 84%; object-fit: contain; }
.hero__tile { position: relative; overflow: hidden; aspect-ratio: 1; }
.hero__tile img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.pp-gallery__thumbs img, .pp-color__img img { object-fit: contain; }
.hero__tile:first-child { aspect-ratio: auto; min-height: 100%; }
.hero__media--single .hero__tile { aspect-ratio: 1; }

/* =========================================================
   Scheda prodotto componibile (editor) + foto prodotto sempre intere
   ========================================================= */
.pp-gallery__main { overflow: hidden; }
.pp-gallery__main img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); max-width: none; object-fit: contain; }
@media (min-width: 1024px) {
  .pp-gallery__main { aspect-ratio: auto; height: min(600px, calc(100vh - 240px)); min-height: 360px; }
  .pp-gallery__thumbs { max-height: min(600px, calc(100vh - 240px)); }
  .pp-page .b-col--sticky { position: sticky; top: 130px; max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
  .b-col--sticky { position: sticky; top: 130px; }
}
.pp-page .b-w--pp_config, .pp-page .b-w--pp_table, .pp-page .b-w--pp_help { min-width: 0; }
.pp-page .pp-details { margin-top: 0; }
/* su mobile: foto, poi informazioni e configuratore, poi quantità consigliate e preventivo */
@media (max-width: 1023px) {
  .pp-page .b-col--sticky { display: contents; }
  .pp-page .b-row:has(> .b-col--sticky) > .b-col:not(.b-col--sticky) { order: 2; }
  .pp-page .b-col--sticky > .b-w--pp_reco, .pp-page .b-col--sticky > .b-w--pp_quote { order: 3; }
}
/* immagini delle posizioni di stampa: sempre intere dentro il riquadro */
.pp-pos__img { position: relative; display: block; height: auto; aspect-ratio: 1 / 1; padding: 0; background: #fff; overflow: hidden; }
.pp-pos__img img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); max-width: none; object-fit: contain; }

/* =========================================================
   Barra categorie v2: una riga pulita, nomi interi, "Altre categorie" per il resto
   ========================================================= */
.catbar { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -14px rgba(18, 48, 90, .35); }
.catbar__inner { display: flex; align-items: stretch; gap: 2px; overflow-x: auto; padding-top: 6px; padding-bottom: 6px; scroll-snap-type: x proximity; }
.catbar__cell { position: relative; flex: 0 0 auto; display: flex; }
.catbar__item, .catbar__inner > .catbar__item { flex: 0 0 auto; width: auto; min-width: 0; min-height: 0; flex-direction: row; gap: 9px; padding: 9px 14px; border: 0; border-radius: 10px;
  font-size: 14px; font-weight: 650; line-height: 1.15; color: var(--ink); white-space: nowrap; position: relative; scroll-snap-align: start;
  transition: background-color .2s ease, color .2s ease; }
.catbar__item span { display: inline; -webkit-line-clamp: unset; overflow: visible; }
.catbar__item svg { display: block; flex: 0 0 auto; width: 22px; height: 22px; padding: 6px; box-sizing: content-box; border-radius: 9px;
  background: #EEF3F8; color: var(--secondary); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease, color .2s ease; }
.catbar__item::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.catbar__item:hover, .catbar__cell:hover > .catbar__item, .catbar__cell:focus-within > .catbar__item { background: #F4F7FB; color: var(--secondary); }
.catbar__item:hover svg, .catbar__cell:hover > .catbar__item svg { transform: translateY(-2px) rotate(-6deg); background: var(--primary); color: #fff; }
.catbar__item:hover::after, .catbar__item.is-active::after, .catbar__cell:hover > .catbar__item::after { transform: scaleX(1); }
.catbar__item.is-active { background: #FFF4EC; box-shadow: none; color: var(--primary); }
.catbar__item.is-active svg { background: var(--primary); color: #fff; }
.catbar__more > .catbar__item .catbar__chev { width: 14px; height: 14px; padding: 0; background: none; color: currentColor; transition: transform .25s ease; }
.catbar__more:hover > .catbar__item .catbar__chev, .catbar__more:focus-within > .catbar__item .catbar__chev { transform: rotate(180deg); background: none; color: currentColor; }
.catbar__more[hidden] { display: none; }
@media (min-width: 1024px) {
  .catbar__inner { overflow: visible; flex-wrap: nowrap; }
  .catbar__menu { display: block; visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; border-top: 3px solid var(--primary); border-radius: 0 0 14px 14px; }
  .catbar__cell:hover .catbar__menu, .catbar__cell:focus-within .catbar__menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .22s ease, transform .22s ease; }
  .catbar__menu .mega__grid a { position: relative; padding: 8px 10px; border-radius: 8px; transition: background-color .15s ease, color .15s ease, padding-left .2s ease; }
  .catbar__menu .mega__grid a:hover { background: #F4F7FB; color: var(--primary); padding-left: 16px; }
  .catbar__more .catbar__menu { left: auto; right: 0; min-width: min(760px, 90vw); }
  .catbar__morelist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; }
  .catbar__morelist .catbar__cell { display: block; animation: none; }
  .catbar__morelist .catbar__item { width: 100%; padding: 8px 10px; font-size: 14px; }
  .catbar__morelist .catbar__item::after { display: none; }
  .catbar__morelist .catbar__menu { display: none; }
}
@media (max-width: 1023px) {
  .catbar__inner { padding-left: 12px; padding-right: 12px; gap: 6px; }
  .catbar__item, .catbar__inner > .catbar__item { font-size: 13px; padding: 5px 12px 5px 5px; background: #F4F7FB; border-radius: 99px; }
  .catbar__item svg { width: 18px; height: 18px; padding: 5px; border-radius: 99px; background: #fff; }
  .catbar__item::after { display: none; }
  .catbar__more { display: none !important; }
}

/* =========================================================
   Animazioni del negozio (rispettano "riduci movimento")
   ========================================================= */
@keyframes ps-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ps-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes ps-shine { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
.catbar__inner > * { animation: ps-fade-up .45s ease both; }
.catbar__inner > *:nth-child(2) { animation-delay: .03s; } .catbar__inner > *:nth-child(3) { animation-delay: .06s; }
.catbar__inner > *:nth-child(4) { animation-delay: .09s; } .catbar__inner > *:nth-child(5) { animation-delay: .12s; }
.catbar__inner > *:nth-child(6) { animation-delay: .15s; } .catbar__inner > *:nth-child(7) { animation-delay: .18s; }
.catbar__inner > *:nth-child(n+8) { animation-delay: .21s; }
/* card prodotto: si alzano e la foto si ingrandisce appena */
.pcard { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(18, 48, 90, .35); }
.pcard .pcard__media img { transition: transform .45s ease, opacity .4s ease; }
.pcard:hover .pcard__media img { transform: none; }
/* pulsanti d'azione: riflesso al passaggio */
.btn--primary { position: relative; overflow: hidden; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease; }
.btn--primary::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-120%) skewX(-18deg); pointer-events: none; }
.btn--primary:hover::before { animation: ps-shine .8s ease; }
.btn--primary:hover { box-shadow: 0 10px 22px -10px rgba(194, 65, 12, .7); }
.btn--primary:active { transform: translateY(1px) scale(.99); }
/* foto prodotto e miniature */
.pp-gallery__main img { animation: ps-fade-up .4s ease both; }
.pp-gallery__thumbs button { transition: border-color .2s ease, transform .2s ease; }
.pp-gallery__thumbs button:hover { transform: translateY(-2px); }
.pp-cta { animation: ps-fade-up .5s ease .15s both; }
.pp-pos { transition: border-color .2s ease, box-shadow .25s ease; }
.pp-pos.is-on { box-shadow: 0 12px 28px -18px rgba(194, 65, 12, .55); }
.pp-dot { transition: transform .2s ease; } .pp-dot:hover { transform: scale(1.15); }
.pp-quote__total strong, .buybar strong { display: inline-block; }
.is-bump { animation: ps-pop .4s ease; }
/* comparsa delle sezioni allo scorrimento */
.ps-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ps-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .catbar__inner > *, .pp-gallery__main img, .pp-cta, .is-bump { animation: none; }
  .pcard, .pcard img, .btn--primary, .catbar__item, .catbar__item svg, .catbar__menu { transition: none; }
  .pcard:hover, .pcard:hover .pcard__media img { transform: none; }
  .btn--primary:hover::before { animation: none; }
  .ps-reveal { opacity: 1; transform: none; transition: none; }
}
/* tecnica unica: mostrata direttamente al posto del menu */
.pp-pos__tech { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #F4F7FB; border: 1px solid var(--line); }
.pp-pos__tech > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.pp-pos__tech strong { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--secondary); }
.pp-pos__tech strong svg { color: #15803D; }

/* scelta della tecnica a riquadri: nome, colori disponibili e quella consigliata */
.pp-tech { border: 0; padding: 0; margin: 0; }
.pp-tech legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.pp-tech__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 10px; }
.pp-tech__card { position: relative; display: grid; gap: 8px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .18s var(--ease-expo), box-shadow .18s var(--ease-expo), transform .18s var(--ease-expo); }
.pp-tech__card:hover { border-color: var(--text-2); transform: translateY(-1px); }
.pp-tech__card input { position: absolute; opacity: 0; pointer-events: none; }
.pp-tech__card.is-on { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.pp-tech__head { display: flex; align-items: center; gap: 9px; }
.pp-tech__head svg { flex: none; color: var(--text-2); }
.pp-tech__card.is-on .pp-tech__head svg { color: var(--primary); }
.pp-tech__head strong { font-size: 15.5px; line-height: 1.25; }
.pp-tech__meta { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-2); }
.pp-tech__wheel { flex: none; width: 15px; height: 15px; border-radius: 50%; background: conic-gradient(#EF4444, #F59E0B, #22C55E, #3B82F6, #A855F7, #EF4444); }
.pp-tech__badge { display: inline-flex; align-items: center; gap: 4px; justify-self: start; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); font-size: 12px; font-weight: 700; }
.pp-tech__tick { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); color: transparent; }
.pp-tech__card.is-on .pp-tech__tick { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 480px) { .pp-tech__grid { grid-template-columns: 1fr; } }
.pp-pos__tech small { color: var(--text-2); font-size: 12.5px; }
.pp-pos__tech select[hidden] { display: none; }

/* =========================================================
   Richiesta preventivo: percorso guidato a riquadri
   ========================================================= */
.rq-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 400px at 85% -10%, rgba(194, 65, 12, .28), transparent 60%), linear-gradient(135deg, var(--secondary) 0%, #0B1F3D 100%); color: #fff; }
.rq-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05); animation: rq-float 9s ease-in-out infinite; }
@keyframes rq-float { 50% { transform: translate(-20px, -16px) scale(1.04); } }
.rq-hero__inner { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 44px; max-width: 900px; animation: ps-fade-up .6s ease both; }
.rq-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 700; }
.rq-hero h1 { margin: 14px 0 10px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.02em; color: #fff; }
.rq-hero h1 em { font-style: normal; color: #FDBA74; }
.rq-hero p { max-width: 640px; margin: 0; font-size: 17px; color: rgba(255, 255, 255, .82); }
.rq-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 14px; }
.rq-trust li { display: inline-flex; align-items: center; gap: 7px; }
.rq-trust svg { color: #FDBA74; }
.rq { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 56px; }
@media (min-width: 1024px) { .rq { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; margin-top: -26px; position: relative; z-index: 2; } }
.rq-flow { display: grid; gap: 16px; }
.rq-step, .rq-product, .rq-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 14px 40px -28px rgba(18, 48, 90, .45); animation: ps-fade-up .5s ease both; }
.rq-step:nth-child(4) { animation-delay: .06s; } .rq-step:nth-child(5) { animation-delay: .12s; } .rq-step:nth-child(6) { animation-delay: .18s; }
.rq-step > header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.rq-step > header b { flex: 0 0 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--secondary); color: #fff; font-size: 16px; }
.rq-step h2 { margin: 0; font-size: 20px; color: var(--ink); }
.rq-step header p { margin: 3px 0 0; color: var(--text-2); font-size: 14px; }
.rq-product { display: flex; align-items: center; gap: 16px; }
.rq-product img { width: 84px; height: 84px; object-fit: contain; border-radius: 12px; background: var(--band, #F4F7FB); padding: 6px; }
.rq-product div { display: grid; flex: 1; }
.rq-product small { color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.rq-product strong { font-size: 18px; color: var(--secondary); }
.rq-product span { color: var(--text-2); font-size: 13px; }
.rq-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .rq-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rq-tile { position: relative; display: grid; justify-items: center; gap: 8px; padding: 16px 10px; border: 1.5px solid var(--line); border-radius: 14px; text-align: center; font-weight: 650; font-size: 14px; cursor: pointer; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.rq-tile input { position: absolute; opacity: 0; pointer-events: none; }
.rq-tile__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #EEF3F8; color: var(--secondary); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease, color .2s ease; }
.rq-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -16px rgba(18, 48, 90, .5); }
.rq-tile:hover .rq-tile__icon { transform: rotate(-6deg) scale(1.06); }
.rq-tile__tick { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; transform: scale(0); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.rq-tile:has(input:checked) { border-color: var(--primary); background: #FFF7F1; }
.rq-tile:has(input:checked) .rq-tile__icon { background: var(--primary); color: #fff; }
.rq-tile:has(input:checked) .rq-tile__tick { transform: scale(1); }
.rq-tile:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.rq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rq-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; font: inherit; font-weight: 650; font-size: 14px; color: var(--ink); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .15s ease; }
.rq-chip:hover { border-color: var(--secondary); transform: translateY(-1px); }
.rq-chip.is-on, .rq-chip:has(input[type=radio]:checked) { border-color: var(--primary); background: var(--primary); color: #fff; }
.rq-chip input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.rq-chips--soft .rq-chip:has(input:checked) { background: #FFF7F1; color: var(--primary); }
.rq-chip--input { padding: 4px 6px 4px 16px; cursor: text; }
.rq-chip--input input { width: 110px; border: 0; background: var(--band, #F4F7FB); border-radius: 99px; padding: 7px 12px; font: inherit; }
.rq-date { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; color: var(--text-2); }
.rq-date input { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; }
.rq-drop { margin-bottom: 12px; transition: border-color .2s ease, background-color .2s ease; }
.rq-drop:hover { border-color: var(--primary); background: #FFF7F1; }
.rq-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .rq-grid { grid-template-columns: 1fr 1fr; } }
.rq-field { position: relative; display: block; }
.rq-field input, .rq-field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 22px 14px 8px; font: inherit; font-size: 15px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.rq-field textarea { resize: vertical; min-height: 110px; padding-top: 26px; }
.rq-field span { position: absolute; left: 15px; top: 15px; color: var(--text-2); font-size: 15px; pointer-events: none; transition: top .18s ease, font-size .18s ease, color .18s ease; }
.rq-field input:focus, .rq-field textarea:focus { outline: 0; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(18, 48, 90, .1); }
.rq-field input:focus + span, .rq-field input:not(:placeholder-shown) + span,
.rq-field textarea:focus + span, .rq-field textarea:not(:placeholder-shown) + span { top: 6px; font-size: 11.5px; font-weight: 700; color: var(--secondary); }
.rq-privacy { margin: 14px 0; }
.rq-submit { font-size: 17px; }
.rq-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; color: var(--text-2); font-size: 13px; }
.rq-note svg { color: #15803D; }
.rq-aside { display: grid; gap: 16px; }
@media (min-width: 1024px) { .rq-aside { position: sticky; top: 130px; } }
.rq-card h3 { margin: 0 0 14px; font-size: 18px; }
.rq-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.rq-timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary), rgba(194, 65, 12, .1)); }
.rq-timeline li { position: relative; display: flex; gap: 12px; }
.rq-timeline b { flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #FFF4EC; color: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 2px #FED7AA; }
.rq-timeline strong { display: block; }
.rq-timeline span { color: var(--text-2); font-size: 14px; }
.rq-card--dark { background: var(--secondary); color: #fff; border-color: transparent; }
.rq-card--dark h3 { color: #fff; }
.rq-contact { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.rq-contact:hover { background: rgba(255, 255, 255, .16); transform: translateX(4px); color: #fff; }
.rq-contact span { display: grid; font-size: 13px; color: rgba(255, 255, 255, .75); }
.rq-contact strong { color: #fff; font-size: 15px; }
.rq-hours { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .7); }
@media (prefers-reduced-motion: reduce) { .rq-hero::after, .rq-hero__inner, .rq-step, .rq-product, .rq-card { animation: none; } }

/* campione da 1 pezzo nella scheda prodotto */
.pp-sample { cursor: default; }
.pp-sample > span { display: grid; gap: 6px; }
.pp-sample select { max-width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; }
.pp-sample .btn { justify-self: start; }
/* foto a schermo intero: sempre tutta visibile dentro lo schermo (lo zoom solo al clic) */
.lb__stage { display: flex; align-items: center; justify-content: center; }
.lb__stage img, .lb__stage img[src] { width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
@media (orientation: portrait) { .lb__stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; } }
/* scheda prodotto: la colonna con foto e preventivo non segue più lo scorrimento */
.pp-page .b-col--sticky { position: static; max-height: none; overflow: visible; padding-right: 0; }
/* articolo esaurito in tutti i colori */
.pp-soldout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: #FFF7ED; border: 1px solid #FED7AA; color: #7C2D12; animation: ps-fade-up .4s ease both; }
.pp-soldout > svg { flex: 0 0 auto; color: #C2410C; }
.pp-soldout > div { flex: 1 1 260px; display: grid; gap: 2px; }
.pp-soldout strong { font-size: 15.5px; }
.pp-soldout span { font-size: 13.5px; color: #9A3412; }
.pp-color__info small.is-out { color: #B91C1C; font-weight: 600; }
/* box "Ti aiutiamo noi": contenuto in alto, riquadri della stessa altezza */
.pp-help__box { align-items: flex-start; }
.pp-help__grid { align-items: stretch; }

/* =========================================================
   v2.5: menu "Altre categorie" pulito, spessore header, stili barra, passaggi e invito
   ========================================================= */
/* nel menu "Altre categorie" le sottocategorie non si aprono (si sovrapponevano) */
.catbar__morelist .catbar__cell .catbar__menu,
.catbar__morelist .catbar__cell:hover .catbar__menu,
.catbar__morelist .catbar__cell:focus-within .catbar__menu { display: none !important; }
.catbar__morelist .catbar__item svg { width: 18px; height: 18px; padding: 5px; }
.catbar__morelist .catbar__item:hover { background: #F4F7FB; }
.catbar__more .catbar__menu { padding: 14px; }

/* spessore header */
.header--slim .header__inner { padding-top: 6px; padding-bottom: 6px; }
.header--compact .header__inner { padding-top: 10px; padding-bottom: 10px; }
.header--large .header__inner { padding-top: 26px; padding-bottom: 26px; }
@media (min-width: 1024px) {
  .header--slim .header__inner { padding-top: 8px; padding-bottom: 8px; gap: 20px; }
  .header--slim .brand__mark { flex-basis: 38px; height: 38px; border-radius: 11px; }
  .header--slim .brand small, .header--slim .hcontact small { display: none; }
  .header--slim .hblock { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; max-width: 360px; }
  .header--slim .logo { font-size: 24px; }
  .header--compact .header__inner { padding-top: 12px; padding-bottom: 12px; }
  .header--compact .brand__mark { flex-basis: 44px; height: 44px; }
  .header--compact .hblock { gap: 4px; font-size: 13px; }
  .header--normal .header__inner { padding-top: 18px; padding-bottom: 18px; }
}

/* stili barra categorie */
.catbar--text .catbar__inner > .catbar__item svg, .catbar--text .catbar__inner > .catbar__cell > .catbar__item svg { display: none; }
.catbar--text .catbar__item { padding: 11px 14px; }
.catbar--pills .catbar__inner { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.catbar--pills .catbar__item, .catbar--pills .catbar__inner > .catbar__item { border-radius: 99px; background: #F4F7FB; padding: 6px 14px 6px 6px; }
.catbar--pills .catbar__item svg { border-radius: 99px; background: #fff; }
.catbar--pills .catbar__item::after { display: none; }
.catbar--pills .catbar__item:hover, .catbar--pills .catbar__item.is-active { background: var(--secondary); color: #fff; }

/* "Come funziona": numeri tondi, percorso collegato, comparsa in sequenza */
.steps { counter-reset: none; }
.steps li { align-items: flex-start; position: relative; }
.steps b { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; font-size: 18px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #F97316); color: #fff; box-shadow: 0 10px 20px -10px rgba(194, 65, 12, .8); }
.steps strong { font-size: 17px; margin-top: 2px; color: var(--ink); }
.steps span { display: block; margin-top: 4px; line-height: 1.5; }
@media (min-width: 900px) {
  .steps { gap: 18px; }
  .steps li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; gap: 14px;
    box-shadow: 0 14px 30px -26px rgba(18, 48, 90, .55); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .steps li:hover { transform: translateY(-4px); border-color: #FED7AA; box-shadow: 0 20px 36px -24px rgba(194, 65, 12, .45); }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -14px; width: 10px; height: 10px; border-top: 2px solid #FDBA74; border-right: 2px solid #FDBA74; transform: rotate(45deg); }
  .steps li { animation: ps-fade-up .5s ease both; }
  .steps li:nth-child(2) { animation-delay: .08s; } .steps li:nth-child(3) { animation-delay: .16s; } .steps li:nth-child(4) { animation-delay: .24s; }
}

/* invito finale: titolo leggibile, sfondo con movimento leggero */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--secondary) 0%, #0B1F3D 60%, #3B1A0B 140%); }
.cta-band::before { content: ""; position: absolute; width: 320px; height: 320px; right: 18%; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, .35), transparent 70%); animation: rq-float 10s ease-in-out infinite; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: inherit !important; font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { color: rgba(255, 255, 255, .8) !important; opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .steps li, .cta-band::before { animation: none; } }

/* =========================================================
   Pagine informative: apertura grafica, testi lunghi leggibili
   ========================================================= */
.ph { position: relative; display: grid; gap: 28px; align-items: center; padding: 34px 28px; border-radius: 28px; overflow: hidden; color: #fff;
  background: radial-gradient(900px 380px at 100% 0%, rgba(249, 115, 22, .32), transparent 60%), linear-gradient(135deg, var(--secondary) 0%, #0B1F3D 100%); }
@media (min-width: 900px) { .ph { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); padding: 54px 56px; } }
.ph__text { position: relative; z-index: 1; animation: ps-fade-up .6s ease both; }
.ph__kicker { display: inline-flex; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ph__title { margin: 14px 0 12px; color: #fff; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -.02em; }
.ph__intro { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .84); }
.ph__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ph__ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.ph__ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.ph__badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 14px; }
.ph__badges li { display: inline-flex; align-items: center; gap: 6px; }
.ph__badges svg { color: #FDBA74; }
.ph__art { position: relative; min-height: 220px; display: grid; place-items: center; }
.ph__art img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); animation: ps-fade-up .7s ease .1s both; }
.ph__icon { position: relative; z-index: 1; width: 140px; height: 140px; border-radius: 40px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), #F97316); box-shadow: 0 30px 60px -20px rgba(249, 115, 22, .7); animation: ph-float 6s ease-in-out infinite; }
.ph__ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .18); animation: ph-spin 40s linear infinite; }
.ph__ring--1 { width: 230px; height: 230px; } .ph__ring--2 { width: 330px; height: 330px; animation-direction: reverse; animation-duration: 60s; }
.ph__dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #FDBA74; animation: ph-float 5s ease-in-out infinite; }
.ph__dot--1 { top: 18%; left: 22%; } .ph__dot--2 { bottom: 16%; right: 20%; width: 10px; height: 10px; background: #fff; animation-delay: 1.2s; }
.ph__dot--3 { top: 28%; right: 14%; width: 8px; height: 8px; background: #93C5FD; animation-delay: 2.4s; }
@keyframes ph-float { 50% { transform: translateY(-12px) rotate(-3deg); } }
@keyframes ph-spin { to { transform: rotate(360deg); } }
@media (max-width: 899px) { .ph__art { display: none; } }
@media (prefers-reduced-motion: reduce) { .ph__icon, .ph__ring, .ph__dot, .ph__text, .ph__art img { animation: none; } }

/* testi lunghi delle pagine: leggibili e ariosi */
.b-w--text .prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.b-w--text .prose h2 { margin: 1.6em 0 .5em; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--secondary); letter-spacing: -.01em; }
.b-w--text .prose h2:first-child { margin-top: 0; }
.b-w--text .prose h3 { margin: 1.4em 0 .4em; font-size: 20px; color: var(--ink); }
.b-w--text .prose p { margin: 0 0 1em; }
.b-w--text .prose ul, .b-w--text .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.b-w--text .prose li { margin: .35em 0; }
.b-w--text .prose ul li::marker { color: var(--primary); }
.b-w--text .prose a { color: var(--primary); font-weight: 600; }
.b-w--text .prose strong { color: var(--ink); }
.b-w--text .prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--primary); background: #FFF7F1; border-radius: 0 14px 14px 0; font-size: 17px; color: var(--ink); }
.b-w--text .prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 15px; }
.b-w--text .prose th, .b-w--text .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.b-w--text .prose th { background: #F4F7FB; color: var(--secondary); }
.b-icons--boxed li { transition: transform .25s ease, box-shadow .25s ease; }
.b-icons--boxed li:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(18, 48, 90, .5); }

/* Tecniche di personalizzazione (home) */
.pm { position: relative; padding: 36px 24px; border-radius: 28px; background: linear-gradient(180deg, #F4F7FB 0%, #FFFFFF 100%); border: 1px solid var(--line); overflow: hidden; }
.pm::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, .16), transparent 70%); pointer-events: none; }
@media (min-width: 900px) { .pm { padding: 52px 52px 44px; } }
.pm__head { position: relative; max-width: 760px; margin-bottom: 26px; }
.pm__kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.pm__head h2 { margin: 8px 0 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; color: var(--secondary); letter-spacing: -.02em; }
.pm__head p { margin: 0; font-size: 17px; color: var(--text-2); }
.pm__grid { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pm__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.pm__card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 30px -26px rgba(18, 48, 90, .55); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: ps-fade-up .55s ease both; animation-delay: var(--d, 0ms); }
.pm__card:hover { transform: translateY(-5px); border-color: #FED7AA; box-shadow: 0 22px 40px -26px rgba(194, 65, 12, .5); }
.pm__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 6px; background: #EEF3F8; color: var(--secondary);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease, color .25s ease; }
.pm__card:hover .pm__icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--primary), #F97316); color: #fff; }
.pm__card strong { font-size: 17px; color: var(--ink); }
.pm__text { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.pm__tag { align-self: flex-start; margin-top: auto; padding: 4px 10px; border-radius: 99px; background: #FFF4EC; color: var(--primary); font-style: normal; font-size: 12.5px; font-weight: 700; }
.pm__link { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 700; color: var(--primary); text-decoration: none; }
.pm__link svg { transition: transform .2s ease; } .pm__link:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .pm__card { animation: none; } }

/* Pagine categoria: prodotti per riga a scelta (3, 4, 5) o elenco */
.catalog2__tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.viewsw { display: none; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
@media (min-width: 1024px) { .viewsw { display: inline-flex; } }
.viewsw button { display: grid; place-items: center; width: 38px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.viewsw button:hover { background: #F4F7FB; color: var(--secondary); }
.viewsw button.is-on { background: var(--secondary); color: #fff; }
.viewsw svg { fill: currentColor; }
.viewsw__bars { display: flex; gap: 2px; height: 14px; }
.viewsw__bars i { width: 4px; border-radius: 1.5px; background: currentColor; }
@media (min-width: 1024px) {
  .pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .pgrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .pgrid--5 .pcard__desc, .pgrid--5 .pcard p { display: none; }
  .pgrid--5 .pcard h3, .pgrid--5 .pcard__name { font-size: 15px; }
  /* elenco: foto a sinistra, dettagli a destra */
  .pgrid--list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pgrid--list .pcard { flex-direction: row; align-items: stretch; }
  .pgrid--list .pcard__media { flex: 0 0 220px; aspect-ratio: auto; min-height: 200px; }
  .pgrid--list .pcard > :not(.pcard__media) { flex: 1 1 auto; }
}
.pgrid.is-switching > .pcard { animation: ps-fade-up .35s ease both; }
@media (prefers-reduced-motion: reduce) { .pgrid.is-switching > .pcard { animation: none; } }
/* intestazione delle categorie: spazi decisi nelle impostazioni, riquadri che non toccano l'elenco */
.cat-band__inner { padding-top: var(--cb-pt, 18px); padding-bottom: var(--cb-pb, 24px); align-items: center; }
.cat-band .breadcrumb { padding: 0 0 var(--cb-gap, 8px); }
.cat-band h1 { margin: 0 0 var(--cb-gap, 8px); line-height: 1.12; }
@media (min-width: 1024px) { .cat-band h1 { font-size: var(--cb-h1, 32px); } }
.cat-band__badges { align-self: center; }
.cat-band + .catalog2, .catalog2 { padding-top: var(--cb-after, 20px); }

/* Home: vetrina ordinata (penne, borracce, shopper, t-shirt) al posto del collage sovrapposto */
.hshow { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hshow--1 { grid-template-columns: minmax(0, 1fr); }
.hshow--3 .hshow__tile:first-child { grid-row: span 2; }
.hshow__tile { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: linear-gradient(160deg, #F4F7FB 0%, #EAF0F7 100%);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden;
  box-shadow: 0 18px 34px -28px rgba(18, 48, 90, .6); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: ps-fade-up .6s ease both; animation-delay: var(--d, 0ms); }
.hshow__tile:hover { transform: translateY(-5px); border-color: #FED7AA; box-shadow: 0 26px 44px -28px rgba(194, 65, 12, .5); }
.hshow__img { position: relative; display: block; aspect-ratio: 1 / 1; }
.hshow__img img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s ease; }
.hshow__tile:hover .hshow__img img { transform: translateY(-4px) rotate(-2deg); }
.hshow__label { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 12px 12px; padding: 8px 12px; border-radius: 12px;
  background: #fff; font-weight: 700; font-size: 14px; color: var(--secondary); box-shadow: 0 6px 14px -10px rgba(18, 48, 90, .5); }
.hshow__label svg { color: var(--primary); transition: transform .2s ease; }
.hshow__tile:hover .hshow__label svg { transform: translateX(3px); }
.hshow__stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg); display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 99px; background: linear-gradient(135deg, var(--primary), #F97316); color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 16px 30px -12px rgba(194, 65, 12, .7); white-space: nowrap; pointer-events: none; animation: hshow-stamp 4.5s ease-in-out infinite; }
@keyframes hshow-stamp { 0%, 100% { transform: translate(-50%, -50%) rotate(-6deg) scale(1); } 50% { transform: translate(-50%, -54%) rotate(-3deg) scale(1.05); } }
@media (max-width: 699px) { .hshow { gap: 10px; } .hshow__label { font-size: 13px; margin: 0 8px 8px; } .hshow__stamp { font-size: 12px; padding: 7px 12px; } }
@media (prefers-reduced-motion: reduce) { .hshow__tile, .hshow__stamp { animation: none; } }
.hshow { width: 100%; max-width: 620px; justify-self: end; }
.hshow__img { aspect-ratio: 4 / 3; }
.hshow__img img { inset: 10% 14%; width: 72%; height: 80%; }
/* articoli senza disponibilità: card riconoscibile */
.pcard__badge--out { background: #FEE2E2; color: #991B1B; }
.pcard:has(.pcard__badge--out) .pcard__media img { opacity: .55; filter: grayscale(.4); }
/* barra categorie: finché lo script non l'ha sistemata (o se non parte) si scorre invece di uscire dallo schermo */
@media (min-width: 1024px) { .catbar__inner:not(.is-fitted) { overflow-x: auto; overflow-y: hidden; } }
/* carrello: costi riga per riga (articolo, ogni stampa con impianto, manipolazione) */
.cart-costs { list-style: none; margin: 6px 0; padding: 8px 10px; border-radius: 10px; background: #F4F7FB; display: grid; gap: 4px; font-size: 13px; }
.cart-costs li { display: flex; justify-content: space-between; gap: 12px; }
.cart-costs span { color: var(--text-2); }
.cart-costs b { white-space: nowrap; color: var(--ink); font-weight: 600; }

/* ---- banner pubblicitari ai lati (solo schermi larghi) */
.rail { display: none; }
@media (min-width: 1440px) {
  .rails { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr) var(--rail-w); gap: 20px; padding: 0 20px; }
  .rails > .main { min-width: 0; }
  .rail { display: block; position: sticky; top: 140px; align-self: start; padding: 24px 0; max-height: calc(100vh - 150px); overflow-y: auto; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail .b-section, .rail .container { padding-left: 0; padding-right: 0; max-width: none; }
}
/* anteprima dell'editor: i banner si vedono anche nella finestra stretta */
.rails--preview { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr) var(--rail-w); gap: 16px; padding: 0 12px; }
.rails--preview .rail { display: block; padding: 24px 0; }

.promo-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--surface, #fff); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: 0 6px 24px rgba(18, 48, 90, .07); transition: transform .25s ease, box-shadow .25s ease; animation: promo-in .6s ease both; }
.promo-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18, 48, 90, .13); }
.promo-card + .promo-card, .b-widget + .b-widget .promo-card { margin-top: 14px; }
.promo-card__kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.promo-card__img { position: relative; display: block; border-radius: 12px; background: #F4F6F9; aspect-ratio: 3 / 4; overflow: hidden; }
.promo-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .5s ease; }
.promo-card:hover .promo-card__img img { transform: scale(1.05); }
.promo-card__img b { position: absolute; top: 8px; left: 8px; background: #DC2626; color: #fff; font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 999px; animation: promo-pulse 2.4s ease-in-out infinite; }
.promo-card__title { font-size: 15px; line-height: 1.25; }
.promo-card__text { font-size: 13px; line-height: 1.45; opacity: .8; }
.promo-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.promo-card__price b { font-size: 20px; color: var(--primary); }
.promo-card__price s { color: var(--muted, #6B7280); font-size: 13px; width: 100%; }
.promo-card__price small { font-size: 12px; opacity: .7; }
.promo-card__until { font-size: 12px; font-weight: 600; color: #B91C1C; }
.promo-card__btn { margin-top: 4px; }
@keyframes promo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes promo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .promo-card, .promo-card__img b { animation: none; } }

/* promozioni su card e scheda */
.pcard__badge--promo { background: #DC2626; color: #fff; }
.pcard__was { color: var(--muted, #6B7280); font-size: 13px; margin-right: 4px; }
.pp-badge--promo { background: #FEE2E2; color: #B91C1C; font-weight: 700; }
.pp-quote__promo { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #FEF2F2; color: #B91C1C; font-weight: 600; font-size: 14px; }

/* ---- pagina dell'ordine del cliente: bozza, approvazione, pagamento */
.op .box h2 { font-size: 18px; margin: 0 0 10px; }
.op-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 20px; counter-reset: s; }
.op-steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #F1F5F9; color: var(--muted, #64748B); font-size: 13px; font-weight: 600; }
.op-steps li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; font-size: 12px; }
.op-steps li.is-done { background: #DCFCE7; color: #166534; }
.op-steps li.is-done::before { content: '✓'; background: #16A34A; color: #fff; }
.op-proof__img { display: block; margin: 0 0 12px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #F8FAFC; }
.op-proof__img img { display: block; width: 100%; max-height: 70vh; object-fit: contain; }
.op-proof__form textarea { width: 100%; }
.op-proof__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 6px; }
.op-history ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }
.op-ok { color: #166534; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.op-pay { display: grid; gap: 16px; }
@media (min-width: 860px) { .op-pay { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.op-pay__element { min-height: 200px; margin-bottom: 14px; }
.op-pay__safe { display: flex; align-items: center; gap: 6px; font-size: 13px; margin: 10px 0 0; }
.op-pay__sum p { margin: 0 0 8px; font-size: 14px; }

/* ---- checkout a passaggi */
.co { display: grid; gap: 20px; margin-top: 18px; }
@media (min-width: 980px) { .co { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .co-side { position: sticky; top: 130px; } }
.co-step { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; margin-bottom: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.co-step.is-open { border-color: var(--secondary, #12305A); box-shadow: 0 10px 30px rgba(18, 48, 90, .08); }
.co-step__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; background: var(--soft, #F4F7FB); }
.co-step.is-open .co-step__head { background: #EEF3FA; }
.co-step__head h2 { font-size: 16px; margin: 0; }
.co-step__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--secondary, #12305A); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.co-step.is-done .co-step__n { background: #16A34A; font-size: 0; }
.co-step.is-done .co-step__n::after { content: '✓'; font-size: 15px; }
.co-step__sum { margin-left: auto; font-size: 13px; color: var(--muted, #64748B); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.co-step.is-open .co-step__sum { display: none; }
.co-step__body { display: none; padding: 18px; }
.co-step.is-open .co-step__body { display: block; animation: co-in .3s ease; }
@keyframes co-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.co-step__body > .btn { margin-top: 14px; }
.co-login { display: grid; gap: 16px; }
@media (min-width: 700px) { .co-login { grid-template-columns: 1fr 1fr; } }
.co-login__box { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.co-login__box h3 { margin: 0; font-size: 15px; }
.co-login__reg { background: var(--secondary, #12305A); color: #fff; border: 0; }
.co-login__reg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; flex: 1; }
.co-login__reg li { display: flex; gap: 8px; align-items: flex-start; }
.co-login__reg .btn { background: #fff; color: var(--secondary, #12305A); }
.co-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted, #94A3B8); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.co-or::before, .co-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.co-login__alt { display: grid; gap: 10px; }
@media (min-width: 700px) { .co-login__alt { grid-template-columns: 1fr 1fr; } }
.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); color: #1F2937; }
.co-logged { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.co-logged form { display: inline; }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; text-decoration: underline; cursor: pointer; }
.co-profiles { display: grid; gap: 8px; margin-bottom: 12px; }
.co-profile { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.co-profile:has(input:checked) { border-color: var(--primary); background: #FFF7F2; }
.co-profile input { margin-top: 3px; accent-color: var(--primary); }
.co-profile span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.co-profile small { color: var(--muted, #64748B); font-size: 12.5px; }
.co-profile em { font-style: normal; font-size: 11px; font-weight: 700; color: #166534; background: #DCFCE7; padding: 1px 6px; border-radius: 999px; margin-left: 6px; }
.co-profile--new strong { color: var(--primary); }
.co-newform { margin: 4px 0 6px; }
.co-mini { font-size: 13px; margin: 8px 0 0; }
.co-box { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 14px; }
.co-box h3 { margin: 0 0 12px; font-size: 16px; }
.co-items { list-style: none; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.co-items li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.co-items small { display: block; color: var(--muted, #64748B); font-size: 12px; }
.co-box dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0; font-size: 14px; }
.co-box dd { margin: 0; text-align: right; font-weight: 600; }
.co-box dd.free { color: #166534; }
.co-total { font-size: 17px; font-weight: 800 !important; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); }
.co-pay { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.co-pay:has(input:checked) { border-color: var(--primary); background: #FFF7F2; }
.co-pay input { margin-top: 3px; accent-color: var(--primary); }
.co-pay__txt { display: flex; flex-direction: column; gap: 4px; flex: 1; font-size: 14px; }
.co-pay__txt small { color: var(--muted, #64748B); font-size: 12px; }
.co-pay em { font-style: normal; font-size: 11px; color: #166534; white-space: nowrap; }
.co-pay--klarna { background: #FFF5F8; }
.co-pay--klarna:has(input:checked) { border-color: #FF8FB0; background: #FFEAF1; }
.co-safe { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted, #64748B); margin: 8px 0 0; }
.pay-logos { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.pay-logo { display: inline-flex; line-height: 0; }
.op-paybtns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.btn-klarna { background: #FFB3C7; color: #17120F; border: 0; gap: 8px; }
.btn-klarna:hover { background: #FF9FB9; }
.addr-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.addr-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.addr-list li > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.addr-list small { color: var(--muted, #64748B); }
.addr-list em { font-style: normal; font-size: 11px; font-weight: 700; color: #166534; }
.addr-list__act { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.co-paybox { margin-bottom: 16px; }
.co-paybox h3 { font-size: 15px; margin: 0 0 10px; }
.co-paygrid { display: grid; gap: 10px; }
@media (min-width: 760px) { .co-paygrid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.co-paygrid .co-pay { margin-bottom: 0; }
@media (min-width: 760px) { .co-paygrid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.co-paygrid .co-pay { flex-wrap: wrap; align-content: flex-start; }
.co-paygrid .co-pay__txt { min-width: 0; flex: 1 1 180px; }
.co-paygrid .co-pay em { order: 3; flex-basis: 100%; padding-left: 24px; }
.co-paygrid .pay-logos { flex-wrap: wrap; }

/* ---- ottimizzazione mobile */
/* carrello: prezzi di stampa e impianto vanno a capo invece di uscire dallo schermo */
.cart-costs li { flex-wrap: wrap; }
.cart-costs span { flex: 1 1 140px; min-width: 0; }
.cart-costs b { white-space: normal; margin-left: auto; text-align: right; }
/* tabelle nei testi delle pagine: scorrono di lato dentro il loro riquadro */
@media (max-width: 760px) {
  .b-w--text .prose table, .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14px; }
  .prose table th, .prose table td { min-width: 120px; }
}
/* caroselli: il primo elemento non si attacca al bordo (l'aggancio tiene conto del margine) */
.hscroll { scroll-padding-inline: 16px; }
@media (max-width: 640px) {
  .hscroll .pcard__media { aspect-ratio: 4 / 3; }
  .hscroll .pcard__desc { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 640px) {
  /* header più basso: pulsanti rapidi compatti */
  .quick { gap: 6px; }
  .quick a { min-height: 36px; padding: 6px 8px; font-size: 13px; gap: 6px; }
  .quick a svg { width: 15px; height: 15px; }
  /* foto delle posizioni di stampa: meno alte, si vede subito la scelta della tecnica */
  .pp-pos__img { aspect-ratio: 4 / 3; max-height: 230px; }
}
@media (max-width: 699px) {
  /* checkout su telefono: prima "Continua con Google / come ospite", poi accesso e registrazione */
  .co-step[data-step="1"] .co-step__body { display: none; flex-direction: column; }
  .co-step[data-step="1"].is-open .co-step__body { display: flex; }
  .co-step[data-step="1"] .co-login__alt { order: -2; }
  .co-step[data-step="1"] .co-or { order: -1; }
  .co-login__reg ul { display: none; }
  .co-step__body { padding: 14px; }
  .co-step__head { padding: 14px; }
  .co-step__sum { display: none; }
}
@media (max-width: 640px) {
  /* pagina ordine: passaggi su una riga che scorre */
  .op-steps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .op-steps::-webkit-scrollbar { display: none; }
  .op-steps li { white-space: nowrap; flex: none; padding: 6px 12px; font-size: 12.5px; }
  .op .box { padding: 16px; }
  .op .table th:nth-child(3), .op .table td:nth-child(3) { display: none; }
  .op-paybtns .btn { flex: 1 1 100%; justify-content: center; }
}
/* ordine da pagare: prima il pagamento, poi la bozza */
.op--unpaid { display: flex; flex-direction: column; }
.op--unpaid > * { order: 1; }
.op--unpaid > .op-sec-pay { order: 2; }
.op--unpaid > .op-sec-proof { order: 3; }
.op--unpaid > .box:not(.op-sec-pay):not(.op-sec-proof), .op--unpaid > p:last-child { order: 4; }

/* ---- griglia colori × taglie */
.pp-sizes { display: grid; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.pp-sizes__row { display: grid; grid-template-columns: minmax(120px, 1.6fr) repeat(auto-fit, minmax(62px, 1fr)); grid-auto-flow: column; grid-auto-columns: minmax(62px, 1fr); gap: 6px; align-items: center; min-width: max-content; }
.pp-sizes__head span { font-size: 12px; font-weight: 800; color: var(--muted, #64748B); text-align: center; text-transform: uppercase; }
.pp-sizes__head span:first-child { text-align: left; }
.pp-sizes__color { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; position: sticky; left: 0; background: #fff; z-index: 1; padding-right: 6px; }
.pp-sizes__color .pp-color__img { width: 30px; height: 30px; flex: none; }
.pp-sizes__cell { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 62px; }
.pp-sizes__cell input { width: 100%; min-width: 56px; text-align: center; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; }
.pp-sizes__cell input:focus { border-color: var(--primary); outline: none; }
.pp-sizes__cell small { font-size: 10.5px; color: var(--muted, #64748B); text-align: center; line-height: 1.2; }
.pp-sizes__cell.is-out input { background: #F1F5F9; }
.pp-sizes__cell.is-out small, .pp-sizes__cell small.is-out { color: #B91C1C; }
.pp-sizes__cell small.is-low { color: #B45309; }
.pp-sizes__cell.is-none { color: #CBD5E1; text-align: center; }
.pp-sizes__cell.is-current input { border-color: var(--primary); }
.pp-sizes { max-width: 100%; min-width: 0; }
.pp-step, .pp-config, .pp-right, .pp-left { min-width: 0; }
.pp-sizes__row { min-width: 0; width: max-content; }
/* griglia taglie: una colonna fissa per taglia */
.pp-sizes__row { display: grid; grid-auto-flow: row; grid-template-columns: minmax(120px, 1fr) repeat(var(--n, 4), 72px); grid-auto-columns: unset; width: auto; min-width: calc(120px + var(--n, 4) * 78px); }
.pp-sizes__cell input { width: 64px; min-width: 0; }

/* ---------------------------------------------------------------- Configuratore BIC (penna a livelli) */
.bic { container-type: inline-size; }
.bic__wrap { display: grid; gap: 18px; }
@container (min-width: 720px) { .bic__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .bic__stage { position: sticky; top: 90px; } }
.bic__stage { background: linear-gradient(180deg, #F7F7F4, #fff); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; position: relative; }
.bic__tools { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 6px; }
.bic__tool { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(20, 22, 26, .72); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.bic__tool:hover { background: var(--ink); transform: scale(1.06); }
.bic__canvas { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #fff; }
.bic__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .2s ease; }
.bic__layer--photo { position: static; }
.bic__loading { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(20, 22, 26, .78); color: #fff; font-size: 12.5px; padding: 5px 12px; border-radius: 99px; }
.bic__chosen { list-style: none; margin: 10px 4px 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.bic__chosen i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.bic__chosen b { color: var(--ink); font-weight: 600; }
.bic__panel { display: grid; gap: 14px; min-width: 0; }
.bic__qty { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.bic__qty span { font-weight: 700; }
.bic__qty input { width: 130px; font-size: 17px; font-weight: 600; padding: 9px 12px; border-radius: 10px; border: 1.5px solid #D9D8D2; }
.bic__qty input:focus { border-color: var(--ink); outline: none; }
.bic__qty small { color: var(--muted); }
.bic__tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.bic__tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 11px 18px; border: 1px solid transparent; border-bottom: 0; border-radius: 12px 12px 0 0; background: transparent; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; margin-bottom: -1px; transition: color .15s ease, background .15s ease; }
.bic__tabs button:hover { color: var(--ink); }
.bic__tabs button.is-on { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: inset 0 3px 0 var(--primary); }
.bic__pane { display: grid; gap: 14px; animation: bic-in .25s ease; }
@keyframes bic-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.bic__part { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.bic__part h3 { margin: 0 0 8px; font-size: 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bic__part h3 small { font-weight: 400; color: var(--muted); font-size: 13px; }
.bic__group { margin: 8px 0 6px; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.bic__swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.bic__sw { min-width: 40px; height: 34px; padding: 0 6px; border-radius: 8px; border: 1px solid rgba(0, 0, 0, .12); background: var(--c); color: var(--f); font: 600 12.5px/1 var(--font); cursor: pointer; position: relative; transition: transform .12s ease, box-shadow .12s ease; }
.bic__sw:hover { transform: translateY(-2px); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .35); }
.bic__sw.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary); }
.bic__sw.is-low::after { content: ""; position: absolute; right: -3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: #D97706; border: 2px solid #fff; }
.bic__area { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.bic__area.is-on { border-color: var(--primary); box-shadow: 0 8px 20px -14px rgba(217, 72, 15, .6); }
.bic__area-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; background: var(--soft); }
.bic__letter { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #fff; border: 1px solid var(--line); }
.bic__area.is-on .bic__letter { background: var(--primary); color: #fff; border-color: var(--primary); }
.bic__area-txt { flex: 1; min-width: 0; display: grid; }
.bic__area-txt small { color: var(--muted); font-size: 12.5px; }
.bic__switch { appearance: none; flex: 0 0 48px; width: 48px; height: 28px; border-radius: 99px; background: #CFCEC8; position: relative; cursor: pointer; transition: background .2s ease; margin: 0; }
.bic__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.bic__switch:checked { background: var(--accent); }
.bic__switch:checked::after { transform: translateX(20px); }
.bic__switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bic__area-body { display: none; padding: 12px 14px; }
.bic__area.is-on .bic__area-body { display: block; }
.bic__area-body p { margin: 0; }
.bic__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bic__chip input { position: absolute; opacity: 0; pointer-events: none; }
.bic__chip span { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: 14px; transition: all .15s ease; }
.bic__chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.bic__chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.bic__note { font-size: 13px; margin: 0; }
.bic__files { display: grid; gap: 10px; }
.bic__files .pp-files { grid-template-columns: 1fr 1fr; }
.bic__total { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px; border-radius: var(--r); background: var(--ink); color: #fff; }
.bic__total > div { display: grid; }
.bic__total .muted { color: rgba(255, 255, 255, .7); font-size: 13px; }
.bic__total strong { font-size: 26px; letter-spacing: -.02em; }
.bic__total small { color: rgba(255, 255, 255, .75); }
.bic__error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDECEA; color: #9B1C1C; font-size: 14px; }
@media (max-width: 560px) {
  .bic__total { flex-direction: column; align-items: stretch; }
  .bic__total .btn { width: 100%; }
  .bic__files .pp-files { grid-template-columns: 1fr; }
}

/* ===== Anteprima 3D con logo (preview3d.js) ===== */
.pp-gallery__main{position:relative}
.p3d-open{position:absolute;left:12px;bottom:12px;z-index:2;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:0;border-radius:999px;background:#1d2433;color:#fff;font:600 14px/1 inherit;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.p3d-open:hover{background:var(--primary,#d94f2b)}
.p3d{position:fixed;inset:0;z-index:1000;background:rgba(15,18,26,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.p3d__panel{display:flex;width:min(1180px,100%);max-height:calc(100vh - 32px);background:#f6f5f2;border-radius:18px;overflow:hidden;color:#1d2433}
.p3d__stage{position:relative;flex:1 1 640px;min-height:560px;background:#eceae4;perspective:1500px;cursor:grab;touch-action:none;overflow:hidden}
.p3d__head{position:absolute;left:24px;top:20px;display:flex;flex-direction:column;gap:4px;pointer-events:none}
.p3d__head span{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#5b6372}
.p3d__head b{font-size:24px}
.p3d__floor{position:absolute;left:50%;top:82%;width:300px;height:40px;margin-left:-150px;border-radius:50%;background:radial-gradient(closest-side,rgba(29,36,51,.28),rgba(29,36,51,0))}
.p3d__scene{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d}
.p3d__face{position:absolute;left:-200px;top:-230px;width:400px;height:440px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.p3d__face svg{position:absolute;inset:0}
.p3d__slice{position:absolute;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.p3d__tools{position:absolute;left:0;right:0;bottom:20px;display:flex;justify-content:center;gap:10px}
.p3d__icon,.p3d__pill,.p3d__close{min-width:44px;min-height:44px;border:1px solid #cfd4dc;background:#fff;color:#1d2433;border-radius:999px;cursor:pointer;font-size:15px}
.p3d__icon{font-size:24px;line-height:1}
.p3d__pill{padding:0 16px}
.p3d__side{position:relative;flex:0 0 340px;padding:24px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}
.p3d__close{position:absolute;right:16px;top:16px;font-size:24px}
.p3d__lbl{margin:12px 0 0;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#5b6372}
.p3d__pos{display:flex;flex-direction:column;gap:6px}
.p3d__pos button{min-height:44px;text-align:left;padding:0 14px;border:1px solid #dfe3e9;border-radius:10px;background:#fff;color:#1d2433;cursor:pointer;font-size:14px}
.p3d__pos button.is-on{border-color:#d94f2b;box-shadow:inset 0 0 0 1px #d94f2b}
.p3d__up{position:relative;display:flex;align-items:center;justify-content:center;min-height:48px;border:1.5px dashed #9aa2ae;border-radius:10px;background:#fff;cursor:pointer;font-weight:600;font-size:14px}
.p3d__up input{position:absolute;inset:0;opacity:0;cursor:pointer}
.p3d__field{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#5b6372}
.p3d__field input[type=text]{min-height:42px;padding:0 12px;border:1px solid #cfd4dc;border-radius:8px;font-size:15px}
.p3d__field input[type=range]{accent-color:#d94f2b}
.p3d__sw{display:flex;gap:8px;flex-wrap:wrap}
.p3d__sw button{width:32px;height:32px;border-radius:50%;border:2px solid #cfd4dc;cursor:pointer}
.p3d__sw button.is-on{border-color:#d94f2b;box-shadow:inset 0 0 0 3px #f6f5f2}
.p3d__note{margin-top:auto;font-size:12px;color:#5b6372;line-height:1.4}
@media (max-width:820px){.p3d{padding:0}.p3d__panel{flex-direction:column;max-height:100vh;height:100vh;border-radius:0}.p3d__stage{flex:0 0 420px;min-height:420px}.p3d__scene{transform-origin:center;scale:.75}.p3d__side{flex:1 1 auto}}
/* Anteprima sulle foto vere (preview3d.js v2) */
.p3d__stage{display:flex;flex-direction:column;cursor:default;background:#f2f1ed}
.p3d__view{flex:1;display:flex;align-items:center;justify-content:center;padding:84px 28px 120px;perspective:1400px;cursor:grab;touch-action:none;min-height:0}
.p3d__view:active{cursor:grabbing}
.p3d__photo{position:relative;max-width:100%;transition:transform .05s linear;transform-style:preserve-3d}
.p3d__photo>img{display:block;max-width:100%;max-height:min(62vh,560px);user-select:none;border-radius:8px;background:#fff}
.p3d__print{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:8px}
.p3d__print>div{position:absolute;overflow:hidden}
.p3d__strip{transform-origin:center}
.p3d__guide{position:absolute;border:1.5px dashed #d94f2b;box-sizing:border-box;border-radius:2px;overflow:visible!important}
.p3d__wait{position:absolute;left:0;right:0;top:50%;text-align:center;color:#5b6372;font-size:14px}
.p3d__tools{bottom:84px}
.p3d__thumbs{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:8px;padding:0 16px;overflow-x:auto}
.p3d__thumbs button{flex:0 0 auto;width:64px;height:52px;padding:2px;border:2px solid #dfe3e9;border-radius:8px;background:#fff;cursor:pointer}
.p3d__thumbs button.is-on{border-color:#d94f2b}
.p3d__thumbs img{width:100%;height:100%;object-fit:contain}
.p3d__name{margin:0 48px 0 0;font-weight:700;font-size:17px;line-height:1.3}
.p3d__pos button{display:flex;justify-content:space-between;align-items:center;gap:8px}
.p3d__pos small{color:#5b6372;font-size:12px;white-space:nowrap}
.p3d__sw--photo button{width:44px;height:44px;border-radius:8px;background:#fff;padding:2px}
.p3d__sw--photo img{width:100%;height:100%;object-fit:contain}
@media (max-width:820px){.p3d__view{padding:72px 12px 120px}.p3d__photo>img{max-height:40vh}}

.catbar__logo{width:28px;height:28px;object-fit:contain;display:block;margin:0 auto}

/* ===== Pop-up newsletter ===== */
.nlpop{position:fixed;inset:0;z-index:900;background:rgba(20,20,20,.55);display:flex;align-items:center;justify-content:center;padding:16px;opacity:0;transition:opacity .25s}
.nlpop.is-open{opacity:1}
.nlpop__box{position:relative;width:min(480px,100%);background:#fff;border-radius:16px;padding:32px 28px 22px;box-shadow:0 20px 60px rgba(0,0,0,.25);transform:translateY(14px);transition:transform .3s ease}
.nlpop.is-open .nlpop__box{transform:none}
.nlpop__x{position:absolute;right:10px;top:10px;width:40px;height:40px;border:0;background:transparent;font-size:26px;line-height:1;cursor:pointer;color:#666}
.nlpop__tag{display:inline-block;padding:6px 12px;border-radius:999px;background:#FDECEC;color:#BD0000;font-weight:700;font-size:13px;margin-bottom:10px}
.nlpop h2{margin:0 0 8px;font-size:24px;line-height:1.2}
.nlpop p{margin:0 0 16px;color:#555;line-height:1.5}
.nlpop__row{display:flex;gap:8px;margin-bottom:10px}
.nlpop__row input{flex:1;min-height:46px;padding:0 12px;border:1px solid #ccc;border-radius:10px;font:inherit}
.nlpop .check{font-size:12px;color:#666}
.nlpop__no{display:block;margin:12px auto 0;border:0;background:none;color:#666;text-decoration:underline;cursor:pointer;font:inherit;font-size:13px}
@media (max-width:480px){.nlpop__row{flex-direction:column}}

/* Footer chiaro (proposta grafica): bianco, titoli scuri, newsletter compatta, barra finale con filo */
.ft-clean { border-top: 1px solid #E2E2E2; font-size: 14px; }
.ft-clean .b-links h4, .ft-clean .b-contact h4 { font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; color: #2B2B2B; margin-bottom: 12px; }
.ft-clean .footer__links { grid-template-columns: 1fr; gap: 9px; }
.ft-clean .footer__links a { color: #2B2B2B; text-decoration: none; transition: color .15s; }
.ft-clean .footer__links a:hover { color: #BD0000; }
.ft-clean .b-brand .logo { font-size: 22px; }
.ft-clean .b-brand p { color: #666; line-height: 1.6; max-width: 28em; }
.ft-clean .b-newsletter { display: block; }
.ft-clean .b-newsletter__text strong { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.ft-clean .b-newsletter form { max-width: 420px; }
.ft-clean .b-newsletter__row input { border: 1px solid #CCC !important; border-radius: 8px; min-height: 44px; padding: 0 12px; background: #fff; }
.ft-clean .b-newsletter__row .btn { min-height: 44px; background: #2B2B2B; border-color: #2B2B2B; color: #fff; }
.ft-clean .b-newsletter__row .btn:hover { background: #BD0000; border-color: #BD0000; }
.ft-clean .b-newsletter .check { color: #666; }
.ft-clean__bottom { font-size: 13px; color: #666; }
.ft-clean__bottom p { margin: 0; color: #666; }
.ft-clean__bottom .b-payments { justify-content: flex-end; }
.ft-clean__bottom .b-payments span { background: #F4F4F4; color: #2B2B2B; }
@media (max-width: 767px) {
  .ft-clean .b-row--n4 { grid-template-columns: 1fr 1fr; }
  .ft-clean .b-row--n4 > :first-child { grid-column: 1 / -1; }
  .ft-clean__bottom .b-payments { justify-content: flex-start; }
}

/* Diciture ripetute delle schede prodotto disegnate dal CSS (stesso aspetto, ma non contano come testo della pagina) */
.pcard__u::after, .pcard__tiers::before { content: attr(data-u); }
.home-seo { color: #444; font-size: 15px; line-height: 1.7; }
.home-seo h2 { font-size: 24px; margin: 0 0 10px; color: #2B2B2B; }
.home-seo h3 { font-size: 17px; margin: 20px 0 6px; color: #2B2B2B; }
.home-seo a { color: #BD0000; }

/* Barra categorie a riquadri: icona in un quadrato grigio che diventa rosso, nome sotto su due righe */
.catbar { background: #fff; border-top: 1px solid #E2E2E2; border-bottom: 1px solid #E2E2E2; box-shadow: 0 10px 22px -18px rgba(0, 0, 0, .35); }
.catbar__item svg, .catbar__logo { color: #BD0000; background: #F4F4F4; }
.catbar__item.is-active, .catbar__item:hover, .catbar__cell:hover > .catbar__item, .catbar__cell:focus-within > .catbar__item { color: #BD0000; }
.catbar__item.is-active svg, .catbar__item:hover svg, .catbar__cell:hover > .catbar__item svg { background: #BD0000; color: #fff; }
.catbar__item::after { background: #BD0000; }
@media (min-width: 1024px) {
  .catbar__inner { gap: 4px; padding-top: 10px; padding-bottom: 8px; }
  .catbar__item, .catbar__inner > .catbar__item { flex-direction: column; gap: 8px; width: 106px; padding: 6px 4px 12px; white-space: normal; text-align: center;
    font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #2B2B2B; background: transparent; border-radius: 14px; }
  .catbar__item span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.5em; }
  .catbar__item svg { width: 26px; height: 26px; padding: 12px; border-radius: 16px;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease, color .2s ease, box-shadow .25s ease; }
  .catbar__logo { width: 50px; height: 50px; padding: 8px; box-sizing: border-box; border-radius: 16px; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease; }
  .catbar__item:hover, .catbar__cell:hover > .catbar__item, .catbar__cell:focus-within > .catbar__item, .catbar__item.is-active { background: transparent; }
  .catbar__item:hover svg, .catbar__cell:hover > .catbar__item svg, .catbar__item:hover .catbar__logo { transform: translateY(-3px); box-shadow: 0 10px 18px -8px rgba(189, 0, 0, .55); }
  .catbar__item:hover .catbar__logo { box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .3); }
  .catbar__item::after { left: 30px; right: 30px; bottom: 2px; }
  .catbar__more > .catbar__item .catbar__chev { position: absolute; top: 8px; right: 14px; width: 12px; height: 12px; padding: 0; box-shadow: none; }
  .catbar__morelist .catbar__item { flex-direction: row; width: 100%; text-align: left; gap: 10px; padding: 8px 10px; }
  .catbar__morelist .catbar__item span { min-height: 0; }
  .catbar__morelist .catbar__item svg { width: 18px; height: 18px; padding: 7px; border-radius: 10px; box-shadow: none; transform: none; }
  .catbar__morelist .catbar__logo { width: 32px; height: 32px; padding: 4px; border-radius: 10px; margin: 0; }
}
@media (max-width: 1023px) {
  .catbar__item, .catbar__inner > .catbar__item { background: #F4F4F4; color: #2B2B2B; font-weight: 600; }
  .catbar__item svg { background: #fff; color: #BD0000; }
  .catbar__item.is-active { background: #2B2B2B; color: #fff; }
  .catbar__logo { width: 28px; height: 28px; padding: 3px; border-radius: 99px; background: #fff; }
}

/* Pagina "Stampa DTF" */
.dtf { background: #F4F4F4; padding: 24px 0 48px; }
.dtf__wrap { max-width: 880px; background: #fff; border: 1px solid #E2E2E2; border-radius: 20px; padding: 36px 44px 44px; }
.dtf__crumbs { font-size: 13px; color: #888; margin-bottom: 12px; } .dtf__crumbs a { color: #888; }
.dtf__hero { display: block; width: 100%; height: 340px; object-fit: cover; object-position: center 45%; border-radius: 16px; margin-bottom: 24px; }
.dtf h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; }
.dtf h2 { font-size: 25px; line-height: 1.2; margin: 40px 0 12px; }
.dtf p, .dtf li { font-size: 16px; line-height: 1.75; color: #444; }
.dtf ul { padding-left: 20px; }
.dtf .dtf__lead { font-size: 18px; color: #555; }
.dtf__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 6px; }
.dtf__table { overflow-x: auto; }
.dtf table { border-collapse: collapse; width: 100%; font-size: 15px; }
.dtf th, .dtf td { border-bottom: 1px solid #E2E2E2; padding: 12px 10px; text-align: left; vertical-align: top; }
.dtf th { background: #F4F4F4; }
.dtf__calc { margin-top: 18px; border: 2px solid #2B2B2B; border-radius: 16px; padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: #FAFAFA; scroll-margin-top: 90px; }
.dtf__label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.dtf__inputs { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.dtf__inputs label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #666; }
.dtf__step { display: flex; gap: 6px; }
.dtf__step button { width: 44px; height: 46px; border-radius: 10px; border: 1px solid #CCC; background: #fff; font-size: 22px; cursor: pointer; }
.dtf__step input { width: 72px; height: 46px; text-align: center; font-weight: 700; font-size: 20px; }
.dtf__inputs select { width: 96px; height: 46px; font-weight: 700; font-size: 18px; }
.dtf__tier { display: block; margin-top: 10px; font-size: 13.5px; color: #2E7D4F; font-weight: 600; }
.dtf__sum { background: #fff; border: 1px solid #E2E2E2; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; align-self: start; }
.dtf__sum > div { display: flex; justify-content: space-between; gap: 10px; }
.dtf__total { border-top: 1px solid #E2E2E2; padding-top: 8px; margin-top: 4px; font-size: 18px; }
.dtf__total strong:last-child { color: #BD0000; }
.dtf__files, .dtf__who, .dtf__send, .dtf__after { grid-column: 1 / -1; }
.dtf__drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 140px; border: 2px dashed #BBB; border-radius: 14px; background: #fff; cursor: pointer; text-align: center; padding: 18px; color: #BD0000; transition: border-color .2s, background .2s; }
.dtf__drop strong { color: #2B2B2B; }
.dtf__drop .muted { font-size: 13px; }
.dtf__drop:hover, .dtf__drop.is-over { border-color: #BD0000; background: #FFF6F6; }
.dtf__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dtf__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.dtf__list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #E2E2E2; border-radius: 10px; background: #fff; font-size: 14px; line-height: 1.4; }
.dtf__list b { min-width: 40px; height: 32px; border-radius: 8px; background: #F4F4F4; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #666; }
.dtf__list li.is-bad { border-color: #BD0000; color: #BD0000; }
.dtf__who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dtf__who label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.dtf__who label.check { flex-direction: row; font-weight: 400; }
.dtf__full { grid-column: 1 / -1; }
.dtf__send { justify-self: start; }
.dtf .dtf__after { margin: 0; font-size: 14px; }
.dtf__fig { margin: 32px 0 0; }
.dtf__fig img { display: block; width: 100%; height: 380px; object-fit: cover; border-radius: 16px; }
.dtf__fig figcaption { font-size: 14px; color: #666; margin-top: 8px; }
.dtf__faq { display: flex; flex-direction: column; gap: 10px; }
.dtf__faq details { border: 1px solid #E2E2E2; border-radius: 10px; padding: 14px 16px; }
.dtf__faq summary { font-weight: 700; cursor: pointer; }
@media (max-width: 767px) {
  .dtf { padding-top: 0; }
  .dtf__wrap { padding: 20px 16px 28px; border-radius: 0; border-left: 0; border-right: 0; }
  .dtf__hero { height: 220px; }
  .dtf__calc { grid-template-columns: 1fr; padding: 16px; }
  .dtf__who { grid-template-columns: 1fr; }
}

/* Banner "Stampa DTF" in home */
.dtfb { display: grid; grid-template-columns: 1.15fr 1fr; background: #2B2B2B; color: #fff; border-radius: 20px; overflow: hidden; }
.dtfb__text { padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.dtfb__tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #BD0000; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.dtfb h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.dtfb p { margin: 0; font-size: 17px; line-height: 1.6; color: #D9D9D9; max-width: 32em; }
.dtfb__ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; list-style: none; padding: 0; margin: 0; }
.dtfb__ticks li::before { content: "\2713"; color: #FF6B6B; font-weight: 800; margin-right: 8px; }
.dtfb__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.dtfb__btns .btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .4); background: transparent; }
.dtfb__btns .btn--ghost:hover { border-color: #fff; color: #fff; }
.dtfb__photo { position: relative; min-height: 380px; background: #222; overflow: hidden; }
.dtfb__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform .6s ease; }
.dtfb:hover .dtfb__photo img { transform: scale(1.03); }
.dtfb__badges { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.dtfb__badges span { padding: 8px 12px; border-radius: 8px; background: rgba(43, 43, 43, .85); font-size: 13.5px; font-weight: 600; }
.dtfb__badges span:last-child { background: #BD0000; }
@media (max-width: 767px) {
  .dtfb { grid-template-columns: 1fr; }
  .dtfb__text { padding: 26px 20px; }
  .dtfb__photo { min-height: 240px; order: -1; }
}

/* Linea "Calendari B&W": pagina prodotto essenziale in bianco e nero, rosso solo per l'azione principale */
.pp-bw .pp-page { --bw-ink: #111; --bw-line: #E6E6E6; }
.pp-bw .pp-title { font-weight: 300; letter-spacing: -.01em; color: var(--bw-ink); line-height: 1.12; }
.pp-bw .pp-title::before { content: "Linea Calendari B\26 W"; display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #8A8A8A; }
.pp-bw .pp-meta { font-size: 13px; color: #777; }
.pp-bw .pp-badge { background: #F4F4F4; color: var(--bw-ink); border-radius: 999px; }
.pp-bw .pp-gallery__main { background: #fff; border: 1px solid var(--bw-line); border-radius: 4px; }
.pp-bw .pp-gallery__main img { object-fit: contain; }
.pp-bw .pp-gallery__thumbs img, .pp-bw .pp-gallery__thumbs button { border-radius: 2px; }
.pp-bw .pp-dot { width: 30px; height: 30px; border: 1px solid #BDBDBD; box-shadow: inset 0 0 0 3px #fff; }
.pp-bw .pp-desc h2, .pp-bw .pp-desc h3, .pp-bw .pp-h, .pp-bw .pp-step__title, .pp-bw .pp-config__title { font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--bw-ink); }
.pp-bw .pp-desc { font-size: 16px; line-height: 1.8; color: #333; }
.pp-bw .pp-specs { border-top: 1px solid var(--bw-ink); border-bottom: 1px solid var(--bw-line); border-radius: 0; background: transparent; padding: 16px 0; }
.pp-bw .pp-specs dt, .pp-bw .pp-specs small { letter-spacing: .14em; color: #8A8A8A; }
.pp-bw .pp-table table { font-variant-numeric: tabular-nums; }
.pp-bw .pp-table td, .pp-bw .pp-table th { border-color: var(--bw-line); }
.pp-bw .pp-info__box, .pp-bw .pp-help__box, .pp-bw .pp-pos, .pp-bw .pp-color, .pp-bw .pp-type { border-radius: 6px; border-color: var(--bw-line); background: #fff; box-shadow: none; }
.pp-bw .pp-info__icon, .pp-bw .pp-type__icon { background: #F4F4F4; color: var(--bw-ink); }
.pp-bw .pp-pos.is-on, .pp-bw .pp-color.is-on, .pp-bw .pp-type.is-on, .pp-bw .pp-pos:has(input:checked), .pp-bw .pp-type:has(input:checked) { border-color: var(--bw-ink); box-shadow: 0 0 0 1px var(--bw-ink); }
.pp-bw .pp-config { background: #FAFAFA; border: 1px solid var(--bw-line); border-radius: 6px; }
.pp-bw .pp-quote { border: 1px solid var(--bw-ink); border-radius: 6px; box-shadow: none; }
.pp-bw .pp-quote__total { font-weight: 300; letter-spacing: -.01em; }
.pp-bw .btn--dark, .pp-bw .pp-summary__cta .btn:not(.btn--primary) { background: var(--bw-ink); border-color: var(--bw-ink); color: #fff; }
.pp-bw .btn--primary { border-radius: 4px; }
.pp-bw .pp-gallery, .pp-bw .pp-head { animation: bw-in .6s ease both; }
.pp-bw .pp-head { animation-delay: .08s; }
@keyframes bw-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pp-bw .pp-gallery, .pp-bw .pp-head { animation: none; } }

/* Pulsante PayPal nella pagina ordine */
.btn-paypal { background: #FFC439; color: #111; border: 0; gap: 8px; }
.btn-paypal:hover { background: #F2B52E; color: #111; }
.btn-paypal .pay-logo svg rect { fill: transparent; stroke: none; }

/* Avviso "conferma la tua email" nell area cliente */
.alert--warning { background: #FFF6E5; color: #6B4A00; }
.verify-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }

/* ------------------------------------------------------------------ Footer "studio": scuro, con il nome del negozio gigante in filigrana */
.ft-studio { background: #1B1B1B; color: #E8E8E4; overflow: hidden; font-size: 16px; }
.ft-studio a { color: #E4E4E7; text-decoration: none; transition: color .15s ease; }
.ft-studio a:hover { color: var(--signal, #E3241B); }
.ft-studio .b-brand .logo, .ft-studio h2, .ft-studio h3, .ft-studio h4 { color: #E8E8E4; }
/* etichette delle colonne: monospazio maiuscolo spaziato */
.ft-studio .b-links h4, .ft-studio .b-contact h4, .ft-studio .b-newsletter__text strong {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: #A1A1AA; margin-bottom: 20px;
}
.ft-studio .b-brand p { color: #D4D4D8; font-size: 18px; line-height: 1.5; max-width: 26em; }
.ft-studio .footer__links { grid-template-columns: 1fr; gap: 12px; }
.ft-studio .b-contact, .ft-studio .b-contact a, .ft-studio .b-contact li { color: #E4E4E7; }
/* newsletter: una sola pillola con la freccia che gira */
.ft-studio .b-newsletter { display: block; }
.ft-studio .b-newsletter form { max-width: 440px; }
.ft-studio .b-newsletter__row { gap: 0; align-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 6px; transition: border-color .2s ease; }
.ft-studio .b-newsletter__row:focus-within { border-color: var(--signal, #E3241B); }
.ft-studio .b-newsletter__row input { background: transparent !important; border: 0 !important; color: #E8E8E4; padding: 0 16px; min-height: 44px; font-size: 14px; }
.ft-studio .b-newsletter__row input::placeholder { color: #A1A1AA; }
.ft-studio .b-newsletter__row .btn {
  width: 44px; height: 44px; min-height: 44px; padding: 0; flex: 0 0 44px; border-radius: 999px; font-size: 0;
  background: var(--signal, #E3241B); border-color: var(--signal, #E3241B); color: #fff;
  display: grid; place-items: center; transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .2s ease;
}
.ft-studio .b-newsletter__row .btn::after { content: '→'; font-size: 17px; line-height: 1; }
.ft-studio .b-newsletter__row .btn:hover { transform: rotate(-45deg); }
.ft-studio .b-newsletter .check, .ft-studio .b-newsletter__text p { color: #A1A1AA; font-size: 13px; }
.ft-studio__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #A1A1AA; }
.ft-studio__bottom p, .ft-studio__bottom a { color: #A1A1AA; }
.ft-studio__bottom .b-payments span { background: rgba(255,255,255,.07); color: #D4D4D8; }
/* nome del negozio gigante, tagliato in basso: decorativo, non si seleziona */
.ft-studio__word { margin: 0; padding: 0; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font-family: var(--font-display, var(--font)); font-size: 22vw; font-weight: 800; line-height: .78; letter-spacing: -.055em;
  color: rgba(255,255,255,.06); }
@media (max-width: 767px) { .ft-studio__word { font-size: 26vw; } }

/* ------------------------------------------------------------------ Animazioni */
:root { --ease-expo: cubic-bezier(.22, 1, .36, 1); }
/* link del menu: la riga rossa cresce da sinistra */
.catbar__item, .nav__link { position: relative; }
.catbar__item::after, .nav__link::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 1.5px; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-expo);
}
.catbar__item:hover::after, .nav__link:hover::after, .catbar__item[aria-current]::after { transform: scaleX(1); }
/* foto della scheda prodotto: zoom lento all'avvicinarsi del mouse */
.pcard__media { overflow: hidden; }
.pcard__media img { transition: transform 1s var(--ease-expo); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
/* pulsanti principali: si sollevano con un'ombra del colore del sito */
.btn--primary { transition: background-color .3s ease, transform .3s var(--ease-expo), box-shadow .3s ease; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--primary) 60%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .catbar__item::after, .nav__link::after, .pcard__media img, .btn--primary { transition: none; }
  .pcard:hover .pcard__media img { transform: none; }
}
.ft-studio__legal { text-align: right; margin: 0; }
@media (max-width: 767px) { .ft-studio__legal { text-align: left; } }

/* ------------------------------------------------------------------ Schede prodotto in stile "studio": foto grande arrotondata, etichette in maiuscoletto,
   barra "Personalizza" che sale al passaggio del mouse. Si accende con l'impostazione Aspetto → Stile schede. */
.is-studio .pcard { border: 0; background: transparent; border-radius: 0; overflow: visible; }
.is-studio .pcard:hover { box-shadow: none; border-color: transparent; }
.is-studio .pcard__media {
  aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 0; padding: 14px;
  background: color-mix(in srgb, var(--ink) 5%, #fff);
}
.is-studio .pcard__media img { object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--ease-expo); }
.is-studio .pcard:hover .pcard__media img { transform: scale(1.06); }
/* etichetta in alto a sinistra, vetro smerigliato */
.is-studio .pcard__badge {
  top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.9); color: var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.is-studio .pcard__badge--eco { background: rgba(227,241,232,.92); }
.is-studio .pcard__badge--out { background: rgba(255,255,255,.9); color: #9A3412; }
.is-studio .pcard__code { font-family: var(--font-mono, inherit); font-size: 11px; letter-spacing: .08em; }
/* barra che sale dal basso: la foto è già un link alla scheda */
.is-studio .pcard__media::after {
  content: 'Personalizza ora  ↗'; position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; border-radius: 999px; background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transform: translateY(220%); transition: transform .5s var(--ease-expo);
}
.is-studio .pcard:hover .pcard__media::after, .is-studio .pcard__media:focus-visible::after { transform: translateY(0); }
.is-studio .pcard__body { padding-top: 16px; }
.is-studio .pcard__title { font-family: var(--font-display, var(--font)); font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.is-studio .pcard__price strong { font-family: var(--font-display, var(--font)); font-size: 20px; font-weight: 700; color: var(--primary); }
.is-studio .pcard__from { font-size: 12px; }
@media (hover: none) { .is-studio .pcard__media::after { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .is-studio .pcard__media img, .is-studio .pcard__media::after { transition: none; }
  .is-studio .pcard:hover .pcard__media img { transform: none; }
}
/* filtri del catalogo a pillola, come nel modello */
.is-studio .cat-tabs a, .is-studio .chip { border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 500; }
.ft-studio__bottom a, .ft-studio__legal a { color: #A1A1AA; }
.ft-studio__bottom a:hover, .ft-studio__legal a:hover { color: var(--primary); }

/* ------------------------------------------------------------------ Titoli grandi in stile "studio" */
.t-dot { color: var(--primary); }
/* scritta vuota: solo il contorno, come nelle grafiche del catalogo */
.t-outline { color: transparent; -webkit-text-stroke: .022em var(--ink); paint-order: stroke fill; }
.is-dark .t-outline, .ft-studio .t-outline { -webkit-text-stroke-color: #E8E8E4; }
@supports not (-webkit-text-stroke: 1px red) { .t-outline { color: inherit; opacity: .35; } }
/* logo del negozio nell'header con il carattere dei titoli */
.logo { font-family: var(--font-display, var(--font)); letter-spacing: -.04em; }

/* =========================================================
   v2.60: vantaggi con icona nella barra superiore, "Altre categorie" in colonne allineate
   ========================================================= */
/* barra superiore: i vantaggi stanno su una riga, con l'icona attaccata al testo.
   Su telefono scorrono di lato invece di spezzarsi su tre righe. */
.topbar__points { display: flex; align-items: center; gap: 8px 18px; min-width: 0; flex-wrap: wrap; }
.topbar__point { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 600; }
.topbar__point svg { width: 16px; height: 16px; flex: none; opacity: .9; }
.topbar__point + .topbar__point { position: relative; padding-left: 18px; }
.topbar__point + .topbar__point::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 13px; margin-top: -6.5px; background: currentColor; opacity: .3; }
a.topbar__point:hover { text-decoration: none; }
a.topbar__point:hover span { text-decoration: underline; }
@media (max-width: 719px) {
  .topbar__points { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .topbar__points::-webkit-scrollbar { display: none; }
}

/* "Altre categorie": una tabella di voci, non un mucchio. Stessa altezza per riga, icone
   incolonnate e testo che parte sempre dallo stesso punto, anche quando va a capo. */
@media (min-width: 1024px) {
  .catbar__more .catbar__menu { min-width: min(820px, 92vw); padding: 10px; }
  .catbar__morelist { grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 0 10px; align-items: stretch; }
  .catbar__morelist .catbar__cell { display: flex; }
  .catbar__morelist .catbar__item {
    flex: 1 1 auto; flex-direction: row; align-items: center; justify-content: flex-start;
    gap: 10px; min-height: 42px; padding: 7px 10px; text-align: left; border-right: 0; border-radius: 9px;
  }
  /* l'icona occupa sempre la stessa larghezza: così i testi sono incolonnati */
  .catbar__morelist .catbar__item svg,
  .catbar__morelist .catbar__item .catbar__logo { flex: none; width: 30px; height: 30px; padding: 6px; margin: 0; border-radius: 9px; }
  .catbar__morelist .catbar__item span { flex: 1 1 auto; min-width: 0; font-size: 13.5px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; }
  /* righe alternate chiarissime: aiutano a seguire la riga fino in fondo su tre colonne */
  .catbar__morelist .catbar__cell:nth-child(6n+1) .catbar__item,
  .catbar__morelist .catbar__cell:nth-child(6n+2) .catbar__item,
  .catbar__morelist .catbar__cell:nth-child(6n+3) .catbar__item { background: #FAFBFD; }
  .catbar__morelist .catbar__item:hover { background: #F0F5FB; }
}
@media (min-width: 1400px) {
  .catbar__morelist { grid-template-columns: repeat(4, minmax(185px, 1fr)); }
  .catbar__more .catbar__menu { min-width: min(1040px, 94vw); }
}

/* =========================================================
   v2.62: moduli di accesso e registrazione
   ========================================================= */
/* occhiello dentro il campo, senza spostare il testo della password */
.pw__box { position: relative; display: block; }
.pw__box input { width: 100%; padding-right: 46px; }
.pw__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex;
  align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0;
  border-radius: 9px; background: none; color: var(--text-2); cursor: pointer; }
.pw__eye:hover { background: #F1F5F9; color: var(--ink); }
.pw__eye.is-on { color: var(--primary); }
.auth__forgot { margin: -4px 0 12px; text-align: right; font-size: 14px; }

/* la G di Google nel pulsante: colori suoi, mai ricolorata dal tema */
.btn-google .g-logo { flex: none; }
.btn-google { font-weight: 700; }

/* azienda o privato */
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg__opt { flex: 1 1 200px; margin: 0; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span { display: block; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  text-align: center; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.seg__opt input:checked + span { border-color: var(--primary); background: #FFF7ED; color: var(--primary); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* esito del controllo sotto il codice fiscale */
.hint.is-ok { color: #15803D; }
.hint.is-bad { color: #B42318; }

/* ---------- v2.64 · header "ad azioni": ricerca larga, assistenza con email, azioni in fila ---------- */
.topbar__orders, .topbar__quote { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.topbar__quote { padding: 2px 9px; border: 1px solid currentColor; border-radius: 999px; }
@media (min-width: 1024px) {
  .header--v2 .search { order: 1; flex: 1 1 auto; max-width: none; }
  .header--v2 .hblocks { order: 2; flex: 0 0 auto; justify-content: flex-end; gap: 18px; }
  .header--v2 .hblock--account { flex-direction: row; align-items: center; gap: 10px; padding-right: 0; border-right: 0; }
  .header--v2 .hblock--account .hlink { height: 44px; padding: 0 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; }
  .header--v2 .hlink--register { background: var(--primary); color: #fff; font-weight: 700 !important; }
  .header--v2 .hlink--register:hover { color: #fff; filter: brightness(.94); }
  .header--v2 .hlink--cart { border: 1px solid var(--line-2); }
  .header--v2 .hlink--cart:hover { border-color: var(--ink); color: var(--ink); }
  .header--v2 .hblock--account .hbadge { background: var(--ink); }
}
/* ---------- v2.66 · preferiti (cuoricino) e filtro prezzo scritto a mano ---------- */
.pcard { position: relative; }
.pcard__like { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; }
.wish { display: inline-flex; align-items: center; gap: 7px; padding: 7px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.92); color: var(--muted); cursor: pointer; line-height: 0; transition: color .15s, border-color .15s, transform .15s; }
.wish:hover { color: var(--primary); border-color: var(--primary); }
.wish:active { transform: scale(.92); }
.wish.is-on { color: var(--primary); border-color: var(--primary); }
.wish.is-on .ico { fill: currentColor; }
.wish--lg { padding: 9px 15px; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; }
.wish span { line-height: 1; }
.pp-headrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pp-headrow .pp-title { margin: 0; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range label { flex: 1 1 0; margin: 0; min-width: 0; }
.price-range input { width: 100%; min-height: 40px; }

/* ---------- v2.75 · approfondimento in fondo alle schede di shopper, penne, sacche e cappellini ---------- */
.pp-guide { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 860px; }
.pp-guide h3 { margin: 22px 0 8px; font-size: 18px; }
.pp-guide ul { margin: 0 0 14px; padding-left: 20px; }
.pp-guide li { margin: 0 0 6px; }

/* v2.76 · link alla guida nella testata delle categorie */
.cat-band__guide { margin: 10px 0 0; font-size: 14.5px; }
.cat-band__guide a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.cat-band__guide span { color: var(--muted); }
/* ristampa non disponibile (2.86.2): visibile ma spenta, con il motivo */
.pp-file--off { cursor: default; opacity: .6; background: #f8fafc; }
.pp-file--off small a { font-weight: 700; }
/* reCAPTCHA (2.82.1): niente badge nell'angolo sopra il footer, avviso discreto sotto i moduli */
.grecaptcha-badge { visibility: hidden !important; }
.captcha-note { margin: 8px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); opacity: .85; }
.captcha-note a { color: inherit; text-decoration: underline; }
/* pillole per materiale (2.82): dalla categoria alla pagina che risponde alla ricerca precisa */
.cat-band__mats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; }
.cat-band__mats span { color: var(--muted); font-weight: 600; }
.cat-band__mats a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink, #111); font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s, transform .2s; }
.cat-band__mats a:hover { border-color: var(--brand, #C2410C); color: var(--brand, #C2410C); transform: translateY(-1px); }
/* testo guida della home (2.82): leggibile, a colonne su schermo largo */
.home-guide { max-width: 1100px; margin: 0 auto; }
.home-guide__title { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; margin: 0 0 14px; }
.home-guide > p { font-size: 17px; max-width: 900px; margin: 0 0 18px; }
.home-guide h2 { font-size: clamp(20px, 2.2vw, 24px); margin: 0 0 10px; }
.home-guide h3 { font-size: 18px; margin: 22px 0 6px; }
.home-guide p, .home-guide li { line-height: 1.65; }
.home-guide__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 48px; }
.home-guide__grid > section { padding: 18px 0; border-top: 1px solid var(--line); }
.home-guide__grid a { font-weight: 600; }
@media (max-width: 760px) { .home-guide__grid { grid-template-columns: 1fr; } }

/* ---------- v2.77 · header che si stringe bene: ogni larghezza resta usabile ----------
   La ricerca non scende mai sotto una misura utile; quando lo spazio finisce si tolgono prima
   le cose doppie (WhatsApp, etichette, il secondo vantaggio), poi le parole accanto alle icone. */
.topbar__links a { white-space: nowrap; }
@media (min-width: 1024px) {
  .header .search { min-width: 240px; }
}
@media (min-width: 1024px) and (max-width: 1365px) {
  .header .hcontact--wa { display: none; }                       /* telefono ed email bastano */
  .header .header__inner { gap: 20px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .header .hcontact small { display: none; }                     /* "Assistenza clienti", "Scrivici": restano i numeri */
  .header .brand img { height: auto !important; max-height: 46px; }
  .topbar__point + .topbar__point { display: none; }             /* un vantaggio solo, la barra resta su una riga */
  .topbar__links { gap: 14px; }
  .header--v2 .hblocks { gap: 12px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  /* Accedi, Preferiti e Carrello diventano icone (il testo resta per i lettori di schermo); Registrati resta scritto */
  .header--v2 .hblock--account .hlink:not(.hlink--register) { font-size: 0; gap: 0; width: 44px; padding: 0; justify-content: center; }
  .header--v2 .hblock--account .hlink .hbadge { font-size: 11px; margin-left: -6px; }
  .header--v2 .hblock--account .hlink--register { padding: 0 14px; }
  .header--v2 .hcontact strong { font-size: 13px; }
}
@media (max-width: 1023px) {
  /* sotto i 1024 c'è l'intestazione mobile: account, carrello e "Preventivo" sono già lì */
  .topbar__orders, .topbar__quote { display: none !important; }
  .topbar__links a { font-size: 12.5px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .topbar__links { gap: 14px; }
}
/* il gruppo account non esce mai dallo schermo: se lo spazio manca cede il blocco contatti,
   che si stringe e taglia con i puntini invece di spingere fuori Registrati e Carrello */
@media (min-width: 1024px) {
  .header--v2 .header__inner { flex-wrap: nowrap; }
  .header--v2 .brand { flex: 0 1 auto; min-width: 0; }
  .header--v2 .hblocks { flex: 0 1 auto; min-width: 0; }
  .header--v2 .hblock--account { flex-shrink: 0; }
  .header--v2 .hblock:not(.hblock--account) { min-width: 0; overflow: hidden; }
  .header--v2 .hcontact, .header--v2 .hcontact span { min-width: 0; }
  .header--v2 .hcontact strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .header .brand small { display: none !important; }            /* lo slogan sotto il nome: lo spazio serve alla ricerca */
  .header .brand .logo { font-size: 30px !important; }
  .header .brand .brand__mark { flex-basis: 52px !important; height: 52px !important; border-radius: 12px !important; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .header--v2 .hcontact[href^="tel:"] { display: none; }         /* resta l'email dell'assistenza */
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .header--v2 .hblock:not(.hblock--account) { display: none; }   /* sotto i 1100: logo, ricerca, account. Contatti nel piede */
}
/* 2.92.7: sotto i 1100 px i link della barra in alto (Chi siamo, FAQ…) andavano a capo su una seconda riga: sono nel piede del sito */
@media (max-width: 1099px) {
  .topbar__links a:not(.topbar__orders):not(.topbar__quote) { display: none; }
}
@media (max-width: 480px) {
  .topbar__point + .topbar__point { display: none; }             /* sul telefono un vantaggio solo, intero e non tagliato */
  .topbar__points { justify-content: center; width: 100%; }
}

/* recensioni (2.83) */
.rv-stars { color: #F59E0B; letter-spacing: 1px; font-size: 17px; }
.rv-stars__off { color: #CBD5E1; }
.rv-sum { font-size: 15px; font-weight: 600; margin-left: 8px; }
.rv-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 18px 0 40px; }
.rv-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r, 12px); background: #fff; margin-bottom: 12px; }
.rv-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rv-card p { margin: 8px 0 0; }
.rv-card__prod { font-size: 13.5px; color: var(--muted); }
.pp-reviews { margin-top: 32px; max-width: 860px; }
.rv-form { max-width: 720px; margin: 10px 0 48px; display: grid; gap: 16px; }
.rv-item { border: 1px solid var(--line); border-radius: var(--r, 12px); padding: 16px 18px; background: #fff; }
.rv-item legend { font-weight: 700; padding: 0 6px; }
.rv-item textarea { width: 100%; margin-top: 10px; }
.rv-rate { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-rate input { position: absolute; opacity: 0; pointer-events: none; }
.rv-rate label { font-size: 34px; line-height: 1; color: #CBD5E1; cursor: pointer; transition: color .15s, transform .15s; }
.rv-rate label:hover, .rv-rate label:hover ~ label, .rv-rate input:checked ~ label { color: #F59E0B; }
.rv-rate label:hover { transform: scale(1.12); }
.rv-rate input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 4px; }
.rv-name input { display: block; width: 100%; max-width: 360px; margin-top: 6px; }

/* banner cookie (2.84): in basso, non copre il sito, pulsanti con lo stesso peso */
.ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 760px; margin: 0 auto; padding: 18px 20px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 18px 50px rgba(15, 23, 42, .22); border: 1px solid var(--line); animation: ckIn .35s ease-out; }
.ck[hidden] { display: none; }
@keyframes ckIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.ck__t { margin: 0 28px 12px 0; font-size: 14px; line-height: 1.5; }
.ck__x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
.ck__opts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; font-size: 14px; }
.ck__btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ck__btns .btn { min-width: 110px; }
.ck-float { position: fixed; left: 12px; bottom: 12px; z-index: 50; font-size: 11.5px; color: var(--muted); background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: 999px; text-decoration: none; }
@media (max-width: 760px) { .ck-float { bottom: 74px; } }

/* catalogo dalla A alla Z (2.87) */
.az__letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 22px; }
.az__letters a { min-width: 38px; padding: 7px 10px; text-align: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; }
.az__letters a.is-on, .az__letters a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.az__list { columns: 3 280px; column-gap: 32px; list-style: none; padding: 0; margin: 0 0 28px; }
.az__list li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.az__list li span { color: var(--text-2); }
.az__list li small { display: block; color: var(--muted); font-size: 12px; }
.az__pages { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 40px; }
.az__pages a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.az__pages a.is-on { background: var(--ink); color: #fff; }

/* filtri materiale e taglia (2.87): pillole cliccabili */
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-block; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: #fff; transition: border-color .15s, background .15s, color .15s; }
.chip-check input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-check input:focus-visible + span { outline: 2px solid var(--primary); }

/* ricerche frequenti in fondo alla scheda (2.88) */
.pp-searches { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 860px; }
.pp-searches > p { margin: 0 0 14px; font-size: .95rem; }
.pp-searches__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-searches__list a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: inherit; text-decoration: none; background: var(--surface, #fff); transition: border-color .2s, transform .2s, box-shadow .2s; }
.pp-searches__list a::before { content: ""; width: 12px; height: 12px; flex: none; opacity: .55; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%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'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E") center/contain no-repeat; }
.pp-searches__list a:hover { border-color: var(--brand, #333); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.cat-searches { max-width: none; margin: 40px 0 8px; }

/* ---------- Banner CiaoGadget (2.91): hero dal design "Banner sito CiaoGadget" ---------- */
.hb { position: relative; overflow: hidden; border-radius: 28px; background: #FBF6EF; color: var(--ink); padding: 56px 64px 48px; display: flex; flex-direction: column; gap: 44px; }
.hb__blob { position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 12%, #fff); pointer-events: none; animation: hb-float 9s ease-in-out infinite; }
.hb__top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.hb__text { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.hb h1 { margin: 0; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; animation: hb-up .7s cubic-bezier(.2,.7,.2,1) both; }
.hb__accent { color: var(--primary); }
.hb p { margin: 0; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.4; color: #3A3A3A; max-width: 640px; animation: hb-up .7s .08s cubic-bezier(.2,.7,.2,1) both; }
.hb__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; animation: hb-up .7s .16s cubic-bezier(.2,.7,.2,1) both; }
.hb__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 15px 30px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hb__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px var(--primary); color: #fff; }
.hb__btn svg { transition: transform .2s; }
.hb__btn:hover svg { transform: translateX(4px); }
.hb__link { font-size: 17px; font-weight: 700; color: var(--ink); text-underline-offset: 4px; }
.hb__link:hover { color: var(--primary); }
.hb__perks { list-style: none; margin: 0; padding: 70px 0 0; display: flex; flex-direction: column; gap: 18px; flex: none; }
.hb__perks li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 800; animation: hb-up .6s var(--d) both; }
.hb__ico { width: 50px; height: 50px; flex: none; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); }
.hb__row { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.hb__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hb__row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hb__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hb__tile { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); animation: hb-up .6s calc(.25s + var(--d)) both; }
.hb__img { width: 100%; aspect-ratio: 1; border-radius: 26px; background: #fff; padding: 14px; display: flex; align-items: center; justify-content: center; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.hb__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.hb__tile:hover .hb__img { transform: translateY(-6px); box-shadow: 0 22px 36px -24px rgba(0,0,0,.45); }
.hb__tile:hover .hb__img img { transform: scale(1.06) rotate(-2deg); }
.hb__label { font-size: 17px; font-weight: 700; }
.hb__tile:hover .hb__label { color: var(--primary); }
.hb--dark { background: #111111; color: #fff; }
.hb--dark h1, .hb--dark .hb__link, .hb--dark .hb__tile, .hb--dark .hb__perks li { color: #fff; }
.hb--dark p { color: #D6D6D6; }
.hb--dark .hb__blob { background: color-mix(in srgb, var(--primary) 22%, #111); opacity: .55; }
.hb--dark .hb__img { background: #1E1E1E; }
.hb--dark .hb__ico { background: #2A2A2A; }
@keyframes hb-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hb-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-24px, 18px); } }
@media (max-width: 1000px) { .hb__perks { display: none; } .hb__row, .hb__row--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hb { padding: 30px 22px 26px; border-radius: 22px; gap: 28px; }
  .hb__text { gap: 18px; }
  .hb__blob { width: 300px; height: 300px; right: -110px; top: -110px; }
  .hb__row, .hb__row--4, .hb__row--5, .hb__row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hb__btn { font-size: 16px; min-height: 48px; padding: 14px 24px; }
  .hb__label { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .hb *, .hb__blob { animation: none !important; transition: none !important; } }

/* ---------- Blog (2.92) ---------- */
.blog { padding-top: 20px; padding-bottom: 56px; }
.blog__head { max-width: 760px; margin: 14px 0 30px; }
.blog__head h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.blog__head p { margin: 0; font-size: 18px; color: var(--text-2); }
.blog-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: center; padding: 22px; margin-bottom: 36px; border-radius: 26px; background: color-mix(in srgb, var(--primary) 7%, #fff); color: var(--ink); text-decoration: none; animation: hb-up .6s cubic-bezier(.2,.7,.2,1) both; }
.blog-hero__img, .blog-card__img { display: block; aspect-ratio: 4 / 3; border-radius: 20px; background: #fff; overflow: hidden; }
.blog-hero__img img, .blog-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.blog-hero:hover img, .blog-card:hover img { transform: scale(1.05) rotate(-1.5deg); }
.blog-hero__text { display: flex; flex-direction: column; gap: 12px; }
.blog-hero__text strong { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.blog-hero__text span { font-size: 17px; color: var(--text-2); }
.blog-hero__text em { font-style: normal; font-weight: 700; color: var(--primary); display: inline-flex; gap: 8px; align-items: center; }
.blog-hero small, .blog-card small { color: var(--text-2); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.blog-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; animation: hb-up .6s var(--d) cubic-bezier(.2,.7,.2,1) both; }
.blog-card__img { border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.blog-card:hover .blog-card__img { transform: translateY(-4px); box-shadow: 0 20px 34px -24px rgba(0,0,0,.4); }
.blog-card strong { font-size: 19px; line-height: 1.25; }
.blog-card:hover strong { color: var(--primary); }
.blog-card span { color: var(--text-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .blog-hero { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } .blog-hero { padding: 14px; } }
.post-meta { color: var(--text-2); font-size: 14px; margin: 0 0 18px; }

/* ---------- Guida lunga in fondo alla categoria (2.92) ---------- */
.cat-guide { margin: 48px 0 8px; padding-top: 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.cat-guide .prose h2 { font-size: 24px; margin: 30px 0 10px; }
.cat-guide .prose h2:first-child { margin-top: 0; }
.cat-guide__faq { position: sticky; top: 90px; }
.cat-guide__faq h2 { font-size: 22px; margin: 0 0 14px; }
@media (max-width: 900px) { .cat-guide { grid-template-columns: 1fr; gap: 28px; } .cat-guide__faq { position: static; } }

/* logo bianco nel footer scuro (2.92.2) */
.b-brand--white .logo img { filter: brightness(0) invert(1); }

/* scritta grande del footer: adattata alla larghezza da shop.js (2.92.5); senza JS resta sotto la larghezza */
.ft-studio__word { max-width: 100%; overflow: hidden; font-size: min(22vw, calc(96vw / 7)); }
.ft-studio__word .ft-studio__fit { display: inline-block; }
@media (max-width: 767px) { .ft-studio__word { font-size: min(26vw, calc(96vw / 7)); } }

/* ---------- Footer: dati della società e loghi (2.92.11) ---------- */
.ft-company__data { margin: 0; font-size: 12.5px; line-height: 1.6; color: #A1A1AA; max-width: 640px; }
.ft-company__data strong { color: #E8E8E4; }
.ft-company__data a { color: #A1A1AA; }
.ft-company__data a:hover { color: var(--primary); }
.ft-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 16px; }
.ft-badge { display: flex; flex-direction: column; gap: 6px; }
.ft-badge__label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #A1A1AA; }
.ft-badge__logos { display: inline-flex; align-items: center; gap: 14px; min-height: 40px; padding: 8px 14px; border-radius: 12px; background: #fff; transition: transform .2s, box-shadow .2s; }
a.ft-badge__logos:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(255,255,255,.5); }
.ft-badge__logos img { display: block; height: 20px; width: auto; }
@media (max-width: 767px) { .ft-badges { justify-content: flex-start; } }
