:root {
  --navy: #102e50;
  --blue: #2166a1;
  --teal: #168c98;
  --pale: #eaf3f8;
  --ink: #18364d;
  --muted: #597083;
  --line: #d7e4ec;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px/1.6 system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--ink);
  background: #fff;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--blue);
  color: white;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 12px 22px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 650;
  line-height: 1.5;
}
button:hover,
.button:hover {
  background: var(--navy);
  text-decoration: none;
}
.secondary {
  background: white;
  color: var(--blue);
  border-color: var(--line);
}
.small {
  padding: 8px 14px;
  font-size: 14px;
}
.top {
  background: var(--navy);
  color: #e8f2fa;
  padding: 9px max(5vw, 20px);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.top a {
  color: white;
}
header {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 22px 5vw;
  border-bottom: 1px solid var(--line);
}
.identity {
  margin-right: auto;
  min-width: 145px;
  color: var(--navy);
  font-weight: 900;
  font-size: 25px;
  letter-spacing: 0.08em;
}
.identity img {
  max-width: 190px;
  max-height: 70px;
  object-fit: contain;
}
nav {
  display: flex;
  gap: 25px;
}
nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.notice {
  background: #fff6dd;
  border-bottom: 1px solid #ead9a5;
  font-size: 12px;
  padding: 7px 5vw;
  color: #705312;
}
.hero {
  background: var(--pale);
  padding: 80px 6vw;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 65px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
h1,
h2,
h3 {
  line-height: 1.16;
  color: var(--navy);
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(32px, 4vw, 58px);
  letter-spacing: -0.04em;
  max-width: 800px;
}
h2 {
  font-size: 30px;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 20px;
}
p {
  margin: 0 0 20px;
}
.hero p {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-art {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 120px 8px 120px 8px;
  padding: 45px;
}
.optical {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 1px solid #bfdce7;
  background: radial-gradient(
    circle,
    #102e50 0 14%,
    #168c98 14.5% 24%,
    #85c8d1 24.5% 25%,
    #eaf3f8 25.5% 39%,
    white 39.5%
  );
  box-shadow:
    0 0 0 20px #eaf3f8,
    0 0 0 21px #d7e4ec;
}
.section {
  padding: 65px 6vw;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-head p {
  color: var(--muted);
  max-width: 500px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card p {
  color: var(--muted);
  font-size: 14px;
}
.card .number {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.card a:last-child {
  margin-top: auto;
}
.band {
  background: var(--navy);
  color: white;
  padding: 45px 6vw;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.band h2 {
  color: white;
}
.band p {
  color: #c0d6e9;
  margin: 0;
}
.page-head {
  background: var(--pale);
  padding: 40px 6vw;
}
.page-head h1 {
  font-size: 38px;
}
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding: 40px 6vw;
}
.filters {
  padding: 20px;
  background: #f5f9fb;
  border: 1px solid var(--line);
  border-radius: 6px;
  align-self: start;
}
.filters label {
  margin-bottom: 20px;
}
.filters h3 {
  font-size: 16px;
}
.result-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.empty {
  padding: 65px 25px;
  text-align: center;
  border: 1px dashed #a9c4d5;
  border-radius: 8px;
  color: var(--muted);
  background: #f9fcfd;
}
.empty h2 {
  font-size: 23px;
}
.product-image {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pale);
  margin: -28px -28px 15px;
  border-radius: 8px 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.price {
  font-weight: 750;
  color: var(--navy);
  font-size: 19px;
}
.tag {
  font-size: 12px;
  padding: 3px 8px;
  background: var(--pale);
  border-radius: 4px;
  display: inline-block;
  color: var(--blue);
}
.muted {
  color: var(--muted);
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}
.detail-image {
  height: 390px;
  background: var(--pale);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.thumbnails img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}
.prose {
  white-space: pre-wrap;
  max-width: 850px;
}
.narrow {
  max-width: 850px;
  margin: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid #b9cbd7;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  margin-top: 6px;
}
textarea {
  min-height: 110px;
}
input[type="checkbox"] {
  display: inline;
  width: auto;
  margin: 0 8px 0 0;
}
.full {
  grid-column: 1/-1;
}
.check {
  display: flex;
  align-items: start;
  font-weight: 400;
}
.check input {
  margin-top: 6px;
}
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
}
.cart-row {
  display: grid;
  grid-template-columns: 1fr 90px 110px;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row input {
  max-width: 85px;
}
.error {
  color: #a92c30;
  background: #fff0f0;
  padding: 12px;
  border-radius: 4px;
}
.success {
  background: #e8f6f3;
  border: 1px solid #a6d6cb;
  padding: 25px;
  overflow-wrap: anywhere;
}
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.admin-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.admin-row form {
  margin-top: 15px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--pale);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
details {
  margin: 15px 0;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 6px;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
.chart-row {
  display: grid;
  grid-template-columns: 110px 1fr 45px;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}
.chart-row meter {
  width: 100%;
  height: 24px;
}
.chart {
  padding: 20px;
  background: var(--pale);
  margin-top: 20px;
}
footer {
  padding: 45px 5vw;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  background: #f3f7fa;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer strong {
  font-size: 18px;
  color: var(--navy);
}
footer p {
  margin: 10px 0;
}
footer a {
  line-height: 2.3;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: 350px;
  background: var(--navy);
  color: white;
  padding: 15px 25px;
  border-radius: 6px;
  box-shadow: 0 4px 25px #0002;
}
#toast:empty {
  display: none;
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  padding: 10px;
  z-index: 99;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.loading {
  padding: 60px;
}
@media (max-width: 1000px) {
  header {
    gap: 15px;
    flex-wrap: wrap;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    gap: 30px;
  }
  .layout {
    grid-template-columns: 200px 1fr;
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .top span {
    max-width: 210px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 6vw;
  }
  .hero-art {
    min-height: 230px;
  }
  .optical {
    width: 170px;
    height: 170px;
  }
  .grid,
  .detail,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 40px 6vw;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .filters h3 {
    grid-column: 1/-1;
  }
  .filters label {
    margin-bottom: 5px;
  }
  .band,
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .detail-image {
    height: 270px;
  }
  .cart-row {
    grid-template-columns: 1fr 75px;
  }
  .cart-row button {
    grid-column: 2;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .identity {
    min-width: 100px;
    font-size: 20px;
  }
  .identity img {
    max-width: 145px;
  }
  .page-head h1 {
    font-size: 30px;
  }
  nav a {
    font-size: 12px;
  }
}
