/* Shared scaffolding; obsolete merged-page and old product navigation rules removed. */
@media (min-width: 1024px) {
  :root {
    --brand-accent: #F07922;
    --brand-accent-hover: #DE6815;
    --carbon: #1D2427;
    --steel: #4B565A;
    --slate: #687276;
    --paper: #F5F6F6;
    --white: #FFFFFF;
    --line: #D9DEE0;
    --orange: var(--brand-accent);
    --orange-dark: #A7460B;
    --ink: var(--carbon);
    --ink-soft: var(--steel);
    --muted: var(--slate);
    --green: var(--steel);
    --max: 100rem;
    --text-on-dark: #D5DCDF;
    --muted-on-dark: #B4BEC3;
    --brand-tint: #FFF3E8;
    --desktop-gutter: 3rem;
    --desktop-font: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  }

  body {
    color: var(--carbon);
    background: var(--paper);
    font-family: var(--desktop-font);
  }

  button, input, textarea, select {
    font-family: var(--desktop-font);
  }

  .shell {
    width: min(var(--max), calc(100% - 2 * var(--desktop-gutter)));
    margin-inline: auto;
  }

  svg.lucide {
    stroke-width: 1.75;
  }

  a, button {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
  }

  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 0.25rem;
  }

  ::selection {
    color: var(--carbon);
    background: #F9C79F;
  }
}

