:root {
  --bg: #f6f4ee;
  --text: #181818;
  --muted: #68635b;
  --line: #ddd6c8;
  --panel: #ffffff;
  --gold: #b9843f;
  --green: #24524a;
  --terra: #a65338;
  --page-gutter: clamp(88px, 4.75vw, 112px);
  --page-max: 1440px;
  --page-width: min(calc(100vw - (var(--page-gutter) * 2)), var(--page-max));
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: clip;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body::before {
  content: "";
  display: block;
  height: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  align-items: center;
  background: rgba(246, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 74px;
  padding: 14px 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.topbar,
.hero,
.metrics,
.section,
.mini-section,
.inquiry-section,
.trust-section,
.site-footer {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  width: var(--page-width);
}

.brand {
  align-items: center;
  display: flex;
}

.brand-logo {
  height: 48px;
  width: 168px;
  object-fit: contain;
}

nav,
.filters span,
.product p,
.phone-head span,
.detail-copy > p,
.mini-copy p {
  color: var(--muted);
}

nav {
  align-items: center;
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.top-contact {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  font-weight: 700;
}

.top-contact a {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  white-space: nowrap;
}

.top-contact a::before {
  background: var(--gold);
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.contact-trigger,
.footer-contact button,
.contact-form button {
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
  padding: 10px 16px;
}

.jump-link,
.footer-jump {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
}

.jump-link {
  background: #eee9de;
  border: 1px solid var(--line);
  color: var(--green);
  padding: 10px 14px;
}

.jump-link span,
.footer-jump span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  font-size: 16px;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}

.jump-link span {
  background: white;
  color: var(--green);
}

.footer-jump {
  background: var(--text);
  border: 1px solid var(--text);
  color: white;
  padding: 10px 12px;
}

.footer-jump span {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.cart-toggle {
  align-items: center;
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: inline-grid;
  gap: 3px;
  grid-template-columns: 24px auto;
  min-height: 48px;
  min-width: 76px;
  padding: 7px 12px;
  position: relative;
}

.cart-toggle > span:last-of-type {
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.cart-icon {
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px;
  display: inline-block;
  height: 17px;
  position: relative;
  width: 22px;
}

.cart-icon::before {
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
  height: 8px;
  left: 4px;
  position: absolute;
  top: -8px;
  width: 10px;
}

.cart-icon span::before,
.cart-icon span::after {
  background: currentColor;
  border-radius: 50%;
  bottom: -6px;
  content: "";
  height: 5px;
  position: absolute;
  width: 5px;
}

.cart-icon span::before {
  left: 2px;
}

.cart-icon span::after {
  right: 2px;
}

#cartBadge {
  align-items: center;
  background: var(--gold);
  border: 2px solid var(--bg);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 11px;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  padding: 0 6px;
  position: absolute;
  right: -10px;
  top: -8px;
}

.hero {
  align-items: flex-end;
  display: flex;
  min-height: min(620px, 72vh);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.hero-slides,
.hero-slides img,
.shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-slides {
  overflow: hidden;
}

.hero-slides img {
  animation: heroFade 24s infinite;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
}

.hero-slides img:nth-child(1) {
  animation-delay: 0s;
}

.hero-slides img:nth-child(2) {
  animation-delay: 6s;
}

.hero-slides img:nth-child(3) {
  animation-delay: 12s;
}

.hero-slides img:nth-child(4) {
  animation-delay: 18s;
}

@keyframes heroFade {
  0%,
  5% {
    opacity: 0;
  }

  10%,
  25% {
    opacity: 1;
  }

  32%,
  100% {
    opacity: 0;
  }
}

.shade {
  background:
    linear-gradient(90deg, rgba(12, 13, 13, 0.84), rgba(12, 13, 13, 0.38)),
    linear-gradient(0deg, rgba(12, 13, 13, 0.58), rgba(12, 13, 13, 0));
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides img {
    animation: none;
    opacity: 0;
  }

  .hero-slides img:first-child {
    opacity: 1;
  }
}

.hero-inner {
  align-items: flex-start;
  display: flex;
  min-height: min(620px, 72vh);
  padding: clamp(36px, 4vw, 56px) clamp(54px, 4vw, 72px) clamp(42px, 5vw, 72px);
  position: relative;
  width: 100%;
}

.hero-text {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(min(620px, 72vh) - clamp(36px, 4vw, 56px) - clamp(42px, 5vw, 72px));
  max-width: 720px;
  position: relative;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.96;
  margin: 0;
}

.hero-title {
  align-items: stretch;
  display: inline-flex;
  flex-direction: column;
  max-width: 100%;
  width: max-content;
}

.en-title {
  display: block;
}

.cn-title {
  display: flex;
  justify-content: space-between;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif;
  font-size: 0.38em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  margin-top: 14px;
  max-width: none;
  width: 100%;
}

.hero-logo {
  background: rgba(246, 244, 238, 0.92);
  border-radius: 8px;
  display: block;
  height: auto;
  margin-bottom: 20px;
  max-width: min(420px, 78vw);
  object-fit: contain;
  position: relative;
  padding: 6px;
  width: 420px;
}

.hero-market {
  display: block;
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
  width: min(420px, 78vw);
}

.hero-market span {
  display: block;
  text-align: left;
}

.hero-text p:not(.eyebrow) {
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.45;
  margin: 0;
  max-width: 760px;
}

.hero-line-break {
  display: inline;
}

.hero-copy {
  margin: clamp(28px, 6vh, 70px) 0;
}

.hero-desktop-detail {
  border-left: 3px solid var(--gold);
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  max-width: 620px;
  padding: 0 0 0 18px;
}

.hero-desktop-detail li {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 800;
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.primary,
.ghost,
.actions button,
.actions a,
.quote,
.cart-actions button {
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
}

.primary,
.actions button,
.quote,
.cart-actions button {
  background: var(--gold);
  color: white;
}

.ghost {
  border-color: rgba(255, 255, 255, 0.58);
  color: white;
}

.dark a {
  border-color: var(--text);
}

.metrics {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metrics div {
  border-right: 1px solid var(--line);
  min-height: 116px;
  padding: 24px clamp(16px, 3vw, 34px);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  color: var(--green);
  display: block;
  font-size: clamp(26px, 3vw, 42px);
}

.metrics span {
  color: var(--muted);
}

.section,
.mini-section,
.inquiry-section,
.trust-section {
  padding-bottom: clamp(44px, 7vw, 92px);
  padding-left: 0;
  padding-right: 0;
  padding-top: clamp(44px, 7vw, 92px);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-head > div:first-child {
  min-width: 0;
}

.catalog-section .section-head h2 {
  font-size: clamp(30px, 2.65vw, 40px);
  white-space: nowrap;
}

h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.02;
  margin: 0;
}

.mode-switch {
  background: #e9e2d3;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px;
}

.mode-switch a,
.mode-switch button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  white-space: nowrap;
}

.mode-switch .active {
  background: var(--text);
  color: white;
}

.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.directory-search {
  max-width: 760px;
}

.filters label {
  display: grid;
  flex: 1;
  gap: 7px;
}

.filters input,
.filters select,
.contact-form input,
.contact-form textarea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 48px;
  padding: 0 14px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form textarea {
  line-height: 1.45;
  min-height: 140px;
  padding: 13px 14px;
  resize: vertical;
}

.directory-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  width: 100%;
}

.category-menu {
  background: #eee9de;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding: 14px;
  position: sticky;
  top: 82px;
}

.menu-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.menu-heading strong,
.menu-heading span {
  display: block;
}

.menu-heading span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.menu-group {
  margin-bottom: 18px;
}

.menu-group h4 {
  color: var(--green);
  font-size: 12px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.menu-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  min-height: 38px;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.menu-item small {
  color: var(--muted);
}

.menu-item.active,
.menu-item:hover {
  background: var(--green);
  color: white;
}

.menu-item.active small,
.menu-item:hover small {
  color: rgba(255, 255, 255, 0.72);
}

.catalog-results {
  min-width: 0;
}

.result-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.result-head h3 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  margin: 0;
}

#catalogCount {
  color: var(--muted);
  font-size: 14px;
}

.catalog-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
}

.product:hover {
  border-color: rgba(36, 82, 74, 0.45);
  box-shadow: 0 14px 36px rgba(24, 24, 24, 0.08);
}

.product img {
  aspect-ratio: 4 / 3;
  background: white;
  object-fit: contain;
  padding: 10px;
  width: 100%;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-tags {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-height: 24px;
}

.product-body p {
  margin: 0;
}

.hot-pick-label {
  align-items: center;
  display: inline-flex;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1;
  min-width: 54px;
  white-space: nowrap;
}

.product h3 {
  font-size: 21px;
  line-height: 1.18;
  margin: 0;
  min-height: 50px;
}

.product-code {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.quote {
  width: 100%;
}

.open-detail {
  color: var(--green);
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
}

.mini-section {
  align-items: center;
  background: #e7e8e1;
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  grid-template-columns: minmax(310px, 400px) 1fr;
}

.phone {
  background:
    linear-gradient(135deg, #2b2b2b, #050505 48%, #2a2a2a);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 46px;
  box-shadow:
    0 26px 80px rgba(25, 25, 25, 0.26),
    inset 0 0 0 8px #0b0b0b;
  margin: 0 auto;
  max-height: 720px;
  padding: 18px 12px 14px;
  position: relative;
  width: min(100%, 382px);
}

.phone-speaker {
  background: #050505;
  border-radius: 999px;
  height: 22px;
  left: 50%;
  position: absolute;
  top: 18px;
  transform: translateX(-50%);
  width: 112px;
  z-index: 2;
}

.phone-screen {
  background: #f8f7f3;
  border-radius: 34px;
  max-height: 680px;
  overflow: hidden;
  padding-top: 16px;
}

.phone-head,
.phone-hero,
.chips,
.mini-list {
  background: #f8f7f3;
}

.phone-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 30px 16px 12px;
}

.mini-brand {
  align-items: center;
  display: inline-flex;
  width: 168px;
}

.mini-brand img {
  height: auto;
  width: 168px;
}

.phone-hero {
  background: var(--green);
  color: white;
  margin: 0 10px;
  padding: 18px;
}

.phone-hero p,
.phone-hero strong {
  display: block;
  margin: 0;
}

.phone-hero strong {
  margin-top: 8px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 10px;
}

.chips span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 12px;
  padding: 8px 12px;
}

.mini-list {
  display: grid;
  gap: 8px;
  max-height: 470px;
  overflow-y: auto;
  padding: 0 10px 14px;
}

.mini-item {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 64px 1fr;
  min-height: 86px;
  padding: 8px;
  text-align: left;
}

.mini-item img {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: contain;
  width: 64px;
}

.mini-item small,
.mini-item em {
  display: block;
  font-style: normal;
}

.mini-item small {
  color: var(--muted);
  font-size: 12px;
}

.mini-item em {
  color: var(--terra);
  font-size: 12px;
  font-weight: 900;
}

.plus {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.mobile-qr-card,
.mini-copy {
  max-width: 620px;
}

.mobile-qr-card {
  align-self: center;
}

.mobile-qr-card img {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(35, 92, 82, 0.14);
  margin: 20px 0 22px;
  padding: 16px;
  width: min(320px, 82vw);
}

.mobile-qr-card h2 {
  font-size: clamp(30px, 3vw, 42px);
  margin-bottom: 14px;
}

.mobile-qr-card p,
.mini-copy p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
}

.inquiry-section {
  align-items: start;
  display: grid;
  gap: clamp(24px, 5vw, 60px);
  grid-template-columns: minmax(260px, 460px) 1fr;
}

.detail {
  display: grid;
  gap: clamp(24px, 5vw, 60px);
  grid-template-columns: minmax(280px, 520px) 1fr;
}

.detail-image {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.detail-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

#detailSpecs {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 0;
  padding: 18px;
}

dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  line-height: 1.35;
  margin: 2px 0 0;
}

.inquiry {
  margin-top: 22px;
}

.quote-details {
  background: #eee9de;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
  padding: 14px;
}

.quote-details h3 {
  grid-column: 1 / -1;
  margin: 0;
}

.quote-details label {
  display: grid;
  gap: 6px;
}

.quote-details span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.quote-details input,
.quote-details textarea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.quote-details textarea {
  line-height: 1.45;
  min-height: 88px;
  padding: 11px 12px;
  resize: vertical;
}

.quote-notes {
  grid-column: 1 / -1;
}

.trust-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(280px, 470px) 1fr;
}

.trust-intro h2 {
  font-size: clamp(28px, 3vw, 40px);
  max-width: 720px;
}

.trust-points {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-points article {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 22px clamp(18px, 2.6vw, 34px) 8px;
}

.trust-points article:last-child {
  border-right: 0;
}

.trust-points span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.trust-points h3 {
  color: var(--green);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  margin: 0;
}

.trust-points p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 62px) 0;
}

.site-footer h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.footer-contact {
  align-items: stretch;
  background: #eee9de;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-width: min(100%, 360px);
  padding: 14px;
}

.mobile-jump-nav {
  display: none;
}

.mobile-category-drawer {
  display: none;
}

.mobile-category-landing {
  display: none;
}

.footer-contact a {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  display: flex;
  font-weight: 800;
  min-height: 42px;
  padding: 10px 12px;
}

.footer-contact .footer-jump {
  background: var(--text);
  color: white;
}

#inquiryList {
  display: grid;
  gap: 10px;
}

.cart-item {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  padding: 10px;
}

.cart-item img {
  aspect-ratio: 1 / 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  padding: 4px;
  width: 72px;
}

.cart-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-copy strong,
.cart-copy span {
  overflow-wrap: anywhere;
}

.cart-copy span {
  color: var(--muted);
  font-size: 13px;
}

.quantity-control {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-grid;
  grid-template-columns: 34px 58px 34px;
  min-height: 38px;
  overflow: hidden;
}

.quantity-control button,
.quantity-control input {
  background: white;
  border: 0;
  min-height: 38px;
  text-align: center;
}

.quantity-control button {
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.quantity-control input {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  width: 58px;
}

.remove-cart {
  background: transparent;
  border: 0;
  color: var(--terra);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.secondary-cart-action {
  background: white;
  border-color: var(--line);
  color: var(--green);
}

.cart-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.submit-status {
  color: var(--green);
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.submit-status span {
  color: var(--muted);
}

.cart-drawer {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 60;
}

.cart-drawer.open {
  pointer-events: auto;
}

.cart-drawer-backdrop {
  background: rgba(16, 16, 16, 0);
  inset: 0;
  position: absolute;
  transition: background 220ms ease;
}

.cart-drawer.open .cart-drawer-backdrop {
  background: rgba(16, 16, 16, 0.36);
}

.cart-panel {
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 80px rgba(16, 16, 16, 0.18);
  display: grid;
  grid-template-rows: auto minmax(120px, 1fr) auto auto auto;
  gap: 16px;
  height: 100%;
  margin-left: auto;
  max-width: min(460px, 92vw);
  min-height: 0;
  padding: 22px;
  position: relative;
  transform: translateX(104%);
  transition: transform 260ms ease;
  width: 34vw;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-panel-head {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
}

.cart-panel-head h2 {
  font-size: 30px;
}

.cart-panel-head span {
  color: var(--muted);
  display: block;
  margin-top: 7px;
}

.cart-close {
  align-items: center;
  background: var(--text);
  border: 0;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.drawer-cart-section {
  display: grid;
  gap: 10px;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.drawer-cart-section h3 {
  margin: 0;
}

.drawer-cart-list {
  display: grid;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.drawer-quote-details {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.drawer-quote-details .quote-notes {
  grid-column: auto;
}

.drawer-cart-list .cart-item {
  align-items: start;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas:
    "image copy"
    "image controls"
    "image remove";
  row-gap: 8px;
}

.drawer-cart-list .cart-item img {
  grid-area: image;
}

.drawer-cart-list .cart-copy {
  grid-area: copy;
}

.drawer-cart-list .quantity-control {
  grid-area: controls;
  justify-self: start;
}

.drawer-cart-list .remove-cart {
  grid-area: remove;
  justify-self: start;
  padding: 0;
}

.drawer-actions {
  flex-direction: column;
  justify-content: stretch;
  margin-top: 0;
}

.drawer-actions button {
  width: 100%;
}

.cart-flyer {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(24, 24, 24, 0.18);
  display: inline-grid;
  gap: 8px;
  grid-template-columns: 34px minmax(0, auto);
  left: 0;
  max-width: 220px;
  opacity: 1;
  padding: 7px 12px 7px 7px;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
  transition:
    transform 620ms cubic-bezier(0.2, 0.85, 0.18, 1),
    opacity 620ms ease;
  z-index: 80;
}

.cart-flyer img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: contain;
  width: 34px;
}

.cart-flyer span {
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-pulse {
  animation: cartPulse 420ms ease;
}

.button-pop {
  animation: buttonPop 260ms ease;
}

@keyframes cartPulse {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.09);
  }
}

@keyframes buttonPop {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.96);
  }
}

.tag {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  margin: 0 8px 8px 0;
  padding: 7px 10px 7px 12px;
}

.tag button {
  background: transparent;
  border: 0;
  color: var(--terra);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.modal {
  display: none;
  inset: 0;
  padding: clamp(14px, 3vw, 42px);
  position: fixed;
  z-index: 40;
}

.modal.open {
  align-items: center;
  display: flex;
  justify-content: center;
}

.modal-backdrop {
  background: rgba(10, 10, 10, 0.62);
  inset: 0;
  position: absolute;
}

.modal-card {
  background: var(--bg);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  max-height: min(880px, 92vh);
  max-width: 1240px;
  overflow-y: auto;
  padding: clamp(16px, 3vw, 30px);
  position: relative;
  width: 100%;
}

.contact-modal {
  display: none;
  inset: 0;
  padding: clamp(14px, 3vw, 42px);
  position: fixed;
  z-index: 70;
}

.contact-modal.open {
  align-items: center;
  display: flex;
  justify-content: center;
}

.contact-backdrop {
  background: rgba(10, 10, 10, 0.62);
  inset: 0;
  position: absolute;
}

.contact-card {
  background: var(--bg);
  border-radius: 8px;
  max-height: min(760px, 92vh);
  max-width: 620px;
  overflow-y: auto;
  padding: clamp(20px, 4vw, 34px);
  position: relative;
  width: 100%;
}

.contact-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-form button {
  justify-content: center;
  margin-top: 2px;
}

.modal-close {
  align-items: center;
  background: var(--text);
  border: 0;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 26px;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  z-index: 2;
}

.modal-media {
  display: grid;
  gap: 14px;
}

.modal-media div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.modal-media span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  padding: 12px 14px;
  text-transform: uppercase;
}

.modal-media img {
  aspect-ratio: 1 / 1;
  background: white;
  object-fit: contain;
  width: 100%;
}

.modal-info > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.modal-info > p.modal-model {
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 6px 0 0;
}

#modalSpecs {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 0;
  padding: 18px;
}

#modalSpecs .spec-wide {
  grid-column: 1 / -1;
}

.modal-note {
  background: #eee9de;
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.45;
  margin-top: 14px;
  padding: 14px;
}

@media (max-width: 980px) {
  .nav-link {
    display: none;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: space-between;
    margin-left: auto;
    width: 100%;
  }

  .jump-link {
    padding-left: 12px;
    padding-right: 12px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-section,
  .detail,
  .inquiry-section,
  .trust-section,
  .site-footer,
  .directory-layout,
  .modal-card {
    grid-template-columns: 1fr;
  }

  .mini-section .phone {
    display: none;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .trust-points article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .trust-points article:last-child {
    border-bottom: 0;
  }

  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .category-menu {
    max-height: none;
    position: static;
  }

  .cart-panel {
    width: min(460px, 92vw);
  }
}

@media (max-width: 620px) {
  :root {
    --page-gutter: 14px;
    --page-width: calc(100vw - 28px);
  }

  .brand small {
    display: none;
  }

  .topbar {
    gap: 7px;
    min-height: 0;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .top-contact {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 12px;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 0;
    width: 100%;
  }

  .top-contact a {
    flex: 0 0 auto;
  }

  .top-contact a::before {
    height: 5px;
    width: 5px;
  }

  .topbar nav {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .topbar .jump-link {
    display: none;
  }

  .contact-trigger,
  .cart-toggle {
    background: #f6f4ee;
    border: 1px solid var(--line);
    color: var(--green);
    justify-content: center;
    min-height: 42px;
    min-width: 0;
    padding: 0 8px;
    width: 100%;
  }

  .jump-link strong {
    display: none;
  }

  .cart-toggle {
    grid-template-columns: 24px auto;
  }

  .cart-toggle > span:last-of-type {
    display: inline;
  }

  .brand-logo {
    height: 42px;
    width: 136px;
  }

  .hero {
    min-height: 190px;
    padding: 0;
  }

  .hero-inner {
    min-height: 190px;
    padding: 14px 16px 16px;
  }

  .hero-text {
    min-height: 160px;
  }

  .hero-logo {
    margin-bottom: 9px;
    max-width: min(210px, 68vw);
    padding: 5px;
    width: 210px;
  }

  .hero-market {
    font-size: 11px;
    margin-bottom: 0;
    width: min(210px, 68vw);
  }

  .hero-text p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.42;
    max-width: 330px;
  }

  .hero-line-break {
    display: none;
  }

  .hero-desktop-detail {
    display: none;
  }

  .hero-copy {
    margin: 10px 0 0;
  }

  .actions,
  .filters,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-section .section-head h2 {
    white-space: normal;
  }

  #detailSpecs,
  #modalSpecs,
  .cart-item,
  .quote-details {
    grid-template-columns: 1fr;
  }

  .metrics {
    display: none;
  }

  .section,
  .mini-section,
  .inquiry-section,
  .trust-section {
    padding-bottom: 42px;
    padding-top: 42px;
  }

  .catalog-section {
    padding-top: 20px;
  }

  .catalog-section .section-head {
    display: none;
  }

  .mode-switch {
    width: 100%;
  }

  .mode-switch a {
    flex: 1 1 0;
    justify-content: center;
  }

  .directory-search {
    margin-bottom: 14px;
    margin-top: 14px;
  }

  .directory-search input {
    min-height: 46px;
  }

  .directory-layout {
    display: block;
    gap: 16px;
  }

  .catalog-results {
    scroll-margin-top: 210px;
  }

  body.mobile-directory-only .catalog-results {
    display: none;
  }

  body.mobile-directory-only .mini-section,
  body.mobile-directory-only .inquiry-section,
  body.mobile-directory-only .trust-section,
  body.mobile-directory-only .site-footer {
    display: none;
  }

  .category-menu {
    background: #fbfaf6;
    border: 2px solid rgba(195, 137, 56, 0.42);
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(24, 24, 24, 0.14);
    max-height: none;
    overflow: visible;
    padding: 14px 12px 12px;
    position: relative;
    top: auto;
    z-index: 10;
  }

  .category-menu.is-compact {
    border-radius: 10px;
    overflow: hidden;
    padding: 10px 10px 8px;
    position: sticky;
    top: 90px;
    z-index: 20;
  }

  #catalog-menu,
  #page-bottom {
    scroll-margin-top: 100px;
  }

  .menu-heading {
    align-items: center;
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 0;
  }

  .menu-heading strong {
    color: var(--text);
    font-size: 20px;
  }

  .menu-heading span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    margin-top: 0;
    max-width: 138px;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-menu.is-compact .menu-heading strong {
    font-size: 17px;
  }

  #categoryPanel {
    display: block;
    overflow: visible;
    padding: 0;
  }

  .category-menu.is-compact #categoryPanel {
    display: block;
    overflow: hidden;
    padding: 0;
  }

  .category-menu.is-compact #categoryPanel::-webkit-scrollbar {
    display: none;
  }

  .mobile-category-landing {
    display: block;
  }

  .category-menu:not(.is-compact) #categoryPanel > .menu-group {
    display: none;
  }

  .category-menu.is-compact .menu-heading {
    display: none;
  }

  .category-menu.is-compact #categoryPanel > .menu-group,
  .category-menu.is-compact .mobile-category-cards {
    display: none;
  }

  .mobile-category-chips {
    display: flex;
    gap: 10px;
    margin: 0 -2px 14px;
    overflow-x: auto;
    padding: 0 2px 2px;
    scrollbar-width: none;
  }

  .category-menu.is-compact .mobile-category-chips {
    margin-bottom: 0;
  }

  .mobile-category-chips::-webkit-scrollbar {
    display: none;
  }

  .mobile-category-chips button {
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 800;
    min-height: 44px;
    padding: 10px 16px;
  }

  .category-menu.is-compact .mobile-category-chips button {
    min-height: 40px;
    padding: 9px 14px;
  }

  .mobile-category-chips button.active {
    background: var(--green);
    border-color: var(--green);
    color: white;
  }

  .mobile-category-cards {
    display: grid;
    gap: 9px;
  }

  .mobile-category-card {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 82px;
    padding: 10px;
    text-align: left;
    width: 100%;
  }

  .mobile-category-card.active {
    border-color: rgba(36, 82, 74, 0.55);
    box-shadow: 0 12px 28px rgba(36, 82, 74, 0.16);
  }

  .mobile-category-image {
    align-items: center;
    background: #f6f3ec;
    border-radius: 8px;
    display: flex;
    height: 60px;
    justify-content: center;
    overflow: hidden;
    width: 76px;
  }

  .mobile-category-image img {
    height: 100%;
    object-fit: contain;
    padding: 4px;
    width: 100%;
  }

  .mobile-category-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .mobile-category-copy strong {
    font-size: 18px;
    line-height: 1.08;
  }

  .mobile-category-copy small {
    color: var(--terra);
    font-size: 13px;
    font-weight: 900;
  }

  .menu-group {
    display: contents;
  }

  .menu-group h4 {
    display: none;
  }

  .menu-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    flex: 0 0 auto;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 0;
    min-height: 72px;
    padding: 13px 42px 13px 12px;
    position: relative;
    width: 100%;
  }

  .menu-item:first-of-type,
  .menu-item.active {
    box-shadow: 0 8px 20px rgba(36, 84, 73, 0.16);
  }

  .category-menu.is-compact .menu-item {
    border-radius: 999px;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    width: auto;
    white-space: nowrap;
  }

  .category-menu:not(.is-compact) .menu-item span {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.16;
    min-width: 0;
  }

  .category-menu:not(.is-compact) .menu-item:first-of-type span {
    font-size: 13px;
  }

  .menu-fire-row {
    display: inline-block;
    margin-left: 4px;
    white-space: nowrap;
  }

  .category-menu:not(.is-compact) .menu-fire-row {
    display: block;
    font-size: 18px;
    letter-spacing: 2px;
    margin-left: 0;
    margin-top: 4px;
  }

  .menu-item small {
    background: #eee9de;
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    font-size: 11px;
    justify-content: center;
    min-width: 28px;
    padding: 3px 7px;
    position: absolute;
    right: 10px;
    top: 10px;
  }

  .category-menu.is-compact .menu-item small {
    position: static;
  }

  .menu-item.active small,
  .menu-item:hover small {
    background: rgba(255, 255, 255, 0.16);
  }

  .result-head {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }

  .result-head h3 {
    font-size: 26px;
  }

  #catalogCount {
    flex: 0 0 auto;
    padding-top: 5px;
  }

  .catalog-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product img {
    aspect-ratio: 4 / 3;
    padding: 6px;
  }

  .product-body {
    gap: 7px;
    padding: 8px;
  }

  .product-tags {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    justify-content: flex-start;
    min-height: 32px;
  }

  .product-body p {
    font-size: 11px;
    line-height: 1.25;
  }

  .hot-pick-label {
    font-size: 15px;
    min-width: 0;
  }

  .product h3 {
    font-size: 14px;
    line-height: 1.2;
    min-height: 50px;
    overflow-wrap: anywhere;
  }

  .product-code {
    font-size: 10px;
  }

  .open-detail {
    font-size: 11px;
  }

  .quote {
    font-size: 12px;
    min-height: 36px;
    padding: 9px 6px;
  }

  .modal,
  .contact-modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal.open,
  .contact-modal.open {
    align-items: flex-end;
  }

  .modal-card,
  .contact-card {
    border-radius: 18px 18px 0 0;
    max-height: 92svh;
    padding: 16px;
  }

  .modal-card {
    gap: 16px;
  }

  .modal-close,
  .cart-close {
    height: 42px;
    width: 42px;
  }

  .modal-media img {
    max-height: 42svh;
  }

  .modal-info > p:not(.eyebrow),
  .contact-card > p:not(.eyebrow) {
    font-size: 16px;
  }

  #modalSpecs {
    gap: 10px;
    padding: 14px;
  }

  .cart-panel {
    border-left: 0;
    border-radius: 18px 18px 0 0;
    border-top: 1px solid var(--line);
    box-shadow: 0 -18px 70px rgba(16, 16, 16, 0.22);
    display: block;
    gap: 12px;
    height: calc(100dvh - 12px);
    margin-left: 0;
    margin-top: auto;
    max-width: none;
    min-height: 0;
    overscroll-behavior: contain;
    overflow-y: auto;
    padding: 16px 16px max(34px, calc(18px + env(safe-area-inset-bottom)));
    transform: translateY(104%);
    width: 100%;
  }

  .cart-drawer {
    align-items: flex-end;
    display: flex;
  }

  .cart-drawer.open .cart-panel {
    transform: translateY(0);
  }

  .cart-panel-head {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .cart-panel-head h2 {
    font-size: 24px;
  }

  .drawer-quote-details {
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
  }

  .drawer-quote-details h3,
  .drawer-cart-section h3 {
    font-size: 18px;
  }

  .drawer-quote-details input {
    min-height: 40px;
  }

  .drawer-quote-details textarea {
    min-height: 62px;
  }

  .drawer-cart-list {
    overflow: visible;
    padding-right: 0;
  }

  .drawer-actions {
    gap: 8px;
    margin-top: 14px;
  }

  .cart-flyer {
    max-width: calc(100vw - 28px);
  }

  .mobile-jump-nav {
    align-items: center;
    background: rgba(246, 244, 238, 0.92);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(24, 24, 24, 0.18);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 5px 4px;
    position: fixed;
    left: calc(env(safe-area-inset-left) - 10px);
    top: 52%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    z-index: 30;
  }

  body.mobile-category-menu-compact .mobile-jump-nav {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-category-drawer {
    display: block;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease;
    visibility: hidden;
    z-index: 70;
  }

  .mobile-category-drawer.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-category-backdrop {
    background: rgba(24, 24, 24, 0.28);
    inset: 0;
    position: absolute;
  }

  .mobile-category-panel {
    background: #fbfaf6;
    border-right: 2px solid rgba(195, 137, 56, 0.48);
    box-shadow: 18px 0 46px rgba(24, 24, 24, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    left: 0;
    max-width: 320px;
    overflow: hidden;
    padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
    position: absolute;
    top: 0;
    transform: translateX(-102%);
    transition: transform 220ms ease;
    width: min(74vw, 320px);
  }

  .mobile-category-drawer.open .mobile-category-panel {
    transform: translateX(0);
  }

  .mobile-category-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding-bottom: 12px;
  }

  .mobile-category-head strong,
  .mobile-category-head span {
    display: block;
  }

  .mobile-category-head strong {
    font-size: 20px;
    line-height: 1.1;
  }

  .mobile-category-head span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    margin-top: 4px;
  }

  .mobile-category-head button {
    align-items: center;
    background: var(--text);
    border: 0;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 24px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    width: 38px;
  }

  #mobileCategoryPanel {
    display: block;
    flex: 1 1 auto;
    margin-top: 12px;
    overflow-y: auto;
    padding-right: 3px;
  }

  #mobileCategoryPanel .menu-group {
    display: block;
    margin-bottom: 18px;
  }

  #mobileCategoryPanel .menu-group h4 {
    color: var(--green);
    display: block;
    font-size: 11px;
    margin: 0 0 8px;
    text-transform: uppercase;
  }

  #mobileCategoryPanel .menu-item {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    min-height: 48px;
    padding: 10px 10px;
    width: 100%;
  }

  #mobileCategoryPanel .menu-item span {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.16;
    min-width: 0;
  }

  #mobileCategoryPanel .menu-fire-row {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 0;
    margin-left: 3px;
    margin-top: 0;
  }

  #mobileCategoryPanel .menu-item small {
    background: #eee9de;
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 11px;
    justify-content: center;
    margin-left: 8px;
    min-width: 28px;
    padding: 3px 7px;
    position: static;
  }

  #mobileCategoryPanel .menu-item.active {
    background: var(--green);
    color: white;
  }

  #mobileCategoryPanel .menu-item.active small {
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.78);
  }

  .mobile-jump-nav a {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--green);
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    line-height: 1;
    width: 36px;
  }

  .quote-notes {
    grid-column: auto;
  }

  .cart-actions {
    justify-content: stretch;
  }

  .cart-actions button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .catalog-grid {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-tags {
    min-height: 0;
  }
}
