:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe5f4;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --deep: #101a45;
  --deep-2: #17235a;
  --cyan: #22c4dc;
  --cyan-2: #81e7f4;
  --violet: #4c4a92;
  --steel: #e8eef7;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
  --radius: 8px;
  --max: 1180px;
  --home-max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.section-anchor {
  scroll-margin-top: 92px;
}

.site-header {
  --header-accent: var(--cyan);
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px 5vw;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 20, 52, 0.18);
  backdrop-filter: blur(16px);
  transition:
    background 520ms ease,
    color 520ms ease,
    border-color 520ms ease,
    box-shadow 520ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.home-page .site-header[data-hero-theme="dark"]:not(.is-scrolled):not(.nav-active) {
  background: rgba(12, 20, 52, 0.88);
}

.home-page .site-header[data-hero-theme="warm-ivory"]:not(.is-scrolled):not(.nav-active) {
  --header-accent: #9b673a;
  color: #35271f;
  border-bottom-color: rgba(91, 63, 43, 0.16);
  background: rgba(246, 237, 227, 0.94);
  box-shadow: 0 10px 28px rgba(105, 76, 51, 0.08);
}

.home-page .site-header[data-hero-theme="warm-sand"]:not(.is-scrolled):not(.nav-active) {
  --header-accent: #93613b;
  color: #30231d;
  border-bottom-color: rgba(76, 50, 34, 0.18);
  background: rgba(211, 185, 159, 0.94);
  box-shadow: 0 10px 28px rgba(84, 55, 36, 0.1);
}

.brand {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 126px;
  height: auto;
  filter: invert(1);
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand-logo,
.site-header.nav-active .brand-logo {
  filter: none;
}

.home-page .site-header[data-hero-theme="warm-ivory"]:not(.is-scrolled):not(.nav-active) .brand-logo,
.home-page .site-header[data-hero-theme="warm-sand"]:not(.is-scrolled):not(.nav-active) .brand-logo {
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 1.04rem;
  font-weight: 650;
}

.main-nav > a,
.nav-dropdown > a {
  position: relative;
  padding: 8px 0;
}

.main-nav > a::after,
.nav-dropdown > a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--header-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition:
    transform 180ms ease,
    background-color 520ms ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after,
.main-nav > a.is-active::after,
.nav-dropdown > a:hover::after,
.nav-dropdown > a:focus-visible::after,
.nav-dropdown > a.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 0;
  margin: -12px 0;
}

.product-dropdown {
  position: absolute;
  z-index: 70;
  top: 100%;
  left: 50%;
  display: grid;
  width: min(860px, calc(100vw - 40px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.product-dropdown::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 14px;
  content: "";
}

.nav-dropdown:hover .product-dropdown,
.nav-dropdown:focus-within .product-dropdown,
.nav-dropdown.is-open .product-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.product-dropdown > div {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius);
  background: #f8fbff;
}

.product-dropdown strong {
  display: flex;
  min-height: 36px;
  align-items: center;
  margin: 0;
  padding: 0 10px;
  color: var(--deep);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-dropdown a {
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 12px 10px 28px;
  color: #475569;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.3;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.product-dropdown .dropdown-all-products {
  grid-column: 1 / -1;
  min-height: 46px;
  color: var(--deep);
  border-color: rgba(34, 196, 220, 0.28);
  background:
    linear-gradient(90deg, rgba(34, 196, 220, 0.16), rgba(76, 74, 146, 0.1)),
    #fff;
  font-weight: 900;
}

.product-dropdown a::before {
  position: absolute;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  content: "";
  background: var(--cyan);
  opacity: 0.65;
}

.product-dropdown a:hover,
.product-dropdown a:focus-visible {
  color: var(--deep);
  border-color: rgba(34, 196, 220, 0.45);
  background: #effcff;
  outline: none;
  transform: translateX(2px);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-picker select,
.quote-link,
.menu-toggle {
  border: 0;
  cursor: pointer;
}

.language-picker select {
  min-width: 72px;
  height: 38px;
  padding: 0 28px 0 10px;
  color: currentColor;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 700;
  outline: none;
}

.quote-link {
  display: inline-flex;
  min-width: 118px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #061a22;
  border-radius: var(--radius);
  background: var(--header-accent);
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    color 520ms ease,
    background-color 520ms ease,
    box-shadow 520ms ease;
}

.home-page .site-header[data-hero-theme="warm-ivory"]:not(.is-scrolled):not(.nav-active) .quote-link,
.home-page .site-header[data-hero-theme="warm-sand"]:not(.is-scrolled):not(.nav-active) .quote-link {
  color: #fff;
  box-shadow: 0 8px 20px rgba(93, 59, 34, 0.16);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: currentColor;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(12, 20, 52, 0.96) 0%, rgba(16, 26, 69, 0.9) 43%, rgba(16, 26, 69, 0.34) 100%),
    var(--deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/catalog/factory-night.png");
  background-position: center right;
  background-size: cover;
  opacity: 0.38;
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max), 90vw);
  min-height: 62svh;
  margin: 0 auto;
  padding: 118px 0 42px;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.88fr);
  align-items: center;
  gap: 48px;
}

