/* =========================================================
   Società Agricola de Dominicis — foglio di stile
   ========================================================= */
:root {
  --crema: #f6f0e4;
  --carta: #eee5d4;
  --bordeaux: #74140b;
  --bordeaux-scuro: #530d06;
  --oliva: #55603a;
  --inchiostro: #2c241f;
  --grigio: #6b5f55;
  --linea: rgba(116, 20, 11, .22);
  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--inchiostro);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--bordeaux); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--bordeaux); line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; color: var(--bordeaux-scuro); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--paper { background: var(--carta); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--oliva);
  margin-bottom: 1.2em;
}
.display { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 400; }
.display em { font-style: italic; color: var(--oliva); }
.lead { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.6; color: var(--inchiostro); }

.ornament { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 28px auto 34px; color: var(--bordeaux); max-width: 340px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: var(--linea); }
.ornament span { font-size: .8rem; }
.ornament--light { color: var(--crema); }
.ornament--light::before, .ornament--light::after { background: rgba(246, 240, 228, .5); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 0; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
  text-decoration: none;
}
.btn--solid { background: var(--bordeaux); color: var(--crema); border: 1px solid var(--bordeaux); }
.btn--solid:hover { background: var(--bordeaux-scuro); border-color: var(--bordeaux-scuro); }
.btn--outline { background: transparent; color: currentColor; border: 1px solid currentColor; }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--crema);
  transition: background .4s, height .4s, box-shadow .4s, color .4s;
}
.header-inner { max-width: 1320px; margin: 0 auto; height: 100%; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand-seal { width: 48px; height: auto; }
.brand-seal--dark { display: none; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .04em; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { color: inherit; text-decoration: none; font-family: var(--sans); font-size: .78rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 11px 22px; }

.site-header.scrolled { background: rgba(246, 240, 228, .96); color: var(--bordeaux); height: 70px; box-shadow: 0 1px 0 var(--linea); backdrop-filter: blur(6px); }
.site-header.scrolled .brand-seal--light { display: none; }
.site-header.scrolled .brand-seal--dark { display: block; }
.site-header.scrolled .brand-seal { width: 42px; }
.site-header.scrolled .brand-name { opacity: 1; transform: none; }
.site-header.scrolled .nav-cta:hover { background: var(--bordeaux); color: var(--crema); }
.site-header:not(.scrolled) .nav-cta:hover { background: var(--crema); color: var(--bordeaux); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; color: inherit; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--crema); text-align: center; }
.hero-bg { position: absolute; inset: -40px 0 0; background-size: cover; background-position: center 40%; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 18, 10, .55) 0%, rgba(30, 18, 10, .35) 40%, rgba(40, 14, 8, .7) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { position: relative; z-index: 2; padding: 120px 24px 100px; max-width: 900px; }
.hero-seal { width: clamp(100px, 13vw, 150px); height: auto; margin: 0 auto 34px; opacity: 0; animation: fadeUp 1.2s .2s ease forwards; }
.hero-title { margin: 0; opacity: 0; animation: fadeUp 1.2s .5s ease forwards; }
.hero-title img { width: min(680px, 86vw); height: auto; margin: 0 auto; filter: drop-shadow(0 2px 18px rgba(0,0,0,.25)); }
.hero .ornament { opacity: 0; animation: fadeUp 1.2s .8s ease forwards; }
.hero-tagline { font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.5; margin: 0; opacity: 0; animation: fadeUp 1.2s 1s ease forwards; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; bottom: 34px; left: 50%; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(246,240,228,.7); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; background: var(--crema); border-radius: 2px; animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { margin: 0; position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--linea); z-index: -1; }
.split--reverse .split-media::before { inset: 22px 22px -22px -22px; }
.split-media figcaption { font-style: italic; font-size: 1rem; color: var(--grigio); margin-top: 36px; }
.split-media--tall img { aspect-ratio: 4 / 5; }
.story .split-media, .philosophy .split-media, .oil .split-media { isolation: isolate; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 34px 0 0; padding: 0 0 0 4px; border-left: 1px solid var(--linea); }
.timeline li { position: relative; padding: 7px 0 7px 26px; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grigio); }
.tl-dot { position: absolute; left: -9px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; background: var(--carta); border: 1px solid var(--bordeaux); transform: rotate(45deg); margin-left: 4px; }
.timeline .tl-now { color: var(--bordeaux); font-weight: 500; }
.timeline .tl-now .tl-dot { background: var(--bordeaux); }

/* ---------- Pilastri ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(80px, 10vw, 130px); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.pillar { text-align: center; padding: 50px 34px; }
.pillar + .pillar { border-left: 1px solid var(--linea); }
.pillar svg { width: 46px; height: 46px; color: var(--oliva); margin: 0 auto 18px; }
.pillar h3 { margin-bottom: .4em; }
.pillar p { font-size: 1.1rem; color: var(--grigio); margin: 0; }

/* ---------- Banner ---------- */
.banner { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(35, 20, 10, .42); }
.banner-content { position: relative; z-index: 2; padding: 60px 24px; }
.banner-quote { font-size: clamp(1.8rem, 4vw, 3.1rem); font-style: italic; line-height: 1.3; color: var(--crema); margin: 0; text-shadow: 0 2px 20px rgba(0,0,0,.35); }

