:root {
  --color-bg: #faf8f4;
  --color-bg-alt: #f1eee8;
  --color-footer: #e8e9ea;
  --color-border: #e3dfd6;
  --color-text: #2b2b2f;
  --color-navy: #1f2d3d;
  --color-navy-dark: #1b2a41;
  --color-navy-light: #2c4059;
  --color-primary: #f6ab00;
  --color-mint: #00c7be;

  /* Type scale for readable body copy. */
  --font-body: 16px;
  --line-body: 1.9;

  /* Spacing scale: 1n = 8px. */
  --sp-05n: 4px;
  --sp-1n: 8px;
  --sp-2n: 16px;
  --sp-3n: 24px;
  --sp-4n: 32px;
  --sp-5n: 40px;
  --sp-6n: 48px;
  --sp-8n: 64px;
  --sp-10n: 80px;
  --sp-12n: 96px;
  --sp-15n: 120px;
  --sp-19n: 152px;
  --sp-20n: 160px;
}

/* Prevent the desktop navigation from overlapping the logo before the
   existing compact-header breakpoint takes over. */
@media (min-width: 1501px) and (max-width: 1600px) {
  .site-header {
    padding-right: 40px;
    padding-left: 40px;
  }

  .site-header__logo {
    flex-basis: 300px;
    width: 300px;
    height: auto;
  }

  .site-header__logo img {
    width: 100%;
    height: auto;
  }

  .global-nav {
    min-width: 0;
    gap: 16px;
    padding-left: 32px;
  }

  .global-nav__list {
    flex: 1 1 auto;
    gap: 14px;
    width: auto;
  }

  .global-nav__list a {
    font-size: 15px;
  }

  .header-contact {
    min-width: 142px;
    min-height: 48px;
    padding: 13px 24px;
    font-size: 14px;
  }

  .language-switch {
    height: 48px;
    padding-left: 12px;
  }

  .language-switch__item {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 1500px) {
  :root {
    --sp-05n: 2px;
    --sp-1n: 4px;
    --sp-2n: 8px;
    --sp-3n: 12px;
    --sp-4n: 16px;
    --sp-5n: 24px;
    --sp-6n: 32px;
    --sp-8n: 40px;
    --sp-10n: 56px;
    --sp-12n: 72px;
    --sp-15n: 96px;
    --sp-19n: 120px;
    --sp-20n: 112px;
  }
}

@media (max-width: 767px) {
  :root {
    --line-body: 1.8;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

body.is-modal-open {
  overflow: hidden;
}

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

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

/* Shared scroll reveal for page sections and repeated content. */
.reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-target {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site {
  overflow: hidden;
  background: var(--color-bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-height: 96px;
  padding: 16px 64px;
  background: var(--color-bg);
  transition: transform 0.28s ease;
}

.site-header.is-scroll-hidden {
  transform: translateY(-100%);
}

.site-header__logo {
  flex: 0 0 371px;
  width: 371px;
  height: 64px;
}

.global-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  min-width: 816px;
  padding-left: clamp(48px, 7.67vw, 147px);
}

.global-nav__list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 26px;
  width: 650px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav__list a {
  display: block;
  padding: 2px;
  border-bottom: 2px solid transparent;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
}

.global-nav__list a.is-current {
  border-color: var(--color-primary);
  color: var(--color-navy);
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  min-height: 54px;
  padding: 16px 40px;
  border-radius: 40px;
  background: var(--color-navy-dark);
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.header-contact::before {
  position: absolute;
  top: -30%;
  left: -60%;
  width: 36%;
  height: 160%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.02) 38%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.02) 62%, transparent 100%);
  content: "";
  pointer-events: none;
  transform: skewX(-18deg);
}

.header-contact:hover::before,
.header-contact:focus-visible::before {
  animation: header-contact-shine 0.7s ease-out forwards;
}

@keyframes header-contact-shine {
  from { left: -60%; }
  to { left: 125%; }
}

@media (prefers-reduced-motion: reduce) {
  .header-contact:hover::before,
  .header-contact:focus-visible::before { animation: none; }
}

.language-switch {
  display: flex;
  align-items: center;
  height: 56px;
  padding-left: 16px;
}

.language-switch__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 56px;
  background: var(--color-border);
}

.language-switch__item.is-active {
  background: var(--color-navy-light);
}

.language-switch__item img {
  width: auto;
  height: 12px;
}

.mobile-menu-button,
.mobile-menu-close,
.global-nav__sp-language,
.global-nav__sp-submenu {
  display: none;
}

.category-hero {
  position: relative;
  height: clamp(150px, 11.46vw, 220px);
  overflow: hidden;
  background: var(--color-border);
}

.category-hero__inner {
  position: relative;
  height: 100%;
  padding: 0;
}

.category-hero__bg {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  color: #fff;
  opacity: 0.45;
  font-family: Roboto, sans-serif;
  font-size: clamp(64px, 5vw, 96px);
  font-weight: 800;
  line-height: 0.88;
  white-space: nowrap;
  pointer-events: none;
}

.category-hero__title {
  position: absolute;
  left: 0;
  top: clamp(44px, 3.65vw, 70px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 1.67vw, 32px);
  width: clamp(520px, 37.24vw, 715px);
  padding: 0;
  border: 0;
}

.category-hero__title h1 {
  position: relative;
  margin: 0;
  padding-left: 64px;
  color: var(--color-text);
  font-size: clamp(34px, 2.5vw, 48px);
  font-weight: 500;
  line-height: 1.3;
}

.category-hero__title h1::after {
  position: absolute;
  left: 0;
  bottom: calc(clamp(22px, 1.67vw, 32px) / -2);
  width: clamp(520px, 37.24vw, 715px);
  height: 2px;
  background: var(--color-primary);
  content: "";
}

.category-hero__title p {
  margin: 0;
  padding-left: 64px;
  color: var(--color-navy-dark);
  font-family: Roboto, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 1px;
}

/* Compact category hero used by the alternate product-detail template. */
.category-hero--compact {
  height: 200px;
}

.category-hero__title--compact {
  top: 48px;
}

.product-detail {
  padding-top: var(--sp-3n);
  padding-bottom: var(--sp-5n);
}

.product-tags {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.product-tag {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 2px 8px;
  border-radius: 2px;
  background: var(--color-mint);
  color: #fff;
  font-size: 16px;
  line-height: 2;
  white-space: nowrap;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1032fr) minmax(0, 728fr);
  gap: var(--sp-4n);
  padding: 0 var(--sp-8n);
}

.product-main {
  padding-bottom: 16px;
}

.product-lead {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.product-body-content {
  width: 100%;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.9;
}

.product-body-content > :first-child { margin-top: 0; }
.product-body-content > :last-child { margin-bottom: 0; }
.product-body-content a { color: var(--color-primary); text-decoration: underline; }

.product-photo {
  width: 100%;
  margin: 0;
  background: var(--color-bg);
}

.product-photo__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: var(--color-bg-alt);
  cursor: zoom-in;
}

.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

#mainProductImage {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-thumbs-carousel {
  position: relative;
  padding-top: 14px;
}