.hero-content > * {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: 3.72rem;
  font-weight: 820;
  line-height: 1;
  overflow-wrap: break-word;
}

.hero-copy p {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #061a22;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  box-shadow: 0 18px 36px rgba(34, 196, 220, 0.2);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.hero-product {
  justify-self: end;
}

.hero-product-card {
  position: relative;
  overflow: hidden;
  width: min(420px, 42vw);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 36px 44px rgba(0, 0, 0, 0.38));
}

.hero-product-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-product-card strong {
  font-size: 1.6rem;
}

.hero-product-card span {
  max-width: 170px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  text-align: right;
}

.hero-strip {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(var(--max), 90vw);
  margin: 0 auto 24px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.hero-strip span {
  padding: 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-strip span:last-child {
  border-right: 0;
}

.hero-strip strong,
.hero-strip small {
  display: block;
}

.hero-strip strong {
  font-size: 1.18rem;
}

.hero-strip small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
  outline: none;
}

.hero-carousel:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: -3px;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1832 / 859;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.hero-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-carousel-slide a,
.hero-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-carousel-slide img {
  object-fit: contain;
}

.hero-carousel-original > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-original-link {
  position: absolute;
  z-index: 2;
  top: 62%;
  height: 6%;
  border-radius: 8px;
}

.hero-original-link-products {
  left: 17.8%;
  width: 8.4%;
}

.hero-original-link-quote {
  left: 26.8%;
  width: 6.6%;
}

.hero-original-link:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.hero-carousel-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(12, 20, 52, 0.64);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.24);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease;
}

.hero-carousel-button:hover,
.hero-carousel-button:focus-visible {
  background: rgba(12, 20, 52, 0.92);
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.hero-carousel-button-prev {
  left: clamp(12px, 2.5vw, 48px);
}

.hero-carousel-button-next {
  right: clamp(12px, 2.5vw, 48px);
}

.hero-carousel-button span {
  margin-top: -4px;
  font-size: 2.4rem;
  line-height: 1;
}

.hero-carousel-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: clamp(12px, 2vw, 30px);
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-carousel-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(12, 20, 52, 0.5);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
  cursor: pointer;
}

.hero-carousel-dots button[aria-current="true"] {
  background: var(--cyan);
  transform: scale(1.22);
}

.hero-carousel-dots button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.section {
  padding: 98px 5vw;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 42px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
  max-width: 860px;
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.04;
}

.section-heading p:last-child,
.about-copy p,
.contact-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
}

.category-jump-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: 28px auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  border-color: rgba(34, 196, 220, 0.7);
  background: #eefcff;
  transform: translateY(-2px);
}

.category-card span,
.category-card small {
  display: block;
}

.category-card span {
  font-weight: 800;
}

.category-card small {
  margin-top: 8px;
  color: var(--muted);
}

.product-category-list {
  width: min(var(--max), 100%);
  margin: 54px auto 0;
}

.product-category {
  padding-top: 54px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 112px;
}

.product-category:first-child {
  padding-top: 0;
  border-top: 0;
}

.product-category + .product-category {
  margin-top: 54px;
}

.product-category-heading {
  display: block;
  margin-bottom: 18px;
}

.product-category-heading span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-category-heading h3 {
  margin: 6px 0 0;
  font-size: 2rem;
  line-height: 1.1;
}

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

.simple-product-card {
  display: flex;
  min-width: 0;
  min-height: 338px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.07);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.simple-product-card:hover,
