:root {
  --ink: #17201b;
  --muted: #5e6a61;
  --line: #d9ded8;
  --paper: #f7f8f5;
  --white: #ffffff;
  --green: #2f6b4f;
  --green-dark: #214b39;
  --gold: #b78a38;
  --blue: #365d78;
  --shadow: 0 18px 45px rgba(23, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 13px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: #e9eee7;
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--green);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--green-dark);
}

.nav-toggle {
  display: none;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: var(--hero-height, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(14, 22, 18, 0.78), rgba(14, 22, 18, 0.28) 55%, rgba(14, 22, 18, 0.1));
}

.hero-content {
  position: relative;
  width: min(860px, 100%);
  padding: 0 clamp(20px, 6vw, 72px) 74px;
  color: var(--white);
}

body[data-hero-align="center"] .hero {
  justify-content: center;
  text-align: center;
}

body[data-hero-align="center"] .hero-content {
  margin-inline: auto;
}

body[data-hero-align="center"] .hero-copy {
  margin-inline: auto;
}

body[data-hero-align="center"] .hero-actions,
body[data-hero-align="center"] .trust-row {
  justify-content: center;
}

body[data-hero-align="right"] .hero {
  justify-content: flex-end;
  text-align: right;
}

body[data-hero-align="right"] .hero-content {
  margin-left: auto;
}

body[data-hero-align="right"] .hero-copy {
  margin-left: auto;
}

body[data-hero-align="right"] .hero-actions,
body[data-hero-align="right"] .trust-row {
  justify-content: flex-end;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.trust-row {
  margin-top: 34px;
}

.trust-row span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 13px;
}

.section {
  padding: clamp(58px, 8vw, 100px) clamp(20px, 5vw, 72px);
}

.section-head,
.page-hero {
  max-width: 920px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.intro-grid p:last-child,
.section-head p,
.page-hero p {
  color: var(--muted);
  font-size: 18px;
}

.product-categories {
  background: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(var(--category-columns, 4), minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.category-card,
.listing-card,
.download-card,
.contact-card,
.inquiry-form,
.process-grid article,
.product-detail-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-card {
  overflow: hidden;
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef1ec;
}

.category-card div {
  padding: 22px;
}

.category-card p,
.listing-card p,
.product-detail-grid p,
.process-grid p,
.download-card p,
.contact-card li,
.form-note {
  color: var(--muted);
}

.category-card a,
.text-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.category-card a:hover,
.text-link:hover {
  text-decoration: underline;
}

.capability-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
  background: #21382d;
  color: var(--white);
}

.band-copy p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

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

.metric-grid div {
  min-height: 128px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.metric-grid strong {
  display: block;
  font-size: 36px;
  line-height: 1;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.media-split,
.product-hero,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: center;
}

.media-split img,
.product-hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(20px, 5vw, 72px) clamp(58px, 8vw, 92px);
  padding: 34px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
}

.page-hero,
.product-hero {
  padding: clamp(58px, 8vw, 100px) clamp(20px, 5vw, 72px);
}

.page-hero.compact {
  padding-bottom: 42px;
}

.page-hero h1,
.product-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.listing-grid,
.download-list {
  display: grid;
  gap: 18px;
}

.listing-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  padding: 18px;
  align-items: center;
}

.listing-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #eef1ec;
}

.check-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 999px;
}

.two-column,
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.process-grid article,
.product-detail-grid article {
  padding: 24px;
}

.process-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 700;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.download-card.muted {
  background: #eef1ec;
}

.contact-layout {
  align-items: start;
}

.inquiry-form,
.contact-card {
  padding: 28px;
}

