:root {
  --rosso: #8B1A1A;
  --rosso-vivo: #c0392b;
  --oro: #c9a84c;
  --nero: #0a0a0a;
  --nero-soft: #111111;
  --grigio-scuro: #1a1a1a;
  --grigio: #2a2a2a;
  --testo: #e8e2d9;
  --testo-soft: #a09585;
  --bianco: #f5f0eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--nero); color: var(--testo); font-family: 'Montserrat', sans-serif; font-weight: 300; overflow-x: hidden; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--nero); }
::-webkit-scrollbar-thumb { background: var(--rosso); }

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139,26,26,0.3);
}
.nav-logo { flex: 1; }
.nav-logo img { height: 40px; }
.nav-links { display: flex; gap: 2rem; list-style: none; flex: 2; justify-content: center; }
.nav-links a { color: var(--testo-soft); text-decoration: none; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; transition: color 0.3s; font-weight: 400; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--rosso); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--bianco); }
.nav-right-wrap { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: flex-end; }
.lang-switch { display: flex; gap: 8px; font-size: 11px; letter-spacing: 0.1em; }
.lang-switch a { text-decoration: none; transition: color 0.3s; }
.lang-it { color: var(--bianco); font-weight: 500; }
.lang-en { color: var(--testo-soft); }
.lang-en:hover { color: var(--bianco); }
.nav-cta { background: transparent; border: 1px solid var(--rosso); color: var(--testo); padding: 8px 20px; font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; text-decoration: none; position: relative; overflow: hidden; }
.nav-cta::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.08); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.nav-cta:hover::after { transform: scaleX(1); }
.nav-cta:hover { background: var(--rosso); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 1px; background: var(--testo); transition: all 0.3s; }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,10,10,0.98); flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--testo); text-decoration: none; font-weight: 300; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--rosso-vivo); }
.mobile-lang { font-family: 'Montserrat', sans-serif; font-size: 1rem; margin-top: 1rem; letter-spacing: 0.1em; }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--testo); font-size: 2rem; cursor: pointer; }

/* ─── HERO SHOP ─── */
.shop-hero {
  padding: 9rem 3rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shop-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,26,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.shop-hero-label {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--rosso); margin-bottom: 1.5rem; display: block;
}
.shop-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300; color: var(--bianco);
  line-height: 1.1; margin-bottom: 1.5rem;
}
.shop-hero h1 em { color: var(--rosso-vivo); font-style: italic; }
.shop-hero p {
  font-size: 13px; color: var(--testo-soft); line-height: 2;
  max-width: 480px; margin: 0 auto;
}
.divider-line {
  width: 60px; height: 1px; background: var(--rosso);
  margin: 2.5rem auto;
}

/* ─── AGE GATE ─── */
.age-gate {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(5,5,5,0.97);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem;
}
.age-gate.hidden { display: none; }
.age-gate img { height: 60px; margin-bottom: 1rem; opacity: 0.9; }
.age-gate h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; color: var(--bianco); }
.age-gate p { font-size: 12px; color: var(--testo-soft); letter-spacing: 0.05em; max-width: 360px; }
.age-btns { display: flex; gap: 1rem; margin-top: 0.5rem; }
.age-yes { background: var(--rosso); color: #fff; border: none; padding: 12px 36px; font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; transition: background 0.3s; }
.age-yes:hover { background: var(--rosso-vivo); }
.age-no { background: transparent; color: var(--testo-soft); border: 1px solid rgba(255,255,255,0.15); padding: 12px 36px; font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.age-no:hover { color: var(--bianco); border-color: rgba(255,255,255,0.4); }

/* ─── PRODOTTI ─── */
.products-section {
  max-width: 1100px; margin: 0 auto; padding: 2rem 3rem 6rem;
}
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
}

.product-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: #0d0505;
  border: 1px solid rgba(139,26,26,0.1);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.product-card:hover { border-color: rgba(139,26,26,0.35); box-shadow: 0 15px 50px rgba(0,0,0,0.5); }
.product-card:hover .prod-img { transform: scale(1.06); filter: brightness(0.85) saturate(1.15); }
.product-card:hover .prod-overlay { opacity: 1; }

.prod-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/5;
}
.prod-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1), filter 0.8s ease;
  filter: brightness(0.8) saturate(1.05);
  display: block;
  will-change: transform;
}
.prod-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.prod-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 60%, transparent 100%);
}
.prod-badge {
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--rosso); border: 1px solid rgba(139,26,26,0.5);
  padding: 3px 10px; display: inline-block; margin-bottom: 0.8rem;
}
.prod-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--bianco);
  line-height: 1; margin-bottom: 0.5rem;
}
.prod-desc {
  font-size: 11px; color: var(--testo-soft); line-height: 1.7;
  margin-bottom: 1.5rem; max-width: 320px;
}
.prod-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.prod-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--bianco); font-weight: 400;
}
.prod-price span { font-size: 12px; color: var(--testo-soft); font-family: 'Montserrat', sans-serif; font-weight: 300; letter-spacing: 0.05em; }
.prod-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.35);
  color: var(--bianco); padding: 10px 24px;
  font-family: 'Montserrat', sans-serif; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer;
  transition: all 0.3s; text-decoration: none;
  display: inline-block; white-space: nowrap;
}
.prod-btn:hover { background: var(--rosso); border-color: var(--rosso); }

