/* ═══════════════════════════════════════════════════════════
   Lab Creation 24 — Demo Prima Sito
   Paleta: crema · beige · cappuccino · marrone · tinta · oro
   Tipografía: Cormorant Garamond (display) + Jost (cuerpo)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Paleta */
  --fondo:       #FAF6F1;
  --carta:       #F0E8DC;
  --cappuccino:  #C9AA82;
  --marrone:     #7A5C3E;
  --tinta:       #2A1A0E;
  --oro:         #B8924A;

  /* Tipografía */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  /* Espaciado */
  --max-w:       1180px;
  --gutter:      24px;
  --sec-py:      96px;
  --demo-h:      40px;
  --nav-h:       84px;
  --offset:      calc(var(--demo-h) + var(--nav-h));

  /* Bordes y sombras */
  --radius:      2px;
  --shadow-card: 0 2px 16px rgba(42, 26, 14, 0.06);
  --shadow-hov:  0 8px 32px rgba(42, 26, 14, 0.11);
  --trans:       0.28s ease;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; background: none; border: none; }

/* ─── BASE ───────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILIDADES ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cappuccino);
  display: block;
  margin-bottom: 14px;
}
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-head h2,
.section-head h2 + p {
  margin-top: 0;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--tinta);
  margin-bottom: 16px;
}
.section-h2 em { font-style: italic; }
.section-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--marrone);
}

/* Animación de entrada */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ─── BANNER DEMO ────────────────────────────────────────── */
.demo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--demo-h);
  background: var(--tinta);
  color: var(--carta);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  gap: 6px;
}
.demo-banner a {
  color: var(--cappuccino);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.header {
  position: fixed;
  top: var(--demo-h);
  left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(250, 246, 241, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 170, 130, 0.3);
  transition: box-shadow var(--trans);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(42, 26, 14, 0.08);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo header */
.wordmark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo {
  height: 64px;
  width: auto;
  display: block;
}
@media (max-width: 639px) {
  .site-logo { height: 48px; }
}

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--tinta);
  transition: color var(--trans);
  white-space: nowrap;
}
.nav a:not(.btn-nav):hover { color: var(--marrone); }
.btn-nav {
  padding: 8px 18px;
  border: 1px solid var(--tinta);
  border-radius: var(--radius);
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  transition: background var(--trans), color var(--trans) !important;
}
.btn-nav:hover {
  background: var(--tinta) !important;
  color: var(--fondo) !important;
}

/* ─── HAMBURGER ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--tinta);
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ─── BOTONES ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: all var(--trans);
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--tinta);
  color: var(--fondo);
  border-color: var(--tinta);
}
.btn-primary:hover { background: var(--marrone); border-color: var(--marrone); }
.btn-outline {
  background: transparent;
  color: var(--tinta);
  border-color: var(--tinta);
}
.btn-outline:hover { background: var(--tinta); color: var(--fondo); }
.btn-outline-light {
  background: transparent;
  color: var(--fondo);
  border-color: rgba(250, 246, 241, 0.7);
}
.btn-outline-light:hover { background: var(--fondo); color: var(--tinta); }
.btn-inv {
  background: var(--fondo);
  color: var(--tinta);
  border-color: var(--fondo);
}
.btn-inv:hover { background: var(--carta); }

/* ═══════════════════════════════════════════════════════════
   SECCIONES HOME
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-img   { display: none; width: 100%; height: 100%; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 246, 241, 0.15) 0%,
    rgba(250, 246, 241, 0.58) 55%,
    rgba(250, 246, 241, 0.90) 100%
  );
}

/* Content */
.hero > .container {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--offset) + 72px);
  padding-bottom: 80px;
  width: 100%;
}
.hero-content {
  max-width: 540px;
  text-align: center;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marrone);
  margin-bottom: 24px;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--tinta);
  margin-bottom: 24px;
}
.hero-h1 em { font-style: italic; }
.hero-sub {
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--marrone);
  margin-bottom: 36px;
}
.hero-sub em { font-style: italic; color: var(--tinta); }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ─── CLAIM CENTRALE ─────────────────────────────────────── */
.claim-centrale {
  background: var(--carta);
  padding: 80px var(--gutter);
  text-align: center;
}
.claim-quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.22;
  color: var(--tinta);
  margin-bottom: 22px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  quotes: "\201C" "\201D";
}
.claim-quote::before { content: open-quote; }
.claim-quote::after  { content: close-quote; }
.claim-sub {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--marrone);
  letter-spacing: 0.02em;
  max-width: 420px;
  margin: 0 auto;
}