.product-thumbs-carousel__button {
  position: absolute;
  top: calc(50% + 7px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-navy-dark);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.product-thumbs-carousel__button--prev {
  left: 8px;
}

.product-thumbs-carousel__button--next {
  right: 8px;
}

.product-thumbs-carousel__button:disabled {
  opacity: 0.3;
  cursor: default;
}

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

.related-products-carousel {
  position: relative;
}

.related-products-carousel__button {
  position: absolute;
  top: calc(50% + 7px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-navy-dark);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.related-products-carousel__button--prev { left: 8px; }
.related-products-carousel__button--next { right: 8px; }
.related-products-carousel__button:disabled { opacity: 0.3; cursor: default; }
.related-products-carousel__button[hidden] { display: none; }

.product-thumbs {
  display: flex;
  justify-content: flex-start;
  gap: var(--sp-3n);
  width: 100%;
  padding-bottom: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.product-thumbs__item {
  flex: 0 0 152px;
  width: 152px;
  height: 114px;
  padding: 0;
  border: 0;
  background: var(--color-bg-alt);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.product-thumbs__item.is-active {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}

.product-thumbs__item img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
  object-position: center;
}

.product-spec {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  border-bottom: 1px solid var(--color-border);
  table-layout: fixed;
}

.product-spec th,
.product-spec td {
  min-height: 64px;
  padding: 16px;
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font-size: 16px;
  line-height: 2;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
  word-break: normal;
}

.product-spec th {
  width: 20.1%;
  border-left: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-navy);
  font-weight: 400;
}

.product-spec td {
  width: 29.9%;
  font-weight: 400;
}

.faq-section {
  padding-top: 34px;
}

.section-heading {
  margin-bottom: 7px;
}

.section-heading h3,
.side-box h3 {
  margin: 0;
  color: var(--color-navy-dark);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.section-heading::after {
  display: block;
  width: 304px;
  height: 4px;
  margin-top: var(--sp-2n);
  background: linear-gradient(to right, var(--color-primary) 0 64px, var(--color-border) 64px 100%);
  content: "";
}

.faq-list {
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid #dcdde0;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 61px;
  padding: 18px 40px 18px 2px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  right: 0;
  top: 18px;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  content: "+";
}

.faq-item[open] summary::after {
  background: var(--color-navy-light);
  content: "-";
}

.faq-item__body {
  padding: 0 0 18px 40px;
}

.faq-item__body p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

.product-side {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8n);
  padding-bottom: 20px;
}

.product-side-title {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2n);
}

.product-side-title__heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--sp-2n);
  width: 100%;
  padding-bottom: var(--sp-2n);
  border-bottom: 1px solid var(--color-border);
}

.product-side-title__heading h2 {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  color: var(--color-navy);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
}

