* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f4f1ec;
  --ink: #17130f;
  --muted: #746b60;
  --gold: #b18b4f;
  --line: #e3ddd3;
  --paper: #fffdf9;
  --black: #111;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.page {
  width: min(1500px, calc(100% - 32px));
  margin: 24px auto;
}

.hero {
  background: linear-gradient(135deg, #111 0%, #2a1b15 100%);
  color: #fff;
  padding: 34px 38px;
  border-radius: 24px 24px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 58px);
  letter-spacing: 3px;
  line-height: 1;
}

.subtitle {
  margin-top: 8px;
  color: rgba(255,255,255,.76);
}

.notice {
  max-width: 340px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  line-height: 1.45;
}

.toolbar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 240px;
  gap: 14px;
  background: var(--paper);
  padding: 22px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  font-size: 14px;
  color: var(--ink);
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  gap: 1px;
  border: 1px solid var(--line);
  border-bottom: 0;
}

.card {
  padding: 20px 24px;
  background: #fbf8f2;
}

.card span {
  font-size: 30px;
  font-weight: 800;
  color: #111;
}

.card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.table-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

.table-scroll {
  overflow-x: auto;
}

.price-list {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 980px;
}

.price-list thead {
  background: var(--black);
  color: #fff;
}

.price-list th {
  padding: 16px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,.18);
  white-space: normal;
  line-height: 1.25;
  vertical-align: middle;
}

.price-list th:last-child {
  border-right: 0;
}

.price-list td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  line-height: 1.35;
  font-size: 14px;
}

.price-list tbody tr:nth-child(even) td {
  background: #fcfaf6;
}

.price-list tbody tr:hover td {
  background: #f3eadc;
}

.price-list th:nth-child(1),
.price-list td:nth-child(1) {
  width: 18%;
  text-align: left;
  font-weight: 700;
}

.price-list th:nth-child(2),
.price-list td:nth-child(2) {
  width: 38%;
  text-align: left;
}

.price-list th:nth-child(3),
.price-list td:nth-child(3) {
  width: 10%;
  text-align: center;
}

.price-list th:nth-child(4),
.price-list td:nth-child(4) {
  width: 10%;
  text-align: center;
}

.price-list th:nth-child(5),
.price-list td:nth-child(5) {
  width: 16%;
  text-align: center;
  font-weight: 700;
}

.price-list th:nth-child(6),
.price-list td:nth-child(6) {
  width: 8%;
  text-align: center;
  font-weight: 700;
}

.empty {
  padding: 32px !important;
  text-align: center !important;
  color: var(--muted);
}

.footer {
  color: var(--muted);
  font-size: 12px;
  padding: 18px 6px;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    display: block;
    padding: 28px 22px;
  }

  .notice {
    margin-top: 18px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .summary {
    grid-template-columns: 1fr;
  }

  .page {
    width: min(100% - 20px, 1500px);
    margin: 10px auto;
  }
}