.simple-product-card:focus-within {
  border-color: rgba(34, 196, 220, 0.75);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.simple-product-card img {
  width: 100%;
  height: 210px;
  padding: 20px;
  object-fit: contain;
  background: #fff;
}

.simple-product-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.simple-product-card h4,
.blog-grid h3 {
  margin: 0;
  font-size: 1.2rem;
}

.simple-product-card p,
.blog-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.simple-product-card a {
  margin-top: auto;
  color: var(--deep-2);
  font-weight: 850;
}

.home-product-showcase {
  padding: 34px 5vw 28px;
  background: #fff;
}

.home-section-inner {
  width: min(var(--home-max), 100%);
  margin: 0 auto;
}

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

.home-section-row h2,
.inquiry-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.section-link {
  display: inline-flex;
  align-items: center;
  color: #006eb8;
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
}

.section-link::after,
.featured-chair-card a::after {
  margin-left: 8px;
  content: "→";
}

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

.featured-chair-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 360px;
  padding: 26px 26px 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 40%, rgba(34, 196, 220, 0.08), transparent 34%),
    #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.featured-chair-card:hover,
.featured-chair-card:focus-within,
.home-category-card:hover,
.home-category-card:focus-visible {
  border-color: rgba(34, 196, 220, 0.62);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.featured-chair-card h3 {
  margin: 0;
  color: var(--deep);
  font-size: 1.72rem;
  line-height: 1;
}

.featured-chair-card p {
  max-width: 150px;
  margin: 10px 0 0;
  color: #172554;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.featured-chair-card img {
  align-self: end;
  width: 100%;
  height: 235px;
  margin-top: 12px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(15, 23, 42, 0.14));
}

.featured-chair-card a {
  justify-self: end;
  color: #006eb8;
  font-size: 0.78rem;
  font-weight: 850;
}

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

.home-static-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.home-category-carousel {
  position: relative;
  margin-top: 2px;
}

.home-category-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 18px;
  margin: -4px -4px -18px;
}

.home-category-viewport::-webkit-scrollbar {
  display: none;
}

.home-category-viewport:focus-visible {
  outline: 2px solid rgba(34, 196, 220, 0.7);
  outline-offset: 8px;
}

.home-category-grid {
  display: flex;
  width: max-content;
  gap: 10px;
  will-change: scroll-position;
}

.home-category-card {
  display: grid;
  flex: 0 0 clamp(178px, 12.7vw, 214px);
  min-width: 0;
  min-height: 176px;
  align-content: space-between;
  padding: 18px 18px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.home-category-card span {
  display: block;
  color: var(--deep);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.25;
}

.home-category-card img {
  display: block;
  width: 100%;
  height: 112px;
  margin-top: 8px;
  background: #fff;
  object-fit: contain;
  object-position: center bottom;
}

.category-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  color: var(--deep);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.category-carousel-button:hover,
.category-carousel-button:focus-visible {
  border-color: rgba(34, 196, 220, 0.65);
  background: var(--cyan);
  color: #061225;
  transform: translateY(-50%) scale(1.04);
}

.category-carousel-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.category-carousel-button-prev {
  left: -19px;
}

.category-carousel-button-next {
  right: -19px;
}

.home-category-carousel.is-paused .category-carousel-button {
  opacity: 1;
}

.manufacturing-band {
  padding: 54px 5vw 42px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 17, 48, 0.98) 0%, rgba(7, 17, 48, 0.88) 45%, rgba(7, 17, 48, 0.24) 100%),
    url("assets/catalog/robotic-arm-manufacturing.png") center / cover;
}

.manufacturing-inner {
  display: block;
  width: min(var(--home-max), 100%);
  margin: 0 auto;
}

.manufacturing-copy {
  max-width: 780px;
}

.manufacturing-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: 2.3rem;
  line-height: 1.02;
  text-transform: uppercase;
}

.manufacturing-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.manufacturing-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 26px;
  margin: 34px 0;
}

.manufacturing-metrics div {
  min-width: 0;
}

.manufacturing-metrics strong,
.manufacturing-metrics span,
.manufacturing-metrics small {
  display: block;
}

.manufacturing-metrics strong {
  color: var(--cyan-2);
  font-size: 1.32rem;
  line-height: 1.1;
}

.manufacturing-metrics span {
  margin-top: 5px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 820;
}

.manufacturing-metrics small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.74rem;
  line-height: 1.35;
}

.certificates {
  padding: 34px 5vw 26px;
  background: #fff;
}

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

.certificate-logo-card {
  display: grid;
  min-width: 0;
  min-height: 110px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  margin: 0;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
  grid-column: span 2;
}

.certificate-logo-card:hover {
  border-color: rgba(34, 196, 220, 0.62);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.11);
  transform: translateY(-2px);
}

.certificate-logo-card img {
  width: 116px;
  max-width: 100%;
  height: 58px;
  object-fit: contain;
}

.certificate-logo-card figcaption {
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 780;
}

.inquiry-section {
  padding: 20px 5vw 48px;
  background: #fff;
}