/* ─── CREAZIONI IN EVIDENZA ──────────────────────────────── */
.creazioni {
  padding: var(--sec-py) 0;
  background: var(--fondo);
}
.creazioni-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.creazione-card {
  background: var(--carta);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--trans), transform var(--trans);
}
.creazione-card:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-5px);
}
.creazione-card a { display: block; }
.creazione-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.creazione-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
  image-orientation: from-image;
}
.creazione-card:hover .creazione-img img { transform: scale(1.05); }
.creazione-info {
  padding: 16px 18px 20px;
}
.creazione-nome,
.creazione-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--tinta);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.creazione-desc {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--marrone);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.creazione-price {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--marrone);
  margin-bottom: 10px;
}
.creazione-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--marrone);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--trans), gap var(--trans);
}
.creazione-cta::after { content: '→'; }
.creazione-card:hover .creazione-cta {
  color: var(--tinta);
  gap: 10px;
}
.creazioni-link {
  text-align: center;
}
.creazioni-link a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--marrone);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--trans);
}
.creazioni-link a:hover { color: var(--tinta); }

/* ─── WEDDING & EVENTI ───────────────────────────────────── */
.wedding-block {
  background: var(--carta);
}
.wedding-inner {
  display: flex;
  flex-direction: column;
}
.wedding-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}
.wedding-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  image-orientation: from-image;
}
.wedding-block:hover .wedding-img img { transform: scale(1.03); }
.wedding-content {
  padding: 52px var(--gutter) 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wedding-content .section-label { margin-bottom: 16px; }
.wedding-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--tinta);
  margin-bottom: 20px;
}
.wedding-h2 em { font-style: italic; }
.wedding-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.72;
  margin-bottom: 32px;
  max-width: 420px;
}

/* ─── COME FUNZIONA ──────────────────────────────────────── */
.come-funziona {
  padding: var(--sec-py) 0;
  background: var(--fondo);
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 860px;
  margin: 0 auto;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.step-icon {
  width: 56px; height: 56px;
  color: var(--cappuccino);
  flex-shrink: 0;
}
.step-icon svg { width: 100%; height: 100%; }
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  font-style: italic;
  color: rgba(201, 170, 130, 0.35);
  line-height: 1;
}
.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--tinta);
  line-height: 1.2;
}
.step-text {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.72;
  max-width: 260px;
}

/* ─── INSTAGRAM ──────────────────────────────────────────── */
.ig-section {
  background: var(--carta);
  padding: var(--sec-py) 0;
}
.ig-handle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--marrone);
  margin-top: 6px;
  transition: color var(--trans);
}
.ig-handle:hover { color: var(--tinta); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-bottom: 32px;
}
.ig-item {
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}
.ig-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, opacity 0.3s ease;
  image-orientation: from-image;
}
.ig-item:hover img { transform: scale(1.06); opacity: 0.88; }
.ig-cta { text-align: center; }