.inquiry-form {
  display: grid;
  gap: 16px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.inquiry-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-methods a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 0;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #eef1ec;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #17201b;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

@media (max-width: 980px) {
  .category-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-split,
  .product-hero,
  .capability-band,
  .intro-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .listing-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    margin-top: 4px;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    min-height: 650px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(14, 22, 18, 0.18), rgba(14, 22, 18, 0.86));
  }

  .hero-content {
    padding-bottom: 42px;
  }

  h1 {
    font-size: 42px;
  }

  .category-grid,
  .process-grid,
  .two-column,
  .product-detail-grid,
  .gallery-row,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .listing-card {
    grid-template-columns: 1fr;
  }

  .download-card,
  .cta-panel,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel {
    margin-left: 20px;
    margin-right: 20px;
    padding: 24px;
  }
}

/* Storefront homepage */
.storefront {
  background: #f4f5f1;
}

.shop-header {
  background: rgba(255, 255, 255, 0.96);
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, #ffffff 0%, #eef2ec 100%);
  border-bottom: 1px solid var(--line);
}

.shop-hero-copy {
  max-width: 680px;
}

.shop-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.03;
}

.shop-hero p {
  color: var(--muted);
  font-size: 18px;
}

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

.shop-hero-media > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-product-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-product-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.shop-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.shop-stats span {
  min-height: 82px;
  padding: 14px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.shop-stats strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.shop-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.shop-bar div {
  min-height: 108px;
  padding: 22px;
  background: #ffffff;
}

.shop-bar strong,
.shop-bar span {
  display: block;
}

.shop-bar strong {
  margin-bottom: 6px;
  font-size: 16px;
}

.shop-bar span {
  color: var(--muted);
  font-size: 14px;
}

.shop-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.shop-section-head h2 {
  margin-bottom: 0;
}

.shop-section-head p:last-child {
  color: var(--muted);
}

.compact-head {
  display: block;
  max-width: 820px;
}

.shop-categories {
  background: #ffffff;
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.shop-category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  color: var(--white);
  background: #dfe5df;
  border-radius: 8px;
  text-decoration: none;
}

.shop-category-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.shop-category-card:hover img {
  transform: scale(1.03);
}

.shop-category-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  background: rgba(23, 32, 27, 0.78);
  border-radius: 8px;
  font-weight: 700;
}

.placeholder-card {
  display: grid;
  align-content: end;
  color: var(--ink);
  border: 1px dashed #9ca79d;
}

.placeholder-card span {
  position: static;
  margin: 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.placeholder-box,
.placeholder-media {
  display: grid;
  place-items: center;
  min-height: 160px;
  color: #6f786f;
  background: repeating-linear-gradient(135deg, #eef1ec, #eef1ec 10px, #e1e6df 10px, #e1e6df 20px);
  border: 1px dashed #9ca79d;
  border-radius: 8px;
  font-weight: 700;
}

.placeholder-card .placeholder-box {
  margin: 18px 18px 0;
}

.product-showcase {
  background: #f4f5f1;
}

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

.shop-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shop-product-card img,
.placeholder-product .placeholder-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card-body {
  display: grid;
  padding: 20px;
}

.product-type {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card-body h3 {
  margin-bottom: 10px;
}

.product-card-body p {
  color: var(--muted);
}

.product-card-body dl {
  display: grid;
  gap: 8px;
  margin: 8px 0 18px;
}

.product-card-body dl div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.product-card-body dt {
  color: var(--muted);
}

.product-card-body dd {
  margin: 0;
  font-weight: 700;
}

.factory-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: center;
  background: #223a35;
  color: var(--white);
}

.factory-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.capability-list span {
  padding: 12px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.factory-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.factory-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.data-section {
  background: #ffffff;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.data-grid article {
  min-height: 210px;
  padding: 22px;
  background: #f4f5f1;
  border: 1px dashed #a6afa7;
  border-radius: 8px;
}

.data-grid p {
  color: var(--muted);
}

.shop-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #365d78;
  color: var(--white);
}

.shop-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

.shop-cta h2 {
  max-width: 820px;
}

@media (max-width: 1120px) {
  .shop-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 860px) {
  .shop-hero,
  .shop-section-head,
  .factory-section {
    grid-template-columns: 1fr;
  }

  .shop-stats {
    grid-template-columns: 1fr;
  }

  .factory-images {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shop-hero {
    padding-top: 28px;
  }

  .shop-hero h1 {
    font-size: 38px;
  }

  .hero-product-strip,
  .shop-category-grid,
  .product-table-grid,
  .data-grid,
  .shop-bar,
  .capability-list {
    grid-template-columns: 1fr;
  }

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

/* Alibaba-style supplier storefront */
.alibaba-layout {
  background: #f3f4f2;
}

.supplier-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.supplier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
}

.supplier-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.supplier-brand strong,
.supplier-brand small {
  display: block;
}

.supplier-brand small {
  color: var(--muted);
}

.supplier-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.supplier-actions span,
.supplier-actions a {
  padding: 8px 10px;
  background: #f3f4f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.supplier-actions a {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  font-weight: 700;
}

.supplier-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: #223a35;
  overflow-x: auto;
}

.supplier-nav a {
  flex: 0 0 auto;
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  border-radius: 0;
}

.supplier-nav a:hover,
.supplier-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.supplier-nav .nav-cta {
  margin-left: auto;
  color: #ffffff;
  background: var(--green);
}

.supplier-banner {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #17201b;
}

.supplier-banner-slides,
.supplier-banner-slides img {
  position: absolute;
  inset: 0;
}

.supplier-banner-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease;
}

.supplier-banner-slides img.is-active {
  opacity: 1;
}

.supplier-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 30, 25, 0.82), rgba(20, 30, 25, 0.32) 56%, rgba(20, 30, 25, 0.12));
}

