/* Vostro Piacere - Shared Theme */
:root {
  --gold: #d4af37;
  --gold-2: #f4d03f;
  --gold-3: #ffea9a;
  --black: #0b0b0c;
  --surface: rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(212,175,55,.28);
  --border-soft: rgba(212,175,55,.18);
  --text: #e9e9e9;
  --muted: #bdbdbd;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --shadow-soft: 0 8px 25px rgba(0,0,0,.35);
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 15% 0%, rgba(212,175,55,.06), transparent),
    linear-gradient(180deg, #0a0a0a, #0f0f10);
  font-family: Montserrat, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Containers */
.wrap { max-width: 1280px; margin: 0 auto; padding: 24px; }
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }

/* Header */
header {
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 0 rgba(212,175,55,.08), 0 10px 30px rgba(0,0,0,.25);
}
.brand img { height: 40px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.brand strong { letter-spacing: .2px; }

/* Panels, Cards */
.panel, .card {
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,.02));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

/* Buttons */
.btn, button.btn, a.btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #000;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 8px 20px rgba(212,175,55,.15);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.02); box-shadow: 0 12px 26px rgba(212,175,55,.22); }
.btn:active { transform: translateY(0); filter: brightness(.98); }

.btn.secondary {
  background: rgba(255,255,255,.03);
  color: #eee;
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn.secondary:hover {
  background: rgba(255,255,255,.06);
}

/* Badges */
.badge {
  display: inline-block;
  background: rgba(212,175,55,.18);
  border: 1px solid rgba(212,175,55,.35);
  padding: 3px 10px;
  border-radius: 999px;
  color: #f2e7c0;
  font-size: 12px;
}

/* Tables */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; }
th { background: rgba(212,175,55,.08); color: #000; }
tr { border-bottom: 1px solid rgba(212,175,55,.12); }

/* Forms */
input, textarea, select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,.02);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.15);
  background: rgba(255,255,255,.03);
}
label { color: #ddd; }

/* Lines & Totals */
.line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.total { font-size: 22px; color: var(--gold); font-weight: 800; border-top: 1px dashed rgba(212,175,55,.3); padding-top: 10px; margin-top: 8px; }

/* Stage / Gallery */
.stage { background: radial-gradient(800px 400px at 50% -10%, rgba(212,175,55,.07), transparent); }
.stage img { filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.thumbs img { transition: transform .15s ease, opacity .15s ease, outline-color .2s ease; }
.thumbs img:hover { transform: translateY(-2px) scale(1.02); opacity: .95; }
.thumbs img.active { outline: 2px solid var(--gold); }

/* Details / Summary */
details { border: 1px solid var(--border-soft); border-radius: 12px; padding: 10px; background: rgba(255,255,255,.02); }
details summary { cursor: pointer; color: #ddd; }

/* Footer */
footer { color: #aaa; border-top: 1px solid rgba(212,175,55,.15); }

/* Responsive Tweaks */
@media (max-width: 1000px) {
  .wrap, .container { padding: 16px; }
  .brand img { height: 34px; }
}
