:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Helvetica, "Microsoft YaHei", sans-serif;
  color: #142638;
  background: #fff;
  --steel: #142638;
  --quiet: #4a5d6d;
  --line: #dce4e9;
  --mist: #f0f4f6;
  --copper: #ef9b5c;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #298ccb; outline-offset: 3px; }
.wrap { width: min(100% - 3rem, 1260px); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); background: white; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.75rem; }
.nav nav { display: flex; gap: clamp(.9rem, 2.6vw, 2.3rem); align-items: center; }
.nav a { text-decoration: none; font-weight: 650; }
.nav a:hover { text-decoration: underline; }
.brand { display: inline-flex; gap: .75rem; align-items: center; font-size: 1.15rem; letter-spacing: -.035em; }
.brand-mark { display: flex; align-items: flex-end; gap: 3px; padding: 8px; height: 34px; width: 34px; background: var(--steel); }
.brand-mark i { display: block; width: 4px; height: 8px; background: var(--copper); }
.brand-mark i:nth-child(2) { height: 13px; }
.brand-mark i:nth-child(3) { height: 18px; }
.small-link { border: 1px solid var(--line); padding: .65rem .85rem; font-size: .9rem; white-space: nowrap; }
.hero { background: #111f2b; color: #fff; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; align-items: stretch; }
.hero-copy { padding-block: clamp(4rem, 9vw, 7.5rem); padding-right: 1.5rem; }
.overline { font-size: .82rem; font-weight: 750; letter-spacing: .11em; }
.hero .overline { color: #ffc197; }
h1, h2, h3, p { margin: 0 0 .85rem; }
p { line-height: 1.55; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); }
h3 { font-size: 1.4rem; }
.hero-copy > p:not(.overline) { font-size: 1.15rem; max-width: 31rem; color: #cbd6df; margin-bottom: 1.65rem; }
.hero-image { position: relative; margin: 0; min-height: 240px; background: linear-gradient(145deg, #1f3648, #101b25); }
.hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-image figcaption { position: absolute; right: 1rem; bottom: 1rem; padding: .25rem .45rem; color: white; background: #162732; font-size: .82rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1rem; border: 1px solid transparent; background: var(--copper); color: #162732; text-decoration: none; font-weight: 750; }
.button:hover { background: #ffb783; }
.button.secondary { color: #fff; background: transparent; border-color: #627784; }
.button.secondary:hover { background: #253747; }
.button.muted { background: var(--mist); border-color: var(--line); }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-lead { margin-bottom: 1.65rem; }
.section-lead p, .contact p, .locations p:not(.overline), .hint { color: var(--quiet); }
.catalog-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { padding: .55rem .75rem; min-height: 42px; border: 1px solid var(--line); background: #fff; color: var(--steel); font-size: .92rem; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--steel); color: #fff; border-color: var(--steel); }
input, select, textarea { min-width: 0; width: 100%; padding: .65rem .75rem; border: 1px solid #a9b9c5; color: var(--steel); background: white; }
input[type='search'] { width: min(100%, 19rem); }
select { appearance: none; padding-right: 2.25rem; background: linear-gradient(45deg, transparent 50%, #526879 50%) calc(100% - 17px) 51%/5px 5px no-repeat, linear-gradient(135deg, #526879 50%, transparent 50%) calc(100% - 12px) 51%/5px 5px no-repeat, white; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: 1rem; }
.product { text-decoration: none; color: inherit; border: 1px solid var(--line); }
.product:hover { border-color: #546978; }
.product img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--mist); display: block; }
.product-info { padding: 1rem; }
.product-info h3 { margin-top: .4rem; }
.product-info p, .part-number { color: var(--quiet); }
.empty { grid-column: 1 / -1; background: var(--mist); padding: 1rem; }
.factory { background: var(--mist); }
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
.locations article { border-left: 3px solid #dc8e55; padding: 1.25rem; background: #fff; }
.contact { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 1.5rem; color: var(--quiet); }
.return { display: inline-block; margin-bottom: 1.5rem; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 4vw, 4rem); }
.detail h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.detail-images { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.detail-images > :first-child { grid-column: 1 / -1; }
.detail-images img, .image-placeholder { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--mist); }
.image-placeholder { display: grid; place-items: center; }
.description { white-space: pre-wrap; }
.admin-title { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.editor-grid { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.3fr); gap: 1rem; align-items: start; margin-top: 1rem; }
.panel { border: 1px solid var(--line); padding: 1.25rem; }
.panel h2 { font-size: 1.35rem; }
.panel-title { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.panel-title h2 { margin: 0; }
summary { cursor: pointer; font-weight: 700; }
.settings-form { margin-top: 1rem; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
form label { display: grid; gap: .35rem; margin-bottom: .85rem; font-weight: 650; }
.editor-row { display: flex; width: 100%; justify-content: space-between; gap: .5rem; align-items: center; text-align: left; border: 0; border-top: 1px solid var(--line); background: white; padding: .75rem .4rem; color: inherit; }
.editor-row:hover { background: var(--mist); }
.row-name { display: grid; overflow-wrap: anywhere; }
.row-name span { color: var(--quiet); }
.row-status { white-space: nowrap; font-size: .9rem; }
.photo-list { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1rem; }
.photo-item { width: 100px; display: grid; gap: .3rem; }
.photo-item img { height: 75px; width: 100%; object-fit: contain; background: var(--mist); }
.text-button { border: 1px solid var(--line); padding: .25rem; background: white; color: var(--steel); }
.hint { font-size: .9rem; }
.notice { margin-top: .65rem; margin-bottom: 0; font-weight: 650; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .nav { flex-wrap: wrap; padding-block: .7rem; gap: .65rem; }
  .nav nav { order: 3; width: 100%; padding-block: .25rem; }
  .hero-layout, .locations, .detail, .editor-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 2.75rem 2rem; }
  .hero-image:not(:has(img)) { display: none; }
  .hero-image { min-height: 220px; }
  .contact { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .form-pair { grid-template-columns: 1fr; gap: 0; }
}
