/* Juliette Bloom — foglio di stile */
:root {
  --cream: #F7F1E5;
  --paper: #FBF8F1;
  --ink: #293B32;
  --sage: #657663;
  --sage-soft: #DCE3D3;
  --terra: #AC5A3A;
  --terra-dark: #8E4529;
  --sea: #6F8796;
  --sea-soft: #DCE6EA;
  --line: #E2D8C3;
  --muted: #5E6A60;
  --gold: #E9C46A;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(41, 59, 50, .06), 0 8px 24px rgba(41, 59, 50, .08);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Mrs Saint Delafield', 'Brush Script MT', cursive;
  --sans: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  background-image:
    radial-gradient(1200px 500px at 110% -10%, rgba(111, 135, 150, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(101, 118, 99, .08), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-dark); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 6px; }
.skip:focus { top: 1rem; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.pt0 { padding-top: 0 !important; }
.muted { color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); }
.script { font-family: var(--script); font-size: 2.4rem; line-height: 1.1; color: var(--terra-dark); margin: 0 0 .3em; }
.script.big { font-size: clamp(2.6rem, 5vw, 3.4rem); }
.plain { list-style: none; padding: 0; }
.plain li { padding: .35rem 0; border-bottom: 1px dashed var(--line); }

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--sage); color: #fff; border: 1.5px solid var(--sage);
  padding: .75rem 1.4rem; border-radius: 999px; font: 600 .98rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, color .2s;
  min-height: 44px;
}
.btn:hover { background: #55654f; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-block { width: 100%; }
.btn-buy { background: var(--terra); border-color: var(--terra); flex: 1; }
.btn-buy:hover { background: var(--terra-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-row.center { justify-content: center; }
.text-link { font-weight: 600; color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.badge { display: inline-block; background: var(--sage-soft); color: var(--ink); font: 700 .75rem/1 var(--sans); padding: .45em .8em; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.badge-soft { background: #EFE6D2; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.tbc { background: #F3E2C9; color: #6B4A1E; padding: .1em .45em; border-radius: 4px; font-size: .92em; }
.notice { background: #F3E9D6; border-left: 4px solid var(--terra); padding: 1rem 1.2rem; border-radius: 6px; margin-bottom: 1.5rem; }

/* Fascia anteprima */
.preview-bar { background: var(--ink); color: #EDE6D6; text-align: center; font-size: .82rem; padding: .45rem 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
/* sfondo sfocato su uno strato a parte: un backdrop-filter sull'header bloccherebbe il menu mobile (position: fixed) dentro l'header */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(239, 231, 214, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: flex; align-items: center; gap: .2rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-script { font-family: var(--script); font-size: 2.3rem; line-height: 1; padding-top: .3rem; white-space: nowrap; }
.logo-flower { width: 22px; color: var(--terra); margin-top: -18px; }
.main-nav ul { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-color: var(--terra); }
.header-tools { display: flex; align-items: center; gap: .6rem; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
.cart-link svg { width: 26px; }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--terra); color: #fff; font: 700 .7rem/1 var(--sans); min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); content: ''; transition: transform .25s, opacity .2s; }
.menu-btn .bars { top: 21px; }
.menu-btn .bars::before { left: 0; top: -7px; }
.menu-btn .bars::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 2.5rem; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.hero h1 em { font-style: italic; color: var(--terra-dark); }
.lead { font-size: 1.15rem; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.8rem; }
.hero-art { position: relative; min-height: 460px; }
.wash { position: absolute; border-radius: 50%; filter: blur(30px); }
.wash-a { inset: 5% 0 10% 12%; background: radial-gradient(circle at 40% 40%, rgba(111, 135, 150, .35), rgba(101, 118, 99, .25) 55%, transparent 72%); }
.hero-portrait { position: relative; width: 74%; margin-left: auto; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: var(--shadow); aspect-ratio: 1000/914; object-fit: cover; }
.hero-art .sheets { position: absolute; left: -2%; bottom: -2%; width: 58%; }
.note-card { position: absolute; top: 4%; left: 6%; background: var(--paper); font-family: var(--script); font-size: 1.55rem; line-height: 1.15; padding: .8rem 1rem; transform: rotate(-5deg); box-shadow: var(--shadow); border-radius: 2px; color: var(--ink); margin: 0; }

/* Fogli sciolti sovrapposti */
.sheets { position: relative; aspect-ratio: 3/2.3; }
.sheet { position: absolute; width: 78%; background: #fff; padding: 4px; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 10px 22px rgba(41,59,50,.14); border-radius: 2px; }
.sheet.s0 { left: 0; top: 18%; transform: rotate(-7deg); }
.sheet.s1 { left: 11%; top: 6%; transform: rotate(3deg); }
.sheet.s2 { left: 22%; top: 24%; transform: rotate(-1.5deg); }

/* Fascia formato */
.band { background: var(--paper); border-block: 1px solid var(--line); padding: 1.6rem 0 1rem; }
.facts { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.facts li { display: flex; gap: .7rem; align-items: center; font-size: .9rem; line-height: 1.3; }
.facts svg { width: 34px; flex: none; color: var(--sage); }
.facts strong { display: block; font-size: .98rem; }
.band-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 0; }

/* Sezioni */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.sub { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--muted); margin: .2rem 0 0; }
.page-head { position: relative; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.page-head.small { padding-bottom: 1rem; }
.page-head .wrap { position: relative; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.align-center { align-items: center; }

/* Card collezioni */
.col-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.col-grid-wide { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.col-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.col-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.col-card-img { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.col-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.col-card:hover .col-card-img img { transform: scale(1.04); }
.ribbon { position: absolute; top: 10px; left: 10px; background: var(--terra); color: #fff; font: 700 .72rem/1 var(--sans); padding: .45em .75em; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; }
.col-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.col-card h3 { margin: 0; font-size: 1.35rem; }
.col-card h3 a { color: var(--ink); text-decoration: none; }
.col-card .meta { font-size: .85rem; color: var(--muted); margin: 0; }
.price-line { font-weight: 700; margin: .4rem 0 .9rem; }
.price-line .muted { font-weight: 400; font-size: .85rem; }
.col-card .btn { margin-top: auto; align-self: flex-start; padding: .55rem 1.1rem; font-size: .9rem; }

/* Perché fogli sciolti */
.why { background: linear-gradient(180deg, transparent, rgba(220, 230, 234, .45) 20%, rgba(220, 230, 234, .45) 80%, transparent); }
.h-script-under { text-align: center; margin-bottom: 2rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-grid > div { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.why-grid svg { width: 42px; color: var(--terra); margin-bottom: .6rem; }

/* Juliette in home */
.meet-in { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; }
.meet-img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; box-shadow: var(--shadow); }

/* Card articoli */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.art-grid-2 { grid-template-columns: repeat(2, 1fr); }
.art-card-img { display: block; aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius); margin-bottom: .9rem; background: #fff; border: 1px solid var(--line); }
.art-card-img img { width: 100%; height: 100%; object-fit: cover; }
.art-cat { font: 700 .75rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--sea); margin-bottom: .5rem; }
.art-card h3 a { color: var(--ink); text-decoration: none; }
.art-card h3 a:hover { text-decoration: underline; }
.excerpt { color: var(--muted); font-size: .95rem; }
.art-card[hidden] { display: none; }

/* Filtri */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: .5rem 1rem; font: 600 .9rem var(--sans); cursor: pointer; min-height: 40px; }
.chip.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }

/* Prodotto */
.crumbs { font-size: .88rem; color: var(--muted); padding: 1.5rem 0 .5rem; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 2rem; align-items: start; }
.p-main { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.p-main img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.p-main figcaption { font-size: .82rem; color: var(--muted); padding: .55rem .9rem; border-top: 1px solid var(--line); background: var(--paper); }
.p-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .7rem; }
.p-thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: #fff; aspect-ratio: 3/2; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-thumb.is-active { border-color: var(--terra); }
.sheets-demo { display: grid; grid-template-columns: 200px 1fr; gap: 1.2rem; align-items: center; margin-top: 1.6rem; font-size: .85rem; color: var(--muted); }
.p-info h1 { margin: .4rem 0 .1rem; font-size: clamp(2rem, 3.6vw, 3rem); }
.p-kind { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--terra-dark); margin-bottom: 1rem; }
.p-info .facts { grid-template-columns: 1fr 1fr; margin: 1.4rem 0 1rem; padding: 1rem 0; border-block: 1px dashed var(--line); }
.paper-line, .ship-line { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.paper-line svg, .ship-line svg { width: 26px; flex: none; color: var(--sage); margin-top: 2px; }
.p-price { font-size: 2rem; font-family: var(--serif); font-weight: 600; margin: 1.2rem 0 .1rem; }
.p-price .muted { font-family: var(--sans); font-size: .9rem; font-weight: 400; }
.buy { display: flex; gap: .8rem; margin: 1rem 0 .4rem; }
.qty { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper); }
.qty button { width: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty input { width: 46px; text-align: center; border: 0; background: none; font: 700 1rem var(--sans); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ship-line { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px dashed var(--line); }

.plate-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.plate { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-align: left; position: relative; overflow: hidden; }
.plate img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.plate-n { position: absolute; top: 6px; left: 6px; background: var(--ink); color: #fff; font: 700 .72rem/1 var(--sans); padding: .35em .55em; border-radius: 4px; }
.plate-t { display: block; font-size: .82rem; padding: .5rem .6rem; line-height: 1.3; border-top: 1px solid var(--line); background: var(--paper); min-height: 3.2em; }

.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 700; }
.tech th { width: auto; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: .9rem 2rem .9rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .3rem; top: .7rem; font-size: 1.4rem; color: var(--terra); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 16px; background: rgba(251, 248, 241, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(41,59,50,.08); font-size: .92rem; }
.sticky-buy[hidden] { display: none; }

/* Articolo */
.article header { padding-top: 1rem; }
.art-meta { color: var(--muted); }
.art-hero { margin: 1.5rem auto 2rem; }
.art-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.prose { font-size: 1.1rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.7rem; }
.prose ul { padding-left: 1.2rem; }
.linked-col { display: flex; gap: 1.5rem; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: 1.2rem; border-radius: var(--radius); }
.linked-col img { width: 200px; border-radius: 6px; }
.linked-col h2 { margin: .1rem 0; }
.linked-col p { margin: 0; }

/* Biografia */
.bio { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.bio-img { position: relative; margin: 0; }
.bio-img img { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: var(--shadow); }
.bio-img .note-card { top: auto; bottom: 4%; left: auto; right: 0; transform: rotate(4deg); }

/* Carrello e checkout */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.cart-line { display: grid; grid-template-columns: 140px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { border-radius: 6px; border: 1px solid var(--line); aspect-ratio: 3/2; object-fit: cover; }
.cart-line h3 { margin: 0; font-size: 1.3rem; }
.cart-line h3 a { color: var(--ink); text-decoration: none; }
.cart-line .qty { display: inline-flex; margin-top: .5rem; }
.cart-line .line-total { font-weight: 700; text-align: right; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: .3rem 0; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 100px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin: 1rem 0 1.4rem; }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.summary .text-link { display: block; text-align: center; margin: 1rem 0; }
.empty { grid-column: 1 / -1; text-align: center; padding: 3rem 0; }
.mini-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; padding: .4rem 0; border-bottom: 1px dashed var(--line); }

fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
legend { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .6rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1.5px solid #CFC4AC; border-radius: 8px; background: #fff; color: var(--ink); min-height: 46px;
}
input:focus, select:focus, textarea:focus { border-color: var(--sea); outline: none; box-shadow: 0 0 0 3px rgba(111,135,150,.25); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B23A2A; }
.err { color: #A2321F; font-size: .85rem; margin: .25rem 0 0; min-height: 0; }
.err:empty { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row3 { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 1rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .7rem 0; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--sage); flex: none; }
.form-msg { font-weight: 600; margin: .8rem 0 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--sage); }
.form-msg.bad { color: #A2321F; }
.stack-form { max-width: 560px; }
.hp { position: absolute; left: -9999px; }
.help-links { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 2rem; }
.help-links a { background: var(--paper); border: 1px solid var(--line); padding: 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.help-links a:hover { border-color: var(--sage); }

/* Newsletter e footer */
.nl-form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; max-width: 520px; width: 100%; }
.nl-form .form-msg, .nl-form .fine { grid-column: 1 / -1; margin: 0; text-align: left; }
.narrow.center .nl-form { margin-inline: auto; }
.site-footer { background: #EFE7D6; border-top: 1px solid var(--line); padding: 3rem 0 2rem; margin-top: 2rem; font-size: .93rem; }
.footer-news { display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid #DCCFB4; flex-wrap: wrap; }
.footer-news > div { max-width: 420px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; padding: 2rem 0; }
.footer-cols h3 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: .45rem; }
.footer-cols a, .footer-cols .linklike { color: var(--ink); text-decoration: none; }
.footer-cols a:hover, .footer-cols .linklike:hover { text-decoration: underline; }
.monogram { width: 120px; mix-blend-mode: multiply; margin-bottom: .6rem; }
.footer-legal { font-size: .82rem; color: var(--muted); border-top: 1px solid #DCCFB4; padding-top: 1.2rem; margin: 0; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 999px; box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: center; font-weight: 600; font-size: .95rem; max-width: calc(100% - 32px); }
.toast[hidden] { display: none; }
.toast a { color: var(--gold); }

.consent { position: fixed; left: 16px; bottom: 16px; z-index: 85; max-width: 380px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; font-size: .9rem; }
.consent h2 { font-size: 1.3rem; }

.notfound { padding: 5rem 0; }

/* Fogli sparsi cliccabili */
.scatter { position: relative; aspect-ratio: 100 / 36; margin: 1rem 0 1.5rem; }
.scatter-item {
  position: absolute; left: var(--x); top: var(--y); width: 36%; padding: 5px; border: 0; background: #fff; margin: 0;
  border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 12px 26px rgba(41,59,50,.16);
  transform: rotate(var(--r)); transition: transform .35s cubic-bezier(.2,.8,.3,1.2), box-shadow .35s; z-index: 1;
}
.scatter-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.scatter-item:hover {
  transform: rotate(calc(var(--r) * .3)) translateY(-12px) scale(1.04); z-index: 5;
  box-shadow: 0 4px 8px rgba(0,0,0,.08), 0 22px 40px rgba(41,59,50,.24);
}


/* Responsive */
@media (max-width: 1080px) {
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .main-nav { position: fixed; inset: 0 0 0 auto; top: var(--hdr, 76px); width: min(340px, 100%); background: #EFE7D6; overflow-y: auto; border-left: 1px solid var(--line); padding: 1.5rem; transform: translateX(100%); transition: transform .3s; visibility: hidden; }
  .main-nav.open { transform: none; visibility: visible; box-shadow: -10px 0 30px rgba(0,0,0,.1); }
  .main-nav ul { flex-direction: column; gap: .4rem; }
  .main-nav a { display: block; font-size: 1.2rem; font-family: var(--serif); padding: .6rem 0; }
  .hero-in, .two-col, .product, .bio, .cart-layout { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; max-width: 560px; margin: 0 auto; width: 100%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .art-grid { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .meet-in { grid-template-columns: 1fr; text-align: center; }
  .meet-img { width: 220px; margin: 0 auto; }
  .summary { position: static; }
  .p-info { order: -1; }
  .product .p-gallery { order: 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .logo-script { font-size: 1.9rem; }
  .header-in { gap: .5rem; min-height: 64px; }
  .col-grid, .col-grid-wide, .art-grid, .art-grid-2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 96px 1fr; }
  .cart-line .line-total { grid-column: 2; text-align: left; }
  .sheets-demo { grid-template-columns: 1fr; }
  .sheets-demo .sheets { max-width: 240px; }
  .plate-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .nl-form { grid-template-columns: 1fr; }
  .help-links { grid-template-columns: 1fr; }
  .linked-col { flex-direction: column; align-items: flex-start; }
  .buy { flex-wrap: wrap; }
  .scatter { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .scatter-item { position: relative; left: auto; top: auto; width: 100%; }
  .scatter-item:first-child { grid-column: 1 / -1; width: 80%; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Logo illustrato */
.logo-img { display: block; height: 92px; width: auto; margin: -.5rem 0; }
.footer-logo { width: 170px; height: auto; margin-bottom: .6rem; }
@media (max-width: 600px) { .logo-img { height: 64px; margin: -.3rem 0; } }
.art-signoff { margin-top: 2em; }
.art-signature { display: block; width: 150px; height: auto; margin: .6em 0 0; border-radius: 0; box-shadow: none; }