.supplier-banner-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 64px clamp(20px, 5vw, 72px);
  color: #ffffff;
}

.supplier-banner-content p {
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.supplier-banner-content h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
}

.supplier-banner-content span {
  display: block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.supplier-service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: -34px auto 0;
  padding: 0 clamp(18px, 3vw, 28px);
  position: relative;
  z-index: 2;
}

.supplier-service-strip div {
  min-height: 112px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.supplier-service-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.supplier-service-strip div:last-child {
  border-radius: 0 8px 8px 0;
}

.supplier-service-strip strong,
.supplier-service-strip span {
  display: block;
}

.supplier-service-strip strong {
  margin-bottom: 8px;
}

.supplier-service-strip span {
  color: var(--muted);
  font-size: 14px;
}

.supplier-page-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 0 clamp(18px, 3vw, 28px) 56px;
}

.category-sidebar {
  align-self: start;
  position: sticky;
  top: 132px;
  overflow: visible;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sidebar-title {
  padding: 16px 18px;
  color: #ffffff;
  background: #223a35;
  font-weight: 700;
}

.category-sidebar > a,
.category-item > a,
.category-parent {
  display: block;
  width: 100%;
  padding: 14px 18px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.category-sidebar > a {
  border-bottom: 1px solid var(--line);
}

.category-sidebar > a:hover,
.category-item > a:hover,
.category-parent:hover,
.category-item.is-open > .category-parent,
.category-item:focus-within > a,
.category-item:hover > a,
.category-item:focus-within > .category-parent,
.category-item:hover > .category-parent {
  background: #eef1ec;
}

.category-item {
  position: relative;
  z-index: 10;
  overflow: visible;
}

.category-submenu {
  position: absolute;
  left: calc(100% + 10px);
  top: 0;
  z-index: 80;
  display: none;
  min-width: 190px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.category-item:hover .category-submenu,
.category-item:focus-within .category-submenu,
.category-item.is-open .category-submenu {
  display: block;
}

.category-item:hover,
.category-item:focus-within,
.category-item.is-open {
  z-index: 120;
}

.category-item.has-submenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 79;
  display: none;
  width: 12px;
  height: 100%;
}

.category-item.has-submenu:hover::before,
.category-item.has-submenu:focus-within::before,
.category-item.has-submenu.is-open::before {
  display: block;
}

.category-item:hover::after,
.category-item:focus-within::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -11px;
  z-index: 81;
  width: 11px;
  height: 11px;
  background: #ffffff;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.category-submenu a {
  display: block;
  position: relative;
  z-index: 82;
  padding: 13px 16px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.category-submenu a:last-child {
  border-bottom: 0;
}

.category-submenu a:hover,
.category-submenu a:focus {
  background: #eef1ec;
  color: var(--green);
}

.supplier-main {
  display: grid;
  gap: 22px;
}

.store-section {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.store-section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
}

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

.supplier-product {
  display: grid;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.supplier-product img,
.reserved-product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef1ec;
}

.reserved-product-image {
  display: grid;
  place-items: center;
  color: #6f786f;
  background: repeating-linear-gradient(135deg, #eef1ec, #eef1ec 10px, #e1e6df 10px, #e1e6df 20px);
  border-bottom: 1px dashed #9ca79d;
  font-weight: 700;
}

.supplier-product div:not(.reserved-product-image) {
  padding: 16px;
}

.supplier-product h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.supplier-product p {
  min-height: 76px;
  color: var(--muted);
  font-size: 14px;
}

.supplier-product span {
  display: block;
  margin-bottom: 12px;
  color: #6f786f;
  font-size: 13px;
}

.supplier-product a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.company-layout > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.company-layout p {
  color: var(--muted);
}

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

.company-facts span {
  padding: 12px;
  color: var(--muted);
  background: #f4f5f1;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.company-facts strong {
  display: block;
  color: var(--ink);
}

.why-grid,
.needed-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.why-grid article,
.needed-grid span {
  min-height: 126px;
  padding: 16px;
  background: #f4f5f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.why-grid strong,
.why-grid span {
  display: block;
}

.why-grid strong {
  margin-bottom: 8px;
}

.why-grid span {
  color: var(--muted);
  font-size: 14px;
}

.needed-grid span {
  display: grid;
  place-items: center;
  min-height: 76px;
  color: #5f685f;
  border-style: dashed;
  font-weight: 700;
  text-align: center;
}

.supplier-inquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: #365d78;
}

.supplier-inquiry h2 {
  max-width: 820px;
  margin-bottom: 10px;
}

.supplier-inquiry p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1080px) {
  .supplier-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid,
  .needed-grid,
  .supplier-service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supplier-page-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .supplier-actions {
    display: none;
  }

  .supplier-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .supplier-nav.is-open {
    display: flex;
  }

  .supplier-nav a,
  .supplier-nav .nav-cta {
    margin: 0;
    color: var(--ink);
    background: transparent;
    border-radius: 8px;
  }

  .supplier-nav .nav-cta {
    color: #ffffff;
    background: var(--green);
  }

  .supplier-page-grid,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    position: static;
  }

  .category-submenu {
    left: 340px;
    min-width: 220px;
  }

  .category-submenu a {
    font-size: 14px;
  }
}

@media (max-width: 620px) {
  .supplier-banner {
    min-height: 520px;
  }

  .supplier-banner::after {
    background: linear-gradient(180deg, rgba(20, 30, 25, 0.34), rgba(20, 30, 25, 0.88));
  }

  .supplier-banner-content {
    padding-top: 118px;
  }

  .supplier-service-strip,
  .supplier-product-grid,
  .why-grid,
  .needed-grid,
  .company-facts {
    grid-template-columns: 1fr;
  }

  .supplier-service-strip div:first-child,
  .supplier-service-strip div:last-child {
    border-radius: 0;
  }

  .store-section-head,
  .supplier-inquiry {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .category-submenu {
    position: static;
    display: block;
    min-width: 0;
    margin: 0 12px 12px;
    box-shadow: none;
  }

  .category-submenu a {
    padding-left: 18px;
  }
}

/* Category listing page */
.category-page {
  background: #f4f4f4;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px 48px;
}

.catalog-sidebar {
  align-self: start;
  background: #ffffff;
  border: 1px solid #d7dde2;
  border-top: 2px solid #1c87c9;
}

.catalog-sidebar h2 {
  margin: 0;
  padding: 18px;
  color: #1473b7;
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid #d7dde2;
}

.catalog-parent-item {
  border-bottom: 1px solid #edf0f2;
}

.catalog-parent-item .category-parent {
  min-height: 48px;
  font-weight: 700;
}

.catalog-parent-item .category-parent.active {
  color: var(--green);
  background: #eef5f1;
}

.catalog-parent-item .category-submenu {
  left: calc(100% + 10px);
}

.catalog-parent-item .category-submenu a.active {
  color: var(--green);
  background: #eef5f1;
}

.catalog-direct-link {
  display: block;
  min-height: 48px;
  padding: 14px 18px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid #edf0f2;
}

.catalog-direct-link:hover,
.catalog-direct-link:focus,
.catalog-direct-link.active {
  color: var(--green);
  background: #eef5f1;
}

@media (max-width: 520px) {
  .catalog-sidebar .category-submenu {
    display: none;
  }

  .catalog-sidebar .category-item:hover .category-submenu,
  .catalog-sidebar .category-item:focus-within .category-submenu,
  .catalog-sidebar .category-item.is-open .category-submenu {
    display: block;
  }
}

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

.catalog-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 106px;
  padding: 22px 20px;
  background: #ffffff;
  border: 1px solid #edf0f2;
}

.catalog-titlebar h1 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #555;
  font-size: 13px;
}