/* ---------- Olio ---------- */
.pull { margin: 34px 0 40px; padding: 6px 0 6px 28px; border-left: 2px solid var(--bordeaux); font-size: clamp(1.5rem, 2.6vw, 2rem); font-style: italic; line-height: 1.35; color: var(--oliva); }

/* ---------- Galleria ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 14px; }
.g-item { position: relative; overflow: hidden; display: block; background: var(--carta); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: var(--crema); font-style: italic; font-size: 1.1rem; background: linear-gradient(transparent, rgba(30,15,8,.65)); opacity: 0; transition: opacity .4s; }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-wide { grid-column: span 2; }

/* ---------- Contatti ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; text-align: left; }
.contact-card { background: var(--crema); border: 1px solid var(--linea); padding: 40px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-card .label { font-family: var(--sans); font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--oliva); margin-bottom: 16px; }
.contact-card address { font-style: normal; font-size: 1.5rem; line-height: 1.4; color: var(--bordeaux); margin-bottom: 18px; }
.contact-card p { color: var(--grigio); }
.contact-card .btn { margin-top: auto; }
.link { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; margin-top: auto; }
.link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bordeaux); color: rgba(246, 240, 228, .85); padding: 80px 0 40px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-seal { width: 90px; height: auto; margin-bottom: 26px; }
.footer-word { width: min(380px, 80vw); height: auto; margin-bottom: 34px; }
.footer-data p { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; margin: 0 0 6px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin: 34px 0; padding: 22px 0; border-top: 1px solid rgba(246,240,228,.2); border-bottom: 1px solid rgba(246,240,228,.2); width: 100%; max-width: 620px; }
.footer-nav a, .footer-nav .linklike { color: var(--crema); text-decoration: none; font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.footer-nav a:hover, .footer-nav .linklike:hover { text-decoration: underline; }
.copy { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; margin: 0; opacity: .7; }

/* ---------- Modale ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(40, 18, 10, .6); backdrop-filter: blur(3px); animation: fade .3s ease; }
.modal-panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--crema); padding: 50px 46px 42px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.3); animation: pop .4s cubic-bezier(.2,.8,.2,1); }
.modal-panel { outline: 1px solid var(--linea); outline-offset: -10px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-close { position: absolute; top: 16px; right: 18px; z-index: 2; width: 40px; height: 40px; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--bordeaux); cursor: pointer; }
.modal-seal { width: 64px; height: auto; margin: 0 auto 16px; }
.modal-panel h2 { font-size: 2.1rem; margin-bottom: .2em; }
.modal-sub { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--oliva); margin-bottom: 30px; }
#contact-form { text-align: left; position: relative; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grigio); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1.15rem; color: var(--inchiostro); background: #fffdf8; border: 1px solid rgba(116,20,11,.28); border-radius: 0; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(116,20,11,.12); }
.field .invalid { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.45; color: var(--grigio); margin: 4px 0 18px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--bordeaux); width: 17px; height: 17px; flex: none; }
.form-status { min-height: 1.4em; font-size: 1.05rem; margin: 0 0 14px; }
.form-status.ok { color: var(--oliva); }
.form-status.err { color: #b3261e; }
.btn[disabled] { opacity: .6; cursor: wait; }
.modal-success { padding: 20px 0 10px; }
.modal-success p { font-size: 1.25rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 12, 8, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: var(--crema); font-style: italic; margin-top: 16px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--crema); font-size: 3rem; cursor: pointer; width: 56px; height: 56px; line-height: 1; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 14px; right: 18px; }
.lb-prev { left: 10px; top: 50%; margin-top: -28px; }
.lb-next { right: 10px; top: 50%; margin-top: -28px; }

/* ---------- Animazioni di comparsa ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: block; z-index: 3; }
  .main-nav {
    position: fixed; inset: 0; background: var(--crema); color: var(--bordeaux);
    flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .main-nav a { font-size: .95rem; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { color: var(--bordeaux); }
  .nav-open .brand { position: relative; z-index: 3; }
  .nav-open .brand-seal--light { display: none; }
  .nav-open .brand-seal--dark { display: block; }
  .nav-cta { margin-top: 10px; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 4 / 3; }
  .split-media::before { display: none; }
  .split-media figcaption { margin-top: 12px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--linea); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .contact-cards { grid-template-columns: 1fr; }
  .banner-bg { background-attachment: scroll; }
}
@media (max-width: 560px) {
  body { font-size: 1.15rem; }
  .container { padding: 0 20px; }
  .header-inner { padding: 0 16px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-wide { grid-column: auto; }
  .modal { padding: 10px; }
  .modal-panel { padding: 44px 24px 30px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; }
  .contact-card { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Selettore lingua ---------- */
.main-nav .lang { display: inline-flex; gap: 8px; align-items: center; font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; }
.main-nav .lang a { padding: 6px 0; opacity: .65; }
.main-nav .lang a[aria-current="true"] { opacity: 1; font-weight: 500; }
.main-nav .lang a[aria-current="true"]::after { transform: scaleX(1); }
.main-nav .lang .sep { opacity: .5; }