/* ─── CTA FINALE ─────────────────────────────────────────── */
.cta-finale {
  background: var(--tinta);
  padding: var(--sec-py) 0;
  text-align: center;
}
.cta-finale .section-label { color: var(--cappuccino); }
.cta-logo {
  height: 160px;
  width: auto;
  display: block;
  margin: 0 auto 40px;
  opacity: 0.92;
}
.cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--fondo);
  margin-bottom: 18px;
}
.cta-h2 em { font-style: italic; }
.cta-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--cappuccino);
  margin-bottom: 40px;
  line-height: 1.72;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--carta);
  border-top: 1px solid rgba(201, 170, 130, 0.35);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo-wrap {
  text-align: center;
  padding: 0 0 48px;
}
.footer-logo {
  height: 150px;
  width: auto;
  display: inline-block;
}
.footer-tagline {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marrone);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--trans);
}
.footer-social a:hover { color: var(--tinta); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cappuccino);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a,
.footer-col ul li span {
  font-size: 14px;
  font-weight: 300;
  color: var(--marrone);
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: var(--tinta); }
.footer-bottom {
  border-top: 1px solid rgba(201, 170, 130, 0.3);
  padding: 20px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-bottom a,
.footer-bottom span {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--marrone);
}
.footer-bottom a { transition: color var(--trans); }
.footer-bottom a:hover { color: var(--tinta); }
.footer-credit {
  text-align: center;
  padding: 12px var(--gutter) 20px;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--cappuccino);
  border-top: 1px solid rgba(201, 170, 130, 0.18);
}
.footer-credit a {
  color: var(--cappuccino);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--trans);
}
.footer-credit a:hover { color: var(--marrone); }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9998;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: transform var(--trans), box-shadow var(--trans);
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ─── TABLET 640px+ ───────────────────────────────────────── */
@media (min-width: 640px) {
  .creazioni-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ─── DESKTOP 840px+ ──────────────────────────────────────── */
@media (min-width: 840px) {
  /* Nav desktop */
  .hamburger { display: none; }
  .nav { display: flex !important; position: static !important; flex-direction: row !important;
         background: transparent !important; box-shadow: none !important;
         border: none !important; padding: 0 !important; }

  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(250, 246, 241, 0.92) 0%,
      rgba(250, 246, 241, 0.78) 38%,
      rgba(250, 246, 241, 0.22) 65%,
      rgba(250, 246, 241, 0.0) 100%
    );
  }
  .hero-content {
    text-align: left;
    margin: 0;
    padding-top: 0;
  }
  .hero-ctas { justify-content: flex-start; }
  .hero > .container { padding-top: calc(var(--offset) + 80px); }

  /* Wedding horizontal */
  .wedding-inner {
    flex-direction: row;
    min-height: 560px;
  }
  .wedding-img {
    flex: 0 0 50%;
    aspect-ratio: auto;
  }
  .wedding-content {
    flex: 0 0 50%;
    padding: 64px 56px 64px 64px;
  }

  /* Creazioni 5 col */
  .creazioni-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
  }
  /* Footer grid */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ─── MOBILE: hamburger nav ───────────────────────────────── */
@media (max-width: 839px) {
  .hamburger { display: flex; }
  .nav {
    display: none;
    position: fixed;
    top: var(--offset);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--fondo);
    border-top: 1px solid rgba(201, 170, 130, 0.3);
    box-shadow: 0 8px 32px rgba(42, 26, 14, 0.10);
    padding: 16px 0 24px;
    z-index: 899;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 13px var(--gutter);
    font-size: 13px;
    border-bottom: 1px solid rgba(201, 170, 130, 0.15);
  }
  .nav a:last-child { border-bottom: none; margin: 16px var(--gutter) 0; }
  .btn-nav {
    display: block;
    text-align: center;
    padding: 12px 24px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGINA CREAZIONI — con filtri JS
   ═══════════════════════════════════════════════════════════ */

.page-wrap { padding-top: var(--offset); }

.page-hero {
  background: var(--carta);
  padding: 56px var(--gutter) 48px;
  text-align: center;
}
.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--tinta);
  margin-bottom: 10px;
}
.page-h1 em { font-style: italic; }
.page-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--marrone);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 22px var(--gutter);
  background: rgba(250, 246, 241, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 170, 130, 0.22);
  position: sticky;
  top: var(--offset);
  z-index: 50;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid rgba(201, 170, 130, 0.5);
  border-radius: var(--radius);
  color: var(--marrone);
  background: transparent;
  cursor: pointer;
  transition: all var(--trans);
}
.filter-btn:hover { border-color: var(--tinta); color: var(--tinta); }
.filter-btn.active { background: var(--tinta); border-color: var(--tinta); color: var(--fondo); }

.creazioni-page-section { padding: 44px 0 80px; }

.creazione-cat {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cappuccino);
  margin-bottom: 5px;
}

/* ═══════════════════════════════════════════════════════════
   PAGINA PRODOTTO
   ═══════════════════════════════════════════════════════════ */

.product-page { padding-top: var(--offset); min-height: 100vh; }

