@font-face {
  font-family: 'Brother';
  src: url('font/brother.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Brother';
  src: url('font/brother-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Brother';
  src: url('font/brother-italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Brother';
  src: url('font/brother-bold_italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

:root {
  --text: #1f1f1f;
  --muted: #6c7077;
  --line: #d8dadd;
  --bg: #ffffff;
  --head-bg: #f6f7f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Brother', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 40px;
}

.logo-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.logo {
  max-width: 140px;
  width: 100%;
  height: auto;
  display: inline-block;
}

h1 {
  margin: 0 0 24px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.price-list {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  table-layout: fixed;
}

.price-list thead th {
  background: var(--head-bg);
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.price-list th:nth-child(1),
.price-list td:nth-child(1) {
  width: 28%;
}

.price-list th:nth-child(2),
.price-list td:nth-child(2) {
  width: 52%;
}

.price-list th:nth-child(3),
.price-list td:nth-child(3) {
  width: 20%;
  text-align: right;
}
.price {
  display: inline-block;
  white-space: nowrap;
}	

.price-list tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 1rem;
  line-height: 1.45;
}

.price-list tbody tr:last-child td {
  border-bottom: none;
}

.category-row td {
  background: #fbfbfc;
  font-weight: 700;
  padding-top: 16px;
  padding-bottom: 16px;
}

.footer {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: right;
}

.admin-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 40px;
}

.admin-card {
  border: 1px solid var(--line);
  padding: 20px;
  margin-bottom: 18px;
  background: #fff;
}

.admin-card h2,
.admin-card h3 {
  margin-top: 0;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 14px;
}

button {
  padding: 10px 16px;
  border: 1px solid var(--text);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  margin-right: 8px;
  margin-bottom: 8px;
}

button.primary {
  background: var(--text);
  color: #fff;
}

.service-row {
  border: 1px solid var(--line);
  padding: 12px;
  margin-bottom: 10px;
  background: #fafafa;
}

.message {
  margin-top: 14px;
  font-size: 0.95rem;
  color: #1f5a99;
}

@media (max-width: 640px) {
  .page,
  .admin-wrap {
    padding: 22px 14px 30px;
  }

  .logo {
    max-width: 100px;
  }

  h1 {
    font-size: 1.55rem;
    margin-bottom: 18px;
  }

  .price-list thead th,
  .price-list tbody td {
    padding: 11px 10px;
    font-size: 0.95rem;
  }
}