.inquiry-heading {
  margin-bottom: 18px;
}

.inquiry-form {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 34px;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.inquiry-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 28px;
}

.inquiry-form label {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 850;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 42px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  outline: none;
  padding: 11px 12px;
  font-size: 0.86rem;
}

.inquiry-form textarea {
  min-height: 104px;
  resize: vertical;
}

.inquiry-form select option {
  color: var(--ink);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 196, 220, 0.16);
}

.privacy-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.inquiry-submit-card {
  display: grid;
  min-height: 208px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  color: #fff;
  border: 0;
  border-radius: 7px;
  background:
    linear-gradient(135deg, #0a54c9 0%, #0b8dd8 100%);
  cursor: pointer;
  font-weight: 850;
  box-shadow: 0 22px 40px rgba(10, 84, 201, 0.18);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.inquiry-submit-card:hover,
.inquiry-submit-card:focus-visible {
  box-shadow: 0 26px 48px rgba(10, 84, 201, 0.26);
  outline: none;
  transform: translateY(-2px);
}

.inquiry-submit-card svg {
  width: 42px;
  height: 42px;
}

.inquiry-submit-card span,
.inquiry-submit-card small {
  display: block;
}

.inquiry-submit-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--deep-2);
  font-weight: 760;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(4, minmax(150px, 0.7fr));
  gap: 36px;
  padding: 44px 5vw 20px;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, #071225 0%, #06101f 100%);
}

.site-footer strong,
.site-footer h2 {
  color: #fff;
}

.site-footer strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.site-footer h2 {
  margin: 0 0 13px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.site-footer small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.5;
}

.site-footer nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 7px;
}

.site-footer a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  line-height: 1.45;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan-2);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 150px 5vw 54px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(12, 20, 52, 0.95), rgba(16, 26, 69, 0.78)),
    url("assets/catalog/factory-night.png") center / cover;
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(7, 17, 30, 0.72));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1500px, 90vw);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4.2rem;
  line-height: 0.98;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.about-page-hero {
  min-height: clamp(380px, 29vw, 520px);
  align-items: center;
  padding-top: 132px;
  padding-bottom: 54px;
  text-align: center;
  background:
    linear-gradient(105deg, rgba(7, 17, 48, 0.9), rgba(16, 26, 69, 0.68)),
    url("assets/catalog/factory-night.png") center / cover;
}

.about-page-hero .page-hero-inner {
  display: grid;
  justify-items: center;
}

.about-page-hero h1 {
  max-width: none;
}

.about-page-hero .breadcrumb {
  justify-content: center;
  margin-top: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.breadcrumb a {
  color: #fff;
}

.about-profile {
  padding: clamp(76px, 7vw, 126px) 5vw;
  background: #fbf8f1;
}

.about-profile-inner {
  display: grid;
  width: min(1600px, 94vw);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: clamp(42px, 5vw, 84px);
  align-items: start;
}

.company-copy {
  min-width: 0;
}

.company-copy h2,
.factory-show h2 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(2.25rem, 3.3vw, 3.45rem);
  line-height: 1.14;
}

.company-copy p {
  max-width: 850px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.86;
}

.company-video {
  min-width: 0;
  margin: 46px 0 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: var(--deep);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18);
}

.company-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #07111e;
  object-fit: contain;
}

.company-video figcaption {
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--deep);
  font-size: 0.82rem;
  line-height: 1.45;
}

.about-stat-row {
  display: grid;
  margin-top: 46px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid rgba(186, 139, 67, 0.28);
}

.about-stat-row div {
  min-width: 0;
  min-height: 112px;
  padding: 26px 16px 4px;
  border-left: 1px solid rgba(186, 139, 67, 0.28);
  text-align: center;
}

.about-stat-row div:first-child {
  border-left: 0;
}

.about-stat-row strong {
  display: inline-flex;
  color: #bb8742;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1;
  white-space: nowrap;
}

.about-stat-row span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.about-value-strip {
  padding: clamp(40px, 6vw, 85px) 5vw;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(7, 17, 30, 0.76), rgba(7, 17, 30, 0.76)),
    url("assets/catalog/factory-night.png") center / cover fixed;
}

.about-value-strip p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.45;
}

.factory-show {
  padding: clamp(76px, 7vw, 120px) 5vw;
  background: #fff;
}

.factory-show-inner {
  width: min(1600px, 96%);
  margin: 0 auto;
}

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

.factory-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.factory-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.factory-card strong {
  display: block;
  padding: 18px 20px;
  background: #f5f5f5;
  font-size: 1rem;
}

