:root {
  --cream: #f4e6d8;
  --ivory: #faf3ea;
  --paper: #fff8f1;
  --gold: #b89562;
  --gold-deep: #9a7544;
  --gold-soft: #d4bc93;
  --rose: #8d4f48;
  --rose-deep: #6e3732;
  --ink: #2f221d;
  --muted: #6f5c53;
  --line: rgba(184, 149, 98, 0.55);
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --font-script: "Great Vibes", cursive;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #3a2a24;
  color: var(--ink);
  font-family: var(--font-sans);
}

.toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: #2f221d;
  color: #faf3ea;
  font-size: 13px;
}
.toolbar a, .toolbar button {
  appearance: none;
  border: 1px solid rgba(212, 188, 147, 0.45);
  background: transparent;
  color: #faf3ea;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
.toolbar button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #2f221d;
  font-weight: 600;
}

.stage {
  min-height: 100vh;
  padding: 28px 16px 48px;
  display: grid;
  place-items: start center;
}

.sheet {
  width: 210mm;
  height: auto;
  min-height: 0;
  background:
    radial-gradient(ellipse at 20% 8%, rgba(255, 248, 241, 0.9), transparent 42%),
    radial-gradient(ellipse at 86% 92%, rgba(232, 196, 184, 0.28), transparent 46%),
    repeating-linear-gradient(0deg, rgba(184, 149, 98, 0.035) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, var(--ivory), var(--cream));
  color: var(--ink);
  position: relative;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.frame {
  position: absolute;
  inset: 8mm;
  border: 1.2px solid var(--gold);
  pointer-events: none;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 3.2mm;
  border: 0.6px solid var(--gold-soft);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 4.8mm;
  border: 0.35px solid rgba(141, 79, 72, 0.28);
}

.corner {
  position: absolute;
  width: 34mm;
  height: 34mm;
  z-index: 2;
  pointer-events: none;
  color: var(--gold-deep);
}
.corner.tl { top: 9mm; left: 9mm; }
.corner.tr { top: 9mm; right: 9mm; transform: scaleX(-1); }
.corner.bl { bottom: 9mm; left: 9mm; transform: scaleY(-1); }
.corner.br { bottom: 9mm; right: 9mm; transform: scale(-1); }

.inner {
  position: relative;
  z-index: 3;
  padding: 15mm 15mm 13mm;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.masthead {
  text-align: center;
  padding-top: 2mm;
}
.kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}
.masthead h1 {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-deep);
  line-height: 1;
}
.brand-script {
  margin: 4px 0 0;
  font-family: var(--font-script);
  font-size: 40px;
  color: var(--gold-deep);
  line-height: 1.1;
}
.brand-sub {
  margin: 2px 0 0;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rose);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 10px;
  color: var(--gold);
}
.ornament .rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament svg { display: block; }

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 3mm 0 2mm;
}
.section-label h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 600;
}
.section-label .rule {
  flex: 1;
  max-width: 72px;
  height: 1px;
  background: var(--gold);
  position: relative;
}
.section-label .rule::before,
.section-label .rule::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  background: var(--ivory);
}
.section-label .rule::before { left: -2px; }
.section-label .rule::after { right: -2px; }

.group {
  margin: 0;
}
.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 3mm;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}
.group-title::before,
.group-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--line), var(--gold-soft));
}
.group-title::after {
  background: linear-gradient(90deg, var(--gold-soft), var(--line), transparent);
}

.rows { display: grid; gap: 3.6mm; }

.row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 17px;
  line-height: 1.5;
}
.row .name { flex: 0 1 auto; max-width: 72%; }
.row .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(157, 116, 70, 0.5);
  transform: translateY(-3px);
  min-width: 12px;
}
.row .price {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--rose-deep);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.row.accent .price { color: var(--gold-deep); }

.crest {
  margin: 0;
  text-align: center;
  color: var(--gold);
  opacity: 0.9;
}
.crest svg { margin: 0 auto; display: block; }
.crest p {
  margin: 2mm 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--rose);
  letter-spacing: 0.04em;
}

