:root {
  --font-body: Outfit, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --ivory: #f7f1e8;
  --paper: #fffcf7;
  --ink: #1a1714;
  --muted: #7a7268;
  --gold: #a67c52;
  --gold-deep: #7c5a38;
  --line: #e6dccf;
  --shadow: 0 24px 50px rgba(26, 23, 20, 0.1);
  --radius: 2px;
  --header: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body), "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ivory);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display), Georgia, serif; font-weight: 500; letter-spacing: 0.02em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 32px; background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand img { height: 52px; width: 52px; object-fit: cover; border: 1px solid var(--line); }
.nav-desktop { display: flex; gap: 26px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.nav-desktop a:hover { color: var(--gold-deep); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 0; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; height: 1px; margin: 0 10px; background: var(--ink); }

.cart-trigger, .btn-add, .btn-ghost, .btn-whatsapp, .chip {
  border-radius: 0; border: 1px solid transparent;
}
.cart-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-color: var(--line); padding: 9px 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px;
}
.cart-trigger strong {
  min-width: 20px; height: 20px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 11px;
}
.btn-whatsapp {
  display: inline-flex; justify-content: center; align-items: center;
  background: var(--ink); color: #fff; font-weight: 700; padding: 12px 18px;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px;
}
.btn-whatsapp--small { padding: 9px 14px; }
.btn-add {
  background: var(--gold-deep); color: #fff; font-weight: 700; padding: 10px 16px; border: 0;
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px;
}
.btn-ghost { background: transparent; border: 1px solid var(--line); padding: 10px 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.linkish { background: none; border: 0; color: var(--gold-deep); font-weight: 700; padding: 0; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 11px; font-weight: 700; color: var(--gold-deep); margin: 0 0 16px;
}
.eyebrow.light { color: #e8d5b5; }

.hero-stage {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  place-items: end start;
  color: #f7f1e8;
  overflow: hidden;
}
.hero-stage__photo { object-fit: cover; }
.hero-stage__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(12,10,8,0.15) 0%, rgba(12,10,8,0.55) 48%, rgba(12,10,8,0.88) 100%);
}
.hero-stage__copy {
  position: relative; z-index: 2;
  padding: 8vh 8vw 10vh;
  max-width: 720px;
}
.hero-stage__mark {
  width: 108px; height: 108px; object-fit: cover;
  margin-bottom: 28px;
  border: 1px solid rgba(232, 213, 181, 0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.hero-stage h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.92;
  margin: 0 0 18px;
  color: #fffaf3;
}
.hero-stage p { color: rgba(247, 241, 232, 0.78); max-width: 38ch; font-size: 1.08rem; margin: 0 0 28px; }
.btn-light {
  display: inline-flex; align-items: center;
  padding: 14px 22px;
  border: 1px solid #e8d5b5;
  color: #f7f1e8;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
.btn-light:hover { background: #e8d5b5; color: #1a1714; }

.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fffcf7;
}
.formats article {
  padding: 36px 8vw 36px 32px;
  border-right: 1px solid var(--line);
}
.formats article:last-child { border-right: 0; }
.formats span {
  display: block; color: var(--gold); letter-spacing: 0.2em; font-size: 11px; font-weight: 700; margin-bottom: 10px;
}
.formats h2 { margin: 0 0 8px; font-size: 2rem; }
.formats p { margin: 0; color: var(--muted); }

.stage-band {
  position: relative;
  min-height: 72svh;
  display: grid;
  place-items: center start;
  color: #f7f1e8;
  overflow: hidden;
}
.stage-band img { object-fit: cover; }
.stage-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,10,8,0.82) 8%, rgba(12,10,8,0.35) 58%, rgba(12,10,8,0.12) 100%);
}
.stage-band__copy {
  position: relative; z-index: 1;
  padding: 10vh 8vw;
  max-width: 560px;
}
.stage-band h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 0 0 16px;
  color: #fffaf3;
}
.stage-band p { color: rgba(247,241,232,0.8); margin: 0 0 28px; }