.factory-placeholder-visual {
  display: grid;
  aspect-ratio: 4 / 3;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(34, 196, 220, 0.13), rgba(16, 26, 69, 0.08)),
    #101a45;
}

.factory-placeholder-visual span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 1.9rem;
  font-weight: 900;
}

.factory-placeholder-visual small {
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-inquiry {
  padding: clamp(70px, 6vw, 106px) 5vw;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(34, 196, 220, 0.16), transparent 30%),
    #071130;
}

.about-inquiry-inner {
  display: grid;
  width: min(1500px, 94vw);
  margin: 0 auto;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 5vw, 78px);
  align-items: start;
}

.about-inquiry-heading h2 {
  max-width: 540px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.about-inquiry-heading > p:last-child {
  max-width: 540px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.about-inquiry-form {
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
}

.about-inquiry-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-inquiry-form label {
  color: rgba(255, 255, 255, 0.86);
}

.about-message-field,
.about-inquiry-form .privacy-note,
.about-inquiry-form .form-status {
  grid-column: 1 / -1;
}

.about-inquiry-form .privacy-note,
.about-inquiry-form .form-status {
  color: rgba(255, 255, 255, 0.58);
}

.about-inquiry-form .form-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 0.78rem;
}

.about-inquiry-form .inquiry-submit-card {
  min-height: 100%;
  background: var(--cyan);
  color: #061225;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 13px;
    font-size: 0.96rem;
  }

  .hero-copy h1 {
    font-size: 3.1rem;
  }

  .category-jump-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 940px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 68px;
    padding: 12px 20px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    grid-column: 1 / -1;
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.16);
  }

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

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-dropdown {
    display: grid;
    padding: 0;
    margin: 0;
  }

  .product-dropdown {
    position: static;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 8px 0 14px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .product-dropdown::before {
    display: none;
  }

  .nav-dropdown.is-open .product-dropdown {
    transform: none;
  }

  .product-dropdown > div {
    gap: 7px;
    padding: 10px;
    background: var(--soft);
  }

  .product-dropdown a {
    min-height: 40px;
    padding: 10px 12px 10px 28px;
    border-bottom: 0;
    font-size: 0.84rem;
  }

  .hero-content {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 110px;
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-product {
    justify-self: start;
  }

  .hero-product-card {
    width: min(430px, 100%);
  }

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

  .hero-strip span:nth-child(2) {
    border-right: 0;
  }

  .hero-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

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

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

  .about,
  .about-profile-inner,
  .about-inquiry-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .company-copy {
    padding-right: 0;
  }

  .company-video {
    width: min(920px, 100%);
    margin-top: 0;
  }

  .about-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .about-stat-row div,
  .about-stat-row div:first-child {
    min-height: 98px;
    padding: 22px 10px 12px;
    border-left: 1px solid rgba(186, 139, 67, 0.28);
    border-bottom: 1px solid rgba(186, 139, 67, 0.28);
  }

  .about-stat-row div:nth-child(odd) {
    border-left: 0;
  }

  .about-stat-row div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

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

  .about-media img {
    min-height: 360px;
  }

  .contact-copy {
    max-width: none;
    justify-self: stretch;
  }

  .inquiry-form {
    max-width: none;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-logo {
    width: 108px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-picker select {
    width: 52px;
    min-width: 52px;
    padding: 0 4px;
    appearance: none;
    text-align: center;
  }

  .quote-link {
    display: none;
  }

  .hero-carousel-button {
    width: 34px;
    height: 34px;
  }

  .hero-carousel-button span {
    font-size: 1.8rem;
  }

  .hero-carousel-dots {
    bottom: 8px;
  }

  .hero-carousel-dots button {
    width: 9px;
    height: 9px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding-top: 100px;
    padding-bottom: 34px;
  }

  .hero-copy h1 {
    display: block;
    width: 100%;
    max-width: calc(100vw - 32px);
    font-size: 1.78rem;
    line-height: 1.02;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-product-card {
    padding: 16px;
  }

  .hero-product-card div {
    display: block;
  }

  .hero-product-card span {
    display: block;
    max-width: none;
    margin-top: 6px;
    text-align: left;
  }

  .hero-strip {
    width: min(100% - 32px, var(--max));
    grid-template-columns: 1fr;
  }

  .hero-strip span,
  .hero-strip span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-strip span:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 68px 16px;
  }

  .section-heading h2,
  .about-copy h2,
  .company-copy h2,
  .factory-show h2,
  .contact h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .page-hero {
    min-height: 340px;
    padding: 118px 16px 38px;
  }

  .page-hero h1 {
    font-size: 2.48rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .category-jump-grid,
  .product-card-grid,
  .hot-product-card,
  .metric-grid,
  .inquiry-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hot-product-media {
    min-height: 260px;
  }

  .hot-product-copy {
    padding: 22px;
  }

  .hot-product-copy h3 {
    font-size: 1.62rem;
  }

  .simple-product-card {
    min-height: auto;
  }

  .product-category-heading {
    display: block;
  }

  .product-category-heading h3 {
    margin-top: 6px;
    font-size: 1.46rem;
  }

  .simple-product-card img {
    height: 220px;
  }

  .about-profile,
  .factory-show,
  .about-inquiry {
    padding: 68px 16px;
  }

  .about-profile-inner {
    gap: 28px;
  }

  .company-copy p {
    font-size: 0.86rem;
    line-height: 1.82;
  }

  .about-page-hero {
    min-height: 310px;
    padding-top: 104px;
    padding-bottom: 36px;
  }

  .about-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .about-stat-row div,
  .about-stat-row div:first-child {
    min-height: 98px;
    padding: 22px 10px 12px;
    border-left: 1px solid rgba(186, 139, 67, 0.28);
    border-bottom: 1px solid rgba(186, 139, 67, 0.28);
  }

  .about-stat-row div:nth-child(odd) {
    border-left: 0;
  }

  .about-stat-row div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .about-value-strip {
    background-attachment: scroll;
  }

  .about-value-strip p {
    font-size: 1.1rem;
  }

  .factory-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-inquiry-inner {
    width: 100%;
    gap: 32px;
  }

  .about-inquiry-form,
  .about-inquiry-fields {
    grid-template-columns: 1fr;
  }

  .about-inquiry-form .inquiry-submit-card {
    min-height: 150px;
  }

  .certificate-image {
    width: 100%;
    height: 260px;
    margin-top: 28px;
  }

  .certificate-logo-card {
    width: calc(50% - 7px);
    min-height: 68px;
  }

  .about {
    width: calc(100% - 32px);
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .about-media img {
    min-height: 280px;
  }

  .contact {
    padding-right: 16px;
    padding-left: 16px;
  }

  .inquiry-form {
    padding: 18px;
  }

  .site-footer div:last-child {
    justify-items: start;
    text-align: left;
  }
}

/* Product catalog and data-driven product detail */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.products-page-hero {
  min-height: clamp(300px, 22.6vw, 460px);
  padding: 112px 5vw 34px;
}

.products-page-hero .page-hero-inner {
  width: min(1500px, 90vw);
}

.products-page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.2rem);
}

.products-page-hero p {
  margin-top: 12px;
}

.products-page-hero .breadcrumb {
  margin-top: 20px;
}

.product-catalog {
  padding: 72px 5vw 96px;
  background: var(--soft);
  scroll-margin-top: 92px;
}

.catalog-intro,
.catalog-layout {
  width: min(1500px, 100%);
  margin-inline: auto;
}

.catalog-intro {
  margin-bottom: 34px;
}

.catalog-intro h2 {
  max-width: 820px;
  margin: 8px 0 10px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
}

.catalog-intro > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.catalog-sidebar-inner {
  position: sticky;
  top: 102px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

.catalog-sidebar h2 {
  margin: 0 0 16px;
  font-size: 1.08rem;
}

.catalog-category-list {
  display: grid;
  gap: 4px;
}

.catalog-category-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: #475569;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-align: start;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.catalog-category-list button:hover,
.catalog-category-list button:focus-visible,
.catalog-category-list button.is-active {
  color: var(--deep);
  background: #eafcff;
}

.catalog-category-list button.is-active {
  box-shadow: inset 3px 0 0 var(--cyan);
  font-weight: 800;
}

[dir="rtl"] .catalog-category-list button.is-active {
  box-shadow: inset -3px 0 0 var(--cyan);
}

.catalog-category-list small {
  min-width: 28px;
  color: var(--muted);
  text-align: end;
}

.catalog-help-card {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding: 20px;
  color: #fff;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--deep), var(--deep-2));
}

.catalog-help-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.catalog-help-card b {
  margin-top: 8px;
  color: var(--cyan-2);
}

.catalog-filter-toggle {
  display: none;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.catalog-search {
  position: relative;
  flex: 1;
}

.catalog-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 46px 10px 14px;
  border: 1px solid #cbd7e7;
  border-radius: 7px;
  outline: none;
}

[dir="rtl"] .catalog-search input {
  padding: 10px 14px 10px 46px;
}

.catalog-search input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 196, 220, 0.14);
}

.catalog-search > span:last-child {
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  color: var(--muted);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.catalog-toolbar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.catalog-toolbar-meta p {
  margin: 0;
  color: var(--muted);
}

.catalog-toolbar-meta button {
  padding: 0;
  color: var(--deep-2);
  border: 0;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

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

.catalog-card {
  min-height: 390px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.catalog-card-media {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  border-bottom: 1px solid #edf2f8;
  background: #fff;
}

.catalog-card-media img,
.simple-product-card .catalog-card-media img {
  width: 100%;
  height: 224px;
  padding: 0;
  object-fit: contain;
}

.catalog-card-media > span {
  position: absolute;
  inset: 12px auto auto 12px;
  padding: 5px 8px;
  color: #475569;
  border: 1px solid #dbe5f4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.7rem;
  font-weight: 800;
}

[dir="rtl"] .catalog-card-media > span {
  inset: 12px 12px auto auto;
}

.catalog-card > div {
  padding: 18px;
}

.catalog-card-category {
  min-height: 21px;
  margin: 0 0 5px !important;
  color: var(--cyan) !important;
  font-size: 0.75rem !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 0;
  font-size: 1.28rem;
}

.catalog-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 !important;
  margin-top: auto;
}

.catalog-card-actions a {
  display: grid;
  min-height: 40px;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid var(--deep-2);
  border-radius: 6px;
  font-size: 0.82rem;
  text-align: center;
}

.catalog-card-actions a:last-child {
  color: #07111e;
  border-color: var(--cyan);
  background: var(--cyan);
}

.catalog-empty {
  padding: 80px 24px;
  border: 1px dashed #b9c8dc;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.catalog-empty strong {
  font-size: 1.35rem;
}

.catalog-empty p {
  margin: 8px 0 22px;
  color: var(--muted);
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.catalog-pagination button {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--deep);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.catalog-pagination button.is-active {
  color: #07111e;
  border-color: var(--cyan);
  background: var(--cyan);
  font-weight: 900;
}

.catalog-pagination button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.detail-breadcrumb-band {
  padding: 112px 5vw 28px;
  color: #fff;
  background: var(--deep);
}

.detail-breadcrumb {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.product-detail,
.detail-information {
  width: min(1500px, 90vw);
  margin-inline: auto;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(36px, 6vw, 90px);
  padding: 72px 0;
  align-items: center;
}

.detail-main-media {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.detail-main-media > img {
  width: 100%;
  height: 470px;
  object-fit: contain;
}

.detail-image-note {
  position: absolute;
  inset: auto 20px 18px;
  padding: 8px 12px;
  color: #475569;
  border-radius: 6px;
  background: rgba(241, 245, 249, 0.96);
  font-size: 0.78rem;
  text-align: center;
}

.detail-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.detail-thumbnails button {
  width: 76px;
  height: 76px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.detail-thumbnails button.is-active {
  border-color: var(--cyan);
}

.detail-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-summary h1 {
  margin: 10px 0 18px;
  color: var(--deep);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.detail-lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.detail-availability {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  margin: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-availability > span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(34, 196, 220, 0.14);
}

.detail-availability p,
.detail-availability strong,
.detail-availability small {
  display: block;
  margin: 0;
}

.detail-availability small {
  margin-top: 4px;
  color: var(--muted);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-dark {
  color: #fff;
  border-color: var(--deep);
  background: var(--deep);
}

.detail-information {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 24px;
  padding-bottom: 96px;
}

.detail-panel,
.detail-oem-card {
  padding: clamp(28px, 4vw, 52px);
  border-radius: 12px;
}

.detail-panel {
  border: 1px solid var(--line);
  background: var(--soft);
}

.detail-panel h2,
.detail-oem-card h2 {
  margin: 8px 0 20px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.detail-spec-list {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  margin: 0;
}

.detail-spec-list dt,
.detail-spec-list dd {
  padding: 13px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.detail-spec-list dt {
  color: var(--muted);
}

.detail-data-notice {
  padding: 22px;
  color: #334155;
  border-inline-start: 4px solid var(--cyan);
  background: #fff;
}

.detail-data-notice p {
  margin: 7px 0 0;
  color: var(--muted);
}

.detail-oem-card {
  color: #fff;
  background: linear-gradient(145deg, var(--deep), #1b2a6b);
}

.detail-oem-card .section-kicker {
  color: var(--cyan-2);
}

.detail-oem-card > p:not(.section-kicker),
.detail-oem-card li {
  color: rgba(255, 255, 255, 0.72);
}

.detail-oem-card ul {
  padding-inline-start: 20px;
  margin: 24px 0;
}

.detail-oem-card a {
  display: inline-grid;
  min-height: 46px;
  place-items: center;
  padding: 10px 20px;
  color: #07111e;
  border-radius: 6px;
  background: var(--cyan);
  font-weight: 900;
}

.detail-not-found {
  min-height: 620px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 80px 5vw;
  text-align: center;
}

.detail-not-found[hidden],
[data-detail-content][hidden] {
  display: none !important;
}

.detail-not-found > span {
  padding: 7px 12px;
  color: var(--deep-2);
  border-radius: 999px;
  background: rgba(34, 196, 220, 0.14);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-not-found h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

.detail-not-found p {
  margin: 10px 0 24px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .catalog-layout {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 22px;
  }

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

  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
  }
}

@media (max-width: 767px) {
  .products-page-hero {
    min-height: 230px;
    padding: 106px 5vw 26px;
  }

  .products-page-hero p {
    display: none;
  }

  .product-catalog {
    padding: 48px 5vw 68px;
  }

  .catalog-filter-toggle {
    width: min(1500px, 100%);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin: 0 auto 14px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: var(--deep);
    font-weight: 850;
  }

  .catalog-layout {
    display: block;
  }

  .catalog-sidebar {
    display: none;
    margin-bottom: 16px;
  }

  .catalog-sidebar.is-open {
    display: block;
  }

  .catalog-sidebar-inner {
    position: static;
  }

  .catalog-toolbar {
    display: grid;
    padding: 12px;
  }

  .catalog-toolbar-meta {
    justify-content: space-between;
  }

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

  .catalog-card-media {
    min-height: 248px;
  }

  .catalog-card-media img,
  .simple-product-card .catalog-card-media img {
    height: 214px;
  }

  .catalog-pagination button {
    min-width: 38px;
    min-height: 38px;
    padding: 6px 9px;
  }

  .detail-breadcrumb-band {
    padding: 102px 5vw 20px;
  }

  .product-detail,
  .detail-information {
    width: min(90vw, 680px);
    grid-template-columns: 1fr;
  }

  .product-detail {
    padding: 40px 0 54px;
  }

  .detail-main-media {
    min-height: 330px;
    padding: 20px;
  }

  .detail-main-media > img {
    height: 286px;
  }

  .detail-summary h1 {
    font-size: clamp(2.8rem, 17vw, 4.8rem);
  }

  .detail-information {
    padding-bottom: 68px;
  }
}

@media (max-width: 430px) {
  .catalog-intro h2 {
    font-size: 1.8rem;
  }

  .catalog-card-actions,
  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    display: grid;
  }

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

@media (max-width: 1180px) {
  .featured-chair-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-static-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-category-card {
    flex-basis: clamp(176px, 19vw, 216px);
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .certificate-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .certificate-logo-card,
  .certificate-logo-card:nth-child(7) {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .home-product-showcase,
  .certificates,
  .inquiry-section,
  .manufacturing-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-section-row {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .home-static-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-category-card {
    flex-basis: clamp(174px, 26vw, 224px);
  }

  .category-carousel-button {
    width: 34px;
    height: 34px;
  }

  .category-carousel-button-prev {
    left: -10px;
  }

  .category-carousel-button-next {
    right: -10px;
  }

  .manufacturing-copy h2 {
    font-size: 2rem;
  }

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

  .certificate-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .certificate-logo-card,
  .certificate-logo-card:nth-child(7) {
    grid-column: auto;
  }

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

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

@media (max-width: 680px) {
  .home-product-showcase {
    padding-top: 28px;
  }

  .featured-chair-grid,
  .inquiry-form,
  .inquiry-fields {
    grid-template-columns: 1fr;
  }

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

  .certificate-logo-card,
  .certificate-logo-card:nth-child(7) {
    grid-column: auto;
  }

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

  .featured-chair-card {
    min-height: 320px;
  }

  .featured-chair-card img {
    height: 210px;
  }

  .home-category-card {
    flex-basis: min(76vw, 264px);
    min-height: 158px;
    padding: 14px 12px 10px;
  }

  .home-category-card img {
    height: 96px;
  }

  .category-carousel-button {
    width: 32px;
    height: 32px;
  }

  .manufacturing-metrics,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .manufacturing-copy h2 {
    font-size: 1.7rem;
  }

  .certificate-logo-card {
    width: auto;
  }

  .inquiry-form {
    padding: 0;
  }

  .inquiry-submit-card {
    min-height: 172px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-items: start;
    text-align: left;
  }
}