.footer {
  margin-top: 3mm;
  padding-top: 4mm;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer strong {
  display: block;
  color: var(--rose-deep);
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.footer .phone {
  text-align: right;
  letter-spacing: 0.08em;
}

/* Hair menu */
.hair .masthead h1 { font-size: 32px; letter-spacing: 0.14em; }
.hair .brand-script { font-size: 34px; }
.hair .inner { padding: 16mm 20mm 14mm; }

.note {
  text-align: center;
  margin: 0 0 3mm;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-style: italic;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 4.2mm;
}
.block { margin: 0; }

.cols {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 5mm;
}
.gutter {
  background: linear-gradient(180deg, transparent, var(--gold-soft) 8%, var(--gold-soft) 92%, transparent);
  position: relative;
}
.gutter::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  background: var(--ivory);
  transform: translate(-50%, -50%) rotate(45deg);
}

.sec {
  margin: 0 0 2.2mm;
  text-align: center;
}
.sec span {
  display: inline-block;
  min-width: 86%;
  padding: 2.4mm 3mm 2mm;
  border: 1px solid var(--gold-soft);
  background: linear-gradient(180deg, rgba(255, 248, 241, 0.9), rgba(244, 230, 216, 0.7));
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.subhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 2.6mm 0 1.8mm;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--rose);
  font-style: italic;
}
.size-h {
  display: grid;
  grid-template-columns: 1fr 16mm 16mm 16mm;
  gap: 2px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 1.4mm;
}
.size-h span:not(:first-child) { text-align: center; }
.size-h.pair,
.hair .row.sized.pair {
  grid-template-columns: 1fr 22mm 22mm;
}

.nail .inner { padding: 11mm 16mm 10mm; }
.nail .kicker { font-size: 9px; letter-spacing: 0.32em; }
.nail .masthead { padding-top: 0; }
.nail .masthead h1 { font-size: 28px; margin-top: 3px; }
.nail .brand-script { font-size: 28px; margin-top: 2px; }
.nail .brand-sub { font-size: 11.5px; }
.nail .ornament { margin: 4px 0 5px; }
.nail .section-label { margin: 1.4mm 0 1mm; }
.nail .section-label h2 { font-size: 18px; }
.nail .stack {
  flex: 1;
  gap: 2.8mm;
  padding: 0;
  justify-content: space-between;
}
.nail .group { margin: 0; }
.nail .rows { gap: 1.6mm; }
.nail .row { font-size: 15px; line-height: 1.35; }
.nail .group-title { font-size: 15px; margin-bottom: 1.4mm; }
.nail .crest { margin-top: 1mm; }
.nail .crest svg { width: 52px; height: 32px; }
.nail .crest p { font-size: 11.5px; margin-top: 1.2mm; }
.nail .footer { font-size: 10px; margin-top: auto; padding-top: 3mm; }
.nail .footer strong { font-size: 13px; }

.hair .rows { gap: 2.6mm; }
.hair .row { font-size: 13.5px; line-height: 1.5; }
.hair .row.sized {
  display: grid;
  grid-template-columns: 1fr 16mm 16mm 16mm;
  gap: 2px;
}
.hair .row.sized .dots { display: none; }
.hair .row.sized .name { max-width: none; line-height: 1.35; padding-right: 4px; }
.hair .row.sized .price {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.hair .group-title { font-size: 15px; margin-bottom: 2mm; }

.noi .inner { padding: 16mm 20mm 14mm; }
.noi .masthead h1 { font-size: 34px; }
.noi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8mm 10mm;
  align-content: start;
}
.noi-grid .block:last-child { grid-column: 1 / -1; }
.noi .rows { gap: 2.6mm; }
.noi .row { font-size: 15.5px; line-height: 1.45; }
.noi .crest { margin-top: 2mm; }
.noi .crest p { font-size: 15px; }

.hint {
  margin: 0 0 1.6mm;
  font-size: 10.5px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

@media print {
  html, body { background: white; }
  .toolbar, .stage { display: contents; }
  .sheet {
    box-shadow: none;
    width: 210mm;
    min-height: 297mm;
    height: auto;
    overflow: hidden;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  @page { size: A4; margin: 0; }
  .inner { min-height: 297mm; }
  .cols { flex: 1; }
  .footer { margin-top: auto; }
  .nail.sheet {
    height: 297mm;
    min-height: 297mm;
    max-height: 297mm;
  }
  .nail .inner {
    height: 297mm;
    min-height: 297mm;
    max-height: 297mm;
  }
}

body.shot .toolbar { display: none; }
body.shot { background: #3a2a24; }
body.shot .stage { padding: 0; min-height: 0; }

html.embed, body.embed {
  background: transparent;
  width: 210mm;
  height: auto;
  overflow: visible;
}
body.embed .toolbar { display: none; }
body.embed .stage {
  padding: 0;
  min-height: 0;
  display: block;
}
body.embed .sheet {
  box-shadow: none;
  margin: 0;
  width: 210mm;
  height: auto;
}

.hair .row.sized .name {
  line-height: 1.3;
  padding-right: 4px;
}