.product-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: min(180px, 30%);
  min-width: 80px;
  max-height: 88px;
}

.product-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  object-position: center;
}

.side-box h3 {
  padding-bottom: var(--sp-2n);
  border-bottom: 1px solid var(--color-border);
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 24px;
}

.card-grid--single {
  gap: 24px 30px;
}

.doc-card,
.product-card {
  display: flex;
  flex: 0 1 calc((100% - 60px) / 3);
  flex-direction: column;
  gap: 8px;
  width: calc((100% - 60px) / 3);
  max-width: 200px;
  min-width: 0;
}

button.doc-card {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.doc-card__image {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.doc-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.doc-card__image--pdf iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card__image--empty {
  background: var(--color-bg-alt);
}

.doc-card__title,
.product-card__title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-box {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  width: 100%;
  padding: 32px;
  background: var(--color-bg-alt);
}

.contact-box div,
.contact-box a {
  min-width: 0;
}

.contact-box div {
  flex: 1 1 auto;
}

.contact-box a {
  flex: 0 0 min(52%, 332px);
}

.contact-box h3 {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-box p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.contact-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 12px;
  border-radius: 2px;
  background: var(--color-navy-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.product-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-bg);
}

.product-card__image img {
  object-fit: contain;
}

.related-products-carousel .card-grid {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.related-products-carousel .product-card {
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
  scroll-snap-align: start;
}

.breadcrumb-row {
  display: flex;
  align-items: flex-start;
  gap: 304px;
  padding: 24px 64px;
}

.breadcrumb {
  flex: 1 1 auto;
  min-width: 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 2;
  white-space: nowrap;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 16px;
  content: "/";
}

.page-top {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 2;
  white-space: nowrap;
}

.page-top img {
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
}

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

.site-footer__bar {
  height: 16px;
  background: var(--color-primary);
}

.site-footer__main {
  display: flex;
  gap: 32px;
  padding: 80px 64px;
}

.site-footer__brand {
  display: flex;
  flex: 0 0 452px;
  align-items: flex-start;
}

.site-footer__brand img {
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.site-footer__brand-logo {
  width: min(450px, 100%);
}

.site-footer__brand p {
  margin: 8px 0 0;
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.4;
}

.footer-nav {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(3, minmax(240px, 280px));
  justify-content: end;
  gap: 40px;
}

.footer-nav__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 124px;
  padding-left: 40px;
  border-left: 1px solid #6b6d75;
}

.footer-nav__col:last-child {
  border-right: 1px solid #6b6d75;
}

.footer-nav a {
  font-size: 16px;
  line-height: 1.4;
}

.footer-nav__heading {
  margin-top: 8px;
  font-weight: 700;
}

.footer-nav__heading:first-child {
  margin-top: 0;
}

.footer-nav__col:first-child a:nth-child(4),
.footer-nav__col:first-child a:nth-child(5),
.footer-nav__col:first-child a:nth-child(6),
.footer-nav__col:first-child a:nth-child(7),
.footer-nav__col:first-child a:nth-child(8),
.footer-nav__col:first-child a:nth-child(10) {
  padding-left: 1.4em;
}

.copyright {
  margin: 0;
  padding: 16px 64px;
  background: var(--color-footer);
  font-family: Roboto, sans-serif;
  font-size: 18px;
  line-height: 2;
  text-align: center;
}

.video-modal,
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
}

.video-modal.is-open,
.photo-modal.is-open {
  display: flex;
}

.video-modal__overlay,
.photo-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 65, 0.78);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 128px));
  max-height: calc(100dvh - 96px);
  padding: 56px 64px 48px;
  overflow: auto;
  background: #fff;
}

.video-modal__close {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-navy-dark);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.video-modal__title {
  margin: 0 48px 24px 0;
  color: var(--color-navy-dark);
  font-size: 24px;
  line-height: 1.4;
}

.video-modal__player {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 240px);
  background: #000;
}

.photo-modal__panel {
  position: relative;
  z-index: 1;
  --photo-modal-h: min(720px, calc(100vh - 200px));
  width: min(calc(var(--photo-modal-h) * 4 / 3 + 144px), calc(100vw - 128px));
  height: calc(var(--photo-modal-h) + 104px);
  padding: 48px 72px 56px;
  background: #fff;
}

.photo-modal__close {
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-navy-dark);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.photo-modal__viewport {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.photo-modal__track {
  display: flex;
  height: 100%;
}

.photo-modal__item {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  scroll-snap-align: start;
}

.photo-modal__item img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.photo-modal__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-navy-dark);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.photo-modal__arrow--prev {
  left: 20px;
}

.photo-modal__arrow--next {
  right: 20px;
}