/* ─── DETAIL PANEL (slide-up) ─── */
.detail-panel {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 5000;
  background: var(--grigio-scuro);
  border-top: 1px solid rgba(139,26,26,0.4);
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  max-height: 85vh; max-height: 88svh; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.detail-panel.open { transform: translateY(0); }
.detail-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.detail-img-col { position: relative; overflow: hidden; min-height: 380px; }
.detail-img-col img { width: 100%; height: 100%; object-fit: cover; }
.detail-info-col { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.detail-close {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 10;
  background: rgba(10,10,10,0.7); border: 1px solid rgba(255,255,255,0.15);
  color: var(--testo); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; transition: all 0.3s;
}
.detail-close:hover { background: var(--rosso); border-color: var(--rosso); }
.detail-label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rosso); margin-bottom: 1rem; }
.detail-name { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300; color: var(--bianco); line-height: 1; margin-bottom: 1.5rem; }
.detail-desc { font-size: 13px; color: var(--testo-soft); line-height: 1.9; margin-bottom: 2rem; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.spec-item { border-left: 2px solid rgba(139,26,26,0.4); padding-left: 1rem; }
.spec-label { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rosso); margin-bottom: 3px; }
.spec-val { font-size: 13px; color: var(--testo); }
.detail-price-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; flex-wrap: wrap; }
.order-btn-group { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.detail-price { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--bianco); }
.order-btn {
  background: var(--rosso); color: #fff; border: none;
  padding: 14px 32px; font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s; text-decoration: none;
  display: inline-block;
}
.order-btn:hover { background: var(--rosso-vivo); }
.order-btn-wa { background: transparent; border: 1px solid #25D366; color: #25D366; }
.order-btn-wa:hover { background: #25D366; color: #050505; }

/* ─── BACKDROP ─── */
.backdrop {
  position: fixed; inset: 0; z-index: 4999;
  background: rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.backdrop.show { opacity: 1; pointer-events: all; }

/* ─── INFO STRIP ─── */
.info-strip {
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 3rem; margin-bottom: 2rem;
  display: flex; justify-content: center; gap: 5rem;
  flex-wrap: wrap;
}
.info-item { display: flex; align-items: center; gap: 0.75rem; }
img.info-icon { width: 22px; height: 22px; object-fit: contain; }
.info-text { font-size: 11px; letter-spacing: 0.08em; color: var(--testo-soft); text-transform: uppercase; }

/* ─── FOOTER ─── */
footer {
  background: #050505; padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(139,26,26,0.2); margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto 3rem; }
.footer-logo img { height: 60px; margin-bottom: 1rem; }
.footer-desc { font-size: 13px; color: var(--testo-soft); line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rosso); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a { font-size: 13px; color: var(--testo-soft); text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--bianco); }
.footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 11px; color: var(--testo-soft); }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--testo-soft); text-decoration: none; font-size: 13px; transition: all 0.3s; }
.social-links a:hover { border-color: var(--rosso); color: var(--bianco); background: rgba(139,26,26,0.2); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links, .lang-switch { display: none; }
  .hamburger { display: flex; }
  .shop-hero { padding: 6.5rem 1.5rem 2.5rem; }
  .products-section { padding: 1rem 0 4rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .prod-name { font-size: 1.8rem; }
  .detail-inner { grid-template-columns: 1fr; }
  .detail-img-col { min-height: 240px; }
  .detail-info-col { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .info-strip { gap: 2.5rem; padding: 2rem 1.5rem; }
}

/* Responsive extra */
@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
  .order-btn-group { width: 100%; }
  .order-btn-group .order-btn { flex: 1; text-align: center; padding: 14px 10px; }
  .info-strip { gap: 1.5rem 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* Schermi molto piccoli */
@media (max-width: 360px) {
  .shop-hero h1 { font-size: 2.4rem; }
  .prod-info { padding: 1.25rem 1rem 1.5rem; }
  .detail-info-col { padding: 1.5rem 1.15rem; }
  .detail-name { font-size: 2.2rem; }
  .detail-specs { grid-template-columns: 1fr; }
  .age-gate { padding: 2rem 1.25rem; overflow-y: auto; }
}

/* Stampa / PDF */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .age-gate, .detail-panel, .backdrop, #lv-cookie { display: none !important; }
}