.product-breadcrumb {
  padding: 16px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--cappuccino);
}
.product-breadcrumb a { color: var(--cappuccino); transition: color var(--trans); }
.product-breadcrumb a:hover { color: var(--marrone); }
.product-breadcrumb .sep { margin: 0 7px; opacity: 0.45; }

.product-cols {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  box-sizing: border-box;
}
.product-col-gallery { min-width: 0; }
.product-col-info { min-width: 0; padding: 28px 0 0; }

/* Gallery */
.gallery-main-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--carta);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-main-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  image-orientation: from-image;
  display: block;
}
.gallery-main-img.hidden { display: none; }
.gallery-video-player {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #111;
  display: none;
}
.gallery-video-player.active { display: block; }

/* Ricamo name preview overlay */
.name-preview {
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(18px, 4vw, 28px);
  font-style: italic;
  font-weight: 300;
  color: rgba(184, 146, 74, 0.9);
  letter-spacing: 0.07em;
  white-space: nowrap;
  max-width: 78%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.name-preview.show { opacity: 1; }

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 6px;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  background: var(--carta);
  transition: border-color var(--trans);
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  image-orientation: from-image;
  display: block;
}
.gallery-thumb:hover { border-color: var(--cappuccino); }
.gallery-thumb.active { border-color: var(--tinta); }
.gallery-thumb--video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42, 26, 14, 0.35);
  z-index: 1;
}
.play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}

/* Product meta */
.product-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cappuccino);
  margin-bottom: 10px;
}
.product-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--tinta);
  margin-bottom: 10px;
}
.product-name em { font-style: italic; }
.product-price-display {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--tinta);
  margin-bottom: 18px;
}
.product-desc {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--marrone);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(201, 170, 130, 0.25);
}

/* Configurator */
.configurator { display: flex; flex-direction: column; gap: 22px; }
.config-field { display: flex; flex-direction: column; gap: 8px; }
.config-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tinta);
}
.config-opt {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  font-size: 10.5px;
  color: var(--cappuccino);
  margin-left: 4px;
}

/* Radio pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; }
.pill input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.pill-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgba(201, 170, 130, 0.48);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 400;
  color: var(--marrone);
  transition: all var(--trans);
  white-space: nowrap;
  line-height: 1.3;
  cursor: pointer;
}
.pill-label small {
  font-size: 10px;
  font-weight: 300;
  color: var(--cappuccino);
  margin-top: 2px;
}
.pill input[type="radio"]:checked + .pill-label {
  background: var(--tinta);
  border-color: var(--tinta);
  color: var(--fondo);
}
.pill input[type="radio"]:checked + .pill-label small { color: rgba(240, 232, 220, 0.6); }
.pill:hover .pill-label { border-color: var(--tinta); color: var(--tinta); }
.pill input[type="radio"]:focus + .pill-label { outline: 2px solid var(--oro); outline-offset: 2px; }

/* Color swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch { cursor: pointer; text-align: center; }
.swatch input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.swatch-dot {
  display: block;
  width: 30px; height: 30px;
  border-radius: 50%;
  margin: 0 auto 5px;
  border: 2px solid rgba(201, 170, 130, 0.3);
  transition: all var(--trans);
}
.swatch small { display: block; font-size: 10px; font-weight: 400; color: var(--marrone); white-space: nowrap; }
.swatch input:checked + .swatch-dot { border-color: var(--tinta); box-shadow: 0 0 0 3px rgba(42, 26, 14, 0.13); }
.swatch:hover .swatch-dot { border-color: var(--marrone); }
.swatch input:focus + .swatch-dot { outline: 2px solid var(--oro); outline-offset: 2px; }

/* Text input */
.config-text {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(201, 170, 130, 0.48);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--tinta);
  background: var(--fondo);
  outline: none;
  transition: border-color var(--trans);
  box-sizing: border-box;
}
.config-text:focus { border-color: var(--tinta); }
.config-text::placeholder { color: var(--cappuccino); }
.config-hint { font-size: 11px; font-weight: 300; color: var(--cappuccino); }

/* Order summary */
.order-summary {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 170, 130, 0.25);
}
.summary-line {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-style: italic;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.55;
  margin-bottom: 6px;
  min-height: 22px;
}
.summary-total {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--tinta);
  margin-bottom: 14px;
}
.btn-richiedi {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 15px 24px;
  font-size: 13px;
}