.catalog, .band { padding: 56px 8vw 72px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 8px 0; }
.section-head p { color: var(--muted); max-width: 48ch; }
.search-panel {
  margin: 36px 0 8px;
  padding: 28px 28px 24px;
  background: #fffcf7;
  border: 1px solid var(--line);
}
.search-panel h2 { margin: 0 0 18px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.search-panel .search input {
  font-size: 1.05rem;
  padding: 16px 18px;
}
.search-count { margin: 12px 0 0; color: var(--muted); font-size: 0.92rem; }
.catalog-tools { display: grid; gap: 14px; margin: 28px 0; }
.search input, label input, label select, label textarea, .login-card input {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 0; padding: 12px 14px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: #fff; border-color: var(--line); padding: 8px 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }
.product-cat { text-transform: uppercase; }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px;
}
.product-card, .admin-card, .login-card, .cart-page-box {
  background: var(--paper); border: 1px solid var(--line); overflow: hidden;
}
.product-photo { height: 280px; background: #efe6d8 center/cover no-repeat; }
.product-photo.is-empty { background: linear-gradient(160deg, #efe4d3, #f7f1e8); }
.product-body { padding: 16px 16px 18px; display: grid; gap: 6px; }
.product-cat { color: var(--gold-deep); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.product-body h3 { margin: 0; font-size: 1.35rem; }
.product-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.product-meta { font-weight: 600; color: var(--ink) !important; }
.product-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.empty-note { color: var(--muted); }

.band { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.band article { padding: 8px 0; }
.band img { width: 100%; height: 420px; object-fit: cover; border: 1px solid var(--line); }

.site-footer {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px;
  padding: 40px 8vw 32px; border-top: 1px solid var(--line); background: #fffcf7;
}
.site-footer h2 { font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer a, .site-footer p { display: block; color: var(--muted); margin: 6px 0; }
.site-footer .motteis-signature {
  grid-column: 1 / -1; justify-self: end; display: inline-flex; min-height: 44px;
  align-items: center; gap: 9px; margin: 8px 0 0; padding: 8px 16px 8px 14px;
  color: #fff; background: #161616; border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
}
.motteis-signature-label { color: rgba(255,255,255,.45); font-size: 0.68rem; }
.motteis-lockup { color: #fff; font-size: 1rem; font-weight: 650; letter-spacing: -0.06em; }
.motteis-bracket-accent { color: #0a5cff; }
.motteis-arrow { width: 0.9rem; height: 0.9rem; color: rgba(255,255,255,.45); }

.drawer-root { position: fixed; inset: 0; z-index: 60; }
.drawer-root[hidden] { display: none !important; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(26,23,20,.4); border: 0; width: 100%; }
.cart-panel, .menu-panel {
  position: absolute; right: 0; top: 0; height: 100%; width: min(420px, 100%);
  background: var(--paper); display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.cart-panel__head, .menu-panel header, .cart-panel__foot {
  padding: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
}
.cart-panel__head h2, .cart-panel__head p { margin: 0; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; font-size: 22px; }
.cart-lines, .cart-empty { padding: 0 18px; overflow: auto; flex: 1; }
.cart-line, .admin-list li, .cart-page-list li {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.cart-line { grid-template-columns: 64px 1fr; }
.cart-line .qty, .cart-line .linkish { grid-column: 2; justify-self: start; }
.cart-line__thumb, .thumb { width: 64px; height: 64px; background: #efe6d8 center/cover no-repeat; }
.cart-line__info h3, .cart-line__info p, .cart-line__info span { margin: 0; }
.cart-line__info span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 4px; }
.qty button { width: 28px; height: 28px; border: 0; background: #fff; }
.cart-panel__foot { flex-direction: column; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; width: 100%; }
.menu-panel nav { display: grid; padding: 8px 18px; gap: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; }
.menu-panel .btn-whatsapp { margin: 18px; }

.cart-page { padding: 40px 8vw 72px; }
.cart-page h1 { font-size: 2.6rem; }
.cart-page-list { list-style: none; padding: 0; }
.cart-page-list li { grid-template-columns: 72px 1fr auto auto auto; }
.cart-page-box { padding: 20px; display: grid; gap: 12px; max-width: 520px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--ivory); }
.login-card { width: min(420px, 100%); padding: 28px; display: grid; gap: 12px; }
.login-card h1 { margin: 0; }
.form-error { color: #8a2a2a; font-weight: 700; }
.hint { color: var(--muted); font-size: 13px; }

.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--ivory); }
.admin-side { padding: 24px 18px; border-right: 1px solid var(--line); background: #fffcf7; display: flex; flex-direction: column; gap: 12px; }
.admin-kicker { margin: 0; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; font-weight: 700; color: var(--gold-deep); }
.admin-side h1 { margin: 0 0 12px; font-size: 1.6rem; }
.admin-side nav { display: grid; gap: 4px; }
.admin-side nav a { padding: 10px 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; }
.admin-side nav a.is-on { background: var(--ink); color: #fff; }
.admin-main { padding: 28px; }
.admin-grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 18px; }
.admin-card { padding: 20px; display: grid; gap: 12px; }
.admin-list { list-style: none; padding: 0; margin: 0; }
.admin-list li { grid-template-columns: 1fr auto; }
.admin-list li:has(.thumb) { grid-template-columns: 56px 1fr auto; }
.row-actions { display: flex; gap: 8px; }
.row-actions button, .check { background: none; border: 0; font-weight: 700; }
.image-preview { height: 140px; background: center/cover no-repeat; border: 1px solid var(--line); }
.check { display: flex; align-items: center; gap: 8px; }
.form-actions { display: flex; gap: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: #fffcf7; border: 1px solid var(--line); padding: 16px; }
.stat strong { display: block; font-size: 1.8rem; font-family: var(--font-display), Georgia, serif; }

.admin-shell{max-width:1100px;margin:0 auto;padding:28px}.form-error{color:#8a2a2a;font-weight:700}.admin-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.admin-tabs{display:flex;gap:8px;margin-bottom:16px}.admin-tabs button{border:1px solid var(--line);background:#fff;padding:8px 14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:11px}.admin-tabs .active{background:var(--ink);color:#fff}.admin-grid{display:grid;grid-template-columns:minmax(280px,380px) 1fr;gap:18px}.admin-card{background:var(--paper);border:1px solid var(--line);padding:20px;display:grid;gap:12px}.admin-preview{height:140px;object-fit:cover;width:100%;border:1px solid var(--line)}.admin-list{display:grid;gap:10px}.admin-list article{display:grid;grid-template-columns:56px 1fr auto;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:10px}.admin-list img{width:56px;height:56px;object-fit:cover}.admin-check{flex-direction:row!important;align-items:center;gap:8px}.hero-stage,.stage-band{position:relative}
.hero-stage__photo,.stage-band img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (max-width: 900px) {
  .admin, .admin-grid, .site-footer, .formats { grid-template-columns: 1fr; }
  .formats article { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 16px; }
  .nav-desktop, .btn-whatsapp--small { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header { padding: 0 14px; }
  .hero-stage__copy, .catalog, .stage-band__copy, .cart-page { padding-inline: 16px; }
  .hero-stage { min-height: 86svh; }
  .admin-main { padding: 16px; }
  .cart-page-list li { grid-template-columns: 64px 1fr; }
}