.photo-modal__count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: var(--color-navy-dark);
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 1500px) {
  body {
    min-width: 0;
  }

  .site-header,
  .category-hero__inner,
  .product-detail__grid,
  .breadcrumb-row,
  .site-footer__main {
    padding-right: 40px;
    padding-left: 40px;
  }

  .site-header__logo {
    flex-basis: clamp(260px, 20vw, 320px);
    width: clamp(260px, 20vw, 320px);
    height: auto;
  }

  .site-header__logo img {
    width: 100%;
    height: auto;
  }

  .global-nav {
    min-width: 0;
    gap: clamp(14px, 1.3vw, 20px);
    padding-left: clamp(24px, 3vw, 48px);
  }

  .global-nav__list {
    flex: 1 1 auto;
    gap: clamp(12px, 1.2vw, 18px);
    width: auto;
  }

  .global-nav__list a {
    font-size: clamp(14px, 1vw, 15px);
  }

  .header-contact {
    min-width: 142px;
    min-height: 48px;
    padding: 13px 24px;
    font-size: 14px;
  }

  .language-switch {
    height: 48px;
    padding-left: 12px;
  }

  .language-switch__item {
    width: 48px;
    height: 48px;
  }

  .category-hero__title {
    left: 0;
  }

  .category-hero--compact {
    height: 180px;
  }

  .product-thumbs {
    gap: 12px;
  }

  .product-thumbs__item {
    flex-basis: 116px;
    width: 116px;
    height: 87px;
  }

  .card-grid {
    gap: 24px;
  }

  .doc-card,
  .product-card {
    flex-basis: calc((100% - 48px) / 3);
    width: calc((100% - 48px) / 3);
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  body {
    font-size: 14px;
  }

  .site-header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-header__logo {
    flex-basis: 230px;
    width: 230px;
  }

  .global-nav {
    gap: 10px;
    padding-left: 12px;
  }

  .global-nav__list {
    gap: 8px;
  }

  .global-nav__list a {
    font-size: 14px;
  }

  .header-contact {
    min-width: 120px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 13px;
  }

  .language-switch {
    padding-left: 8px;
  }

  .language-switch__item {
    width: 40px;
  }

  .product-side-title__heading h2 {
    font-size: 36px;
  }

  .product-side-title__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-heading h3,
  .side-box h3 {
    font-size: 28px;
  }

  .doc-card__title,
  .product-card__title {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  body {
    min-width: 0;
    font-size: 14px;
  }

  body.is-menu-open,
  body.is-modal-open {
    overflow: hidden;
  }

  .site {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 0 0 10px;
    opacity: 1;
    transition: transform 0.32s ease, opacity 0.28s ease;
  }

  .site-header.is-scroll-hidden {
    opacity: 0;
  }

  body.is-menu-open .site-header {
    z-index: 1000;
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  .site-header__logo {
    flex: 0 0 232px;
    width: 232px;
    height: 40px;
  }

  .site-header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .site-header > .language-switch {
    display: none;
  }

  .mobile-menu-button {
    position: fixed;
    left: auto;
    right: 0;
    top: 0;
    z-index: 130;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: var(--color-navy-dark);
    cursor: pointer;
  }

  .site-header.is-menu-open .mobile-menu-button {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-menu-button span {
    display: block;
    width: 28px;
    height: 2px;
    background: #d9d9d9;
  }

  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 40px;
    min-width: 0;
    padding: 48px 32px 40px;
    overflow-y: auto;
    background: rgba(27, 42, 65, 0.95);
    opacity: 0;
    visibility: hidden;
    filter: brightness(1.25);
    transform: scale(0.985);
    transition:
      opacity 0.18s ease,
      visibility 0s linear 0.24s,
      filter 0.22s ease-out,
      transform 0.22s ease-out;
  }

  .global-nav::before {
    position: absolute;
    inset: -20%;
    z-index: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.2) 22%, rgba(255, 255, 255, 0) 64%);
    opacity: 0;
    pointer-events: none;
    content: "";
    transform: scale(0.25);
  }

  .global-nav > * {
    z-index: 1;
  }

  .site-header.is-menu-open .global-nav {
    opacity: 1;
    visibility: visible;
    filter: brightness(1);
    transform: scale(1);
    transition:
      opacity 0.14s ease,
      visibility 0s linear 0s,
      filter 0.22s ease-out,
      transform 0.22s ease-out;
  }

  .site-header.is-menu-open .global-nav::before {
    animation: mobile-menu-flash 0.34s ease-out both;
  }

  @keyframes mobile-menu-flash {
    0% { opacity: 0; transform: scale(0.2); }
    24% { opacity: 0.72; }
    100% { opacity: 0; transform: scale(1.35); }
  }

  .mobile-menu-close {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .mobile-menu-close::before,
  .mobile-menu-close::after {
    position: absolute;
    left: 8px;
    top: 23px;
    width: 32px;
    height: 2px;
    background: #d9d9d9;
    content: "";
  }

  .mobile-menu-close::before {
    transform: rotate(30deg);
  }

  .mobile-menu-close::after {
    transform: rotate(-30deg);
  }

  .mobile-menu-close--top {
    position: fixed;
    left: auto;
    right: 0;
    top: 0;
  }

  .mobile-menu-close--bottom {
    align-self: center;
    margin-top: -8px;
  }

  .global-nav__list {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 26px;
    width: 100%;
  }

  .global-nav__list a {
    padding: 2px;
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
  }

  .global-nav__list li,
  .global-nav .header-contact,
  .global-nav__sp-language,
  .global-nav__sp-submenu,
  .mobile-menu-close--bottom {
    opacity: 0;
    transform: translateX(80px);
    transition:
      opacity 0.28s ease,
      transform 0.4s cubic-bezier(0.45, 0.05, 0.3, 0.93);
  }

  .site-header.is-menu-open .global-nav__list li,
  .site-header.is-menu-open .global-nav .header-contact,
  .site-header.is-menu-open .global-nav__sp-language,
  .site-header.is-menu-open .global-nav__sp-submenu,
  .site-header.is-menu-open .mobile-menu-close--bottom {
    opacity: 1;
    transform: translateX(0);
  }

  .site-header.is-menu-open .global-nav__list li:nth-child(1) { transition-delay: 0.18s; }
  .site-header.is-menu-open .global-nav__list li:nth-child(2) { transition-delay: 0.23s; }
  .site-header.is-menu-open .global-nav__list li:nth-child(3) { transition-delay: 0.28s; }
  .site-header.is-menu-open .global-nav__list li:nth-child(4) { transition-delay: 0.33s; }
  .site-header.is-menu-open .global-nav__list li:nth-child(5) { transition-delay: 0.38s; }
  .site-header.is-menu-open .global-nav__list li:nth-child(6) { transition-delay: 0.43s; }
  .site-header.is-menu-open .global-nav__list li:nth-child(7) { transition-delay: 0.48s; }
  .site-header.is-menu-open .global-nav .header-contact { transition-delay: 0.53s; }
  .site-header.is-menu-open .global-nav__sp-language { transition-delay: 0.58s; }
  .site-header.is-menu-open .global-nav__sp-submenu { transition-delay: 0.63s; }
  .site-header.is-menu-open .mobile-menu-close--bottom { transition-delay: 0.68s; }

  .global-nav__list a.is-current {
    border-color: var(--color-primary);
    color: #fff;
  }

  .header-contact {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 16px 40px;
    border-radius: 40px;
    background: var(--color-primary);
    color: var(--color-text);
    font-size: 16px;
  }

  .global-nav__sp-language {
    display: flex;
    justify-content: center;
    height: 56px;
  }

  .global-nav__sp-language a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 56px;
    background: var(--color-border);
  }

  .global-nav__sp-language a.is-active {
    background: var(--color-navy-light);
  }

  .global-nav__sp-language img {
    width: auto;
    height: 12px;
  }

  .global-nav__sp-submenu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .global-nav__sp-submenu a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .category-hero {
    height: 120px;
    background: rgba(227, 223, 214, 0.4);
  }

  .category-hero--compact {
    height: 104px;
  }

  .category-hero__inner {
    padding: 0;
  }

  .category-hero__bg {
    right: 16px;
    top: 60px;
    opacity: 0.45;
    font-size: 36px;
    line-height: 0.9;
  }

  .category-hero__title {
    left: 0;
    top: 32px;
    gap: 8px;
    width: 100%;
  }

  .category-hero__title--compact {
    top: 24px;
  }

  .category-hero__title h1 {
    padding-left: 16px;
    font-size: 20px;
    font-weight: 700;
  }

  .category-hero__title h1::after {
    left: 0;
    bottom: -8px;
    width: 278px;
    height: 2px;
  }

  .category-hero__title p {
    margin-top: 6px;
    padding-left: 16px;
    font-size: 11px;
    line-height: 1;
  }

  .product-detail {
    padding: 0;
  }

  .product-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .product-main,
  .product-side {
    display: contents;
  }

  .product-side-title {
    display: contents;
  }

  .product-side-title__heading {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 8px 24px 16px;
    padding-bottom: 16px;
    border-bottom: 0;
  }

  .product-tag {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 14px;
    line-height: 1.4;
  }

  .product-side-title__heading h2 {
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
    font-size: 24px;
    line-height: 1.3;
  }

  .product-side-title .product-lead {
    order: 4;
    min-width: 0;
    padding: 8px 24px 24px;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .product-side-title .product-body-content {
    order: 4;
    min-width: 0;
    padding: 0 24px 24px;
    font-size: 14px;
    line-height: 1.8;
  }

  .product-photo {
    order: 2;
    width: calc(100% - 48px);
    max-width: calc(100vw - 48px);
    min-width: 0;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    border-radius: 4px;
  }

  .product-photo__button {
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
  }

  .product-photo img,
  #mainProductImage {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-thumbs-carousel {
    order: 3;
    width: 100%;
    min-width: 0;
    padding: 8px 24px 16px;
  }

  .product-thumbs-carousel__button {
    display: grid;
  }

  .product-thumbs {
    min-width: 0;
    gap: 6px;
    padding-bottom: 4px;
  }

  .product-thumbs__item {
    flex: 0 0 85px;
    width: 85px;
    height: 64px;
    border: 1px solid var(--color-border);
    border-radius: 2px;
  }

  .product-spec {
    order: 5;
    display: block;
    width: calc(100% - 48px);
    max-width: calc(100vw - 48px);
    min-width: 0;
    margin: 0 auto 32px;
    border: 1px solid var(--color-border);
    border-bottom: 0;
  }

  .product-spec tbody,
  .product-spec tr,
  .product-spec th,
  .product-spec td {
    display: block;
    width: 100%;
  }

  .product-spec tr {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .product-spec th,
  .product-spec td {
    min-height: 0;
    padding: 12px;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    line-height: 1.4;
  }

  .product-spec th {
    border-left: 0;
    font-weight: 700;
  }

  .product-spec td[colspan] {
    grid-column: 2;
  }

  .side-box {
    display: block;
    min-width: 0;
    padding: 24px 24px 32px;
    border-top: 1px solid var(--color-border);
  }

  .product-side > .side-box:nth-of-type(1) {
    order: 6;
  }

  .product-side > .side-box:nth-of-type(2) {
    order: 7;
  }

  .product-side > .side-box:nth-of-type(4) {
    order: 10;
  }

  .product-side > .side-box.side-box--related {
    order: 11;
  }

  .side-box h3,
  .section-heading h3 {
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 18px;
    line-height: 1.4;
  }

  .side-box h3::after,
  .section-heading::after {
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 6px;
    background: var(--color-primary);
    content: "";
  }

  .card-grid {
    flex-wrap: nowrap;
    gap: 10px;
    padding-top: 20px;
    overflow-x: auto;
  }

  .doc-card,
  .product-card {
    flex: 0 0 112px;
    width: 112px;
    max-width: none;
    gap: 6px;
  }

  .doc-card__title,
  .product-card__title {
    font-size: 11px;
    line-height: 1.35;
  }

  .contact-box {
    order: 8;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg-alt);
  }

  .contact-box h3 {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .contact-box p {
    font-size: 12px;
    line-height: 1.5;
  }

  .contact-box a {
    flex: none;
    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 14px;
  }

  .faq-section {
    order: 9;
    padding: 32px 16px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .faq-item summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 18px;
    gap: 8px;
    min-height: 0;
    padding: 12px 0;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .faq-item summary::before {
    color: var(--color-primary);
    content: "Q.";
  }

  .faq-item summary::after {
    position: static;
    width: 18px;
    height: 18px;
    font-size: 14px;
    line-height: 17px;
  }

  .faq-item__body {
    padding: 0 0 12px 24px;
  }

  .faq-item__body p {
    font-size: 13px;
    line-height: 1.5;
  }

  .product-side .side-box:last-child {
    background: var(--color-bg-alt);
  }

  .product-side .side-box:last-child .product-card {
    flex-basis: 173px;
    width: 173px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
  }

  .product-side .side-box:last-child .card-grid {
    width: 100%;
    padding-right: 16px;
  }

  .related-products-carousel__button {
    display: grid;
    width: 32px;
    height: 32px;
    font-size: 24px;
  }

  .related-products-carousel__button--prev { left: -4px; }
  .related-products-carousel__button--next { right: -4px; }

  .breadcrumb-row {
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--color-bg);
  }

  .breadcrumb ol {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    line-height: 1.4;
    white-space: normal;
  }

  .breadcrumb li:not(:last-child)::after {
    margin-left: 6px;
  }

  .page-top {
    font-size: 11px;
  }

  .page-top img {
    width: 14px;
    height: 14px;
  }

  .site-footer__bar {
    height: 8px;
  }

  .site-footer__main {
    display: block;
    padding: 24px 16px;
  }

  .site-footer__brand {
    width: 100%;
  }

  .site-footer__brand img {
    height: auto;
  }

  .site-footer__brand-logo {
    width: min(260px, 100%);
  }

  .footer-nav {
    display: none;
  }

  .copyright {
    padding: 12px 16px 40px;
    border-top: 1px solid var(--color-border);
    color: #6b6d75;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
  }

  .video-modal,
  .photo-modal {
    padding: 48px 12px;
  }

  .video-modal__panel {
    width: calc(100vw - 24px);
    padding: 48px 16px 24px;
  }

  .video-modal__title {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .video-modal__player {
    max-height: calc(100dvh - 200px);
  }

  .photo-modal__panel {
    width: calc(100vw - 24px);
    height: calc(100dvh - 96px);
  }

  .photo-modal__arrow {
    width: 36px;
    height: 36px;
  }
}

/* 2026-10-05 narrow-tall hero and tablet navigation fix */
@media (min-width: 768px) and (max-width: 1099px) {
  body.is-menu-open { overflow: hidden; }
  .site-header {
    position: sticky; top: 0; z-index: 100;
    justify-content: space-between; min-height: 64px;
    padding: 0 64px 0 24px; opacity: 1;
  }
  .site-header.is-scroll-hidden { opacity: 0; }
  body.is-menu-open .site-header {
    z-index: 1000; opacity: 1 !important;
    transform: none !important;
  }
  .site-header__logo {
    flex: 0 0 260px; width: 260px; height: 45px;
  }
  .site-header__logo img {
    width: 100%; height: 100%; object-fit: contain;
    object-position: left center;
  }
  .site-header > .language-switch { display: none; }
  .mobile-menu-button {
    position: fixed; right: 0; top: 0; z-index: 130;
    display: flex !important; flex-direction: column;
    align-items: center; justify-content: center; gap: 7px;
    width: 64px; height: 64px; padding: 0; border: 0;
    background: var(--color-navy-dark); cursor: pointer;
  }
  .site-header.is-menu-open .mobile-menu-button {
    opacity: 0; pointer-events: none;
  }
  .mobile-menu-button span {
    display: block; width: 30px; height: 2px; background: #d9d9d9;
  }
  .global-nav {
    position: fixed; inset: 0; z-index: 1010;
    display: flex; flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: 32px; min-width: 0;
    padding: 72px clamp(40px, 8vw, 88px) 48px;
    overflow-y: auto; background: rgba(27, 42, 65, 0.97);
    opacity: 0; visibility: hidden; transform: scale(0.985);
    transition: opacity 0.18s ease, visibility 0s linear 0.24s, transform 0.22s ease-out;
  }
  .global-nav > * { z-index: 1; }
  .site-header.is-menu-open .global-nav {
    opacity: 1; visibility: visible; transform: scale(1);
    transition: opacity 0.18s ease, visibility 0s linear 0s, transform 0.22s ease-out;
  }
  .mobile-menu-close {
    position: relative; display: block; width: 64px; height: 64px;
    padding: 0; border: 0; background: transparent; cursor: pointer;
  }
  .mobile-menu-close::before,
  .mobile-menu-close::after {
    position: absolute; left: 16px; top: 31px;
    width: 32px; height: 2px; background: #d9d9d9; content: "";
  }
  .mobile-menu-close::before { transform: rotate(30deg); }
  .mobile-menu-close::after { transform: rotate(-30deg); }
  .mobile-menu-close--top { position: fixed; right: 0; top: 0; }
  .mobile-menu-close--bottom { align-self: center; }
  .global-nav__list {
    flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: 22px; width: 100%;
  }
  .global-nav__list a {
    padding: 2px; color: #fff; font-size: 20px; line-height: 1.4;
  }
  .global-nav__list a.is-current {
    border-color: var(--color-primary); color: #fff;
  }
  .global-nav .header-contact {
    width: 100%; min-width: 0; min-height: 54px;
    padding: 16px 40px; background: var(--color-primary);
    color: var(--color-text); font-size: 16px;
  }
  .global-nav__sp-language {
    display: flex; justify-content: center; height: 56px;
  }
  .global-nav__sp-language a {
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 56px; background: var(--color-border);
  }
  .global-nav__sp-language a.is-active { background: var(--color-navy-light); }
  .global-nav__sp-language img { width: auto; height: 12px; }
  .global-nav__sp-submenu {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px; width: 100%; padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }
  .global-nav__sp-submenu a {
    color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 1.55;
  }
}
/* 2026-10-05 WordPress footer menu columns */
.footer-nav > .footer-nav__list{display:grid;grid-template-columns:repeat(3,minmax(240px,280px));justify-content:end;gap:40px;width:100%;margin:0;padding:0;list-style:none}
.footer-nav__list>.menu-item{display:flex;flex-direction:column;min-height:124px;padding-left:40px;border-left:1px solid #6b6d75}
.footer-nav__list>.menu-item:last-child{border-right:1px solid #6b6d75}
.footer-nav__list>.menu-item>a{display:none}
.footer-nav__list .sub-menu{margin:0;padding:0;list-style:none}
.footer-nav__list>.menu-item>.sub-menu{display:flex;flex-direction:column;gap:8px}
.footer-nav__list>.menu-item>.sub-menu>.menu-item>a{display:inline-block;margin-top:8px;font-weight:700}
.footer-nav__list>.menu-item>.sub-menu>.menu-item:first-child>a{margin-top:0}
.footer-nav__list .sub-menu .sub-menu{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.footer-nav__list .sub-menu .sub-menu a{display:block;padding-left:1.4em;font-weight:400}
.footer-nav__list .sub-menu .sub-menu a::before{margin-left:-1.4em;content:"+ "}
@media (min-width:768px) and (max-width:1279px){.footer-nav>.footer-nav__list{grid-template-columns:repeat(3,minmax(160px,1fr));gap:20px}.footer-nav__list>.menu-item{padding-left:24px}}
/* 2026-10-05 WordPress footer wrapper alignment */
@media (min-width:768px){.footer-nav:has(>.footer-nav__list){display:block;min-width:0}}
/* 2026-10-05 language switch contrast */
.language-switch__item img,.global-nav__sp-language a img{filter:brightness(0) saturate(100%) invert(15%) sepia(18%) saturate(1400%) hue-rotate(174deg) brightness(92%) contrast(92%)}
.language-switch__item.is-active img,.global-nav__sp-language a.is-active img{filter:brightness(0) invert(1)}

/* Header: keep the global nav from overlapping the logo when menu items are added.
   Placed last so it overrides the base header rules. */
@media (min-width: 1100px) {
  .global-nav {
    min-width: 0;
  }

  .global-nav__list {
    width: auto;
  }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .site-header__logo {
    flex-basis: clamp(180px, 16vw, 230px);
    width: clamp(180px, 16vw, 230px);
  }

  .global-nav {
    padding-left: 8px;
  }

  .global-nav__list {
    gap: 6px;
  }

  .global-nav__list a {
    font-size: clamp(12px, 1.1vw, 14px);
  }

  .header-contact {
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (min-width: 1501px) and (max-width: 1700px) {
  .site-header {
    padding-right: 40px;
    padding-left: 40px;
  }

  .site-header__logo {
    flex-basis: 300px;
    width: 300px;
    height: auto;
  }

  .site-header__logo img {
    width: 100%;
    height: auto;
  }

  .global-nav {
    gap: 16px;
    padding-left: clamp(16px, 2vw, 32px);
  }

  .global-nav__list {
    gap: 14px;
  }

  .global-nav__list a {
    font-size: clamp(14px, 0.95vw, 16px);
  }
}

@media (min-width: 1280px) and (max-width: 1400px) {
  .global-nav {
    padding-left: 0;
  }

  .global-nav__list {
    gap: 12px;
  }

  .global-nav__list a {
    font-size: 14px;
  }
}


/* footer link hover */
.footer-nav a {
  transition: opacity 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 0.8;
}

/* Block editor headings (wp-block-heading) in page content.
   h2 = same look as the "PICK UP !" heading on the product list page. */
main .wp-block-heading {
  color: var(--color-navy-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
}

main h2.wp-block-heading {
  margin: 64px 0 24px;
  font-size: 24px;
  line-height: 1.3;
}

main h2.wp-block-heading::after {
  display: block;
  width: min(304px, 100%);
  height: 4px;
  margin-top: 16px;
  background: linear-gradient(to right, var(--color-primary) 0 64px, var(--color-border) 64px 100%);
  content: "";
}

main h2.wp-block-heading.has-text-align-center::after {
  margin-right: auto;
  margin-left: auto;
}

main h2.wp-block-heading.has-text-align-right::after {
  margin-left: auto;
}

/* h3: yellow bar on the left (same as the office card title) */
main h3.wp-block-heading {
  position: relative;
  margin: 48px 0 16px;
  padding-left: 14px;
  font-size: 20px;
  line-height: 1.45;
}

main h3.wp-block-heading::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 4px;
  background: var(--color-primary);
  content: "";
}

/* h4: thin rule underneath */
main h4.wp-block-heading {
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  font-size: 18px;
  line-height: 1.5;
}

/* h5: small yellow square marker */
main h5.wp-block-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 28px 0 8px;
  font-size: 16px;
  line-height: 1.6;
}

main h5.wp-block-heading::before {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  content: "";
}

main h6.wp-block-heading {
  margin: 24px 0 8px;
  font-size: 14px;
  line-height: 1.6;
}

main .wp-block-heading:first-child {
  margin-top: 0;
}

@media (max-width: 767px) {
  main h2.wp-block-heading { margin-top: 48px; font-size: 20px; }
  main h3.wp-block-heading { margin-top: 36px; font-size: 18px; }
  main h4.wp-block-heading { margin-top: 28px; font-size: 16px; }
  main h5.wp-block-heading { font-size: 15px; }
}

/* Links inside block editor content (paragraph / list / table / quote / heading) */
main :is(.wp-block-paragraph, .wp-block-list, .wp-block-table, .wp-block-quote, .wp-block-heading) a:not(.wp-element-button) {
  color: #0b6bb5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: color 0.2s ease, opacity 0.2s ease;
}

main :is(.wp-block-paragraph, .wp-block-list, .wp-block-table, .wp-block-quote, .wp-block-heading) a:not(.wp-element-button):hover,
main :is(.wp-block-paragraph, .wp-block-list, .wp-block-table, .wp-block-quote, .wp-block-heading) a:not(.wp-element-button):focus-visible {
  color: #084a7e;
  opacity: 0.8;
}

/* Long breadcrumb (e.g. news article title): let the last item wrap onto a second line
   instead of running under the PAGETOP link. */
@media (min-width: 768px) {
  .breadcrumb-row {
    gap: 64px;
  }

  .breadcrumb ol {
    align-items: flex-start;
  }

  .breadcrumb li {
    flex: 0 0 auto;
  }

  .breadcrumb li:last-child {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