/* Mobile: sticky summary bar */
@media (max-width: 899px) {
  .order-summary {
    position: sticky;
    bottom: 0;
    background: rgba(250, 246, 241, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(201, 170, 130, 0.4);
    box-shadow: 0 -4px 20px rgba(42, 26, 14, 0.09);
    margin-top: 24px;
    padding: 14px 0 max(20px, env(safe-area-inset-bottom));
    z-index: 800;
    transform: translateZ(0);
  }
  .summary-line { font-size: 13px; margin-bottom: 4px; }
  .summary-total { font-size: 20px; margin-bottom: 12px; }
}

/* Su misura, sempre */
.su-misura {
  background: var(--carta);
  padding: 64px var(--gutter);
  text-align: center;
  margin-top: 64px;
}
.su-misura .section-label { margin-bottom: 14px; }
.su-misura-h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  color: var(--tinta);
  margin-bottom: 16px;
}
.su-misura-text {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.72;
  max-width: 500px;
  margin: 0 auto 28px;
}

/* Desktop product layout */
@media (min-width: 900px) {
  .product-cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 52px;
    align-items: start;
    padding: 20px var(--gutter) 80px;
  }
  .product-col-gallery {
    position: sticky;
    top: calc(var(--offset) + 16px);
    align-self: start;
  }
  .product-col-info {
    padding: 4px 0 80px;
  }
  .su-misura { margin-top: 0; }
  .creazioni-page-section .creazioni-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .creazioni-page-section .creazioni-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   WEDDING & EVENTI PAGE
   ═══════════════════════════════════════════════════════════ */

/* Hero placeholder con gradiente di palette */
.wedding-page-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #7A5C3E; /* fallback mentre la foto carica */
}
.wedding-hero-img {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wedding-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.wedding-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250,246,241,0.18) 0%,
    rgba(250,246,241,0.62) 48%,
    rgba(250,246,241,0.94) 100%
  );
}
.wedding-page-hero > .container {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--offset) + 80px);
  padding-bottom: 80px;
  width: 100%;
}
.placeholder-notice {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marrone);
  background: rgba(201,170,130,0.18);
  border: 1px dashed rgba(201,170,130,0.55);
  border-radius: 2px;
  padding: 6px 14px;
  margin-bottom: 32px;
  opacity: 0.8;
}

/* Services */
.services-section {
  padding: var(--sec-py) 0;
  background: var(--fondo);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 56px;
}
.service-card {
  background: var(--carta);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--trans), transform var(--trans);
}
.service-card:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-4px);
}
.service-icon {
  width: 44px; height: 44px;
  color: var(--cappuccino);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--tinta);
  margin-bottom: 12px;
  line-height: 1.2;
}
.service-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.72;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Wedding products showcase */
.wedding-products {
  padding: var(--sec-py) 0;
  background: var(--carta);
}
.wedding-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .wedding-products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Come lavoriamo steps — riuso .steps esistenti, aggiunto tema scuro */
.come-lavoriamo {
  padding: var(--sec-py) 0;
  background: var(--tinta);
}
.come-lavoriamo .section-label { color: var(--cappuccino); }
.come-lavoriamo .section-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300;
  color: var(--fondo);
  line-height: 1.12;
  text-align: center;
  margin-bottom: 64px;
}
.come-lavoriamo .step-num  { color: rgba(201,170,130,0.3); }
.come-lavoriamo .step-title { color: var(--carta); }
.come-lavoriamo .step-text  { color: var(--cappuccino); }
.come-lavoriamo .step-icon  { color: var(--cappuccino); }

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════ */
.contatti-page {
  padding: var(--sec-py) 0;
  background: var(--fondo);
}
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
@media (min-width: 840px) {
  .contatti-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--marrone);
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 300;
  color: var(--tinta);
  background: var(--carta);
  border: 1px solid rgba(201, 170, 130, 0.45);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--cappuccino);
  box-shadow: 0 0 0 3px rgba(201, 170, 130, 0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-privacy {
  font-size: 12px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.6;
  margin-bottom: 24px;
}
.form-privacy a { text-decoration: underline; text-underline-offset: 2px; }
.form-success {
  display: none;
  background: rgba(201,170,130,0.12);
  border: 1px solid rgba(201,170,130,0.4);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
}
.form-success.show { display: block; }
.form-success-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.form-success p {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--tinta);
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; }
.contact-item-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cappuccino);
}
.contact-item-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--tinta);
  transition: color var(--trans);
}
.contact-item-value:hover { color: var(--marrone); }