.breadcrumb a {
  color: #222;
  text-decoration: none;
}

.view-icons {
  display: flex;
  gap: 10px;
  color: #222;
  font-size: 24px;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2px;
}

.catalog-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #edf0f2;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 32, 28, 0.08);
}

.catalog-card-media {
  position: relative;
  background: #f1f1f1;
}

.catalog-card-media img,
.catalog-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.catalog-card-media.has-gallery {
  cursor: pointer;
}

.catalog-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  color: #6c756f;
  background: repeating-linear-gradient(135deg, #f0f2f0, #f0f2f0 10px, #e4e8e4 10px, #e4e8e4 20px);
  text-align: center;
  font-weight: 700;
}

.media-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 2px 6px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.78);
  font-size: 12px;
}

.catalog-card-body {
  display: grid;
  align-content: start;
  padding: 12px;
}

.verify-badge {
  justify-self: start;
  margin-bottom: 6px;
  padding: 2px 5px;
  color: #126faf;
  background: #eef6fb;
  border-left: 3px solid #126faf;
  font-size: 12px;
  font-weight: 700;
}

.catalog-card-body h2 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.catalog-card-body p {
  margin: 0 0 8px;
  color: #444;
  font-size: 13px;
}

.catalog-card-body strong {
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.2;
}

.catalog-card-body span:not(.verify-badge) {
  margin-bottom: 14px;
  color: #222;
  font-size: 13px;
}

.catalog-card-body a {
  align-self: end;
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  color: #111;
  border: 1px solid #111;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.catalog-card-body a:hover {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

body.lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 68px 72px 48px;
  background: rgba(8, 12, 10, 0.86);
}

.product-lightbox[hidden] {
  display: none;
}

.product-lightbox img {
  max-width: min(1120px, 100%);
  max-height: 82vh;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-count {
  position: fixed;
  right: 24px;
  bottom: 18px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  font-size: 13px;
}

.product-lightbox.is-single .lightbox-nav,
.product-lightbox.is-single .lightbox-count {
  display: none;
}

@media (max-width: 1040px) {
  .catalog-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

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

  .product-lightbox {
    padding: 64px 18px 54px;
  }

  .product-lightbox img {
    max-height: 76vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 16px;
  }

  .lightbox-prev {
    left: 18px;
  }

  .lightbox-next {
    right: 78px;
  }
}

@media (max-width: 520px) {
  .catalog-layout {
    padding: 12px;
  }

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

  .catalog-product-grid {
    grid-template-columns: 1fr;
  }
}