@media (min-width: 1024px) {
  .about-kicker {
    color: var(--orange);
    font: 700 0.75rem/1.4 var(--desktop-font);
    letter-spacing: .08em;
  }

  .about-kicker::before {
    width: 2rem;
    height: 2px;
    background: var(--orange);
  }

  .button {
    height: 3rem;
    padding-inline: 1.5rem;
    border-radius: 0.125rem;
    border-color: var(--orange);
    color: var(--carbon);
    background: var(--orange);
    font-size: 0.875rem;
    font-weight: 600;
    gap: 1rem;
  }

  .button:hover:where(:not(.rh-hover-reset)) {
    color: var(--carbon);
    background: var(--brand-accent-hover);
    border-color: var(--brand-accent-hover);
  }

  .button.ghost {
    color: var(--white);
    background: transparent;
    border: 0;
    padding-inline: 0;
  }

  .button.ghost:hover:where(:not(.rh-hover-reset)) {
    color: var(--orange);
    background: transparent;
  }

  .about-stage {
    background: var(--carbon);
  }

  .about-shell {
    width: min(var(--max), calc(100% - 2 * var(--desktop-gutter)));
    padding-top: 2rem;
  }

  .about-background img {
    filter: saturate(.86) contrast(1.02);
  }

  .about-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1rem;
  }

  .about-copy {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-color: #FFFFFF33;
  }

  .about-copy p, html[lang="en"] .about-copy p {
    color: var(--text-on-dark);
    font-size: 1rem;
    line-height: 1.75;
  }

  .about-summary {
    margin-top: 1rem;
  }

  .about-meta-item small, .about-index small {
    color: var(--muted-on-dark);
    font-size: 0.75rem;
  }

  .about-index {
    border-color: #FFFFFF33;
  }

  .about-index button {
    color: var(--muted-on-dark);
  }

  .about-index strong {
    font-size: 0.875rem;
    font-weight: 600;
  }

  #products.product-center {
    background: var(--paper);
    padding: 1.5rem 0;
  }

  #products .product-shell {
    width: min(var(--max), calc(100% - 2 * var(--desktop-gutter)));
  }

  .product-breadcrumb, .product-result-summary > span {
    color: var(--slate);
    font-size: 0.75rem;
  }

  .product-layout {
    gap: 2rem;
  }

  .product-tile {
    background: var(--white);
    border-color: var(--line);
  }

  .product-result-heading h3 {
    font-size: 1rem;
    font-weight: 600;
  }

  .product-grid {
    gap: 1rem;
  }

  .product-tile {
    border-radius: 0.125rem;
  }

  .product-tile-copy {
    padding: 0.75rem 1rem;
    border-color: var(--line);
  }

  .product-tile h4 {
    color: var(--carbon);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
  }

  .product-tile p {
    color: var(--steel);
    font-size: 0.75rem;
  }

  .product-search {
    height: 2.5rem;
    border-radius: 0.125rem;
    border-color: var(--line);
  }

  #products .product-search input {
    color: var(--carbon);
    font-size: 0.875rem;
  }

  .product-search-submit {
    color: var(--carbon);
    background: var(--orange);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0 0.125rem 0.125rem 0;
  }

  .product-search-submit:hover:where(:not(.rh-hover-reset)) {
    background: var(--brand-accent-hover);
  }

  .product-pagination {
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .product-page {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.125rem;
    border-color: var(--line);
    color: var(--steel);
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .product-page[aria-current="page"] {
    color: var(--carbon);
    background: var(--orange);
    border-color: var(--orange);
  }

  .product-page:hover:where(:not(.rh-hover-reset)):not(:disabled) {
    border-color: var(--orange);
  }

  footer {
    color: var(--muted-on-dark);
    background: var(--carbon);
  }
}

@media (min-width: 1024px) {
  .about-content {
    max-width: 62.5rem;
    text-shadow: 0 0.125rem 0.75rem #00000040;
  }

  .about-title {
    font-size: clamp(2.375rem, 3.5vw, 3.25rem);
    line-height: 1.25;
    text-wrap: balance;
  }

  .about-copy {
    max-width: 56.25rem;
    padding: 1.25rem 1.5rem;
  }

  .about-copy p, html[lang="en"] .about-copy p {
    font-size: 1rem;
    line-height: 1.9;
  }

  .about-meta-item {
    align-items: center;
    padding-inline: 1.5rem;
  }

  .about-meta-item strong {
    font-family: var(--desktop-font);
    font-size: 1.5rem;
  }

  .about-index {
    gap: clamp(1.5rem, 5vw, 4.5rem);
  }

  .about-index button {
    min-height: 5rem;
  }

  .about-index small {
    line-height: 1.6;
  }

  #products.product-center {
    min-height: 42.5rem;
  }

  .product-grid {
    grid-template-rows: repeat(2, minmax(13.125rem, 1fr));
    gap: 1.25rem;
  }

  .product-tile-copy {
    min-height: 6rem;
    padding: 0.875rem 1rem;
  }

  .product-tile h4 {
    display: -webkit-box;
    min-height: 2.625rem;
    max-height: 2.625rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-tile p {
    margin-top: 0.5rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .product-tile-image {
    padding: 0.875rem 1.125rem;
  }

  .product-tile-image img {
    object-fit: contain;
  }

  .product-result-heading {
    gap: 1.5rem;
  }

  .product-search {
    flex-basis: 22.5rem;
  }

  .product-pagination {
    margin-top: 1.25rem;
  }
}

:root {
  --brand-accent: #F07922;
  --brand-accent-hover: #DE6815;
  --carbon: #1D2427;
  --steel: #4B565A;
  --slate: #687276;
  --paper: #F5F6F6;
  --white: #FFFFFF;
  --line: #D9DEE0;
  --orange: var(--brand-accent);
  --orange-dark: #A7460B;
  --ink: var(--carbon);
  --ink-soft: var(--steel);
  --muted: var(--slate);
  --green: var(--steel);
  --text-on-dark: #D5DCDF;
  --muted-on-dark: #B4BEC3;
  --brand-tint: #FFF3E8;
  --desktop-font: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

body, button, input, textarea {
  font-family: var(--desktop-font);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 0.25rem;
}

.about-copy p {
  white-space: normal;
}

@media (min-width: 1024px) and (max-width: 1179px) {
  .shell {
    width: calc(100% - 4rem);
  }

  .header .shell {
    gap: 1.125rem;
  }

  .brand {
    min-width: 13.125rem;
  }

  .nav {
    gap: 1.25rem;
  }

  .heading {
    grid-template-columns: minmax(0, 1fr) 15.625rem;
    gap: 2.25rem;
  }

  .about-layout {
    gap: 3rem;
  }

  .footer-top {
    gap: 1.875rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  .footer-detail {
    white-space: normal;
  }
}

@media (max-width: 1023px) {
  body {
    min-width: 0;
  }

  .about-shell {
    width: calc(100% - 3.5rem);
    min-height: calc(100svh - var(--site-header-height));
    padding: 2.625rem 0 0;
    justify-content: center;
  }

  .about-content {
    margin: auto 0;
    padding-bottom: 1.75rem;
    text-shadow: none;
  }

  .about-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.35;
    text-wrap: balance;
  }

  .about-copy {
    padding: 1.25rem 0.75rem;
    margin-top: 1.5rem;
  }

  .about-copy p, html[lang="en"] .about-copy p {
    color: var(--text-on-dark);
    font-size: 1rem;
    line-height: 1.85;
  }

  .about-summary {
    flex-wrap: wrap;
    gap: 0.5rem 0;
    margin-top: 1.25rem;
  }

  .about-meta-item {
    align-items: center;
    padding: 0.3125rem 1rem;
    gap: 0.625rem;
  }

  .about-meta-item strong {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .about-meta-item small {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .about-index {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.125rem;
  }

  .about-index button {
    min-width: 0;
    padding: 1rem 0;
    min-height: 5.5rem;
  }

  .about-index button::after {
    left: 0;
  }

  .about-index strong {
    font-size: 0.875rem;
  }

  .about-index small {
    color: var(--muted-on-dark);
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .about-caption {
    display: none;
  }

  #products.product-center {
    height: auto;
    min-height: calc(100svh - var(--site-header-height));
    background: var(--paper);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .product-tile-copy {
    min-height: 5.375rem;
  }

  .product-tile h4 {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .product-tile p {
    font-size: 0.75rem;
  }

  .product-search-submit {
    color: var(--carbon);
    font-weight: 600;
  }

  .product-page[aria-current="page"] {
    color: var(--carbon);
  }
}

@media (max-width: 720px) {
  .about-stage {
    min-height: calc(100svh - var(--site-header-height));
  }

  .about-shell {
    width: calc(100% - 2.5rem);
    padding-top: 1.875rem;
  }

  .about-content {
    padding-bottom: 1.5rem;
  }

  .about-title {
    font-size: 1.875rem;
    line-height: 1.4;
  }

  .about-copy {
    padding: 1.125rem 0;
    margin-top: 1.25rem;
  }

  .about-copy p, html[lang="en"] .about-copy p {
    font-size: 0.9375rem;
    line-height: 1.9;
  }

  .about-meta-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1875rem;
    padding-inline: 0.875rem;
  }

  .about-meta-item strong {
    font-size: 1.1875rem;
  }

  .about-meta-item small {
    font-size: 0.6875rem;
    max-width: 10.625rem;
  }

  .about-index {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-index button {
    min-height: 4.375rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid #FFFFFF24;
  }

  .about-index button:last-child {
    border-bottom: 0;
  }

  .about-index small {
    font-size: 0.75rem;
  }

  #products .product-shell {
    width: calc(100% - 2.5rem);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.75rem;
  }

  .product-tile-image {
    padding: 0.75rem;
  }

  .product-tile-copy {
    padding: 0.75rem 0.625rem;
    min-height: 5.875rem;
  }

  .product-tile h4 {
    font-size: 0.875rem;
  }

  .product-tile p {
    font-size: 0.75rem;
  }

  #products .product-search input {
    font-size: 0.875rem;
  }

  .product-search {
    height: 2.75rem;
  }

  .product-search-submit {
    padding-inline: 0.75rem;
    font-size: 0.875rem;
  }

  .product-result-summary > span {
    font-size: 0.75rem;
  }

  .product-empty p {
    font-size: 0.875rem;
  }

  .product-empty-actions {
    align-items: center;
  }

  .product-empty-actions a {
    color: var(--orange-dark);
    font-size: 0.875rem;
    padding: 0.5625rem 0.375rem;
  }

  .product-page {
    width: 2.375rem;
    height: 2.375rem;
  }
}