/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════ */
.faq-page {
  padding: var(--sec-py) 0;
  background: var(--fondo);
}
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(201, 170, 130, 0.3);
}
.faq-item {
  border-bottom: 1px solid rgba(201, 170, 130, 0.3);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--tinta);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--trans);
}
.faq-question:hover { color: var(--marrone); }
.faq-question:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 2px;
  border-radius: 2px;
}
.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
  color: var(--cappuccino);
  transition: transform 0.28s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.faq-icon::before { width: 2px; height: 12px; top: 4px; left: 9px; }
.faq-icon::after  { width: 12px; height: 2px; top: 9px; left: 4px; }
.faq-item.open .faq-icon::before { transform: rotate(90deg); opacity: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.78;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ═══════════════════════════════════════════════════════════
   CHI SIAMO
   ═══════════════════════════════════════════════════════════ */
.about-section {
  padding: var(--sec-py) 0;
  background: var(--fondo);
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 640px;
  margin: 0 auto;
}
.about-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.82;
}
.about-text p strong {
  font-weight: 400;
  color: var(--tinta);
}
.about-firma {
  padding: 80px var(--gutter) 60px;
  text-align: center;
  background: var(--carta);
}
.about-firma img {
  height: 200px;
  width: auto;
  display: block;
  margin: 0 auto 28px;
}
.about-firma-tagline {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: var(--marrone);
}

/* ═══════════════════════════════════════════════════════════
   PRIVACY
   ═══════════════════════════════════════════════════════════ */
.privacy-page {
  padding: var(--sec-py) 0;
  background: var(--fondo);
}
.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--tinta);
  margin-bottom: 10px;
  margin-top: 8px;
}
.privacy-content p,
.privacy-content li {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.78;
}
.privacy-content ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.privacy-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--marrone);
  transition: color var(--trans);
}
.privacy-content a:hover { color: var(--tinta); }

/* ─── ACCESSIBILITÀ ───────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hamburger:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 4px;
  border-radius: 2px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════
   CARRELLO — icona header, badge, toast, pagine
═══════════════════════════════════════════════════════════ */

/* ─── Icona header ───────────────────────────────────────── */
.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--tinta);
  transition: color var(--trans);
}
.cart-icon-btn:hover { color: var(--marrone); }
.cart-icon-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.cart-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--tinta);
  color: var(--fondo);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ─── Toast ──────────────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--tinta);
  color: var(--fondo);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(42,26,14,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  white-space: nowrap;
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast-link {
  color: var(--cappuccino);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.toast-link:hover { color: var(--oro); }

/* ─── Bottone "Aggiungi al carrello" (ficha prodotto) ───── */
.btn-cart {
  width: 100%;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--tinta);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tinta);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--trans), color var(--trans);
  margin-top: 10px;
}
.btn-cart:hover {
  background: var(--tinta);
  color: var(--fondo);
}
.btn-cart svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── Pagina Carrello ────────────────────────────────────── */
.cart-page {
  padding: 56px 0 120px;
}
.cart-empty {
  text-align: center;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cart-empty-icon svg {
  width: 64px;
  height: 64px;
  color: var(--cappuccino);
  opacity: 0.55;
}
.cart-empty-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--tinta);
  margin-top: 8px;
}
.cart-empty-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.65;
  max-width: 360px;
}
.cart-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(201,170,130,0.35);
}
/* ─── Miniature carrello ─────────────────────────────────── */
.cart-item-thumb-link {
  flex-shrink: 0;
  display: block;
  width: 72px;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--carta);
  text-decoration: none;
}
.cart-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
  image-orientation: from-image;
}
.cart-item-thumb-link:hover .cart-item-thumb { transform: scale(1.04); }
.cart-item-thumb--empty {
  width: 100%;
  height: 100%;
  background: var(--carta);
}

