:root {
  --red: #e32929;
  --ink: #18191b;
  --muted: #777b80;
  --line: #e5e6e8;
  --bg: #f5f6f7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    16px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background: white;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
.button {
  border: 1px solid var(--line);
  background: white;
  padding: 12px 19px;
  border-radius: 6px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
}
.primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.ghost {
  background: transparent;
}
.small {
  padding: 8px 12px;
  font-size: 14px;
}
.wide {
  width: 100%;
}
.muted {
  color: var(--muted);
}
.red {
  color: var(--red);
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.logo {
  font-size: 26px;
  letter-spacing: -1.3px;
  font-weight: 900;
  white-space: nowrap;
  line-height: 1;
}
.wheel {
  color: var(--red);
  display: inline-block;
  border: 3px solid var(--red);
  width: 19px;
  height: 19px;
  border-radius: 50%;
  font-size: 0;
  position: relative;
  margin: 0 1px;
}
.wheel:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  top: 4px;
  left: 4px;
}
.topline {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.5px;
}
header {
  height: 88px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 0 max(28px, calc((100vw - 1360px) / 2));
  position: relative;
  z-index: 4;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a.active {
  color: var(--red);
}
.header-right {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.menu-toggle {
  display: none;
}
.container {
  max-width: 1416px;
  margin: auto;
  padding: 0 28px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -1.8px;
  margin-bottom: 14px;
}
h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
}
p {
  color: #686c71;
}
.hero {
  padding: 46px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.hero p {
  margin: 0;
}
.hero-note {
  max-width: 260px;
  font-size: 14px;
  border-left: 2px solid var(--red);
  padding-left: 18px;
}
.catalog-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.search {
  position: relative;
  flex: 1;
}
.search input {
  padding-left: 44px;
  background: var(--bg);
}
.search:before {
  content: "⌕";
  position: absolute;
  left: 16px;
  font-size: 27px;
  top: 3px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}
.filters {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.filters h3 {
  display: flex;
  justify-content: space-between;
}
.filter-group {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.filter-group > label {
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip {
  padding: 8px 12px;
  min-height: 40px;
  font-size: 14px;
  font-weight: 500;
}
.chip.active {
  border-color: var(--red);
  background: #fff0f0;
  color: var(--red);
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dcdfe2;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  min-height: 46px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #e3292940;
  border-color: var(--red);
}
input[type="checkbox"],
input[type="radio"] {
  width: 19px;
  height: 19px;
  min-height: auto;
  accent-color: var(--red);
}
input[type="range"] {
  padding: 0;
  accent-color: var(--red);
}
.results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  font-size: 14px;
  gap: 12px;
}
.results-head select {
  width: auto;
  font-size: 14px;
  max-width: 200px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.photo {
  aspect-ratio: 1.38;
  background: #f3f4f5;
  position: relative;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.card:hover .photo img {
  transform: scale(1.025);
}
.tag {
  position: absolute;
  left: 13px;
  top: 13px;
  background: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 3px;
  font-weight: 650;
}
.card-body {
  padding: 17px;
}
.card-kicker {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}
.spec-mini {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #656970;
  margin: 12px 0 18px;
}
.spec-mini span + span {
  border-left: 1px solid #ddd;
  padding-left: 10px;
}
.price {
  font-size: 25px;
  letter-spacing: -0.6px;
  font-weight: 800;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 15px 0 0;
}
.status {
  font-size: 12px;
  font-weight: 650;
  color: #36735c;
}
.status.reserve {
  color: #ac7620;
}
.card .button {
  font-size: 14px;
  padding: 10px 14px;
  min-height: 42px;
}
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 56px;
}
.pager .active {
  background: var(--ink);
  color: white;
}
.load-more,
.mobile-filter,
.filter-mobile-head {
  display: none;
}
.empty {
  padding: 70px 20px;
  text-align: center;
  grid-column: 1/-1;
  background: var(--bg);
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.demo-label {
  font-size: 12px;
  color: #777;
  margin-top: 12px;
}
.breadcrumbs {
  font-size: 14px;
  color: var(--muted);
  padding: 25px 0;
}
.product-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 54px;
}
.gallery-main {
  aspect-ratio: 1.35;
  background: var(--bg);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-arrows {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 7px;
}
.gallery-count {
  position: absolute;
  left: 16px;
  bottom: 20px;
  background: #fff;
  padding: 5px 11px;
  border-radius: 4px;
  font-size: 13px;
}
.thumbs {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 4px;
}
.thumbs button {
  padding: 0;
  min-width: 70px;
  width: 70px;
  height: 57px;
  overflow: hidden;
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs .active {
  border: 2px solid var(--red);
}
.product-info h1 {
  font-size: 38px;
  margin-top: 12px;
}
.product-info .price {
  font-size: 36px;
  margin: 18px 0;
}
.primary-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 22px 0;
  margin: 22px 0;
  border-block: 1px solid var(--line);
}
.primary-specs small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #777;
  margin-bottom: 8px;
}
.primary-specs strong {
  font-size: 19px;
}
.stack {
  display: grid;
  gap: 12px;
}
.benefits {
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: #686c71;
  margin-top: 24px;
}
.details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 64px;
}
.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 14px;
}
.spec-table > * {
  padding: 11px 12px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.spec-table dt {
  color: #777;
  background: #fafafa;
}
.video {
  aspect-ratio: 16/9;
  background: #202226;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  color: white;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
}
.video img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.video span {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.play {
  background: var(--red);
  border-radius: 12px;
  padding: 12px 25px;
  font-size: 24px;
}
.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.section {
  margin: 48px 0;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 54px;
  max-width: 1050px;
  margin: 35px auto;
}
.panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.subtle {
  background: var(--bg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  margin-top: 7px;
  font-weight: 400;
}
.field.full {
  grid-column: 1/-1;
}
.checkout-summary {
  align-self: start;
  position: sticky;
  top: 24px;
}
.checkout-summary img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
  border-radius: 4px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
}
.payment-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.payment-choice:has(input:checked) {
  border-color: var(--red);
  background: #fff7f7;
}
.success {
  text-align: center;
  max-width: 650px;
  margin: 70px auto;
  padding: 40px;
}
.success-mark {
  font-size: 44px;
  color: #357258;
}
.about-intro {
  max-width: 780px;
  margin: 55px auto 35px;
  text-align: center;
}
.about-intro h1 {
  font-size: 55px;
}
.about-video {
  max-width: 1050px;
  margin: auto;
}
.history {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.history figure {
  min-width: calc((100% - 40px) / 3);
  margin: 0;
  scroll-snap-align: start;
}
.history img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  border-radius: 6px;
}
.history figcaption {
  margin-top: 14px;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1050px;
  margin: 65px auto;
}
.contact-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  background: var(--bg);
  gap: 20px;
}
.account-band {
  background: var(--ink);
  color: white;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  margin-top: 28px;
}
.account-band p {
  color: #c4c6ca;
  margin: 0;
}
.discount-pill {
  background: var(--red);
  padding: 13px 20px;
  border-radius: 5px;
  font-weight: 700;
}
.rrp {
  color: #777;
  font-size: 14px;
  text-decoration: line-through;
}
.admin-shell {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 85vh;
  background: var(--bg);
}
.admin-sidebar {
  padding: 28px 18px;
  border-right: 1px solid var(--line);
  background: #fff;
}
.admin-sidebar button {
  border: 0;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 6px;
  font-size: 14px;
}
.admin-sidebar button.active {
  background: #fff0f0;
  color: var(--red);
}
.admin-content {
  padding: 35px;
  min-width: 0;
  max-width: 1300px;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
  gap: 20px;
}
.admin-heading h1 {
  font-size: 32px;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}
.stat strong {
  display: block;
  font-size: 32px;
}
.stat span {
  font-size: 13px;
  color: var(--muted);
}
.list {
  display: grid;
  gap: 12px;
}
.list-row {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.list-row img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}
.grow {
  flex: 1;
  min-width: 0;
}
.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.admin-bottom {
  display: none;
}
.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.upload-box {
  border: 1px dashed #b9bec4;
  padding: 26px;
  text-align: center;
  border-radius: 8px;
  background: var(--bg);
}
.upload-box input {
  border: none;
  margin-top: 10px;
}
.photo-edit {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.photo-edit > div {
  width: 120px;
}
.photo-edit img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}
.photo-edit button {
  font-size: 12px;
  padding: 5px;
  min-height: 34px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
td,
th {
  text-align: left;
  padding: 15px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-weight: 500;
}
.notice {
  background: #fff2f2;
  border: 1px solid #f9dada;
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 14px;
}
.admin-form {
  max-width: 900px;
}
.admin-form h2 {
  font-size: 22px;
  margin: 32px 0 18px;
}
.savebar {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  z-index: 3;
}
dialog {
  border: 0;
  border-radius: 10px;
  padding: 30px;
  width: min(540px, calc(100% - 28px));
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 80px #0003;
}
dialog::backdrop {
  background: #13151ab3;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.dialog-head h2 {
  margin: 0;
  font-size: 25px;
}
.close {
  padding: 5px 12px;
  font-size: 24px;
  min-height: 42px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #202226;
  color: white;
  padding: 14px 24px;
  border-radius: 6px;
  z-index: 99;
  max-width: 90vw;
  font-size: 14px;
  display: none;
}
.preview-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 12px;
  color: #777;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-top h2 {
  margin: 0;
}
.required-note {
  font-size: 12px;
  color: #777;
}
.catalog-end {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin-top: 25px;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid #e3292980;
  outline-offset: 3px;
}
@media (min-width: 1550px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-content {
    padding: 24px;
  }
  .product-layout {
    gap: 28px;
  }
  .checkout-layout {
    gap: 25px;
    grid-template-columns: 1fr 330px;
  }
  .row-actions {
    max-width: 210px;
  }
  .hero-note {
    display: none;
  }
}
@media (max-width: 760px) {
  .topline {
    font-size: 11px;
  }
  header {
    height: 70px;
    padding: 0 18px;
    gap: 14px;
  }
  .logo {
    font-size: 23px;
  }
  .wheel {
    width: 17px;
    height: 17px;
  }
  .wheel:after {
    top: 3px;
    left: 3px;
  }
  header nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }
  header nav.open {
    display: grid;
  }
  .header-right {
    gap: 7px;
  }
  .header-search {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    padding: 7px 12px;
    font-size: 20px;
  }
  .header-right .button {
    padding: 9px 12px;
    font-size: 14px;
  }
  .container {
    padding: 0 18px;
  }
  h1 {
    font-size: 34px;
    letter-spacing: -1.2px;
  }
  h2 {
    font-size: 25px;
  }
  .hero {
    padding: 30px 0 24px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero .eyebrow {
    margin-bottom: 9px;
  }
  .catalog-toolbar {
    margin-bottom: 18px;
  }
  .catalog-layout {
    display: block;
  }
  .mobile-filter {
    display: inline-flex;
  }
  .filters {
    display: none;
    position: fixed;
    inset: 0;
    background: white;
    z-index: 20;
    padding: 20px 22px 90px;
    overflow: auto;
  }
  .filters.open {
    display: block;
  }
  .filter-mobile-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .filters .apply-filters {
    position: sticky;
    bottom: -70px;
    margin-top: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .photo {
    aspect-ratio: 1.4;
  }
  .card-body {
    padding: 20px;
  }
  .card h3 {
    font-size: 22px;
  }
  .spec-mini {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .price {
    font-size: 27px;
  }
  .card-bottom {
    margin-top: 14px;
  }
  .card-bottom .button {
    padding: 12px 20px;
  }
  .results-head {
    font-size: 13px;
  }
  .results-head select {
    max-width: 165px;
    padding: 9px;
  }
  .pager {
    display: none;
  }
  .load-more {
    display: flex;
    width: 100%;
    margin-top: 25px;
  }
  .footer-inner {
    display: grid;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .product-layout,
  .details-layout,
  .checkout-layout,
  .story {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .breadcrumbs {
    font-size: 12px;
    padding: 18px 0;
  }
  .product-info h1 {
    font-size: 32px;
  }
  .primary-specs {
    margin: 18px 0;
  }
  .primary-specs strong {
    font-size: 18px;
  }
  .primary-specs small {
    font-size: 10px;
  }
  .details-layout {
    margin-top: 40px;
  }
  .section {
    margin: 35px 0;
  }
  .checkout-layout {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 24px;
  }
  .checkout-summary {
    position: static;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 16px;
  }
  .checkout-summary img {
    height: 95px;
  }
  .checkout-summary .summary-totals {
    grid-column: 1/-1;
  }
  .checkout-summary .spec-mini {
    font-size: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .panel {
    padding: 20px;
  }
  .about-intro {
    margin: 35px 0;
  }
  .about-intro h1 {
    font-size: 38px;
  }
  .history figure {
    min-width: 84%;
  }
  .story {
    margin: 38px 0;
  }
  .contact-band,
  .account-band {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-band {
    gap: 20px;
    padding: 22px;
  }
  .admin-shell {
    display: block;
  }
  .admin-sidebar {
    display: none;
  }
  .admin-content {
    padding: 22px 16px 110px;
  }
  .admin-heading {
    align-items: flex-start;
  }
  .admin-heading h1 {
    font-size: 27px;
  }
  .admin-heading > .button {
    font-size: 13px;
    padding: 10px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .stat:last-child {
    grid-column: 1/-1;
  }
  .admin-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-around;
    z-index: 5;
    padding: 8px 2px max(8px, env(safe-area-inset-bottom));
  }
  .admin-bottom button {
    display: grid;
    gap: 2px;
    padding: 4px;
    border: 0;
    font-size: 10px;
    min-width: 57px;
  }
  .admin-bottom b {
    font-size: 20px;
  }
  .admin-bottom .add {
    background: var(--red);
    color: white;
    border-radius: 50%;
    width: 48px;
    min-width: 48px;
    height: 48px;
    font-size: 25px;
  }
  .list-row {
    flex-wrap: wrap;
    padding: 14px;
    gap: 12px;
  }
  .list-row img {
    width: 78px;
    height: 65px;
  }
  .row-actions {
    max-width: none;
    width: 100%;
  }
  .row-actions button {
    flex: 1;
    font-size: 12px;
  }
  .admin-tabs {
    gap: 6px;
  }
  .admin-tabs button {
    font-size: 12px;
    padding: 8px;
  }
  .savebar {
    bottom: 72px;
    padding: 10px;
  }
  .savebar button {
    font-size: 13px;
    flex: 1;
    padding: 10px;
  }
  .success {
    padding: 25px 10px;
    margin: 35px auto;
  }
  .success h1 {
    font-size: 32px;
  }
  .spec-table {
    font-size: 13px;
  }
  .spec-table > * {
    padding: 10px 7px;
  }
  .history img {
    aspect-ratio: 1.3;
  }
  .footer-links {
    gap: 14px;
  }
  .admin-shell + footer {
    padding-bottom: 100px;
  }
}
.wheel {
  vertical-align: -1px;
  overflow: hidden;
}
.product-layout > *,
.details-layout > * {
  min-width: 0;
}
#network {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #e32929;
  color: white;
  font-size: 13px;
  text-align: center;
  padding: 4px;
  z-index: 100;
}
#network[hidden] {
  display: none;
}
.login-panel {
  max-width: 480px;
  margin: 65px auto;
}
.login-panel h1 {
  font-size: 32px;
  margin-top: 15px;
}
.finance-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin-bottom: 25px;
}
.finance-stats {
  grid-template-columns: repeat(3, 1fr);
}
.finance-stats strong {
  font-size: 24px;
}
.spec-table dd {
  overflow-wrap: anywhere;
}
.gallery-main:empty {
  background: #f4f4f4;
}
.photo img {
  object-fit: cover;
}
button:disabled {
  cursor: wait;
}
.status {
  font-size: 13px;
}
.demo-label {
  font-size: 13px;
}
.history:empty {
  display: none;
}
@media (max-width: 760px) {
  .finance-filters {
    grid-template-columns: 1fr 1fr;
  }
  .finance-stats {
    grid-template-columns: 1fr 1fr;
  }
  .finance-stats .stat:last-child {
    grid-column: auto;
  }
  .finance-stats strong {
    font-size: 20px;
  }
  .login-panel {
    margin: 30px auto;
  }
  .section-top > div:last-child {
    flex-shrink: 0;
  }
  .list-row strong {
    overflow-wrap: anywhere;
  }
  .admin-heading > div {
    min-width: 0;
  }
}

.finance-details { margin-bottom: 22px; }
.finance-details summary { cursor: pointer; padding: 14px 0; font-weight: 650; }