/* ---------- Pagine legali (privacy) ---------- */
.legal { padding: calc(70px + clamp(50px, 8vw, 100px)) 0 clamp(70px, 9vw, 120px); }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 400; margin-bottom: .3em; }
.legal .updated { font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--oliva); margin-bottom: 2.4em; }
.legal h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 1.9em 0 .55em; padding-top: 1.1em; border-top: 1px solid var(--linea); }
.legal ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.legal li { margin-bottom: .35em; }
.legal .box { background: var(--carta); border: 1px solid var(--linea); padding: 26px 30px; margin: 0 0 1.4em; }
.legal .box p { margin: 0 0 .3em; }
.legal .back { display: inline-block; margin-top: 2.5em; }
.main-nav a.nav-cta { padding: 11px 22px; }
.main-nav a.nav-cta::after { display: none; }

/* ---------- Ordina ---------- */
.btn--ghost { color: var(--bordeaux); margin-left: 10px; }
.btn--ghost:hover { background: var(--bordeaux); color: var(--crema); }
.order-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 80px); align-items: start; margin-top: 30px; }
.order-info { position: sticky; top: 100px; }
.order-note { background: var(--bordeaux); color: var(--crema); padding: 30px 32px; margin-bottom: 30px; }
.order-note .label { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(246,240,228,.75); margin-bottom: 12px; }
.order-note p { margin: 0; font-size: 1.2rem; }
.order-note strong { color: #fff; }
.order-steps { list-style: none; margin: 0 0 22px; padding: 0; }
.order-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--linea); font-size: 1.12rem; line-height: 1.5; }
.order-steps li:first-child { border-top: 1px solid var(--linea); }
.order-steps span { width: 32px; height: 32px; border: 1px solid var(--bordeaux); color: var(--bordeaux); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: .8rem; border-radius: 50%; margin-top: 2px; }
.order-steps span { font-weight: 500; }
.order-small { font-size: 1rem; font-style: italic; color: var(--grigio); }
.order-form { background: var(--crema); border: 1px solid var(--linea); padding: clamp(28px, 4vw, 46px); outline: 1px solid var(--linea); outline-offset: -10px; }
.order-form fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.order-form legend { font-family: var(--serif); font-size: 1.55rem; color: var(--bordeaux); padding: 0; margin-bottom: 16px; }
.order-form .field label em { text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: .95rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.row-3 { display: grid; grid-template-columns: 1fr 2fr 1.2fr; gap: 0 18px; }
.line { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 14px; align-items: end; padding: 16px 0; border-top: 1px dashed var(--linea); }
.line:first-child { border-top: 0; padding-top: 0; }
.line .field { margin-bottom: 0; }
.line select { width: 100%; font: inherit; font-size: 1.1rem; color: var(--inchiostro); background: #fffdf8; border: 1px solid rgba(116,20,11,.28); border-radius: 0; padding: 12px 14px; }
.line select:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(116,20,11,.12); }
.line .bottles { grid-column: 1 / -1; font-size: 1rem; font-style: italic; color: var(--oliva); margin: -4px 0 0; }
.line .remove { width: 46px; height: 50px; background: none; border: 1px solid var(--linea); color: var(--bordeaux); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.line .remove:hover { background: var(--bordeaux); color: var(--crema); }
.line .remove[hidden] { display: block !important; visibility: hidden; }
.add-line { background: none; border: 1px dashed var(--bordeaux); color: var(--bordeaux); font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; padding: 12px 18px; cursor: pointer; margin-top: 8px; }
.add-line:hover { background: rgba(116,20,11,.06); }
.total { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--linea); font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grigio); }
.total strong { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; text-transform: none; margin-left: 6px; }
.check--plain { margin: 0 0 18px; color: var(--inchiostro); }
.delivery { transition: opacity .3s; }
.delivery.disabled { opacity: .4; }
.delivery.disabled input { background: var(--carta); cursor: not-allowed; }
.order-form .form-status { margin-top: 4px; }

@media (max-width: 860px) {
  .order-wrap { grid-template-columns: 1fr; }
  .order-info { position: static; }
  .btn--ghost { margin: 12px 0 0; }
}
@media (max-width: 560px) {
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .line { grid-template-columns: 1fr 1fr auto; }
}

.main-nav a, .brand-name { white-space: nowrap; }
.line select, .line input { height: 52px; }
@media (min-width: 1181px) and (max-width: 1360px) { .brand-name { display: none; } }

/* Logo: torna all'inizio */
.brand { cursor: pointer; }
/* P.IVA / dati nel footer: mai link, stesso colore del testo */
.footer-data a, .footer-data a[href^="tel"], .footer-data a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; pointer-events: none; font: inherit; }
/* Menu mobile leggibile anche dopo lo scroll (backdrop-filter crea un contesto che "intrappola" il menu) */
@media (max-width: 1180px) {
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(246, 240, 228, .98); }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav { height: 100vh; height: 100dvh; }
}