/* Miniatura piccola (ordine.html) */
.ordine-thumb-link {
  flex-shrink: 0;
  display: block;
  width: 48px;
  aspect-ratio: 3 / 4;
  border-radius: 3px;
  overflow: hidden;
  background: var(--carta);
  text-decoration: none;
  grid-row: 1 / 3;
  grid-column: 1;
  align-self: start;
}
.ordine-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-orientation: from-image;
}
.ordine-thumb--empty {
  width: 100%;
  height: 100%;
  background: var(--carta);
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(201,170,130,0.35);
}
.cart-item-info {
  flex: 1 1 auto;
  min-width: 0;
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--tinta);
  margin-bottom: 4px;
}
.cart-item-config {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.55;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.cart-qty-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(201,170,130,0.45);
  border-radius: var(--radius);
  padding: 3px 6px;
}
.cart-qty-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--tinta);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--trans);
}
.cart-qty-btn:hover { color: var(--marrone); }
.cart-qty-val {
  font-size: 13px;
  font-weight: 400;
  color: var(--tinta);
  min-width: 18px;
  text-align: center;
}
.cart-item-subtotal {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--tinta);
  min-width: 52px;
  text-align: right;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--cappuccino);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color var(--trans);
}
.cart-item-remove:hover { color: var(--tinta); }
.cart-item-remove svg { width: 18px; height: 18px; }
.cart-totals {
  padding: 24px 0 8px;
}
.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cart-totals-total {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--tinta);
  border-top: 1px solid var(--tinta);
  padding-top: 16px;
}
.cart-totals-note {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--marrone);
  margin-top: 10px;
  letter-spacing: 0.02em;
}
.cart-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 480px) {
  .cart-actions { flex-direction: row; }
}
@media (max-width: 560px) {
  .cart-item { flex-wrap: wrap; }
  .cart-item-controls { width: 100%; justify-content: space-between; }
}

/* ─── Pagina Ordine ──────────────────────────────────────── */
.ordine-page {
  min-height: calc(100vh - var(--offset));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--offset) + 48px) var(--gutter) 80px;
}
.ordine-inner {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.ordine-demo-card {
  background: var(--carta);
  border-radius: calc(var(--radius) * 2);
  padding: 48px 40px;
  text-align: center;
  border: 1px solid rgba(201,170,130,0.25);
}
.ordine-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 24px;
  display: block;
  opacity: 0.9;
}
.ordine-demo-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cappuccino);
  margin-bottom: 16px;
}
.ordine-h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 300;
  color: var(--tinta);
  line-height: 1.25;
  margin-bottom: 24px;
}
.ordine-h1 em { font-style: italic; font-weight: 300; }
.ordine-demo-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.72;
  max-width: 420px;
  margin: 0 auto 12px;
}
.ordine-credit {
  margin-top: 28px;
  font-size: 11px;
  font-weight: 300;
  color: var(--cappuccino);
  letter-spacing: 0.04em;
}
.ordine-credit a { color: var(--marrone); text-decoration: underline; }
.ordine-summary-wrap {
  border: 1px solid rgba(201,170,130,0.35);
  border-radius: var(--radius);
  padding: 24px;
}
.ordine-summary-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--tinta);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.ordine-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.ordine-item {
  display: grid;
  grid-template-columns: 56px 24px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 3px;
  align-items: start;
}
.ordine-thumb-link {
  grid-row: 1 / 3;
  grid-column: 1;
  align-self: start;
}
.ordine-item-qty {
  grid-row: 1;
  grid-column: 2;
  font-size: 13px;
  font-weight: 400;
  color: var(--marrone);
  padding-top: 2px;
}
.ordine-item-name {
  grid-row: 1;
  grid-column: 3;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--tinta);
}
.ordine-item-price {
  grid-row: 1;
  grid-column: 4;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--tinta);
  text-align: right;
}
.ordine-item-config {
  grid-row: 2;
  grid-column: 3 / 5;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--marrone);
  line-height: 1.5;
}
.ordine-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(201,170,130,0.45);
  padding-top: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--tinta);
}
.ordine-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.ordine-wa-btn { font-size: 13px; }
@media (min-width: 480px) {
  .ordine-ctas { flex-direction: row; }
  .ordine-demo-card { padding: 48px; }
}
@media (max-width: 479px) {
  .ordine-demo-card { padding: 32px 24px; }
}
