/* Vivere a Colori — design system */
:root {
  --bg: #FFFFFF;
  --card: #FFFCFB;
  --primary: #E891A8;
  --primary-hover: #D97A95;
  --secondary: #F3D1DA;
  --accent: #D4AF37;
  --text: #1A1A1A;
  --muted: #8A7A80;
  --border: #F0E0E6;
  --ink: #111111;
  --shadow: 0 18px 40px rgba(43, 43, 43, 0.07);
  --shadow-sm: 0 8px 20px rgba(43, 43, 43, 0.05);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 86px;
  --topbar-h: 38px;
  --max: 1140px;
  --font-serif: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans: "Outfit", "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(212, 175, 55, 0.14), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(232, 145, 168, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 10000;
  border-radius: 8px;
}
.skip-link:focus { top: 0.5rem; }

.container { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
.section { padding: 5.2rem 0; }
.section-sm { padding: 3.2rem 0; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 0.6rem;
}

h1, h2, h3, .font-serif { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.12; margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.2; margin: 0 0 0.8rem; }
h3 { font-size: 1.28rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; color: var(--text); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.italic { font-style: italic; font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--accent); color: #1A1A1A; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-hover); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-accent { background: var(--accent); color: #1A1A1A; }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.86rem; }
.btn-equal { min-width: 9.2rem; }
.btn-reject { background: #2B2B2B; color: #fff; }
.btn-reject:hover { background: #111; }
body.admin[data-admin="login"] .admin-shell { display: block; }
body.admin[data-admin="login"] .admin-side { display: none; }

.price { font-weight: 700; color: var(--text); }
.price-from { font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.price-old { text-decoration: line-through; color: var(--muted); font-weight: 500; margin-right: 0.4rem; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.28);
  color: #6a4d08;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
}

/* Topbar + header */
.topbar {
  background: linear-gradient(90deg, #F8E9EE, #FFF8E7 50%, #F8E9EE);
  color: #5C4A20;
  font-size: 0.82rem;
  text-align: center;
  padding: 0.45rem 1rem;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar a { color: #A8871F; font-weight: 600; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid #E5E0DC;
  box-shadow: none;
}
.header-inner {
  width: min(1220px, calc(100% - 1.6rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.logo-img {
  height: 48px;
  width: auto;
  max-width: min(280px, 62vw);
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.logo-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo-name em { font-style: italic; color: var(--primary); font-weight: 500; }
.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-desktop > a,
.nav-item > .nav-trigger {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-desktop > a:hover,
.nav-item > .nav-trigger:hover,
.nav-desktop > a[aria-current="page"] {
  background: rgba(255, 107, 107, 0.1);
  color: var(--primary-hover);
}

.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: none;
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.open > .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
}
.dropdown a:hover { background: #FFF5F7; color: var(--primary-hover); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.header-actions .btn { padding: 0.58rem 0.9rem; font-size: 0.86rem; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  position: relative;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }

.icon-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.05rem;
  text-align: center;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.hamburger {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 0.6rem 1rem 1.2rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a,
.acc-trigger {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.2rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  justify-content: space-between;
}
.acc-panel { display: none; padding: 0.2rem 0 0.6rem 0.8rem; }
.acc-panel.open { display: block; }
.acc-panel a {
  border: 0;
  font-weight: 400;
  color: var(--muted);
  padding: 0.45rem 0;
}

@media (min-width: 1040px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
  .header-actions { margin-left: 0.6rem; }
  .nav-mobile { display: none !important; }
}

/* Hero */
.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 3.2rem 0 4rem;
}
.hero-copy .btn { margin-right: 0.5rem; margin-top: 0.4rem; }
.hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; aspect-ratio: 4/5; }
.hero-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 248, 244, 0.94);
  border-radius: 16px;
  padding: 0.8rem 1rem;
  max-width: 220px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; padding: 4.2rem 0 5rem; }
  .hero-visual img { min-height: 520px; aspect-ratio: auto; }
  .hero.hero-story { grid-template-columns: 1fr; padding: 3.4rem 0 2.4rem; }
}
.hero.hero-story { grid-template-columns: 1fr; }
.story { max-width: 40rem; }
.story p { margin: 0 0 1.05rem; line-height: 1.75; }
.story p:last-child { margin-bottom: 0; }
.hero-story .story { margin: 1.2rem 0 1.6rem; }


/* Grids & cards */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card-meta { display: flex; gap: 0.8rem; color: var(--muted); font-size: 0.88rem; margin: 0.35rem 0 0.7rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.trust {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem 1.15rem;
}
.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(123, 211, 192, 0.28);
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  color: #1f5c51;
  font-weight: 700;
}

.offer-card { position: relative; }
.offer-card .countdown {
  display: flex;
  gap: 0.4rem;
  margin: 0.7rem 0 0.9rem;
}
.count-unit {
  background: #FFF5F7;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 52px;
  text-align: center;
  padding: 0.35rem 0.2rem;
}
.count-unit strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; }
.count-unit span { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* Split / about */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
@media (min-width: 800px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid button,
.gallery-grid a {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; }
@media (min-width: 800px) { .gallery-grid img { height: 210px; } }

.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.3rem;
}
.stars { color: #d4a017; letter-spacing: 0.08em; margin-bottom: 0.5rem; }

.instagram-block {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(123, 211, 192, 0.16));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.4rem 1.6rem;
  text-align: center;
}

.map-card, .hours-card, .contact-aside {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.3rem;
}
.map-placeholder {
  border-radius: 16px;
  min-height: 220px;
  background:
    linear-gradient(160deg, rgba(255, 107, 107, 0.18), rgba(123, 211, 192, 0.2)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1400&q=80") center/cover;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.map-placeholder a { background: #fff; border-radius: 999px; padding: 0.6rem 1rem; text-decoration: none; font-weight: 600; }
.map-embed { width: 100%; min-height: 280px; border: 0; border-radius: 16px; }

/* Forms */
form label { display: block; font-weight: 600; font-size: 0.9rem; margin: 0.85rem 0 0.3rem; }
form .req { color: var(--primary); }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(255, 107, 107, 0.35);
  border-color: var(--primary);
}
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; margin-top: 0.9rem; }
.checkbox input { margin-top: 0.25rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error, .form-success { border-radius: 12px; padding: 0.8rem 1rem; margin: 0.8rem 0; }
.form-error { background: #ffe8e8; color: #8a1f1f; }
.form-success { background: #F8E9EE; color: #7A3A4E; }
.field-error { color: #b42318; font-size: 0.82rem; margin-top: 0.25rem; }

/* Footer — contrasto massimo su mobile */
.site-footer {
  background: #1F1A1C !important;
  color: #FFFFFF !important;
  color-scheme: only light;
  padding: 2.8rem 0 2rem;
  margin-top: 2rem;
  -webkit-text-fill-color: #FFFFFF;
}
.site-footer *,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer strong,
.site-footer div {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
}
.site-footer p {
  margin: 0 0 0.55rem;
  line-height: 1.55;
  font-size: 0.98rem;
}
.site-footer strong,
.site-footer .footer-title {
  display: block;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  font-size: 1.08rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.site-footer .muted,
.site-footer p.muted {
  color: #E8DFD8 !important;
  -webkit-text-fill-color: #E8DFD8;
  font-size: 0.92rem;
  margin-top: 0.75rem;
  opacity: 1 !important;
}
.site-footer a {
  color: #FFD6E4 !important;
  -webkit-text-fill-color: #FFD6E4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer a:hover { color: #D4AF37 !important; -webkit-text-fill-color: #D4AF37; }
.site-footer .footer-hours {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #FFFFFF !important;
}
.site-footer .footer-hours li span:first-child {
  font-weight: 600;
  min-width: 6.5rem;
}
.footer-grid {
  display: grid;
  gap: 1.9rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.1fr 1.3fr 0.9fr; gap: 2.4rem; }
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.05rem;
  margin: 1.9rem 0 0.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.86rem;
}
.footer-legal a {
  color: #F0E6DF !important;
  -webkit-text-fill-color: #F0E6DF;
  text-decoration: none;
}
.footer-copy {
  font-size: 0.84rem;
  color: #E0D6CF !important;
  -webkit-text-fill-color: #E0D6CF;
  margin: 0;
  padding-bottom: 0.3rem;
}
@media (max-width: 799px) {
  .site-footer {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  }
  .wa-float {
    bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }
}


.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.05); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  isolation: isolate;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  max-width: 720px;
  margin: 0 auto;
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.cookie-x {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  border: 0;
  background: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--muted);
}
.cookie-panel { display: none; margin-top: 0.8rem; }
.cookie-panel.open { display: block; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 14, 0.84);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 84vh; border-radius: 12px; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
}

/* Cart / checkout */
.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  align-items: center;
}
.cart-row img { width: 88px; height: 72px; object-fit: cover; border-radius: 10px; }
.qty { display: flex; align-items: center; gap: 0.4rem; }
.qty button {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer;
}
.totals { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.2rem; }

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 1.4rem; }
.filters button {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}
.filters button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.legal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.6rem 1.4rem 2rem;
}
.legal-disclaimer {
  background: #fff4d6;
  border: 1px solid #f0d48a;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
}
.legal h2 { font-size: 1.35rem; margin-top: 1.6rem; }
.legal ul { color: var(--muted); }

.empty-state, .error-state {
  text-align: center;
  padding: 2.4rem 1rem;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 20px;
}

/* Admin */
body.admin { background: #f6f1ec; }
.admin-shell { display: grid; min-height: 100vh; }
@media (min-width: 900px) { .admin-shell { grid-template-columns: 240px 1fr; } }
.admin-side {
  background: #2B2B2B;
  color: #fff;
  padding: 1.4rem 1rem;
}
.admin-side a { color: #f4ece6; text-decoration: none; display: block; padding: 0.5rem 0.4rem; border-radius: 8px; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,0.08); color: var(--accent); }
.admin-main { padding: 1.4rem; }
.warn-box {
  background: #fff1f0;
  border: 2px solid #ff6b6b;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
}
.stat-grid { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid var(--border);
}
.stat strong { display: block; font-size: 1.8rem; font-family: var(--font-serif); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.admin-table th, .admin-table td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.92rem; }
.admin-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1rem; margin: 1rem 0; }

.page-hero { padding: 2.6rem 0 1.2rem; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.8rem; }
.crumbs a { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(12px); animation: rise 0.7s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 1039px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 0.35rem;
    overflow: visible;
  }
  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }
  .logo-img {
    height: 40px;
    max-width: min(220px, 56vw);
  }
  .header-actions {
    flex-shrink: 0;
    gap: 0.3rem;
    margin-left: 0.25rem;
  }
  .header-actions .btn-primary {
    padding: 0.5rem 0.72rem;
    font-size: 0.8rem;
  }
  .hamburger {
    display: inline-flex !important;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    z-index: 5;
    background: #fff;
    border: 1px solid #e5d5db;
  }
  .hamburger span {
    background: #3a2f34;
    width: 18px;
    height: 2px;
  }
}
@media (max-width: 639px) {
  .header-actions .btn-whatsapp { display: none; }
  /* libera spazio alle 3 linee: nascondi Instagram in barra (resta nel menu) */
  .header-actions .icon-btn[aria-label*="Instagram"] { display: none; }
  .logo-sub { display: none; }
  .logo-name { font-size: 1.02rem; }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row .qty { grid-column: 1 / -1; }
}

.pkg-admin-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  margin: 0 0 0.75rem;
}
.pkg-admin-item h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.pkg-admin-item .pkg-admin-meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.7rem; }
.pkg-admin-item .pkg-admin-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.admin-form label { display: block; margin: 0.75rem 0; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
}
#pkg-status[data-ok="1"] { color: #2d6a4f; }
#pkg-status[data-ok="0"] { color: #9b2226; }


body[data-page="index.html"] {
  background-color: #FFF8F5;
  background-image: none;
}
body[data-page="index.html"] {
  background-color: #FFF8F5;
  background-image: none;
}
/* Foto reception fissa in sfondo (intera altezza) */
body[data-page="index.html"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: #FFF8F5;
  background-image: url("../home/bg-fisso.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: auto 100%;
  background-position: center center;
  opacity: 0.55;
  pointer-events: none;
}
body[data-page="index.html"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 245, 0.28) 0%,
    rgba(255, 248, 245, 0.18) 45%,
    rgba(255, 248, 245, 0.35) 100%
  );
}
@media (max-width: 1024px) {
  body[data-page="index.html"]::before {
    background-image: url("../home/bg-fisso-mobile.jpg");
    background-size: auto 100%;
    background-position: center center;
    background-attachment: scroll;
    opacity: 0.5;
  }
}

body[data-page="index.html"] #main,
body[data-page="index.html"] .site-header,
body[data-page="index.html"] .site-footer {
  position: relative;
}
body[data-page="index.html"] .hero-copy,
body[data-page="index.html"] .card,
body[data-page="index.html"] .instagram-block,
body[data-page="index.html"] .hours-card,
body[data-page="index.html"] .map-card,
body[data-page="index.html"] .contact-aside {
  background: rgba(255, 252, 251, 0.26);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
/* Spazio sotto la barra: si vede lo sfondo, poi la didascalia */
body[data-page="index.html"] .hero.hero-story {
  padding-top: 12rem;
  padding-bottom: 2.8rem;
}
@media (max-width: 879px) {
  body[data-page="index.html"] .hero.hero-story {
    padding-top: 72vh; /* sul cellulare la storia inizia più in basso */
    min-height: 0;
  }
}
@media (min-width: 880px) {
  body[data-page="index.html"] .hero.hero-story {
    padding-top: 11rem;
  }
}
body[data-page="index.html"] .hero-copy {
  max-width: 38rem;
  border-radius: 20px;
  padding: 1.15rem 1.25rem 1.35rem;
  border: 1px solid rgba(240, 224, 230, 0.35);
  box-shadow: none;
  margin-top: 0;
}
body[data-page="index.html"] .hero-title-soft {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.45rem;
  color: #5c4a52;
}
body[data-page="index.html"] .hero-lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #7a6570;
  font-weight: 500;
}
body[data-page="index.html"] .hero-story .story {
  background: transparent;
  padding: 0;
  max-width: none;
}
body[data-page="index.html"] .hero-story .story p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #5f5258;
  margin-bottom: 0.85rem;
}



/* Shop stock sections & price notes */
.shop-sections .shop-section { margin-top: 2rem; }
.shop-sections .shop-section:first-child { margin-top: 0; }
.shop-sections .shop-section h2 {
  font-family: var(--font-display, Fraunces, serif);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}
.product-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.5rem; margin: 0.4rem 0; }
.product-price-row .price-note { font-size: 0.8rem; }
.badge-stock { display: inline-block; margin-bottom: 0.45rem; font-size: 0.72rem; letter-spacing: 0.02em; }
.badge-in-centro { background: #e8f5e9; color: #1b5e20; }
.badge-ordinazione { background: #fff3e0; color: #e65100; }
.product-stock { margin: 0.4rem 0 0.8rem; }
