@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;700&display=swap");

:root {
  --text: #171717;
  --muted: #5c5c5c;
  --soft: #f2f2f2;
  --page-bg: #f1f2f4;
  --line: #dedede;
  --dark: #111;
  --white: #fff;
  --max: 1680px;
  --gutter: clamp(28px, 4vw, 72px);
  --copy-size: clamp(16px, 0.95vw, 17px);
  --copy-line: 1.62;
  color-scheme: only light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  color-scheme: only light;
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  background: var(--page-bg);
  overflow-x: clip;
}

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

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

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.home-page .site-header,
.contact-page .site-header,
body[data-page="company"] .site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.52);
  border-bottom: 0;
}

.home-page .main-nav a,
.home-page .meta-nav a,
.home-page .meta-nav svg,
.home-page .meta-nav .compare-icon-mark,
.contact-page .main-nav a,
.contact-page .meta-nav a,
.contact-page .meta-nav svg,
.contact-page .meta-nav .compare-icon-mark,
body[data-page="company"] .main-nav a,
body[data-page="company"] .meta-nav a,
body[data-page="company"] .meta-nav svg,
body[data-page="company"] .meta-nav .compare-icon-mark {
  color: var(--white);
}

.home-page .brand img,
.contact-page .brand img,
.site-header .brand img {
  filter: none !important;
}

.site-header:has(.main-nav .nav-item.is-open) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.985);
}

.site-header:has(.main-nav .nav-item.is-open) .brand img {
  filter: brightness(0) !important;
}

body[data-page="company"] .site-header:has(.main-nav .nav-item.is-open) .brand img {
  filter: brightness(0) !important;
}

.site-header:has(.main-nav .nav-item.is-open) .main-nav a,
.site-header:has(.main-nav .nav-item.is-open) .meta-nav a,
.site-header:has(.main-nav .nav-item.is-open) .meta-nav svg,
.site-header:has(.main-nav .nav-item.is-open) .meta-nav .compare-icon-mark,
.site-header:has(.main-nav .nav-item.is-open) .search-form {
  color: var(--text);
}

.site-header:has(.main-nav .nav-item.is-open) .mega-inner a {
  color: #5f5f5f;
}

.site-header:has(.main-nav .nav-item.is-open) .mega-column a:hover,
.site-header:has(.main-nav .nav-item.is-open) .mega-column a:focus-visible {
  color: #007db3;
  background: #f4f4f4;
}

.header-grid {
  --header-icon-size: 34px;
  --header-meta-gap: clamp(12px, 1vw, 18px);
  --header-search-width: clamp(220px, 16vw, 300px);
  --header-search-gap: clamp(12px, 1vw, 20px);
  --header-meta-width: calc((var(--header-icon-size) * 4) + (var(--header-meta-gap) * 3));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas:
    "nav brand meta";
  grid-template-rows: 88px;
  align-items: center;
  gap: 0 clamp(14px, 1.5vw, 30px);
  min-height: 88px;
}

.site-header .header-grid {
  width: min(100% - (var(--gutter) * 2), var(--max));
}

.header-grid::after {
  content: "";
  display: none;
  grid-area: search;
  align-self: stretch;
  justify-self: stretch;
  margin-inline: calc((100vw - 100%) / -2);
  background: #e4e6ea;
  pointer-events: none;
  z-index: 0;
}

.main-nav,
.meta-nav {
  display: flex;
  align-items: center;
}

.main-nav {
  grid-area: nav;
  justify-content: flex-start;
  gap: clamp(10px, 1.1vw, 18px);
  min-width: 0;
  z-index: 4;
}

.meta-nav {
  gap: var(--header-meta-gap);
}

.main-nav {
  align-self: stretch;
}

.main-nav > a,
.main-nav .nav-item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(70px, 5.4vw, 92px);
  min-height: 88px;
  padding-inline: clamp(8px, 0.75vw, 12px);
  transition: background-color 160ms ease, color 160ms ease;
}

.main-nav .nav-item > a {
  padding-inline: 12px;
}

.main-nav .has-mega {
  display: flex;
  align-self: stretch;
  margin-left: 0;
}

.main-nav .has-mega:hover > a,
.main-nav .has-dropdown:hover > a,
.main-nav .nav-item.is-open > a {
  color: var(--white);
  background: #007db3;
}

.main-nav .has-dropdown {
  position: relative;
  display: flex;
  align-self: stretch;
}

.main-nav a,
.meta-nav a {
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: clamp(15px, 0.92vw, 18px);
  font-weight: 500;
  color: #222;
}

.main-nav a:hover,
.meta-nav a:hover,
.product-card a:hover,
.text-link:hover,
.dialogue-grid a:hover {
  color: #707070;
}

.main-nav > a:hover,
.main-nav .nav-item > a:hover,
.main-nav > a:focus-visible,
.main-nav .nav-item > a:focus-visible {
  color: var(--white);
  background: #007db3;
}

.site-header:has(.main-nav .nav-item.is-open) .main-nav .nav-item.is-open > a {
  color: var(--white);
}

.site-header:has(.main-nav .has-dropdown.is-open) {
  color: var(--text);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.site-header:has(.main-nav .has-dropdown.is-open) .brand img {
  filter: brightness(0) !important;
}

.site-header:has(.main-nav .has-dropdown.is-open) .main-nav a,
.site-header:has(.main-nav .has-dropdown.is-open) .meta-nav a,
.site-header:has(.main-nav .has-dropdown.is-open) .meta-nav svg,
.site-header:has(.main-nav .has-dropdown.is-open) .search-form {
  color: var(--text);
}

.site-header:has(.main-nav .has-dropdown.is-open) .main-nav .has-dropdown.is-open > a {
  color: var(--white);
}

.main-nav a.is-current,
.mobile-nav a.is-current {
  font-weight: 500;
}

body[data-page="catalogue"] .main-nav > a.is-current {
  color: var(--white);
  background: #007db3;
}

.brand {
  grid-area: brand;
  line-height: 0;
  justify-self: center;
  z-index: 1;
}

.brand img {
  display: block;
  width: clamp(132px, 10vw, 184px);
  height: 34px;
  object-fit: contain;
  object-position: center;
}

.meta-nav {
  grid-area: meta;
  justify-content: flex-end;
  min-width: var(--header-meta-width);
  padding-right: 0;
  z-index: 1;
}

.meta-nav .icon-link {
  position: relative;
  width: var(--header-icon-size);
  height: var(--header-icon-size);
  display: inline-grid;
  place-items: center;
}

.meta-nav svg,
.side-tools svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0;
  color: #222;
}

.header-search {
  position: absolute;
  top: 50%;
  right: calc(var(--header-meta-width) + var(--header-search-gap));
  width: var(--header-search-width);
  padding-bottom: 0;
  transform: translateY(-50%);
  z-index: 30;
  transition: opacity 120ms ease, visibility 120ms ease;
}

.search-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search-form input {
  width: 100%;
  height: 38px;
  border: 1px solid #d8d8d8;
  border-radius: 4px 0 0 4px;
  padding: 4px 14px;
  color: var(--text);
  background: #f4f4f4;
  font: inherit;
}

.header-search input {
  border-color: #222222;
  background: #e4e6ea;
}

.search-form button {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 38px;
  place-items: center;
  padding: 0;
  color: var(--text);
  background: #7ac70c;
  border-radius: 0 4px 4px 0;
}

.header-search button {
  width: 44px;
  color: currentColor;
  background: transparent;
  border-radius: 0;
}

.has-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  z-index: 80;
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  color: #fff;
  background: #287aa8;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.has-tooltip:hover::after,
.has-tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.search-form svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.home-page .search-form,
.contact-page .search-form,
body[data-page="company"] .search-form {
  color: var(--white);
}

.home-page .search-form input,
.contact-page .search-form input,
body[data-page="company"] .search-form input {
  color: var(--text);
  border-color: #d8d8d8;
}

.site-header:has(.main-nav .nav-item.is-open) .search-form input {
  border-color: var(--text);
}

.search-suggestions-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: max(100%, 460px);
  max-width: min(92vw, 560px);
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  max-height: 380px;
  z-index: 9999;
  padding: 4px 0;
}

.search-suggestion-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  color: var(--muted, #5c5c5c);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.4;
  border-bottom: 1px solid #f0f2f5;
  transition: background-color 100ms ease, color 100ms ease;
  cursor: pointer;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover,
.search-suggestion-item.is-active {
  background-color: #f1f7fa;
}

.search-suggestion-sku {
  font-weight: 400;
  color: #007db3;
  flex-shrink: 0;
  font-size: 13.5px;
  letter-spacing: 0.2px;
}

.search-suggestion-divider {
  color: #b0b4bc;
  font-weight: 300;
  flex-shrink: 0;
  user-select: none;
}

.search-suggestion-title {
  color: var(--muted, #5c5c5c);
  font-weight: 300;
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-suggestion-empty {
  padding: 14px 16px;
  color: #6b7280;
  font-size: 13.5px;
  text-align: center;
  font-style: italic;
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  padding: 6px 0;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: #000;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mega-menu {
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  z-index: 25;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.985);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.has-mega.is-open .mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.download-menu {
  position: absolute;
  top: 88px;
  left: 0;
  z-index: 35;
  min-width: 300px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.has-dropdown.is-open .download-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav .download-menu a {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 12px 18px;
  color: #555;
  font-size: clamp(14px, 0.92vw, 16px);
  font-weight: 300;
  line-height: 1.22;
  text-align: left;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.main-nav .download-menu a:hover,
.main-nav .download-menu a:focus-visible {
  color: #007db3;
  background: #f4f4f4;
}

.site-header:has(.main-nav .has-dropdown.is-open) .main-nav .download-menu a:hover,
.site-header:has(.main-nav .has-dropdown.is-open) .main-nav .download-menu a:focus-visible {
  color: #007db3;
  background: #f4f4f4;
}

.mega-inner {
  width: calc(100% - (var(--gutter) * 2));
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2vw, 46px);
  padding: 26px 0 34px;
}

.mega-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.mega-column a {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 0;
  margin: 0 -8px;
  padding: 4px 8px;
  color: #5f5f5f;
  font-size: clamp(13px, 0.88vw, 16px);
  font-weight: 300;
  line-height: 1.18;
  text-align: left;
  letter-spacing: 0;
  transition: color 160ms ease, background-color 160ms ease;
}

.mega-column .mega-title {
  min-height: 44px;
  margin-bottom: 10px;
  color: #555;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 400;
  line-height: 1.18;
}

.mega-column .mega-break {
  margin-top: clamp(22px, 2vw, 34px);
}

.mega-column a:hover {
  color: #007db3;
  background: #f4f4f4;
}

.mobile-nav a {
  display: block;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.mobile-products-menu {
  border-bottom: 1px solid var(--line);
}

.mobile-products-menu > summary {
  position: relative;
  display: block;
  padding: 18px calc(var(--gutter) + 28px) 18px var(--gutter);
  color: var(--text);
  font-size: 18px;
  list-style: none;
  cursor: pointer;
}

.mobile-products-menu > summary::-webkit-details-marker {
  display: none;
}

.mobile-products-menu > summary::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
}

.mobile-products-menu[open] > summary::after {
  transform: translateY(-35%) rotate(-135deg);
}

.mobile-products-menu > summary.is-current {
  font-weight: 500;
}

.mobile-products-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  background: #f7f7f7;
  border-top: 1px solid var(--line);
}

.mobile-products-panel > a,
.mobile-product-group summary {
  display: block;
  position: relative;
  padding: 16px calc(var(--gutter) + 28px) 16px var(--gutter);
  border-bottom: 0;
  color: #555;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.22;
}

.mobile-product-group {
  border-top: 1px solid #e4e4e4;
}

.mobile-product-group > summary {
  list-style: none;
  cursor: pointer;
}

.mobile-product-group > summary::-webkit-details-marker {
  display: none;
}

.mobile-product-group > summary::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
}

.mobile-product-group[open] > summary::after {
  transform: translateY(-35%) rotate(-135deg);
}

.mobile-product-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 4px 0 12px;
  background: #fbfbfb;
  border-top: 1px solid #e8e8e8;
}

.mobile-product-links a {
  padding: 10px var(--gutter) 10px calc(var(--gutter) + 28px);
  border-bottom: 0;
  color: #666;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.22;
}

.mobile-product-subgroup {
  position: relative;
  border-bottom: 1px solid #e8e8e8;
}

.mobile-product-subgroup > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gutter) 10px calc(var(--gutter) + 28px);
  color: #333;
  font-size: 15px;
  font-weight: 400;
}

.mobile-product-subgroup > summary a {
  padding: 0 !important;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  display: inline;
}

.mobile-product-subgroup > summary::-webkit-details-marker {
  display: none;
}

.mobile-product-subgroup > summary::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-right: calc(var(--gutter) + 4px);
  transition: transform 0.2s ease;
}

.mobile-product-subgroup[open] > summary::after {
  transform: rotate(-135deg);
}

.mobile-product-sublinks {
  display: grid;
  grid-template-columns: 1fr;
  padding: 4px 0 8px;
  background: #ffffff;
}

.mobile-product-sublinks a {
  padding: 8px var(--gutter) 8px calc(var(--gutter) + 44px) !important;
  font-size: 14px;
  color: #666;
}

.mobile-product-sublinks a:hover,
.mobile-product-sublinks a.is-active {
  color: #007db3;
}

.side-tools {
  position: fixed;
  left: 0;
  top: 25vh;
  z-index: 30;
  display: grid;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.side-tools a {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}

.side-tools .badge {
  position: absolute;
  top: 7px;
  right: 7px;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 10px;
  line-height: 15px;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
  aspect-ratio: 21 / 9;
  min-height: 500px;
}

.hero-slider-small {
  margin-top: 70px;
  min-height: 430px;
}

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

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

.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  top: 50%;
  width: min(520px, 38vw);
  transform: translateY(-50%);
  color: var(--text);
}

.hero-slide.dark .hero-copy {
  color: var(--white);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hero-copy.right {
  right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  text-align: right;
}

.hero-copy.left {
  left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy h2 {
  font-size: clamp(28px, 3.6vw, 58px);
}

.hero-copy p {
  margin: 0;
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 26px;
  transform: translateX(-50%);
  z-index: 2;
}

.slider-controls button {
  width: 46px;
  height: 34px;
  position: relative;
}

.slider-controls button::before {
  content: "";
  position: absolute;
  inset: 8px 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.slider-controls .slider-prev::before {
  transform: rotate(-135deg);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 5px;
  height: 5px;
  padding: 0;
  border-radius: 0;
  background: currentColor;
  color: rgba(255, 255, 255, 0.86);
}

.slider-dots button.is-active {
  width: 4px;
  height: 17px;
  background: var(--white);
}

.intro-section {
  padding: clamp(58px, 7vw, 106px) 0 clamp(40px, 6vw, 86px);
}

.section-head {
  max-width: var(--max);
}

.intro-section .container {
  max-width: var(--max);
}

.intro-section h2,
.section-head h2 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(32px, 2.85vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0;
}

.intro-section h2 {
  line-height: 1.15;
}

.intro-section p,
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: var(--copy-size);
  font-weight: 300;
  line-height: var(--copy-line);
}

.intro-section p {
  max-width: none;
  font-size: var(--copy-size);
  font-weight: 300;
  line-height: var(--copy-line);
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.section-head p {
  max-width: none;
}

.hero-copy p,
.intro-section p,
.section-head p,
.field-card p,
.product-card p,
.story-card p,
.support-copy p,
.subpage-hero p,
.local-banner p,
.contact-panel p,
.contact-title-grid p,
.contact-address p,
.contact-option-grid p,
.news-list p,
.products-head p,
.detail-hero p,
.detail-intro p,
  .footer-intro {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

.text-link,
.product-card a,
.dialogue-grid a,
.contact-option-grid a,
.company-topic-card b,
.company-support-card b,
.company-story-card b {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.text-link,
.product-card a,
.dialogue-grid a {
  margin-top: 28px;
}

.text-link span,
.product-card a span,
.dialogue-grid a span,
.story-card div > span,
.contact-option-grid a span,
.company-topic-card b span,
.company-support-card b span,
.company-story-card b span {
  width: 24px;
  height: 16px;
  display: inline-block;
  position: relative;
}

.text-link span::before,
.product-card a span::before,
.dialogue-grid a span::before,
.story-card div > span::before,
.contact-option-grid a span::before,
.company-topic-card b span::before,
.company-support-card b span::before,
.company-story-card b span::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 23px;
  border-top: 2px solid currentColor;
}

.text-link span::after,
.product-card a span::after,
.dialogue-grid a span::after,
.story-card div > span::after,
.contact-option-grid a span::after,
.company-topic-card b span::after,
.company-support-card b span::after,
.company-story-card b span::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.content-section {
  padding: clamp(44px, 6vw, 86px) 0;
}

.home-page .new-items-section {
  padding: clamp(46px, 5.5vw, 78px) 0 clamp(54px, 6vw, 88px);
  scroll-margin-top: 88px;
  color: var(--white);
  background: #555;
}

.home-page .new-items-section > .container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  max-width: var(--max);
}

.home-page .new-items-section .section-head {
  margin-bottom: clamp(34px, 3.4vw, 54px);
}

.home-page .new-items-section .section-head h2,
.home-page .new-items-section .section-head p,
.home-page .new-items-section .section-action .text-link {
  color: var(--white);
}

.home-page .new-items-section .section-head h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 2.85vw, 44px);
  font-weight: 300;
  line-height: 1.15;
}

.home-page .new-items-section .section-head p {
  max-width: none;
  margin-top: 0;
  font-size: var(--copy-size);
  font-weight: 300;
  line-height: var(--copy-line);
}

.section-head {
  margin-bottom: clamp(30px, 4.2vw, 58px);
}

.card-grid {
  display: grid;
  gap: 28px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .new-items-section .card-grid.four {
  gap: clamp(28px, 2.6vw, 44px);
}

.home-page .project-section {
  color: var(--white);
  background: #555;
}

.home-page .project-section .section-head h2,
.home-page .project-section .section-head p {
  color: var(--white);
}

.home-page .project-section .section-head p {
  font-size: clamp(18px, 1.15vw, 21px);
  line-height: 1.55;
}

.home-page .project-section .product-card {
  color: var(--text);
  background: #ededed;
}

.home-page .project-section .project-card,
.project-list .project-card {
  overflow: hidden;
}

.home-page .project-section .project-card > div:first-of-type,
.project-list .project-card > div:first-of-type {
  position: relative;
  z-index: 1;
}

.home-page .project-section .project-card a span,
.project-list .project-card a span {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: -1px;
  transition: transform 0.2s ease;
}

.home-page .project-section .project-card a span::before,
.home-page .project-section .project-card a span::after,
.project-list .project-card a span::before,
.project-list .project-card a span::after {
  top: 7px;
  width: 10px;
  height: 0;
  background: transparent;
  border-top: 2px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  border-radius: 2px;
}

.home-page .project-section .project-card a span::before,
.project-list .project-card a span::before {
  left: 0;
  transform: rotate(45deg);
}

.home-page .project-section .project-card a span::after,
.project-list .project-card a span::after {
  right: 0;
  transform: rotate(-45deg);
}

.home-page .project-section .project-card.is-open a span,
.project-list .project-card.is-open a span {
  transform: rotate(180deg);
}

.home-page .project-section .project-detail,
.project-list .project-detail {
  max-height: 0;
  overflow: hidden;
  padding: 0 34px;
  color: #5f5f5f;
  background: #f2f2f2;
  border-top: 0 solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.32s ease, padding 0.32s ease, opacity 0.22s ease, transform 0.32s ease;
}

.home-page .project-section .has-project-detail.is-open .project-detail,
.project-list .has-project-detail.is-open .project-detail {
  max-height: 720px;
  padding: clamp(24px, 2.6vw, 42px) 34px clamp(26px, 2.7vw, 44px);
  border-top-width: 1px;
  opacity: 1;
  transform: translateY(0);
}

.home-page .project-section .project-detail p,
.project-list .project-detail p {
  min-height: 0;
  margin: 0 0 18px;
  color: #4a4a4a;
  font-size: clamp(18px, 1.18vw, 22px);
  line-height: 1.45;
  text-align: justify;
  text-align-last: left;
}

.home-page .project-section .project-detail ul,
.project-list .project-detail ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  font-size: clamp(17px, 1.08vw, 21px);
  line-height: 1.45;
}

.project-action {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(16px, 2.2vw, 30px);
  text-align: left;
}

.project-action .text-link {
  margin-top: 0;
  justify-content: flex-start;
  font-size: clamp(18px, 1.25vw, 22px);
}

.home-page .project-section .project-action .text-link {
  color: var(--white);
}

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

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: var(--soft);
  min-width: 0;
}

.page-card-grid .product-card {
  background: #ffffff;
  border: 1px solid #e2e3e5;
}

.product-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.brand-card img {
  padding: clamp(36px, 5vw, 78px);
  background: #eeeeee;
  object-fit: contain;
}

.field-card {
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: #ededed;
}

.field-card .field-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  min-height: clamp(230px, 17.8vw, 340px);
  aspect-ratio: 1.36 / 1;
  padding: 0;
  background: #f7f7f7;
  border-bottom: 1px solid #d8d8d8;
}

.field-card .field-image span {
  color: #4d4d4d;
  font-size: clamp(19px, 1.65vw, 28px);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.field-card .field-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  padding: 0;
  object-fit: cover;
  object-position: center 54%;
}

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

.field-card a {
  color: var(--text);
}

.field-card h3 {
  font-size: 22px;
  font-weight: 700;
}

.field-card p {
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.compact .product-card img,
.card-grid.two .product-card img {
  aspect-ratio: 16 / 9;
}

.product-card div {
  padding: 25px 25px 29px;
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.18;
}

.product-card p {
  min-height: 92px;
  margin: 0;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.compact .product-card p {
  min-height: 76px;
}

.product-card a {
  font-size: 17px;
}

.section-action {
  margin-top: 8px;
}

.wide-image {
  margin-bottom: 28px;
  overflow: hidden;
}

.wide-image img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.home-page .content-section .card-grid.four.compact .product-card a {
  gap: 8px;
  max-width: 100%;
  font-size: clamp(10px, 0.68vw, 13px);
  line-height: 1.15;
  white-space: nowrap;
}

.home-page .content-section .card-grid.four.compact .product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.home-page .content-section .card-grid.four.compact .product-card > div {
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: stretch;
}

.home-page .content-section .card-grid.four.compact .product-card p {
  min-height: 0;
}

.home-page .content-section .card-grid.four.compact .product-card a {
  align-self: end;
}

.home-page .content-section .card-grid.four.compact .product-card a span {
  width: 17px;
  min-width: 17px;
  height: 14px;
}

.home-page .content-section .card-grid.four.compact .product-card a span::before {
  top: 6px;
  width: 16px;
}

.home-page .content-section .card-grid.four.compact .product-card a span::after {
  top: 2px;
  width: 8px;
  height: 8px;
}

@media (max-width: 1599px) {
  .home-page .content-section .card-grid.four.compact .product-card a {
    gap: 4px;
    font-size: 10px;
  }

  .home-page .content-section .card-grid.four.compact .product-card a span {
    width: 12px;
    min-width: 12px;
  }

  .home-page .content-section .card-grid.four.compact .product-card a span::before {
    width: 12px;
  }

  .home-page .content-section .card-grid.four.compact .product-card a span::after {
    width: 7px;
    height: 7px;
  }
}

@media (max-width: 1350px) {
  .home-page .content-section .card-grid.four.compact .product-card a {
    font-size: 9.5px;
  }

  .home-page .content-section .card-grid.four.compact .product-card a span {
    width: 10px;
    min-width: 10px;
  }

  .home-page .content-section .card-grid.four.compact .product-card a span::before {
    width: 10px;
  }
}

.home-page .content-section .solutions-card-grid {
  gap: 34px;
  margin-top: 28px;
}

.home-page .content-section .solutions-card-grid .product-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  height: 100%;
}

.home-page .content-section .card-grid.four.compact.solutions-card-grid .product-card > div {
  display: contents !important;
}

.home-page .content-section .solutions-card-grid .product-card p {
  order: 1;
  box-sizing: border-box;
  height: 184px;
  min-height: 0;
  padding: clamp(22px, 2vw, 30px) clamp(18px, 1.6vw, 25px) clamp(16px, 1.5vw, 22px);
  background: #ededed;
}

@media (min-width: 1440px) {
  .home-page .content-section .solutions-card-grid .product-card p {
    height: 160px;
  }
}

.home-page .content-section .solutions-card-grid .product-card img {
  order: 2;
  width: calc(100% - clamp(36px, 3.2vw, 50px));
  margin: 0 auto;
}

.home-page .content-section .solutions-card-grid .product-card a {
  order: 3;
  align-self: end;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 1.3vw, 22px) clamp(12px, 1.1vw, 18px) clamp(22px, 1.8vw, 28px);
  background: #ededed;
}

.solutions-action {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(16px, 2.2vw, 30px);
}

.solutions-action .text-link {
  margin-top: 0;
  font-size: clamp(18px, 1.25vw, 22px);
}

.partners-action {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(16px, 2.2vw, 30px);
}

.partners-action .text-link {
  margin-top: 0;
  font-size: clamp(18px, 1.25vw, 22px);
}

.inspiration-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(430px, 1fr);
  gap: 28px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.story-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  color: var(--white);
  background: #222;
  scroll-snap-align: start;
}

.story-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.story-card:hover img {
  transform: scale(1.04);
}

.story-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), transparent);
}

.story-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  padding: 24px;
}

.story-card h3 {
  grid-column: 1;
  display: grid;
  gap: 4px;
  min-height: calc(2 * 1.16em + 4px);
  margin: 0;
  font-size: clamp(18px, 1.03vw, 20px);
  font-weight: 400;
  line-height: 1.16;
}

.story-card h3 span {
  display: block;
}

.story-card p {
  grid-column: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 0.88vw, 17px);
  line-height: 1.36;
}

.story-card div > span {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
}

.support-section {
  padding: clamp(52px, 6.5vw, 94px) 0;
  color: var(--white);
  background: #555;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(54px, 8vw, 140px);
}

.support-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(96px, 10vw, 150px);
  gap: clamp(34px, 4.5vw, 78px);
  align-items: start;
}

.support-copy h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(30px, 2.7vw, 46px);
  font-weight: 300;
  line-height: 1.12;
}

.support-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--copy-size);
  font-weight: 300;
  line-height: var(--copy-line);
}

.support-action {
  display: grid;
  grid-template-rows: clamp(120px, 9.8vw, 154px) auto;
  justify-items: center;
  align-content: start;
  gap: 18px;
}

.support-action svg {
  width: clamp(86px, 8vw, 126px);
  height: clamp(120px, 9.8vw, 154px);
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 2.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
  shape-rendering: geometricPrecision;
}

.support-action .support-icon-contact {
  width: clamp(66px, 6vw, 96px);
}

.support-action a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.support-action a:hover {
  color: rgba(255, 255, 255, 0.74);
}

.support-action span {
  width: 28px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.support-action span::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 27px;
  border-top: 2px solid currentColor;
}

.support-action span::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.dialogue {
  padding: clamp(52px, 7vw, 100px) 0;
  color: var(--white);
  background: var(--dark);
}

.dialogue .section-head p {
  color: #cfcfcf;
}

.dialogue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.dialogue-grid a {
  min-height: 135px;
  margin: 0;
  padding: 28px;
  align-items: flex-end;
  justify-content: space-between;
  background: #242424;
  color: var(--white);
  font-size: 22px;
}

.site-footer {
  color: var(--white);
  background: #555;
  border-top: 0;
}

.subpage-hero {
  position: relative;
  min-height: 560px;
  color: var(--white);
  overflow: hidden;
  background: #222;
}

.subpage-hero picture,
.subpage-hero img {
  width: 100%;
  height: 100%;
}

.subpage-hero picture {
  position: absolute;
  inset: 0;
}

.subpage-hero img {
  object-fit: cover;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18) 52%, rgba(0, 0, 0, 0.04));
}

body[data-page="news"] .subpage-hero::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.1) 48%, rgba(0, 0, 0, 0));
}

body[data-page="partners"] .subpage-hero::after,
body[data-page="partners"] .subpage-hero-copy {
  display: none;
}

body[data-page="news"] .subpage-hero,
body[data-page="partners"] .subpage-hero {
  height: clamp(360px, 42.85vw, 617px);
  min-height: 0;
  background: #d7d6d2;
}

.subpage-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  padding-top: 52px;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb > * + *::before {
  content: "/";
  margin-right: 12px;
}

.subpage-hero h1 {
  width: min(1120px, 88vw);
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.subpage-hero p {
  width: min(1060px, 88vw);
  margin: 0;
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.page-intro {
  padding-bottom: 46px;
}

.page-card-grid {
  padding-bottom: clamp(54px, 7vw, 96px);
}

.partner-story-grid {
  gap: 20px;
}

.partner-story-grid .story-card {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.partner-story-grid .story-card::after {
  height: 58%;
}

.partner-story-grid .story-card h3 {
  min-height: 0;
  font-size: clamp(16px, 1vw, 18px);
  font-weight: 700;
}

.partner-story-grid .story-card p {
  font-size: clamp(13px, 0.82vw, 15px);
}

.catalogue-page-head {
  padding: clamp(40px, 5vw, 82px) 0 clamp(70px, 8vw, 122px);
  background: var(--white);
}

.catalogue-page-head .breadcrumb {
  margin-bottom: clamp(42px, 5vw, 80px);
}

.gira-hero {
  padding: clamp(34px, 4vw, 70px) 0 clamp(42px, 5vw, 86px);
  background: #f3f4f2;
}

.gira-hero .breadcrumb {
  margin-bottom: clamp(30px, 4vw, 62px);
}

.gira-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}

.gira-hero-copy img {
  width: clamp(86px, 8vw, 132px);
  height: auto;
  margin-bottom: clamp(22px, 3vw, 44px);
}

.gira-hero h1 {
  max-width: 860px;
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(42px, 5.5vw, 86px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0;
}

.gira-hero p,
.gira-intro-panel p,
.gira-group-card p,
.gira-product-head p,
.gira-content-grid p,
.gira-quote-panel p {
  margin: 0;
  color: var(--muted);
  font-size: var(--copy-size);
  font-weight: 300;
  line-height: var(--copy-line);
}

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

.gira-hero picture {
  display: block;
  overflow: hidden;
  background: #ddd;
}

.gira-hero picture img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gira-catalogue {
  padding: clamp(46px, 6vw, 96px) 0 clamp(72px, 8vw, 128px);
  background: var(--page-bg);
}

.gira-catalogue {
  background: var(--page-bg);
  color: var(--text);
  padding: 32px 0 64px;
}

.brand-catalogue-layout,
.gira-catalogue-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.brand-catalogue-sidebar,
.gira-sidebar,
.gira-quote-panel {
  position: sticky;
  top: calc(var(--header-height, 88px) + 16px);
  align-self: flex-start;
  max-height: calc(100vh - var(--header-height, 88px) - 32px);
  overflow-y: auto;
  min-width: 0;
}

.brand-catalogue-sidebar,
.gira-sidebar {
  top: calc(var(--header-height, 88px) + 16px);
  max-height: calc(100vh - var(--header-height, 88px) - 32px);
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  overscroll-behavior: contain;
}

.gira-sidebar h2,
.gira-quote-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(20px, 1.35vw, 26px);
  font-weight: 400;
  line-height: 1.18;
  color: #111111;
}

.gira-sidebar details {
  border-top: 1px solid #e5e5e5;
}

.gira-sidebar-top-link {
  display: block;
  padding: 14px 0;
  border-top: 1px solid #e5e5e5;
  color: #111111;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}

.gira-sidebar > *:last-child {
  border-bottom: 1px solid #e5e5e5;
}

.brand-sidebar-section {
  border-top: 1px solid #dedede;
  padding: 10px 0 12px;
}

.brand-sidebar-section + .brand-sidebar-section {
  margin-top: 12px;
}

.brand-sidebar-section-title {
  display: block;
  padding: 4px 0 12px;
  color: #007db3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
}

.gira-sidebar summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  color: #111111;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}

.gira-sidebar summary::-webkit-details-marker {
  display: none;
}

.gira-sidebar summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.gira-sidebar details[open] > summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.gira-sidebar summary a {
  color: inherit;
  text-decoration: none;
  flex: 1 1 auto;
}

.gira-sidebar nav {
  display: grid;
  gap: 8px;
  padding: 0 0 16px 12px;
}

.gira-sidebar nav a {
  color: #555555;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s;
}

.gira-sidebar nav a:hover {
  color: #007db3;
}

.gira-main {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  min-width: 0;
  background: transparent;
}

.gira-catalogue-layout > * {
  min-width: 0;
}

.gira-intro-panel,
.gira-product-detail,
.gira-content-grid article,
.gira-quote-panel {
  background: #ffffff;
  border: 1px solid #e5e5e5;
}

.gira-intro-panel,
.gira-product-detail,
.gira-content-grid article {
  padding: clamp(24px, 3vw, 42px);
  color: var(--text);
}

.gira-intro-panel h2,
.gira-product-head h2,
.gira-content-grid h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  color: #111111;
}

/* Active Filter Bar & Chip Tags */
.gira-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 10px;
  margin-bottom: 8px;
  background: transparent;
  border-bottom: 0;
}

.gira-filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.gira-chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #f5f5f5;
  color: #333333;
  border: 1px solid #dedede;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gira-chip-remove {
  background: transparent;
  border: none;
  color: #555555;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.gira-chip-remove:hover {
  opacity: 1;
}

.gira-filter-meta {
  display: flex;
}

.gira-empty-state {
  grid-column: 1 / -1;
  width: 100%;
  padding: 56px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #c4c8ce;
  margin: 12px 0 24px;
}

.gira-empty-state p {
  margin: 0;
  color: #666666;
  font-size: 16px;
  font-weight: 500;
}
  align-items: center;
  gap: 16px;
}

.gira-results-count {
  font-size: 14px;
  color: #666666;
  font-weight: 400;
}

.gira-reset-filter-btn {
  background: none;
  border: none;
  color: #007db3;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* Floating Side Toolbar Buttons (Left Pinned Filter Tab & Bottom Right Scroll Top) */
.gira-float-tools {
  display: none;
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999;
  flex-direction: column;
  background: #007db3;
  color: #ffffff;
  border-radius: 0 8px 8px 0;
  box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.gira-float-btn {
  width: 48px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #007db3;
  color: #ffffff;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.gira-float-btn:hover,
.gira-float-btn:active {
  background: #005f88;
  color: #ffffff;
}

body.is-mobile-nav-open .gira-float-tools {
  display: none !important;
}

.gira-scroll-top,
.back-to-top {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: clamp(18px, 3vw, 28px) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #222222 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24) !important;
  z-index: 9990 !important;
  cursor: pointer !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 20px) !important;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s, border-color 0.2s !important;
}

.gira-scroll-top.is-visible,
.back-to-top.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}

.gira-scroll-top:hover,
.gira-scroll-top:focus-visible,
.back-to-top:hover,
.back-to-top:focus-visible {
  background: #007db3 !important;
  color: #ffffff !important;
  border-color: #007db3 !important;
  transform: translate(-50%, -3px) !important;
  outline: none !important;
}

.gira-scroll-top:active,
.back-to-top:active {
  transform: translate(-50%, 1px) !important;
}

/* Mobile Sidebar Drawer & Overlay */
.gira-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gira-sidebar-overlay.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.gira-sidebar-header {
  display: none;
}

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

.gira-sidebar-top-link,
.gira-sidebar summary a,
.gira-sidebar nav a,
.brand-sidebar-section-title {
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.gira-sidebar .is-active,
.gira-sidebar summary a.is-active,
.gira-sidebar nav a.is-active,
.gira-sidebar-top-link.is-active,
.brand-sidebar-section-title.is-active {
  background-color: transparent !important;
  color: #007db3 !important;
  font-weight: 400 !important;
  padding: 0 !important;
  display: inline;
}

.gira-group-card {
  min-height: 500px;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  padding: 0;
  scroll-margin-top: 120px;
  box-shadow: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.gira-card-main {
  color: inherit;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  text-decoration: none;
}

.gira-group-card:hover,
.gira-group-card.is-highlighted {
  border-color: #007db3 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}

.gira-card-media {
  margin: 0;
  padding: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 0;
}

.gira-card-img-wrap {
  width: auto;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gira-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--product-image-scale, 1));
  transition: transform 0.2s ease;
}

.gira-card-img-wrap .detail-spec-frame {
  width: 72%;
  height: 34%;
  min-height: 64px;
  padding: 9px;
  background: #f7f7f4;
}

.gira-card-img-wrap .detail-spec-frame-4,
.gira-card-img-wrap .detail-spec-frame-5 {
  width: 78%;
  height: 28%;
}

.gira-switch-preview {
  display: block;
  width: 76%;
  height: 76%;
  border-radius: 3px;
  background-color: var(--swatch-color, #efefea);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  position: relative;
}

.gira-switch-preview::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
}

.gira-card-body {
  min-height: 168px;
  padding: 16px 18px 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.gira-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  color: #5f5f5f;
  line-height: 1.36;
  display: -webkit-box;
  min-height: calc(1em * 1.36 * 3);
  max-height: calc(1em * 1.36 * 3);
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.gira-card-desc {
  margin: 0 0 12px;
  font-size: 13px;
  color: #555555;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gira-card-line {
  height: 1px;
  background: #e5e5e5;
  margin: auto 0 12px;
}

.gira-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gira-card-sku {
  font-size: 13px;
  font-weight: 300;
  color: #4f4f4f;
  display: block;
  margin-top: 18px;
  padding: 10px 0 11px;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  line-height: 1.3;
}

.gira-card-actions {
  display: grid;
  gap: 0;
  margin-top: auto;
  padding: 24px 10px 16px;
}

.gira-card-actions > a,
.gira-card-actions > button {
  min-height: 32px;
  padding: 0;
  color: #007db3;
  background: transparent;
  border: 0;
  border-top: 1px solid #d8d8d8;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font: inherit;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.gira-card-actions > a:first-child,
.gira-card-actions > button:first-child {
  border-top: 0;
}

.gira-card-actions > a:hover,
.gira-card-actions > a:focus-visible,
.gira-card-actions > button:hover,
.gira-card-actions > button:focus-visible,
.gira-card-actions > button.is-added {
  color: #005f89;
  outline: none;
}

.gira-card-tools {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 36px;
  padding: 6px 0 0;
  border-top: 1px solid #d8d8d8;
  border-bottom: 0;
}

.gira-card-tools .gira-card-tool-btn {
  min-height: 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-top: 0;
  border-bottom: 0;
  border-radius: 4px;
  background: transparent;
  color: #555555;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}

.gira-card-tools .gira-card-tool-btn:hover,
.gira-card-tools .gira-card-tool-btn:focus-visible {
  color: #007db3;
  transform: translateY(-1px);
}

.gira-card-tools .gira-card-tool-btn.is-added {
  color: #007db3;
}

.gira-card-tools .gira-card-tool-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  display: block;
}

.gira-product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 42px);
}

.gira-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #007db3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gira-product-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.gira-rocker {
  width: min(58%, 150px);
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #f5f2df, #e5dfc8);
  border: 1px solid #d9d2ba;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.gira-variant-table-wrap {
  overflow-x: auto;
  background: #151515;
}

.gira-variant-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  color: #fff;
}

.gira-variant-table th,
.gira-variant-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  vertical-align: middle;
}

.gira-variant-table th {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 400;
}

.gira-finish {
  display: grid;
  grid-template-columns: 46px minmax(160px, 1fr);
  gap: 14px;
  align-items: center;
}

.gira-finish i {
  width: 38px;
  height: 38px;
  background: var(--finish);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.3);
}

.gira-variant-table input {
  width: 70px;
  height: 34px;
  padding: 0 8px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.gira-variant-table button,
.gira-row-quote,
.gira-send-quote,
.gira-clear-quote {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: #fff;
  background: #007db3;
  font-size: 14px;
  font-weight: 500;
}

.gira-variant-table button:hover,
.gira-row-quote:hover,
.gira-send-quote:hover {
  background: #005f89;
}

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

.gira-content-grid article {
  display: grid;
  align-content: start;
}

.gira-quote-panel {
  display: grid;
  gap: 34px;
  scroll-margin-top: 120px;
  margin-top: 18px;
  margin-bottom: 68px;
  padding: clamp(20px, 3vw, 34px);
  background: #ffffff;
  border: 0;
  border-radius: 8px;
}

.gira-quote-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  padding-top: 16px;
  margin-bottom: 4px;
}

.gira-quote-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #007db3;
  font-size: 14px;
  font-weight: 400;
}

.gira-quote-panel h1,
.gira-quote-panel h2 {
  margin: 0;
  color: #17253a;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.08;
}

.gira-quote-count,
.cart-count {
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #007db3;
  font-weight: 500;
}

.gira-quote-count {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.cart-link {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.cart-count[hidden] {
  display: none !important;
}

.gira-quote-list {
  display: grid;
  gap: 12px;
}

.gira-quote-empty {
  margin: 0;
  padding: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  background: #ffffff;
}

.gira-quote-item {
  display: grid;
  background: #fff;
  border: 1px solid #d7dce1;
  border-radius: 8px;
}

.gira-quote-product-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(150px, 190px) auto;
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.gira-quote-thumb {
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  background: #f5f6f7;
  text-decoration: none;
}

.gira-quote-thumb img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.gira-quote-info {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.gira-quote-info small {
  color: #7a8491;
  font-size: 13px;
  line-height: 1.3;
}

.gira-quote-info strong {
  color: #17253a;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
}

.gira-quote-qty-control {
  display: grid;
  gap: 8px;
}

.gira-quote-qty-control label {
  color: #5d6673;
  font-size: 13px;
}

.gira-quote-qty-stepper {
  display: grid;
  grid-template-columns: 48px minmax(78px, 1fr) 48px;
  gap: 8px;
  align-items: center;
}

.gira-quote-qty-stepper button,
.gira-quote-qty-control input {
  height: 46px;
  border: 1px solid #17253a;
  border-radius: 6px;
  color: #17253a;
  background: #ffffff;
  font: inherit;
  text-align: center;
}

.gira-quote-qty-stepper button {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.gira-quote-qty-control input {
  width: 100%;
  padding: 0 12px;
  font-size: 16px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.gira-quote-qty-control input::-webkit-outer-spin-button,
.gira-quote-qty-control input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.gira-quote-remove {
  min-height: 40px;
  padding: 0 14px;
  color: #5d6673;
  font-size: 14px;
}

.gira-quote-checkout {
  display: grid;
  justify-content: end;
  gap: 12px;
}

.gira-add-more,
.gira-clear-quote,
.gira-send-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #17253a;
  border-radius: 6px;
  color: #17253a;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.gira-send-quote {
  min-width: 220px;
  color: #ffffff;
  border-color: #007db3;
  background: #007db3;
}

.gira-quote-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.gira-quote-status {
  min-height: 22px;
  margin: 0;
  color: #007db3;
  font-size: 14px;
  line-height: 1.45;
}

.company-hero-media {
  aspect-ratio: 21 / 9;
  min-height: 500px;
  overflow: hidden;
  background: #111;
}

.company-hero-media img {
  width: 100%;
  height: 100%;
  filter: contrast(1.08) saturate(1.06);
  object-fit: cover;
  object-position: center top;
}

.company-page-head,
.menu-page-head {
  padding: clamp(36px, 5vw, 76px) 0 clamp(44px, 5vw, 78px);
  background: var(--white);
}

.company-page-head .breadcrumb,
.menu-page-head .breadcrumb {
  margin-bottom: clamp(34px, 4.8vw, 76px);
}

.company-page-head h1,
.menu-page-head h1 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(48px, 5.35vw, 82px);
  font-weight: 300;
  line-height: 1.08;
}

.company-page-head h1 {
  max-width: none;
  font-size: clamp(24px, 2.675vw, 41px);
}

.company-page-lead {
  max-width: none;
  margin: clamp(24px, 3vw, 42px) 0 0;
}

.company-page-lead p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
  text-align: justify;
  text-align-last: left;
}

.company-page-lead p:last-child {
  margin-bottom: 0;
}

.company-showcase {
  padding: 0 0 clamp(48px, 6vw, 92px);
  background: var(--white);
}

.company-showcase picture {
  display: block;
  overflow: hidden;
  background: #dedede;
}

.company-showcase img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.company-welcome,
.menu-page-intro {
  padding: clamp(18px, 2vw, 34px) 0 clamp(42px, 5vw, 84px);
  background: var(--white);
}

.company-copy-stack {
  display: grid;
  gap: clamp(34px, 4.5vw, 66px);
}

.company-copy-block {
  max-width: none;
}

.company-copy-block h2,
.menu-page-intro h2,
.company-dialogue h2 {
  max-width: 1260px;
  margin: 0 0 clamp(16px, 2vw, 26px);
  font-size: clamp(26px, 2.15vw, 42px);
  font-weight: 300;
  line-height: 1.16;
}

.company-copy-block p,
.menu-page-intro p,
.company-dialogue p {
  margin: 0;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.company-copy-block h2,
.company-copy-block p {
  max-width: none;
}

.menu-page-intro p,
.company-dialogue p {
  max-width: 1380px;
}

.company-copy-block p {
  text-align: justify;
  text-align-last: left;
}

.company-topic-section,
.menu-page-related {
  padding: clamp(42px, 5vw, 76px) 0 clamp(70px, 7vw, 116px);
  background: var(--white);
}

.company-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.2vw, 24px);
}

.company-topic-card,
.menu-related-card {
  display: grid;
  align-content: stretch;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-width: 0;
  color: var(--text);
  background: var(--white);
}

.company-topic-card img {
  aspect-ratio: 1 / 1;
  background: var(--white);
  object-fit: contain;
}

.menu-related-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.company-topic-card > span,
.menu-related-card > span {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 22px 0 0;
}

.company-topic-card > span {
  height: 100%;
  grid-template-rows: minmax(64px, auto) minmax(0, 1fr) auto;
}

.company-topic-card small {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.company-topic-card strong,
.menu-related-card strong,
.company-support-card strong,
.company-story-card strong {
  font-size: clamp(18px, 1.2vw, 22px);
  font-weight: 500;
  line-height: 1.25;
}

.company-topic-card small,
.menu-related-card small,
.company-support-card small,
.company-story-card small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.company-topic-card b,
.company-support-card b,
.company-story-card b {
  margin-top: 2px;
}

.company-topic-card i,
.menu-related-card i,
.company-support-card i {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.company-topic-card:hover strong,
.menu-related-card:hover strong,
.company-support-card:hover strong,
.company-story-card:hover strong {
  color: #007db3;
}

.company-feature {
  padding: clamp(58px, 6vw, 96px) 0;
  color: var(--white);
  background: #555;
}

.company-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(580px, 1.12fr);
  gap: clamp(34px, 4.4vw, 70px);
  align-items: start;
}

.company-feature picture {
  overflow: hidden;
  background: #4a4a4a;
}

.company-feature img {
  aspect-ratio: 1000 / 566;
  object-fit: contain;
  object-position: center;
}

.company-feature h2 {
  max-width: 980px;
  margin: 0 0 clamp(16px, 1.8vw, 24px);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 300;
  line-height: 1.12;
}

.company-support-head h2 {
  max-width: 980px;
  margin: 0 0 clamp(16px, 2vw, 26px);
  font-size: clamp(32px, 3.25vw, 58px);
  font-weight: 300;
  line-height: 1.12;
}

.company-feature p,
.company-support-head p {
  max-width: 1120px;
  margin: 0 0 24px;
  color: inherit;
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.company-feature p {
  font-size: clamp(17px, 1.15vw, 19px);
  font-weight: 300;
  line-height: 1.52;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

.company-support-head p {
  max-width: none;
  font-size: clamp(18px, 1.18vw, 21px);
  font-weight: 300;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.company-feature .text-link {
  color: var(--white);
}

.company-story-section {
  padding: clamp(76px, 9vw, 150px) 0;
  background: var(--white);
}

.company-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 96px) clamp(18px, 2vw, 34px);
}

.company-story-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 12px;
  padding: 0;
  color: var(--text);
  background: transparent;
}

.company-story-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  margin-bottom: 8px;
}

.company-support {
  padding: clamp(64px, 8vw, 138px) 0 clamp(44px, 5vw, 84px);
  background: var(--white);
}

.company-support-head {
  margin-bottom: clamp(54px, 8vw, 160px);
}

.company-support:not(.company-support--career) .company-support-head {
  margin-bottom: clamp(30px, 4vw, 70px);
}

.company-support:not(.company-support--career) {
  padding-bottom: clamp(20px, 2vw, 34px);
}

.company-support-media {
  margin-bottom: clamp(36px, 5vw, 84px);
}

.company-support-media img {
  aspect-ratio: 1868 / 842;
  object-fit: cover;
  object-position: center;
}

.company-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 34px);
}

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

.company-support-card {
  display: grid;
  min-width: 0;
  color: var(--text);
  background: #f2f2f2;
}

.company-support-card > span {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 2.5vw, 36px);
}

.company-support--career {
  padding-top: clamp(14px, 1.6vw, 28px);
}

.company-support--career .company-support-head {
  margin-bottom: clamp(30px, 4vw, 70px);
}

.company-support--career .company-support-head h2 {
  max-width: none;
  font-size: clamp(26px, 2.15vw, 42px);
  line-height: 1.16;
}

.company-dialogue {
  padding: clamp(64px, 7vw, 116px) 0 clamp(70px, 8vw, 130px);
  background: var(--white);
}

.company-dialogue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.company-dialogue p {
  max-width: none;
  margin-top: 0;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.company-dialogue-media {
  margin-top: clamp(34px, 4.5vw, 72px);
}

.company-dialogue-media img {
  width: 100%;
  aspect-ratio: 1915 / 821;
  object-fit: cover;
  object-position: center;
}

.company-dialogue-links {
  margin-top: clamp(42px, 6vw, 94px);
}

.menu-page-intro-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  align-items: center;
}

.menu-page-intro picture {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8e8e8;
}

.menu-page-intro img {
  height: 100%;
  object-fit: cover;
}

.menu-page-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 34px);
}

.company-hero {
  padding: clamp(104px, 9vw, 146px) 0 clamp(48px, 5vw, 78px);
  background: var(--white);
}

.company-hero picture,
.company-hero img {
  width: 100%;
  height: 100%;
}

.company-hero picture {
  justify-self: end;
  width: min(100%, 440px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8e8e8;
}

.company-hero img {
  object-fit: cover;
}

.company-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(42px, 6vw, 118px);
  align-items: center;
}

.company-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7.4vw, 108px);
  font-weight: 300;
  line-height: 0.98;
}

.company-intro {
  padding: clamp(64px, 8vw, 128px) 0;
  background: var(--white);
}

.company-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(42px, 6vw, 112px);
  align-items: center;
}

.company-intro h2,
.company-links-head h2 {
  margin: 0 0 24px;
  font-size: clamp(36px, 5.2vw, 78px);
  font-weight: 300;
  line-height: 1.04;
}

.company-intro p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.company-intro .text-link {
  margin-top: 12px;
}

.company-intro picture {
  background: #e8e8e8;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.company-intro img {
  height: 100%;
  object-fit: cover;
}

.company-links-section {
  padding: clamp(58px, 7vw, 104px) 0 clamp(72px, 9vw, 132px);
  background: #f3f3f3;
}

.company-links-head {
  margin-bottom: clamp(28px, 4vw, 54px);
}

.company-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 34px);
}

.company-link-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  color: var(--text);
  background: var(--white);
}

.company-link-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.company-link-card span {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.company-link-card strong {
  font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 400;
  line-height: 1.12;
}

.company-link-card small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.42;
}

.company-link-card i {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.company-link-card:hover {
  background: #d9edf8;
}

/* ==========================================================================
   DOWNLOADS / CATALOGUE SECTION STYLES
   ========================================================================== */

.download-page-section {
  padding: 32px 0 80px;
  /* Match the product catalogue canvas: grey page, white document cards. */
  background: var(--page-bg);
  min-height: 80vh;
}

.download-hero-head {
  margin-bottom: 32px;
}

.download-title-row h1 {
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 300;
  line-height: 1.12;
  color: #222222;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

/* 2 bộ lọc nằm cùng hàng trên desktop */
.download-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 18px 24px;
}

.download-filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.download-filter-field {
  position: relative;
}

.download-filter-brand {
  flex: 0 0 240px;
  max-width: 100%;
}

.download-filter-search {
  flex: 1 1 300px;
  min-width: 220px;
}

.download-filter-actions {
  flex-shrink: 0;
}

.download-select-wrap {
  position: relative;
  width: 100%;
}

.download-select-wrap select {
  width: 100%;
  height: 44px;
  padding: 0 38px 0 14px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 400;
  color: #333333;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.download-select-wrap select:hover {
  border-color: #9ca3af;
}

.download-select-wrap select:focus {
  border-color: #287aa8;
  box-shadow: 0 0 0 3px rgba(40, 122, 168, 0.15);
}

.download-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-search-wrap {
  position: relative;
  width: 100%;
}

.download-search-wrap input {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 14px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 400;
  color: #333333;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  transition: all 0.2s ease;
  outline: none;
}

.download-search-wrap input::placeholder {
  color: #888888;
  font-weight: 300;
}

.download-search-wrap input:hover {
  border-color: #9ca3af;
}

.download-search-wrap input:focus {
  border-color: #287aa8;
  box-shadow: 0 0 0 3px rgba(40, 122, 168, 0.15);
}

.download-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.download-search-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.download-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.download-reset-btn:hover {
  color: #dc2626;
  border-color: #dc2626;
  background: #fef2f2;
}

.download-reset-btn:focus-visible {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.download-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}

.download-results-count {
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
}

.download-list-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 100px;
}

.download-content-container {
  padding-top: 8px;
}

/* Desktop: Exact 4 columns grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Document Card */
.download-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  position: relative;
  height: 100%;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

.download-card:focus-within {
  border-color: #287aa8;
  box-shadow: 0 0 0 3px rgba(40, 122, 168, 0.15);
}

.download-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  /* Neutral grey canvas makes the white A4 document sheet legible. */
  background: #d6d6d6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eef2f6;
}

/* Document Sheet Presentation Frame */
.download-doc-sheet {
  position: absolute;
  width: auto;
  height: calc(100% - 20px);
  aspect-ratio: 210 / 297;
  inset: auto;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-card:hover .download-doc-sheet {
  transform: scale(1.02);
}

.download-cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.download-cover-img.is-loaded {
  opacity: 1;
}

.download-cover-img.is-error {
  display: none !important;
}

/* Fallback Cover */
.download-card-fallback-cover {
  position: absolute;
  inset: 0;
  background: #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  z-index: 1;
}

/* A valid cover sits on a clean grey canvas. The fallback copy only appears
   when an image is absent or cannot be loaded. */
.download-card-cover.has-thumbnail .download-card-fallback-cover {
  display: none;
}

.download-card-cover.has-thumbnail.is-image-error .download-card-fallback-cover {
  display: flex;
}

.download-fallback-sheet {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}

.download-fallback-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: #287aa8;
}

.download-fallback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.download-fallback-svg {
  color: #287aa8;
  flex-shrink: 0;
}

.download-fallback-type {
  font-size: 13px;
  font-weight: 700;
  color: #0369a1;
  letter-spacing: 0.06em;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid #bae6fd;
}

.download-fallback-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.download-fallback-brand {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.download-fallback-doclabel {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* File Type Badge on Top-Right */
.download-card-type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: #0f172a;
  padding: 3px 8px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.download-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.download-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.doc-badge-brand {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #287aa8;
  background: #f0f7fb;
  padding: 2px 8px;
  border-radius: 2px;
}

.doc-badge-lang {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 2px;
}

.download-card-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.38;
  color: #0f172a;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.download-card-desc {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.45;
  color: #64748b;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.download-card-action {
  margin-top: auto;
  padding-top: 4px;
}

.download-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #ffffff;
  background: #287aa8;
  border: 1px solid #287aa8;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.download-card-btn:hover {
  background: #1f688e;
  border-color: #1f688e;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(40, 122, 168, 0.25);
}

.download-card-btn:focus-visible {
  outline: 2px solid #287aa8;
  outline-offset: 2px;
}

.download-card-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.download-card-btn.is-disabled {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

/* Low Results Assistance Banner */
.download-assistance-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 24px;
  margin: 8px 0 32px;
}

.download-assistance-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-assistance-icon {
  color: #287aa8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0f2fe;
  flex-shrink: 0;
}

.download-assistance-text strong {
  display: block;
  font-size: 14.5px;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 2px;
}

.download-assistance-text p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
}

.download-assistance-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 40px;
  font-size: 13.5px;
  font-weight: 500;
  color: #0284c7;
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.download-assistance-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* Pagination */
.download-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 36px 0 20px;
  flex-wrap: wrap;
}

.download-page-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.download-page-nav-btn:hover:not(:disabled) {
  background: #f8fafc;
  color: #287aa8;
  border-color: #287aa8;
}

.download-page-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.download-page-nav-btn:focus-visible {
  outline: 2px solid #287aa8;
  outline-offset: 2px;
}

.download-page-num-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.download-page-num-btn:hover {
  background: #f8fafc;
  color: #287aa8;
  border-color: #287aa8;
}

.download-page-num-btn.is-active {
  background: #287aa8;
  color: #ffffff;
  border-color: #287aa8;
  font-weight: 600;
}

.download-page-num-btn:focus-visible {
  outline: 2px solid #287aa8;
  outline-offset: 2px;
}

/* Empty State */
.download-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  margin: 16px 0 32px;
}

.download-empty-icon {
  color: #94a3b8;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-empty-text {
  font-size: 16px;
  font-weight: 400;
  color: #475569;
  margin: 0 0 20px;
  max-width: 480px;
  line-height: 1.5;
}

.download-empty-text:last-child {
  margin-bottom: 0;
}

.download-empty-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #287aa8;
  background: #ffffff;
  border: 1px solid #287aa8;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.download-empty-reset-btn:hover {
  background: #287aa8;
  color: #ffffff;
}

/* Responsive for Downloads */
@media (max-width: 1024px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .download-filter-brand {
    flex: 1 1 200px;
  }
  .download-filter-search {
    flex: 1 1 240px;
  }
}

@media (max-width: 767px) {
  .download-assistance-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
  .download-assistance-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .download-page-section {
    padding: 20px 0 60px;
  }
  .download-toolbar {
    padding: 14px 16px;
  }
  .download-filters-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .download-filter-brand,
  .download-filter-search,
  .download-filter-actions {
    width: 100%;
    flex: 1 1 auto;
  }
  .download-reset-btn {
    width: 100%;
    justify-content: center;
  }
  .download-title-row h1 {
    font-size: clamp(28px, 8vw, 36px);
  }
  .download-card-body {
    padding: 16px;
  }
  .download-card-title {
    font-size: 15px;
    min-height: 40px;
  }
  .download-card-desc {
    font-size: 13px;
    min-height: 36px;
  }
  .download-card-btn {
    height: 44px;
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .download-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.local-banner {
  padding: clamp(52px, 7vw, 96px) 0;
  color: var(--white);
  background: #4f4f4f;
}

.local-banner h2 {
  margin: 0 0 18px;
  max-width: 100%;
  font-size: clamp(32px, 2.85vw, 44px);
  font-weight: 300;
  line-height: 1.15;
}

.local-banner p {
  max-width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.local-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  margin: clamp(28px, 3.6vw, 48px) 0 clamp(24px, 3vw, 40px);
  object-fit: cover;
}

.local-banner .text-link {
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding-bottom: clamp(54px, 7vw, 96px);
}

.contact-panel,
.contact-form,
.news-list article {
  background: var(--soft);
  padding: clamp(24px, 3vw, 42px);
}

.contact-panel h2,
.news-list h2 {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 400;
}

.contact-panel p {
  margin: 12px 0;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  padding: 15px 16px;
  color: var(--text);
  font: inherit;
  background: var(--white);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  padding: 15px 24px;
  color: var(--white);
  background: var(--dark);
  font-weight: 700;
}

.login-section {
  padding: clamp(96px, 13vh, 132px) 0 clamp(56px, 8vh, 84px);
  background: #f4f4f4;
}

.login-shell {
  display: grid;
  gap: clamp(28px, 5vh, 44px);
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 4rem, 64px);
  align-items: start;
}

.login-layout:has([data-auth-form="register"].is-active) {
  grid-template-columns: minmax(260px, 0.55fr) minmax(620px, 1fr);
}

.register-layout {
  grid-template-columns: minmax(260px, 0.55fr) minmax(620px, 1fr);
}

.login-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 4.75rem, 76px);
  font-weight: 300;
  line-height: 1.02;
}

.login-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
  text-align: justify;
}

.auth-panel {
  display: grid;
  gap: 0;
  background: var(--white);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  padding: 16px 18px;
  color: var(--muted);
  background: #f2f2f2;
  font-weight: 700;
  text-align: center;
}

.auth-tabs button.is-active {
  color: var(--white);
  background: var(--dark);
}

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: grid;
}

.login-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 42px);
  background: var(--white);
}

.login-form.auth-form {
  display: none;
}

.login-form.auth-form.is-active {
  display: grid;
}

.register-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.register-form .form-wide,
.register-form .privacy-note,
.register-form .form-error,
.register-form button,
.register-form .login-register-note {
  grid-column: 1 / -1;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.login-form input,
.login-form select,
.login-form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  padding: 15px 16px;
  color: var(--text);
  font: inherit;
  background: var(--white);
}

.login-form .select-search {
  border-color: #9f9f9f;
  background: #f8f8f8;
}

.searchable-select {
  position: relative;
}

.searchable-select-trigger {
  position: relative;
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfcfcf;
  padding: 15px 44px 15px 16px;
  color: var(--text);
  background: var(--white);
  font: inherit;
  text-align: left;
}

.searchable-select-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.searchable-select-trigger[aria-expanded="true"]::after {
  transform: translateY(-35%) rotate(-135deg);
}

.searchable-select-trigger:disabled {
  color: #8c8c8c;
  background: #f8f8f8;
}

.searchable-select-panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  z-index: 35;
  max-height: 320px;
  overflow: hidden;
  border: 1px solid #a8a8a8;
  background: var(--white);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.searchable-select-search {
  border: 0;
  border-bottom: 1px solid #d7d7d7;
  background: #f7f7f7;
}

.searchable-select-options {
  max-height: 260px;
  overflow-y: auto;
}

.searchable-select-option {
  display: block;
  width: 100%;
  padding: 12px 16px;
  color: var(--text);
  background: var(--white);
  font: inherit;
  text-align: left;
  border-bottom: 1px solid #ededed;
}

.searchable-select-option:hover,
.searchable-select-option:focus-visible {
  color: #fff;
  background: #287aa8;
}

.searchable-select-empty {
  margin: 0;
  padding: 13px 16px;
  color: var(--muted);
}

.native-address-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.privacy-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: justify;
}

.login-form textarea {
  resize: vertical;
}

.login-form button {
  justify-self: start;
  margin-top: 4px;
  padding: 15px 24px;
  color: var(--white);
  background: var(--dark);
  font-weight: 700;
}

.login-form .searchable-select-trigger {
  justify-self: stretch;
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-weight: 400;
}

.login-form .searchable-select-trigger:disabled {
  color: #8c8c8c;
  background: #f8f8f8;
}

.login-form .searchable-select-option {
  justify-self: stretch;
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-weight: 400;
}

.login-form .searchable-select-option:hover,
.login-form .searchable-select-option:focus-visible {
  color: #fff;
  background: #287aa8;
}

.login-register-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.login-register-note a,
.login-register-note button {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  margin: 0;
  color: #14743c;
  font-size: 15px;
  line-height: 1.45;
}

.form-error {
  color: #b3261e;
}

.contact-hero {
  aspect-ratio: 21 / 9;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  background: #111;
}

.contact-hero picture,
.contact-hero img {
  width: 100%;
  height: 100%;
}

.contact-hero picture {
  display: block;
}

.contact-hero img {
  filter: contrast(1.08) saturate(1.06);
  object-fit: cover;
  object-position: center top;
}

.contact-page-head {
  padding: clamp(30px, 3.4vw, 58px) 0 clamp(36px, 4.2vw, 70px);
  color: var(--text);
  background: var(--white);
}

.contact-page-head .breadcrumb {
  margin-bottom: clamp(30px, 3.6vw, 54px);
}

.contact-breadcrumb {
  color: #6f6f6f;
  font-size: 14px;
  font-weight: 300;
}

.contact-breadcrumb span::before {
  content: "/";
  margin-right: 14px;
}

.contact-title-block {
  display: block;
}

.contact-title-block h1 {
  margin: 0 0 24px;
  color: #5c5c5c;
  font-size: clamp(32px, 2.85vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0;
}

.contact-title-block p {
  max-width: none;
  margin: 0;
  color: #666;
  font-size: clamp(21px, 1.35vw, 25px);
  font-weight: 300;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.contact-title-block .contact-email-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  text-align: left;
}

.contact-title-block .contact-email-line svg,
.contact-info-row svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.contact-title-block .contact-email-line a {
  color: #666;
}

.contact-title-block .contact-email-line a:hover {
  color: var(--text);
}

.contact-company {
  padding: 0 0 clamp(18px, 2.4vw, 34px);
  background: var(--white);
}

.contact-company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.contact-company-grid picture,
.contact-company-grid img {
  width: 100%;
  height: 100%;
}

.contact-company-grid img {
  object-fit: cover;
}

.contact-address {
  display: flex;
  min-height: clamp(330px, 26vw, 480px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: clamp(36px, 3.8vw, 64px) clamp(30px, 3.4vw, 56px);
  color: var(--white);
  background: #959595;
}

.contact-address h2 {
  width: min(100%, 620px);
  margin: 0 0 clamp(28px, 3.4vw, 56px);
  color: var(--white);
  font-size: clamp(28px, 2.3vw, 40px);
  font-weight: 300;
  line-height: 1.12;
  text-align: center;
}

.contact-address div {
  display: grid;
  gap: 22px;
}

.contact-address .contact-info-list {
  width: min(100%, 620px);
  gap: 13px;
}

.contact-address .contact-company-name {
  width: 100%;
  margin-bottom: clamp(4px, 0.8vw, 10px);
}

.contact-address .contact-company-name strong {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: clamp(20px, 1.28vw, 24px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: nowrap;
}

.contact-address p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 300;
  line-height: 1.42;
}

.contact-info-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.contact-info-row svg {
  margin-top: 2px;
}

.contact-address strong {
  color: var(--white);
  font-weight: 700;
}

.contact-address a {
  color: var(--white);
}

.contact-address a:hover {
  color: rgba(255, 255, 255, 0.76);
}

.contact-options {
  padding: clamp(22px, 3vw, 40px) 0 clamp(60px, 8vw, 120px);
  background: var(--white);
}

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

.contact-option-grid article {
  display: flex;
  min-height: clamp(150px, 9.6vw, 185px);
  flex-direction: column;
  padding: clamp(22px, 2vw, 32px);
  background: #f2f2f2;
}

.contact-option-grid h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(23px, 1.85vw, 32px);
  font-weight: 300;
  line-height: 1.16;
}

.contact-option-grid p {
  margin: 0;
  color: var(--muted);
  font-size: var(--copy-size);
  font-weight: 300;
  line-height: var(--copy-line);
}

.contact-option-grid a {
  margin-top: auto;
  padding-top: 30px;
}

.contact-option-grid a:hover {
  color: #707070;
}

.news-list {
  display: grid;
  gap: 22px;
  padding-bottom: clamp(54px, 7vw, 96px);
}

.news-list article {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
}

.news-list time {
  color: var(--muted);
}

.news-list p {
  margin: 0;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.news-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.project-list {
  gap: 28px;
  padding-bottom: clamp(54px, 7vw, 96px);
}

.project-list .product-card {
  background: #ededed;
}

.project-list .product-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-list .product-card a {
  font-size: clamp(18px, 1.18vw, 22px);
  text-transform: uppercase;
}

.products-head {
  padding: 46px 0 64px;
  background: var(--white);
}

.breadcrumb.dark {
  margin-bottom: 40px;
  color: #777;
}

.breadcrumb.dark a {
  color: #777;
}

.products-head-inner {
  max-width: var(--max);
}

.products-head h1 {
  margin: 0 0 28px;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.products-head p {
  max-width: 1220px;
  margin: 0;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.product-subnav {
  position: sticky;
  top: 88px;
  z-index: 12;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-subnav .container {
  display: flex;
  gap: 0;
}

.product-subnav a {
  flex: 1;
  padding: 24px 20px;
  color: #606060;
  text-align: center;
  font-size: 20px;
}

.product-subnav a:hover {
  color: #287aa8;
}

.product-overview-section {
  scroll-margin-top: 170px;
  padding: clamp(54px, 7vw, 100px) 0;
}

.product-overview-section + .product-overview-section {
  border-top: 1px solid #ececec;
}

.overview-hero {
  margin-bottom: 28px;
}

.overview-hero img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.product-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-tile {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #ececec;
  color: var(--white);
}

.product-tile img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  transition: transform 360ms ease;
}

.product-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12) 55%, transparent);
}

.product-tile:hover img {
  transform: scale(1.045);
}

.product-tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.15;
}

.product-tile-label i {
  flex: 0 0 28px;
  width: 28px;
  height: 20px;
  position: relative;
}

.product-tile-label i::before,
.product-tile-label i::after {
  content: "";
  position: absolute;
  color: inherit;
}

.product-tile-label i::before {
  top: 9px;
  left: 0;
  width: 28px;
  border-top: 2px solid currentColor;
}

.product-tile-label i::after {
  top: 3px;
  right: 0;
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.detail-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.detail-hero picture,
.detail-hero img {
  width: 100%;
  height: 100%;
}

.detail-hero picture {
  position: absolute;
  inset: 0;
}

.detail-hero img {
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18) 56%, rgba(0, 0, 0, 0.02));
}

.detail-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: center;
}

.detail-hero h1 {
  width: min(1120px, 88vw);
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 94px);
  font-weight: 400;
  line-height: 0.98;
}

.detail-hero p {
  margin: 0;
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.detail-product {
  padding: 34px 0 8px;
  color: #333333;
  background: var(--page-bg);
}

.detail-product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  padding-top: 0;
  margin-bottom: clamp(24px, 2.8vw, 38px);
  color: #777777;
}

.detail-product-breadcrumb a,
.detail-product-breadcrumb span {
  color: #777777;
}

.detail-product-title {
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  max-width: 1080px;
  margin: 0 0 24px;
  color: #333333;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.detail-product-subtitle {
  display: block;
  margin-top: 4px;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.detail-product-shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: clamp(28px, 3.5vw, 44px);
  align-items: start;
}

.detail-product-gallery {
  /* CLIENT-APPROVED UI LOCK: keep product images/thumbnails scaled consistently. */
  --detail-contain-main-scale: 1.35;
  --detail-contain-thumb-scale: 1.35;
  position: relative;
  min-width: 0;
}

.detail-product-media-panel {
  /* CLIENT-APPROVED UI LOCK: the white media frame must stay stable while slides move. */
  position: relative;
  display: grid;
  min-height: 0;
  height: clamp(340px, 27vw, 400px);
  overflow: hidden;
  place-items: center;
  /* Reduced padding so product images appear larger */
  padding: clamp(16px, 2.5vw, 32px);
  background: #ffffff;
  border: 1px solid #d8d8d8;
}

/* =============================================================
   Persistent Track Gallery
   All slides live in DOM. Transition = translateX on the track.
   img transform is zoom only — no conflict.
   ============================================================= */

.detail-product-media {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.detail-product-media img,
.detail-product-video,
.detail-product-main-frame {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  /* Zoom transform only. Track handles slide movement. */
  transform: scale(calc(var(--detail-product-base-zoom, 1) * var(--detail-product-zoom, 1)));
  transition: transform 0.2s ease;
  will-change: transform;
}

.detail-product-media img[hidden],
.detail-product-video[hidden],
.detail-product-main-frame[hidden] {
  display: none !important;
}

/* Gallery Track: persistent slides */
.detail-gallery-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  /* transition applied by JS when animating, removed after */
  will-change: transform;
  flex-shrink: 0;
}

.detail-gallery-track.is-animating {
  transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.detail-gallery-slide {
  --detail-gallery-slide-padding: clamp(10px, 1.8vw, 22px);
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  padding: 0;
  container-type: size;
}

.detail-gallery-slide img {
  position: absolute;
  inset: var(--detail-gallery-slide-padding);
  width: calc(100% - var(--detail-gallery-slide-padding) - var(--detail-gallery-slide-padding));
  height: calc(100% - var(--detail-gallery-slide-padding) - var(--detail-gallery-slide-padding));
  object-fit: contain;
  transform: scale(var(--slide-scale, 1));
  transform-origin: center center;
  transition: transform 0.2s ease;
  will-change: transform;
}

.detail-gallery-slide img:not(.is-cover) {
  transform: scale(var(--slide-scale, 1)) scale(var(--detail-contain-main-scale, 1));
}

.detail-gallery-slide img.is-cover {
  object-fit: cover;
}

.detail-gallery-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

/* Non-track img (legacy/variant mode) */
.detail-product-media > img {
  object-fit: contain;
}

.detail-product-media > img.is-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  padding: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .detail-gallery-track.is-animating {
    transition: none !important;
  }
}


.detail-product-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.detail-video-player {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

.detail-gallery-slide .detail-video-player,
.detail-gallery-lightbox-slide .detail-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
}

.detail-video-player .detail-product-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  cursor: pointer;
  transform: none;
}

.detail-gallery-slide .detail-video-player .detail-product-video,
.detail-gallery-lightbox-slide .detail-video-player .detail-product-video {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.detail-video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  transition: opacity 0.18s ease;
}

.detail-gallery-slide .detail-video-poster img,
.detail-gallery-slide .detail-video-poster img:not(.is-cover),
.detail-gallery-lightbox-slide .detail-video-poster img,
.detail-gallery-lightbox-slide .detail-video-poster img:not(.is-cover) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  padding: 0;
  transform: none;
  transition: none;
}

.detail-video-player.has-started .detail-video-poster {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.detail-video-start {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 54px;
  padding: 0;
  color: #ffffff;
  background: #007db3;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.detail-video-start:hover,
.detail-video-start:focus-visible {
  background: #006995;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.detail-video-start-icon {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid currentColor;
  margin-left: 5px;
}

.detail-video-player.is-playing .detail-video-start {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

.detail-video-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 10px;
  color: #ffffff;
  background: rgba(22, 26, 32, 0.9);
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.detail-video-player.has-started .detail-video-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.detail-video-play {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #007db3;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.detail-video-play-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
  margin-left: 2px;
}

.detail-video-play.is-playing .detail-video-play-icon {
  width: 12px;
  height: 14px;
  border: 0;
  margin-left: 0;
  background: linear-gradient(90deg, currentColor 0 36%, transparent 36% 64%, currentColor 64% 100%);
}

.detail-video-range {
  --detail-video-progress: 0%;
  width: 100%;
  min-width: 0;
  height: 18px;
  margin: 0;
  accent-color: #007db3;
  cursor: pointer;
}

.detail-video-range::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #007db3 0 var(--detail-video-progress), rgba(255, 255, 255, 0.32) var(--detail-video-progress) 100%);
}

.detail-video-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #007db3;
}

.detail-video-range::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.detail-video-range::-moz-range-progress {
  height: 5px;
  border-radius: 999px;
  background: #007db3;
}

.detail-video-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #007db3;
}

.detail-video-time {
  min-width: 72px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.detail-product-main-frame {
  width: min(100%, 320px);
  height: clamp(86px, 12vw, 150px);
  padding: clamp(10px, 1.2vw, 16px);
}

.detail-product-main-frame.detail-spec-frame-1 {
  width: min(100%, 260px);
  height: min(48vw, 260px);
  max-height: 260px;
}

.detail-product-main-frame.detail-spec-frame-4,
.detail-product-main-frame.detail-spec-frame-5 {
  width: min(100%, 420px);
  height: clamp(72px, 9vw, 118px);
}

.detail-product-main-frame i {
  margin: 0 3px;
}

.detail-product-gallery-nav {
  display: flex;
  justify-content: flex-end;
  min-height: 53px;
  margin-bottom: 4px;
  padding-right: 9px;
}

.detail-product-media-nav {
  display: flex;
  align-items: center;
  align-self: flex-end;
  gap: 24px;
  color: #5e6876;
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

.detail-product-media-arrow {
  width: 47px;
  height: 47px;
  padding: 0;
  color: #434b55;
  background: #ffffff;
  border: 1px solid #c8cdd2;
  border-radius: 6px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font: inherit;
  font-size: 38px;
  font-weight: 200;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.detail-product-media-arrow:hover,
.detail-product-media-arrow:focus-visible {
  color: #007db3;
  border-color: #007db3;
  outline: none;
}

.detail-product-media-arrow:disabled,
.detail-product-media-arrow.is-disabled {
  cursor: default;
  opacity: 0.38;
}

.detail-product-media-count {
  min-width: 54px;
  text-align: center;
}

.detail-product-tools {
  position: absolute;
  top: 18px;
  right: 22px;
  display: flex;
  gap: 8px;
}

.detail-product-media-panel.is-video-active .detail-product-tools {
  display: none;
}

.detail-product-tool {
  width: 29px;
  height: 29px;
  padding: 0;
  color: #9c9c9c;
  background: transparent;
  border: 2px solid #bdbdbd;
  border-radius: 50%;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font: inherit;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.detail-product-tool:hover,
.detail-product-tool:focus-visible {
  color: #007db3;
  border-color: #007db3;
  outline: none;
}

.detail-product-tool-expand {
  display: none !important;
}

.detail-product-media-panel:fullscreen {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
}

.detail-product-media-panel:fullscreen .detail-product-media img {
  width: min(72vw, 760px);
  max-height: 78vh;
}

.detail-product-thumbs {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.detail-product-thumb {
  width: 76px;
  height: 76px;
  padding: 3px;
  color: #555555;
  background: #ffffff;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.18;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.detail-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1px;
  /* Scale thumbnail to show product larger within the white canvas */
  transform: scale(var(--detail-thumb-scale, 1));
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.detail-product-thumb img.is-contain {
  transform: scale(var(--detail-thumb-scale, 1)) scale(var(--detail-contain-thumb-scale, 1));
}

.detail-product-thumb img.is-cover {
  object-fit: cover;
}

.detail-video-thumb-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #007db3;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px rgba(0, 125, 179, 0.12);
}

.detail-video-thumb-icon::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ffffff;
  margin-left: 4px;
}

.detail-product-thumb:hover,
.detail-product-thumb:focus-visible,
.detail-product-thumb.is-active {
  color: #007db3;
  border-color: #007db3;
  box-shadow: inset 0 0 0 1px #007db3;
  outline: none;
}

body.is-detail-lightbox-open {
  overflow: hidden;
  touch-action: none;
}

.detail-gallery-lightbox[hidden] {
  display: none !important;
}

.detail-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40000;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  color: #ffffff;
  background: #202020;
  overscroll-behavior: contain;
}

.detail-gallery-lightbox-header {
  display: flex;
  flex: 0 0 64px;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: max(10px, env(safe-area-inset-top)) 18px 10px;
  background: #202020;
}

.detail-gallery-lightbox-count {
  font-size: 16px;
  font-weight: 400;
}

.detail-gallery-lightbox-close,
.detail-gallery-lightbox-arrow {
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.detail-gallery-lightbox-close {
  width: 44px;
  height: 44px;
  font-size: 42px;
  font-weight: 200;
  line-height: 1;
}

.detail-gallery-lightbox-viewport {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ffffff;
  touch-action: pan-y;
}

.detail-gallery-lightbox-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  will-change: transform;
}

.detail-gallery-lightbox-track.is-animating {
  transition: transform 280ms cubic-bezier(0.25, 1, 0.5, 1);
}

.detail-gallery-lightbox-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  background: #ffffff;
}

.detail-gallery-lightbox-slide img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  transform: scale(1.25);
  transform-origin: center;
}

.detail-gallery-lightbox-slide img.is-cover {
  padding: 0;
  object-fit: cover;
  transform: none;
}

.detail-gallery-lightbox-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111111;
}

.detail-gallery-lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 52px;
  color: #303841;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #c8cdd2;
  border-radius: 4px;
  font-size: 38px;
  font-weight: 200;
  transform: translateY(-50%);
}

.detail-gallery-lightbox-arrow.is-prev {
  left: 10px;
}

.detail-gallery-lightbox-arrow.is-next {
  right: 10px;
}

.detail-gallery-lightbox-arrow:disabled {
  display: none;
}

.detail-gallery-lightbox-thumbs {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
  background: #202020;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.detail-gallery-lightbox-thumb {
  display: grid;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  overflow: hidden;
  place-items: center;
  padding: 3px;
  color: #555555;
  background: #ffffff;
  border: 2px solid #666666;
  border-radius: 2px;
  scroll-snap-align: center;
}

.detail-gallery-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-gallery-lightbox-thumb.is-active {
  border-color: #00a1df;
}

@media (prefers-reduced-motion: reduce) {
  .detail-gallery-lightbox-track.is-animating {
    transition: none !important;
  }
}

.detail-product-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.detail-product-actions a,
.detail-product-actions button {
  min-width: min(100%, 240px);
  min-height: 48px;
  padding: 0 26px;
  color: #333333;
  background: transparent;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 15px;
  text-decoration: none;
}

.detail-product-buybox {
  position: sticky;
  top: 104px;
  z-index: 2;
  display: grid;
  gap: 0;
  padding: 0;
  --detail-buybox-border: #b9bec4;
  background: #ffffff;
  border: 1px solid var(--detail-buybox-border);
}

.detail-accordion-trigger {
  display: none !important;
}

.detail-buybox-placeholder {
  display: none;
  height: 0;
}

.detail-buybox-placeholder.is-active {
  display: block;
}

.detail-product-buybox.is-desktop-floating {
  position: fixed;
  top: var(--detail-buybox-desktop-top, 28px);
  left: var(--detail-buybox-left, auto);
  z-index: 18;
  width: var(--detail-buybox-width, 330px);
  max-height: none;
  overflow: visible;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.detail-product-brand {
  color: #007db3;
  font-size: 14px;
  font-weight: 600;
}

.detail-product-code {
  margin: 0;
  padding: 12px 20px;
  color: #333333;
  border-bottom: 1px solid var(--detail-buybox-border);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.35;
  text-align: left;
}

.detail-product-code strong {
  color: #333333;
  font-weight: 400;
}

.detail-product-code span {
  color: #555555;
  font-weight: 300;
}

.detail-product-price-note {
  margin: 0;
  padding: 12px 20px;
  color: #666666;
  border-bottom: 1px solid var(--detail-buybox-border);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.45;
  text-align: left;
}

.detail-product-price-note a {
  display: block;
  width: fit-content;
  margin-top: 2px;
  color: #333333;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.detail-product-short-desc {
  min-height: 0;
  margin: 0;
  padding: 22px 20px;
  color: #555555;
  border-bottom: 1px solid var(--detail-buybox-border);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
}

.detail-product-short-desc p {
  display: grid;
  grid-template-columns: minmax(112px, 0.88fr) minmax(0, 1.12fr);
  gap: 10px;
  margin: 0;
}

.detail-product-short-desc p + p {
  margin-top: 5px;
}

.detail-product-short-desc span {
  color: #555555;
  font-weight: 300;
}

.detail-product-short-desc strong {
  position: relative;
  color: #333333;
  font-weight: 400;
}

.detail-product-short-desc strong::before {
  margin-right: 6px;
  color: #333333;
  content: ":";
}

.detail-product-short-desc .is-note {
  display: block;
  margin-top: 10px;
  color: #333333;
  font-weight: 300;
}

.detail-product-quantity,
.detail-direct-form label {
  display: grid;
  gap: 8px;
  color: #555555;
  font-size: 14px;
}

.detail-buybox-pack {
  display: grid;
  gap: 12px;
  padding: 16px 20px 18px;
  border-bottom: 1px solid var(--detail-buybox-border);
  color: #555555;
  font-size: 15px;
  font-weight: 300;
}

.detail-buybox-pack .detail-product-quantity {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}

.detail-buybox-pack button {
  width: 48px;
  height: 48px;
  padding: 0;
  color: #333333;
  background: #ffffff;
  border: 2px solid #333333;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.detail-product-qty-field {
  position: relative;
  display: block;
}

.detail-product-quantity input,
.detail-direct-form input,
.detail-direct-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: #333333;
  background: #ffffff;
  border: 2px solid #333333;
  font: inherit;
}

.detail-product-quantity input {
  max-width: none;
  padding-right: 12px;
  font-size: 20px;
  font-weight: 300;
  text-align: center;
}

.detail-product-qty-field:hover input,
.detail-product-qty-field:focus-within input {
  background: #f0f1f2;
}

.detail-product-quantity input::-webkit-outer-spin-button,
.detail-product-quantity input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.detail-product-quantity input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.detail-direct-form {
  display: grid;
  gap: 12px;
}

.detail-direct-form[hidden] {
  display: none !important;
}

.detail-direct-form textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.detail-buy-actions {
  display: grid;
  gap: 0;
}

.detail-buy-actions a,
.detail-buy-actions button {
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-bottom: 1px solid var(--detail-buybox-border);
  background: #ffffff;
  color: #555555;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
  font: inherit;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
}

.detail-add-cart,
.detail-add-cart:hover,
.detail-add-cart:focus-visible,
.detail-add-cart.is-added {
  color: #ffffff !important;
  background: #007db3 !important;
}

.detail-add-cart {
  gap: 10px;
  justify-content: center !important;
  margin: 16px 20px;
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 8px;
  font-size: 18px !important;
  font-weight: 400 !important;
}

.detail-add-cart svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-buy-actions a:hover,
.detail-buy-actions a:focus-visible,
.detail-buy-actions button:hover,
.detail-buy-actions button:focus-visible {
  color: #007db3 !important;
  background: #f0f1f2;
  outline: none;
}

.detail-buy-actions .detail-add-cart:hover,
.detail-buy-actions .detail-add-cart:focus-visible,
.detail-buy-actions .detail-add-cart.is-added {
  color: #ffffff !important;
  background: #007db3 !important;
}

.detail-action-icon {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 34px;
  align-items: center;
  justify-content: center;
  color: currentColor;
  line-height: 1;
}

.detail-action-icon-pdf {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.detail-action-icon-compare {
  min-width: 24px;
}

.detail-compare-link {
  justify-content: space-between !important;
  gap: 8px !important;
  padding-inline: 16px !important;
}

.detail-compare-main {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.detail-compare-link .detail-action-icon {
  min-width: 24px;
}

.detail-compare-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #111111;
}

.detail-compare-status[hidden] {
  display: none !important;
}

.detail-compare-divider {
  width: 2px;
  height: 42px;
  background: #111111;
}

.detail-compare-inline-count {
  min-width: 14px;
  color: #111111;
  font: inherit;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.detail-compare-remove-current {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #111111;
  border-radius: 50%;
  color: #111111;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.detail-compare-remove-current:hover,
.detail-compare-remove-current:focus-visible {
  color: #007db3;
  border-color: #007db3;
  outline: none;
}

.detail-product-summary-strip {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(220px, 2fr) minmax(130px, 0.75fr) 48px;
  gap: 18px;
  align-items: center;
  margin-top: clamp(34px, 5vw, 54px);
  color: #666666;
  font-size: 15px;
}

.detail-product-summary-strip strong {
  color: #333333;
  font-weight: 400;
}

.detail-product-summary-strip em {
  font-style: normal;
}

.detail-product-cart {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  color: #111111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.detail-product-cart svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-product-cart span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.detail-product-cart:hover,
.detail-product-cart:focus-visible,
.detail-product-cart.is-added {
  background: #007db3;
  color: #ffffff;
  transform: translateY(-1px);
}

.detail-specification-wrap {
  margin-top: 28px;
}

.detail-specification-head,
.detail-specification-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.55fr) minmax(95px, 0.75fr) minmax(80px, 0.6fr) minmax(60px, 0.45fr) minmax(140px, 1fr) minmax(150px, 1fr) minmax(94px, 0.7fr) 44px;
  gap: 18px;
  align-items: center;
}

.detail-specification-head {
  padding: 0 14px 16px 114px;
  color: #777777;
  font-size: 14px;
}

.detail-specification-table {
  display: grid;
  gap: 1px;
}

.detail-specification-row {
  min-height: 58px;
  padding: 0 14px 0 0;
  color: #555555;
  background: #f7f7f7;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.detail-specification-row:first-child {
  background: #eeeeee;
}

.detail-specification-row:hover,
.detail-specification-row.is-selected {
  box-shadow: inset 4px 0 0 #007db3;
}

.detail-spec-product {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.detail-spec-thumb {
  display: grid;
  width: 100px;
  height: 58px;
  place-items: center;
  background: #ffffff;
}

.detail-spec-thumb img {
  width: 42px;
  max-height: 42px;
  object-fit: contain;
}

.detail-spec-product strong {
  color: #444444;
  font-weight: 400;
}

.detail-spec-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 24px;
  padding: 3px;
  background: #f4f4f4;
  border: 1px solid #cfcfcf;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.16);
}

.detail-spec-frame-4,
.detail-spec-frame-5 {
  width: 58px;
  height: 18px;
}

.detail-spec-frame i {
  flex: 1;
  height: 100%;
  margin: 0 1px;
  background: #ffffff;
  border: 1px solid #d6d6d6;
}

.detail-specification-row label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.detail-specification-row select,
.detail-specification-row input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  color: #333333;
  background: transparent;
  border: 1px solid #cfcfcf;
}

.detail-specification-row input {
  max-width: 64px;
}

.detail-spec-cart {
  width: 34px;
  height: 34px;
  color: #111111;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.detail-spec-cart svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.detail-spec-cart:hover,
.detail-spec-cart:focus-visible,
.detail-spec-cart.is-added {
  color: #ffffff;
  background: #007db3;
}

.detail-downloads {
  padding: 0 0 clamp(64px, 8vw, 110px);
}

.detail-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #dedede;
}

.detail-download-grid article {
  padding: clamp(28px, 4vw, 46px);
  background: #ffffff;
}

.detail-download-grid h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
}

.detail-download-grid a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  color: #111111;
  border-top: 1px solid #e3e3e3;
  text-decoration: none;
}

.detail-catalogue-sections {
  padding: clamp(28px, 4vw, 58px) 0 clamp(48px, 6vw, 76px);
  color: #555555;
  background: #ffffff;
}

.detail-catalogue-section {
  border-top: 1px solid #dcdcdc;
}

.detail-catalogue-section:last-child {
  border-bottom: 1px solid #dcdcdc;
}

.detail-catalogue-section summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(58px, 4.8vw, 76px);
  padding-right: 64px;
  color: #444444;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 300;
  line-height: 1.1;
  cursor: pointer;
  list-style: none;
}

.detail-catalogue-section summary::-webkit-details-marker {
  display: none;
}

.detail-catalogue-section summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.detail-catalogue-section[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.detail-catalogue-panel {
  display: grid;
  gap: 18px;
  padding-bottom: clamp(28px, 4vw, 46px);
}

.detail-catalogue-panel article {
  padding: clamp(20px, 2.5vw, 34px);
  background: #f7f7f7;
}

.detail-catalogue-panel h3 {
  margin: 0 0 20px;
  color: #444444;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 300;
  line-height: 1.15;
}

.detail-catalogue-panel h4 {
  margin: 0 0 16px;
  color: #333333;
  font-size: 17px;
  font-weight: 700;
}

.detail-catalogue-divider {
  margin-bottom: 18px;
  border-top: 1px dashed #cfcfcf;
}

.detail-catalogue-panel a,
.detail-catalogue-panel p {
  margin: 0;
  color: #555555;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.5;
}

.detail-catalogue-panel a {
  display: block;
  padding: 4px 0;
  text-decoration: none;
}

.detail-catalogue-panel a::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.detail-catalogue-panel p + p {
  margin-top: 14px;
}

.detail-tabs-section {
  padding: 8px 0 clamp(80px, 10vw, 140px);
  margin-bottom: 40px;
  color: #555555;
  background: var(--page-bg);
  clear: both;
}

@media (min-width: 992px) {
  .detail-tabs-section {
    position: relative;
    z-index: 1;
    margin-top: 16px;
  }
}

@media (min-width: 761px) {
  .detail-tabs-section > .container {
    width: calc(min(100% - (var(--gutter) * 2), var(--max)) - 330px - clamp(28px, 3.5vw, 44px));
    margin-inline-start: max(var(--gutter), calc((100% - var(--max)) / 2));
    margin-inline-end: auto;
  }
}

.detail-tab-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  align-items: end;
  background: transparent;
  border: 0;
  border-bottom: 0;
}

.detail-tab-list button {
  position: relative;
  min-height: 58px;
  padding: 10px 4px;
  color: #555555;
  background: #ffffff;
  border: 1px solid #c4c8ce;
  border-bottom-color: #c4c8ce;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.detail-tab-list button + button {
  margin-left: -1px;
}

.detail-tab-list button:hover,
.detail-tab-list button:focus-visible {
  color: #007db3;
  background: #f0f1f2;
  outline: none;
}

.detail-tab-list button.is-active {
  z-index: 1;
  margin-bottom: -1px;
  color: #007db3;
  background: #e9eaec;
  border-bottom-color: #e9eaec;
  outline: none;
}

.detail-tab-panels {
  min-height: 320px;
  height: auto;
  padding: 24px;
  padding-bottom: 44px;
  border: 1px solid #c4c8ce;
  background: #e9eaec;
  overflow: visible;
}

.detail-tab-panel[hidden] {
  display: none !important;
}

.detail-tab-panel article {
  max-width: 920px;
}

.detail-tab-panel h2 {
  margin: 0 0 18px;
  color: #333333;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 300;
  line-height: 1.18;
}

.detail-tab-panel p,
.detail-tab-panel a {
  color: #555555;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.detail-tab-panel p {
  margin: 0;
}

.detail-tab-panel p + p {
  margin-top: 12px;
}

.detail-tab-panel a {
  display: block;
  padding: 9px 0;
  text-decoration: none;
}

.detail-tab-panel a:hover,
.detail-tab-panel a:focus-visible {
  color: #007db3;
  outline: none;
}

.detail-description-copy {
  display: grid;
  width: 100%;
  max-width: none !important;
  gap: 18px;
}

.detail-description-copy p {
  font-size: 16px;
  line-height: 1.8;
}

.detail-description-copy ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 22px;
  color: #555555;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  list-style: disc;
}

.detail-description-copy li::marker {
  font-size: 1em;
  color: #555555;
}

.detail-dimensions-card {
  width: 100%;
  max-width: none !important;
  margin-bottom: 18px;
  padding: 22px 24px;
  background: #ffffff;
}

.detail-dimensions-card h2 {
  margin: 0 0 16px;
  color: #333333;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
}

.detail-dimensions-table-wrap {
  overflow-x: auto;
}

.detail-dimensions-card table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: #333333;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.45;
}

.detail-dimensions-card th,
.detail-dimensions-card td {
  padding: 13px 14px;
  border: 1px solid #d8dce1;
  text-align: left;
}

.detail-dimensions-card th {
  background: #f0f1f2;
  color: #333333;
  font-weight: 600;
}

.detail-dimensions-card td:not(:first-child),
.detail-dimensions-card th:not(:first-child) {
  text-align: center;
}

.gira-frame-dimensions-card {
  margin-top: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

.gira-frame-dimensions-card h2 {
  margin: 0 0 18px;
  color: #333333;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 300;
  line-height: 1.18;
}

.gira-frame-dimensions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gira-frame-dim-row {
  display: flex;
  align-items: center;
  color: #555555;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.gira-frame-dim-label {
  width: 160px;
  flex-shrink: 0;
  color: #333333;
  font-weight: 400;
}

.gira-frame-dim-values {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
}

.gira-frame-dim-val {
  min-width: 80px;
  color: #555555;
  font-weight: 300;
}

.gira-frame-dim-val span {
  color: #333333;
  font-weight: 400;
  margin-right: 3px;
}

.detail-data-accordion {
  display: grid;
  gap: 14px;
}

.detail-data-accordion details {
  background: #ffffff;
}

.detail-data-accordion summary {
  position: relative;
  min-height: 54px;
  padding: 17px 54px 15px 18px;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.25;
  list-style: none;
}

.detail-data-accordion summary::-webkit-details-marker {
  display: none;
}

.detail-data-accordion summary::after {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

.detail-data-accordion details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.detail-data-accordion summary:hover,
.detail-data-accordion summary:focus-visible {
  color: #007db3;
  background: #f0f1f2;
  outline: none;
}

.detail-data-accordion details > p,
.detail-data-accordion details > .detail-specification-wrap {
  margin: 0;
  padding: 0 18px 18px;
}

.detail-dimensions-panel dl {
  margin: 0;
  display: grid;
  gap: 1px;
}

.detail-dimensions-panel dl div {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-dimensions-panel dt,
.detail-dimensions-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(15px, 1vw, 17px);
}

.detail-download-panel article {
  display: grid;
  gap: 1px;
}

.detail-download-panel a {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(120px, 0.5fr) minmax(110px, auto);
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #dcdcdc;
}

.detail-download-panel a::before {
  display: none;
}

.detail-download-panel strong {
  color: #222222;
  font-weight: 500;
}

.detail-download-panel span,
.detail-download-panel em {
  color: #555555;
  font-style: normal;
}

.detail-download-panel a:hover strong,
.detail-download-panel a:hover span,
.detail-download-panel a:hover em {
  color: #007db3;
}

.detail-intro {
  padding: clamp(58px, 7vw, 108px) 0;
}

.detail-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(34px, 7vw, 110px);
}

.detail-intro h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.08;
}

.detail-intro p {
  margin: 0;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.detail-intro aside {
  display: grid;
  align-content: start;
  gap: 1px;
  background: var(--line);
}

.detail-intro aside span {
  padding: 18px 20px;
  background: var(--soft);
  font-size: 18px;
}

.detail-materials {
  padding: 0 0 clamp(60px, 7vw, 110px);
}

.detail-grid {
  grid-template-columns: repeat(3, 1fr);
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) minmax(120px, 0.45fr) minmax(120px, 0.45fr) minmax(250px, 0.85fr);
  gap: clamp(28px, 4.2vw, 86px);
  align-items: start;
  padding: clamp(42px, 4.7vw, 72px) 0 clamp(40px, 4.5vw, 66px);
  color: var(--text);
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white);
  clip-path: inset(0 -100vmax);
}

.footer-intro {
  margin: 0;
  color: #555;
  font-size: clamp(16px, 0.95vw, 17px);
  font-weight: 300;
  line-height: 1.68;
}

.footer-top h2 {
  margin: 0 0 18px;
  color: #555;
  font-size: clamp(16px, 0.95vw, 17px);
  font-weight: 600;
  line-height: 1.5;
}

.footer-top a {
  display: block;
  margin: 8px 0;
  color: #626262;
  font-size: clamp(16px, 0.95vw, 17px);
  font-weight: 300;
  line-height: 1.62;
}

.footer-top a:hover {
  color: var(--text);
}

.footer-socials a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: clamp(138px, 11vw, 190px);
  height: 34px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 34px);
}

.footer-socials a {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-socials svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1180px) {
  .header-grid {
    --header-icon-size: 30px;
    --header-meta-gap: 8px;
    --header-search-width: clamp(178px, 17vw, 230px);
    --header-search-gap: 10px;
    gap: 0 12px;
  }

  .main-nav {
    gap: 4px;
  }

  .main-nav > a,
  .main-nav .nav-item > a {
    min-width: clamp(58px, 6.2vw, 76px);
    padding-inline: 7px;
  }

  .main-nav a,
  .meta-nav a {
    font-size: 15px;
  }

  .brand img {
    width: clamp(120px, 13vw, 150px);
    height: 30px;
  }

  .meta-nav svg,
  .side-tools svg,
  .search-form svg {
    width: 21px;
    height: 21px;
  }

  .search-form input {
    height: 34px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .header-search button {
    width: 36px;
    height: 34px;
  }

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

  .field-card .field-image {
    min-height: clamp(230px, 34vw, 360px);
  }

  .hero-slider {
    min-height: 430px;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  .header-grid {
    --header-meta-width: calc((var(--header-icon-size) * 3) + (var(--header-meta-gap) * 2));
    --header-search-width: clamp(164px, 18vw, 190px);
  }

  .meta-nav > .phone-link {
    display: none;
  }

  .main-nav > a,
  .main-nav .nav-item > a {
    min-width: clamp(52px, 6vw, 64px);
    padding-inline: 6px;
  }

  .main-nav a,
  .meta-nav a {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 88px;
  }

  body {
    padding-top: 118px;
  }

  body[data-page="giraQuote"] {
    padding-top: 134px;
  }

  body.home-page,
  body.contact-page,
  body[data-page="company"] {
    padding-top: 0;
  }

  body.home-page {
    padding-top: 118px;
  }

  .site-header,
  .home-page .site-header,
  .contact-page .site-header,
  body[data-page="company"] .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10020;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .home-page .site-header {
    color: var(--text);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .contact-page .site-header {
    background: rgba(0, 0, 0, 0.42);
  }

  .home-page .site-header:has(.mobile-nav.is-open),
  .contact-page .site-header:has(.mobile-nav.is-open) {
    background: #111;
  }

  .header-grid {
    --header-search-width: 100%;
    --header-meta-width: 0px;
    grid-template-columns: minmax(68px, 1fr) auto minmax(92px, 1fr);
    grid-template-areas:
      "menu brand meta"
      "search search search";
    grid-template-rows: auto auto;
    min-height: 118px;
    row-gap: 8px;
    padding-block: 10px 12px;
  }

  .menu-toggle {
    display: block;
    grid-area: menu;
  }

  .main-nav {
    display: none;
  }

  .mega-menu {
    display: none;
  }

  .download-menu {
    display: none;
  }

  .brand {
    justify-self: center;
    grid-area: brand;
  }

  .brand img {
    display: block;
    width: 128px;
    height: 24px;
  }

  .home-page .site-header .brand img,
  .contact-page .site-header .brand img,
  body[data-page="company"] .site-header .brand img {
    filter: none !important;
  }

  .home-page .site-header .brand img {
    filter: brightness(0) !important;
  }

  .home-page .site-header .meta-nav svg,
  .home-page .site-header .meta-nav .compare-icon-mark {
    color: var(--text);
  }

  .meta-nav {
    grid-area: meta;
    gap: 3px;
    padding-right: 0;
  }

  .meta-nav > .phone-link {
    display: none;
  }

  .meta-nav > .account-link,
  .meta-nav > .cart-link {
    display: inline-grid;
  }

  .meta-nav .icon-link,
  .search-form button {
    width: 26px;
    height: 30px;
  }

  .meta-nav svg,
  .meta-nav .compare-icon-mark {
    width: 20px;
    height: 20px;
  }

  .meta-nav .compare-icon-mark {
    font-size: 24px;
  }

  .search-form {
    grid-area: search;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    justify-self: center;
    width: 100%;
    gap: 0;
  }

  .header-search {
    position: relative;
    inset: auto;
    width: min(100%, calc(100vw - (var(--gutter) * 2)));
    transform: none;
    z-index: 50;
  }

  .search-suggestions-panel {
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 280px;
  }

  .search-form input {
    display: block;
    min-width: 0;
    width: 100%;
    height: 42px;
    font-size: 15px;
  }

  .search-form button {
    width: 48px;
    min-width: 48px;
    height: 42px;
    padding: 0;
  }

  .contact-page .menu-toggle span,
  body[data-page="company"] .menu-toggle span {
    background: var(--white);
  }

  .contact-page .meta-nav svg,
  .contact-page .meta-nav .compare-icon-mark,
  body[data-page="company"] .meta-nav svg,
  body[data-page="company"] .meta-nav .compare-icon-mark {
    color: var(--white);
  }

  .home-page .mobile-nav,
  .contact-page .mobile-nav,
  body[data-page="company"] .mobile-nav {
    color: var(--text);
  }

  .mobile-nav.is-open {
    display: block;
    max-height: calc(100vh - 118px);
    max-height: calc(100dvh - 118px);
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
  }

  .side-tools {
    display: none;
  }

  .hero-slider,
  .hero-slider-small {
    aspect-ratio: auto;
    height: 430px;
    min-height: 0;
  }

  .home-page .hero-slider-small {
    aspect-ratio: 2560 / 1098;
    height: auto;
    min-height: 0;
    margin-top: 36px;
    background: #111;
  }

  .home-page .hero-slider-small .hero-slide img {
    object-fit: contain;
  }

  .home-page main > .hero-slider:first-child {
    aspect-ratio: 2560 / 1098;
    height: auto;
    background: #111;
  }

  .home-page main > .hero-slider:first-child .hero-slide img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-copy {
    top: 58%;
    bottom: auto;
    left: calc(var(--gutter) + 8px);
    right: calc(var(--gutter) + 8px);
    width: auto;
    max-width: none;
    transform: translateY(-50%);
    text-align: center;
  }

  .hero-copy.left,
  .hero-copy.right {
    left: calc(var(--gutter) + 8px);
    right: calc(var(--gutter) + 8px);
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy h2 {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    max-width: calc(100vw - ((var(--gutter) + 8px) * 2));
    font-size: clamp(22px, 5.9vw, 28px);
    line-height: 1.08;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    display: block;
    width: 100%;
    max-width: calc(100vw - ((var(--gutter) + 8px) * 2));
    font-size: var(--copy-size);
    line-height: var(--copy-line);
    text-align: center;
    text-align-last: center;
    text-justify: auto;
  }

  .slider-controls {
    display: none;
  }

  .slider-dots {
    bottom: 10px;
    display: flex;
  }

  .login-section {
    padding: 104px 0 58px;
  }

  .login-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .login-layout:has([data-auth-form="register"].is-active) {
    grid-template-columns: 1fr;
  }

  .register-layout {
    grid-template-columns: 1fr;
  }

  .login-copy h1 {
    font-size: 40px;
  }

  .login-form {
    padding: 24px;
  }

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

  .company-hero-media {
    aspect-ratio: auto;
    height: 240px;
    min-height: 0;
    background: #e5e3dd;
  }

  .company-hero-media img {
    object-fit: contain;
    object-position: bottom center;
  }

  .company-page-head,
  .menu-page-head {
    padding: 38px 0 44px;
  }

  .company-page-head .breadcrumb,
  .menu-page-head .breadcrumb {
    margin-bottom: 34px;
  }

  .menu-page-head h1 {
    font-size: 42px;
  }

  .company-page-head h1 {
    font-size: 21px;
  }

  .company-welcome,
  .menu-page-intro,
  .company-topic-section,
  .menu-page-related,
  .company-dialogue {
    padding: 46px 0;
  }

  .company-copy-stack,
  .company-dialogue-grid {
    gap: 26px;
  }

  .company-copy-block h2,
  .menu-page-intro h2,
  .company-dialogue h2 {
    font-size: 30px;
  }

  .company-page-lead p {
    font-size: var(--copy-size);
  }

  .company-showcase {
    padding-bottom: 40px;
  }

  .company-showcase img {
    aspect-ratio: 4 / 3;
  }

  .company-topic-grid,
  .menu-page-related-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .company-topic-card,
  .menu-related-card {
    grid-template-columns: 1fr;
  }

  .company-topic-card img,
  .menu-related-card img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .company-topic-card > span,
  .menu-related-card > span {
    padding: 18px 0 0;
  }

  .company-feature,
  .company-support,
  .company-story-section {
    padding: 54px 0;
  }

  .company-feature-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .company-feature h2 {
    font-size: 26px;
  }

  .company-support-head h2 {
    font-size: 30px;
  }

  .company-support--career .company-support-head h2 {
    font-size: 30px;
  }

  .company-feature img {
    aspect-ratio: 1000 / 566;
  }

  .company-support-head {
    margin-bottom: 42px;
  }

  .company-support-grid,
  .company-story-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .company-support-card > span {
    padding: 18px;
  }

  .company-hero,
  .company-hero-copy {
    min-height: 0;
  }

  .company-hero {
    padding: 104px 0 54px;
  }

  .company-hero-copy {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .company-hero h1 {
    font-size: 48px;
  }

  .company-intro {
    padding: 54px 0;
  }

  .company-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-intro h2,
  .company-links-head h2 {
    font-size: 36px;
  }

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

  .company-link-card {
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .company-link-card img {
    width: 118px;
    height: 100%;
    min-height: 148px;
    aspect-ratio: auto;
  }

  .company-link-card span {
    padding: 18px;
  }

  .intro-section {
    padding: 46px 0 42px;
  }

  .intro-section .container,
  .section-head {
    max-width: none;
  }

  .intro-section .container {
    max-width: none;
  }

  .intro-section h2,
  .section-head h2 {
    margin-bottom: 18px;
    color: #5f5f5f;
    max-width: 100%;
    font-size: clamp(26px, 6.4vw, 31px);
    font-weight: 300;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .intro-section p,
  .section-head p {
    max-width: 100%;
    color: #6b6b6b;
    font-size: var(--copy-size);
    font-weight: 300;
    line-height: var(--copy-line);
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .intro-section p {
    text-align-last: left;
  }

  .intro-section .text-link {
    display: none;
  }

  .home-page .new-items-section {
    padding: 26px 0 0;
    color: var(--white);
    background: #555;
  }

  .home-page .new-items-section .section-head {
    margin-bottom: 24px;
  }

  .home-page .new-items-section h2,
  .home-page .new-items-section p {
    color: var(--white);
  }

  .home-page .new-items-section .product-card {
    background: #ededed;
    color: var(--text);
  }

  .home-page .new-items-section .brand-card p,
  .home-page .new-items-section .field-card p {
    color: var(--muted);
  }

  .card-grid.two,
  .card-grid.three,
  .product-tile-grid,
  .catalogue-layout,
  .detail-grid,
  .dialogue-grid,
  .contact-layout,
  .contact-title-grid,
  .contact-company-grid,
  .contact-option-grid,
  .detail-intro-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-sidebar {
    position: static;
  }

  .catalogue-layout {
    gap: 36px;
  }

  .catalogue-search {
    margin-bottom: 28px;
  }

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

  .catalogue-main h1 {
    margin-top: 0;
    margin-bottom: 34px;
  }

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

  .contact-page-head {
    padding: 28px 0 36px;
  }

  .contact-page-head .breadcrumb {
    margin-bottom: 28px;
  }

  .contact-title-grid,
  .contact-company-grid {
    gap: 24px;
  }

  .contact-title-grid h1,
  .contact-title-block h1 {
    font-size: clamp(27px, 6.8vw, 34px);
  }

  .contact-hero {
    aspect-ratio: auto;
    height: 240px;
    min-height: 0;
    background: #e5e3dd;
  }

  .contact-hero img {
    object-fit: contain;
    object-position: bottom center;
  }

  .contact-page-head {
    padding-top: 28px;
  }

  .contact-page-head .breadcrumb {
    margin-bottom: 28px;
  }

  .contact-breadcrumb {
    font-size: 16px;
  }

  .contact-title-block p {
    font-size: 18px;
    line-height: 1.5;
  }

  .contact-address {
    min-height: 0;
    padding: 28px 24px 32px;
  }

  .contact-address h2 {
    margin-bottom: 22px;
    font-size: clamp(26px, 7vw, 32px);
  }

  .contact-address .contact-company-name strong {
    display: block;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: left;
    text-align-last: left;
    white-space: normal;
  }

  .contact-address p {
    font-size: 17px;
  }

  .contact-company {
    padding: 28px 0 18px;
  }

  .contact-options {
    padding: 18px 0 58px;
  }

  .contact-option-grid {
    gap: 18px;
  }

  .contact-option-grid article {
    min-height: 150px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-subnav {
    top: 72px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .product-subnav .container {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-inline: 0;
    overflow-x: auto;
  }

  .product-subnav a {
    flex: 0 0 auto;
    min-width: 155px;
    padding: 17px 18px;
    font-size: 17px;
  }

  .products-head-inner,
  .product-overview-section .section-head {
    max-width: 100%;
    min-width: 0;
  }

  .products-head p,
  .product-overview-section p {
    max-width: 100%;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .inspiration-track {
    grid-auto-columns: minmax(315px, 86vw);
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .support-item {
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 26px;
  }

  .support-copy h2 {
    font-size: clamp(27px, 6.8vw, 34px);
  }

  .support-copy p {
    font-size: var(--copy-size);
    line-height: var(--copy-line);
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 28px;
  }

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

  .catalogue-brand-nav,
  .catalogue-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-layout {
    gap: 30px;
  }

  .catalogue-main {
    order: 2;
  }

  .catalogue-sidebar {
    order: 1;
  }

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

  .catalogue-page-head {
    padding-top: 24px;
  }

  .catalogue-page-head .breadcrumb {
    margin-bottom: 28px;
  }

  .catalogue-main h1 {
    margin-bottom: 24px;
    font-size: clamp(38px, 11vw, 44px);
  }

  .catalogue-cover {
    padding: 30px 26px 10px;
  }

  .gira-hero-grid,
  .gira-catalogue-layout,
  .gira-product-head,
  .gira-content-grid {
    grid-template-columns: 1fr;
  }

  .gira-hero {
    padding-top: 96px;
  }

  .gira-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .gira-hero picture img {
    aspect-ratio: 16 / 10;
  }

  .gira-quote-panel {
    position: static;
  }
}

@media (max-width: 991px) {
  .gira-float-tools {
    display: flex !important;
    position: fixed !important;
    left: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    border-radius: 0 8px 8px 0 !important;
    margin: 0 !important;
    width: 48px;
    box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.25);
  }

  .brand-catalogue-sidebar,
  .gira-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100dvh !important;
    width: 320px !important;
    max-width: 85vw !important;
    background: #ffffff !important;
    z-index: 30001 !important;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    padding: 0 20px 24px !important;
  }

  .brand-catalogue-sidebar.is-open,
  .gira-sidebar.is-open {
    transform: translateX(0) !important;
  }

  .brand-sidebar-header,
  .gira-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 700;
    font-size: 17px;
    color: #111;
  }

  .brand-sidebar-close,
  .gira-sidebar-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    padding: 4px 8px;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .brand-sidebar-overlay,
  .gira-sidebar-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 30000 !important;
  }

  body.is-sidebar-open .site-header {
    pointer-events: none !important;
  }
}

  .gira-main,
  .gira-intro-panel,
  .gira-group-grid,
  .gira-group-card,
  .gira-product-detail,
  .gira-content-grid article {
    min-width: 0;
    width: 100%;
  }

  .gira-catalogue {
    background: var(--page-bg);
  }

  .gira-main {
    background: transparent;
  }

  .gira-filter-bar {
    background: transparent;
    border-color: transparent;
  }

  .gira-results-count {
    color: #666666;
  }

  .gira-sidebar {
    padding: 20px;
  }

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

@media (min-width: 992px) {
  .brand-catalogue-layout .brand-catalogue-sidebar,
  .brand-catalogue-layout .gira-sidebar,
  .gira-catalogue-layout .brand-catalogue-sidebar,
  .gira-catalogue-layout .gira-sidebar {
    position: sticky !important;
    top: calc(var(--header-height, 88px) + 16px) !important;
    align-self: flex-start !important;
    max-height: calc(100vh - var(--header-height, 88px) - 32px) !important;
    overflow-y: auto !important;
    z-index: 10 !important;
  }

  .gira-group-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

  .gira-group-card {
    min-height: 0;
    padding: 0;
  }

  .gira-intro-panel,
  .gira-product-detail,
  .gira-content-grid article {
    padding: 24px 22px;
  }

  .gira-product-visual {
    max-width: 240px;
  }

  .gira-variant-table-wrap {
    overflow: visible;
    margin-inline: 0;
    background: transparent;
  }

  .gira-variant-table {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
  }

  .gira-variant-table thead {
    display: none;
  }

  .gira-variant-table tbody {
    display: grid;
    gap: 14px;
  }

  .gira-variant-table tr {
    display: grid;
    gap: 11px;
    width: 100%;
    padding: 16px;
    background: #151515;
  }

  .gira-variant-table td {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    padding: 0;
    border-bottom: 0;
  }

  .gira-variant-table td::before {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
  }

  .gira-variant-table td:nth-child(1)::before {
    content: "Hoàn thiện";
  }

  .gira-variant-table td:nth-child(2)::before {
    content: "Mã hàng";
  }

  .gira-variant-table td:nth-child(3)::before {
    content: "PU";
  }

  .gira-variant-table td:nth-child(4)::before {
    content: "EAN";
  }

  .gira-variant-table td:nth-child(5)::before {
    content: "Số lượng";
  }

  .gira-variant-table td:nth-child(6) {
    display: block;
  }

  .gira-variant-table td:nth-child(6)::before {
    display: none;
  }

  .gira-finish {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .gira-finish i {
    width: 32px;
    height: 32px;
  }

  .gira-variant-table input,
  .gira-variant-table button,
  .gira-row-quote {
    width: 100%;
  }

  .field-card .field-image {
    min-height: clamp(250px, 72vw, 330px);
    aspect-ratio: 1.12 / 1;
  }

  .field-card .field-image img {
    object-position: center 58%;
  }

  .product-card div {
    padding: 30px 22px 24px;
  }

  .product-card p,
  .compact .product-card p {
    min-height: 0;
  }

  .solutions-card-grid {
    gap: 34px;
    margin-top: 28px;
  }

  .home-page .content-section .solutions-card-grid .product-card {
    display: grid;
    grid-template-rows: auto auto auto;
  }

  .home-page .content-section .card-grid.four.compact.solutions-card-grid .product-card > div {
    display: contents !important;
  }

  .home-page .content-section .solutions-card-grid .product-card p {
    order: 1;
    height: auto;
    padding: 28px 22px 20px;
    background: #ededed;
  }

  .home-page .content-section .solutions-card-grid .product-card img {
    order: 2;
    width: calc(100% - 44px);
    margin: 0 auto;
  }

  .home-page .content-section .solutions-card-grid .product-card a {
    order: 3;
    align-self: auto;
    margin: 0;
    padding: 20px 22px 26px;
    background: #ededed;
  }

  .home-page .project-section .has-project-detail.is-open .project-detail,
  .project-list .has-project-detail.is-open .project-detail {
    padding: 24px 22px 28px;
  }

  .home-page .project-section .project-detail p,
  .project-list .project-detail p {
    font-size: 17px;
  }

  .home-page .project-section .project-detail ul,
  .project-list .project-detail ul {
    gap: 10px;
    font-size: 16px;
  }

  .wide-image img {
    aspect-ratio: 16 / 9;
  }

  .story-card {
    min-height: 360px;
  }

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

  .support-section {
    padding: 46px 0;
  }

  .local-banner h2 {
    margin-bottom: 18px;
    font-size: clamp(26px, 6.4vw, 31px);
    line-height: 1.15;
  }

  .local-banner p {
    max-width: none;
  }

  .local-banner img {
    aspect-ratio: 16 / 9;
    margin: 24px 0 22px;
  }

  .support-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .support-action {
    justify-items: start;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    align-items: end;
  }

  .support-action svg {
    width: 74px;
    height: 88px;
  }

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

  .footer-socials {
    gap: 20px;
  }

  .subpage-hero,
  .subpage-hero-copy,
  .detail-hero,
  .detail-hero-copy {
    min-height: 520px;
  }

  body[data-page="news"] .subpage-hero,
  body[data-page="news"] .subpage-hero-copy,
  body[data-page="partners"] .subpage-hero,
  body[data-page="partners"] .subpage-hero-copy {
    min-height: 0;
  }

  body[data-page="news"] .subpage-hero,
  body[data-page="partners"] .subpage-hero {
    height: clamp(260px, 42.85vw, 617px);
    background: #d7d6d2;
  }

  body[data-page="news"] .subpage-hero img,
  body[data-page="partners"] .subpage-hero img {
    object-fit: cover;
    object-position: center center;
  }

  body[data-page="news"] .subpage-hero h1 {
    margin-bottom: 0;
    font-size: clamp(36px, 12vw, 48px);
  }

  body[data-page="partners"] .subpage-hero h1 {
    display: none;
  }

  .overview-hero img {
    aspect-ratio: 16 / 9;
  }

  .news-list article {
    grid-template-columns: 1fr;
  }

  .gira-group-card {
    min-height: 420px;
    background: #ffffff;
    border-color: #e4e4e4;
    border-radius: 0;
    padding: 0;
  }

  .gira-card-media {
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 0;
    border-radius: 0;
  }

  .gira-card-img-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .gira-card-body {
    min-height: 154px;
    padding: 14px 14px 0;
    background: #ffffff;
  }

  .gira-card-title {
    min-height: calc(1em * 1.38 * 3);
    max-height: calc(1em * 1.38 * 3);
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.38;
    color: #5f5f5f;
  }

  .gira-card-sku {
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    margin-top: 16px;
    padding: 9px 0 10px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.25;
    color: #555555;
  }

  .gira-card-actions {
    gap: 0;
    padding: 20px 10px 14px;
  }

  .gira-card-actions > a,
  .gira-card-actions > button {
    min-height: 34px;
    padding: 0;
    border: 0;
    border-top: 1px solid #d8d8d8;
    border-radius: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.25;
    justify-content: flex-start;
    text-align: left;
  }

  .gira-card-actions > a:first-child,
  .gira-card-actions > button:first-child {
    border-top: 0;
  }

  .gira-scroll-top {
    /* visible via JS when scrollY > 400 */
  }

@media (max-width: 760px) {
  .gira-quote-breadcrumb {
    margin-bottom: 26px;
  }

  .detail-product-shop {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-product-buybox,
  .detail-product-buybox.is-mobile-floating,
  .detail-product-buybox.is-desktop-floating,
  .detail-buybox {
    position: static !important;
    transform: none !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: auto !important;
    box-shadow: none !important;
    padding: 0;
  }

  .detail-buybox-placeholder,
  .detail-buybox-placeholder.is-active {
    display: none !important;
    height: 0 !important;
  }

  .detail-tabs-section {
    padding: 24px 0 48px;
  }

  .detail-tab-list {
    display: none !important;
  }

  .detail-tab-panels {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .detail-tab-panel {
    display: block !important;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
  }

  .detail-accordion-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #111111;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s, color 0.2s;
  }

  .detail-accordion-trigger:hover,
  .detail-accordion-trigger:focus-visible {
    background: #f8fafc;
    color: #007db3;
    outline: none;
  }

  .detail-accordion-trigger .chevron {
    width: 26px;
    height: 26px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    flex-shrink: 0;
  }

  .detail-accordion-trigger[aria-expanded="true"] {
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #007db3;
    font-weight: 600;
  }

  .detail-accordion-trigger[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
    color: #007db3;
  }

  .detail-panel-content {
    padding: 20px;
    display: none;
  }

  .detail-accordion-trigger[aria-expanded="true"] + .detail-panel-content {
    display: block !important;
  }

  .detail-product-code {
    font-size: 15px;
  }

  .gira-quote-panel {
    margin-top: 28px;
    padding: 16px;
  }

  .gira-quote-head {
    align-items: center;
  }

  .gira-quote-panel h1 {
    font-size: 36px;
  }

  .gira-quote-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gira-quote-product-row {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 14px;
  }

  .gira-quote-thumb {
    width: 82px;
  }

  .gira-quote-info strong {
    font-size: 16px;
  }

  .gira-quote-qty-control,
  .gira-quote-remove {
    grid-column: 1 / -1;
  }

  .gira-quote-qty-control {
    margin-top: 8px;
  }

  .gira-quote-qty-stepper {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .gira-quote-checkout {
    grid-template-columns: 1fr;
  }

  .gira-quote-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .detail-product {
    padding-top: 0;
    padding-bottom: 44px;
    background: var(--page-bg);
  }

  .detail-product-breadcrumb {
    padding-top: 20px;
    margin-bottom: 56px;
    font-size: 12px;
    line-height: 1.6;
  }

  .detail-product-title {
    margin-bottom: 18px;
    font-size: clamp(22px, 5.5vw, 26px);
    font-weight: 600;
    line-height: 1.2;
  }

  .detail-product-gallery {
    display: flex;
    flex-direction: column;
  }

  .detail-gallery-lightbox {
    display: flex;
  }

  .detail-gallery-slide img {
    cursor: zoom-in;
  }

  .detail-product-gallery-nav {
    position: static;
    order: 3;
    justify-content: center;
    min-height: 40px;
    margin-top: 14px;
    margin-bottom: 0;
    padding-right: 0;
  }

  .detail-product-media-panel {
    order: 2;
    min-height: 0;
    aspect-ratio: 1 / 1;
    height: auto;
    padding: 0;
  }

  .detail-product-thumbs {
    order: 4;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-top: 14px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .detail-product-thumb {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    padding: 3px;
    font-size: 12px;
  }

  .detail-product-media {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .detail-product-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 8px;
  }

  .detail-gallery-slide {
    --detail-gallery-slide-padding: 8px;
  }

  .detail-gallery-slide img {
    width: calc(100% - var(--detail-gallery-slide-padding) - var(--detail-gallery-slide-padding));
    height: calc(100% - var(--detail-gallery-slide-padding) - var(--detail-gallery-slide-padding));
    max-height: 100%;
    max-width: 100%;
    padding: 0;
    object-fit: contain;
  }

  .detail-video-player {
    width: 100%;
    height: 100%;
  }

  .detail-video-start {
    width: 64px;
    height: 46px;
  }

  .detail-video-start-icon {
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 16px;
  }

  .detail-video-controls {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 34px;
    padding: 6px 8px;
  }

  .detail-video-play {
    width: 28px;
    height: 28px;
  }

  .detail-video-time {
    min-width: 62px;
    font-size: 11px;
  }

  .detail-product-media img.is-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    padding: 0;
    pointer-events: none;
  }

  .detail-product-main-frame {
    width: min(100%, 270px);
    height: 88px;
  }

  .detail-product-main-frame.detail-spec-frame-1 {
    width: min(100%, 240px);
    height: min(62vw, 240px);
  }

  .detail-product-main-frame.detail-spec-frame-4,
  .detail-product-main-frame.detail-spec-frame-5 {
    width: min(100%, 300px);
    height: 74px;
  }

  .detail-product-tools {
    top: 18px;
    right: 18px;
    gap: 9px;
  }

  .detail-product-media-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    pointer-events: none;
  }

  .detail-product-media-arrow {
    width: 38px;
    height: 38px;
    border-radius: 5px;
    font-size: 30px;
    pointer-events: auto;
  }

  .detail-product-media-count {
    min-width: 48px;
    pointer-events: none;
  }

  .detail-product-tool {
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .detail-product-short-desc {
    padding: 18px 16px;
  }

  .detail-product-short-desc p {
    grid-template-columns: minmax(100px, 0.9fr) minmax(0, 1.1fr);
  }

  .detail-buy-actions a,
  .detail-buy-actions button {
    min-height: 48px;
    font-size: 16px;
  }

  .detail-product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }

  .detail-product-actions a,
  .detail-product-actions button {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }

  .detail-product-summary-strip {
    display: none;
  }

  .detail-specification-head {
    display: none;
  }

  .detail-specification-wrap {
    margin-top: 28px;
  }

  .detail-specification-table {
    gap: 0;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
  }

  .detail-specification-row {
    grid-template-columns: minmax(0, 1fr) minmax(76px, 0.72fr) 50px;
    grid-template-areas:
      "product sku sku"
      "room qty cart"
      "ean pu ps";
    gap: 10px 12px;
    min-height: 0;
    padding: 14px 8px;
    color: #555555;
    background: #ffffff;
    border-bottom: 1px solid #dcdcdc;
    font-size: 15px;
  }

  .detail-specification-row:nth-child(odd) {
    background: #f7f7f7;
  }

  .detail-specification-row:first-child {
    background: #eeeeee;
  }

  .detail-specification-row:last-child {
    border-bottom: 0;
  }

  .detail-spec-product {
    grid-area: product;
    display: block;
    align-self: center;
  }

  .detail-spec-thumb {
    display: none;
  }

  .detail-spec-product strong {
    color: #444444;
    font-size: 15px;
    line-height: 1.25;
  }

  .detail-specification-row > span {
    display: block;
    align-self: center;
    color: #555555;
    line-height: 1.35;
    white-space: nowrap;
  }

  .detail-specification-row > span:nth-of-type(1) {
    grid-area: sku;
    justify-self: end;
  }

  .detail-specification-row > span:nth-of-type(1)::before {
    content: "Mã SP ";
  }

  .detail-specification-row > span:nth-of-type(2) {
    grid-area: pu;
  }

  .detail-specification-row > span:nth-of-type(2)::before {
    content: "PU ";
  }

  .detail-specification-row > span:nth-of-type(3) {
    grid-area: ps;
    justify-self: end;
  }

  .detail-specification-row > span:nth-of-type(3)::before {
    content: "PS ";
  }

  .detail-specification-row > span:nth-of-type(4) {
    grid-area: ean;
    white-space: normal;
  }

  .detail-specification-row > span:nth-of-type(4)::before {
    content: "EAN ";
  }

  .detail-specification-row label {
    display: block;
    min-width: 0;
  }

  .detail-specification-row label:nth-of-type(1) {
    grid-area: room;
  }

  .detail-specification-row label:nth-of-type(2) {
    grid-area: qty;
  }

  .detail-specification-row input {
    max-width: none;
  }

  .detail-specification-row select,
  .detail-specification-row input {
    height: 30px;
    min-width: 0;
    padding: 0 8px;
    color: #333333;
    background: transparent;
    border: 1px solid #cfcfcf;
    font-size: 15px;
  }

  .detail-spec-cart {
    grid-area: cart;
    justify-self: end;
    align-self: center;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #555555;
    border: 1px solid #cfcfcf;
  }

  .detail-download-grid {
    grid-template-columns: 1fr;
  }

  .detail-tabs-section {
    padding-top: 28px;
  }

  .detail-tab-list {
    grid-template-columns: 1fr;
  }

  .detail-tab-list button {
    min-height: 54px;
    font-size: 15px;
    font-weight: 600;
    white-space: normal;
  }

  .detail-tab-list button + button {
    margin-left: 0;
    margin-top: -1px;
  }

  .detail-tab-panels {
    min-height: 320px;
    padding: 14px;
  }

  .detail-dimensions-card {
    padding: 18px 16px;
  }

  .detail-dimensions-card h2 {
    font-size: 22px;
  }

  .detail-dimensions-card table {
    min-width: 0;
    font-size: 14px;
  }

  .detail-dimensions-card th,
  .detail-dimensions-card td {
    padding: 11px 8px;
  }

  .detail-description-copy p,
  .detail-description-copy ul {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .detail-catalogue-section summary {
    min-height: 58px;
    padding-right: 46px;
    font-size: clamp(21px, 6vw, 25px);
  }

  .detail-catalogue-section summary::after {
    right: 10px;
    width: 10px;
    height: 10px;
  }

  .detail-catalogue-panel {
    gap: 18px;
  }

  .detail-catalogue-panel article {
    padding: 24px 20px;
  }

  .detail-catalogue-panel h3 {
    font-size: clamp(22px, 6.8vw, 28px);
  }

  .detail-catalogue-panel a,
  .detail-catalogue-panel p {
    font-size: 15px;
  }

  .detail-dimensions-panel dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .detail-download-panel a {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 991px) {
  .detail-product-buybox,
  .detail-product-buybox.is-mobile-floating,
  .detail-product-buybox.is-desktop-floating,
  .detail-buybox {
    position: static !important;
    transform: none !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: auto !important;
    box-shadow: none !important;
  }

  .detail-buybox-placeholder,
  .detail-buybox-placeholder.is-active {
    display: none !important;
    height: 0 !important;
  }

  .detail-tab-list {
    display: none !important;
  }

  .detail-tab-panels {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .detail-tab-panels .detail-tab-panel,
  .detail-tab-panels .detail-tab-panel[hidden] {
    display: block !important;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
  }

  .detail-accordion-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #111111;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s, color 0.2s;
  }

  .detail-accordion-trigger:hover,
  .detail-accordion-trigger:focus-visible {
    background: #f8fafc;
    color: #007db3;
    outline: none;
  }

  .detail-accordion-trigger .chevron {
    width: 26px;
    height: 26px;
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .detail-accordion-trigger[aria-expanded="true"] {
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #007db3;
    font-weight: 600;
  }

  .detail-accordion-trigger[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
    color: #007db3;
  }

  .detail-panel-content {
    display: none;
    padding: 20px;
  }

  .detail-accordion-trigger[aria-expanded="true"] + .detail-panel-content {
    display: block !important;
  }
}

body[data-page="detail-gira-standard55"] .detail-product,
body[data-page="detail-gira-standard55"] .detail-catalogue-sections,
body[data-page="detail-gira-standard55"] .detail-tabs-section {
  color: #333333;
  background: var(--page-bg);
}

.detail-product {
  padding-bottom: 8px;
}

.detail-tabs-section {
  padding-top: 8px;
}

body[data-page="detail-gira-standard55"] .detail-product-breadcrumb,
body[data-page="detail-gira-standard55"] .detail-product-breadcrumb a,
body[data-page="detail-gira-standard55"] .detail-product-breadcrumb span {
  color: #777777;
}

body[data-page="detail-gira-standard55"] .detail-product-title,
body[data-page="detail-gira-standard55"] .detail-catalogue-section summary,
body[data-page="detail-gira-standard55"] .detail-catalogue-panel h3,
body[data-page="detail-gira-standard55"] .detail-catalogue-panel h4 {
  color: #333333;
}

body[data-page="detail-gira-standard55"] .detail-product-actions a,
body[data-page="detail-gira-standard55"] .detail-product-actions button {
  color: #333333;
  border-color: #cfcfcf;
}

body[data-page="detail-gira-standard55"] .detail-specification-head,
body[data-page="detail-gira-standard55"] .detail-specification-row,
body[data-page="detail-gira-standard55"] .detail-specification-row > span,
body[data-page="detail-gira-standard55"] .detail-spec-product strong,
body[data-page="detail-gira-standard55"] .detail-catalogue-panel a,
body[data-page="detail-gira-standard55"] .detail-catalogue-panel p,
body[data-page="detail-gira-standard55"] .detail-dimensions-panel dt,
body[data-page="detail-gira-standard55"] .detail-dimensions-panel dd,
body[data-page="detail-gira-standard55"] .detail-download-panel span,
body[data-page="detail-gira-standard55"] .detail-download-panel em {
  color: #555555;
}

body[data-page="detail-gira-standard55"] .detail-specification-row {
  background: #ffffff;
  border-bottom-color: #dcdcdc;
}

body[data-page="detail-gira-standard55"] .detail-specification-row:nth-child(odd),
body[data-page="detail-gira-standard55"] .detail-catalogue-panel article {
  background: #f7f7f7;
}

body[data-page="detail-gira-standard55"] .detail-specification-row:first-child {
  background: #eeeeee;
}

body[data-page="detail-gira-standard55"] .detail-specification-table,
body[data-page="detail-gira-standard55"] .detail-catalogue-section,
body[data-page="detail-gira-standard55"] .detail-dimensions-panel dl div,
body[data-page="detail-gira-standard55"] .detail-download-panel a {
  border-color: #dcdcdc;
}

body[data-page="detail-gira-standard55"] .detail-catalogue-section:last-child {
  border-bottom-color: #dcdcdc;
}

body[data-page="detail-gira-standard55"] .detail-catalogue-divider {
  border-top-color: #cfcfcf;
}

body[data-page="detail-gira-standard55"] .detail-specification-row select,
body[data-page="detail-gira-standard55"] .detail-specification-row input {
  color: #333333;
  border-color: #cfcfcf;
}

body[data-page="detail-gira-standard55"] .detail-spec-cart {
  color: #555555;
  background: #ffffff;
  border: 1px solid #cfcfcf;
}

/* Specification Sub-Groups Accordion Component */
.spec-subaccordion-group,
.spec-subaccordion-item,
.spec-subaccordion-trigger,
.spec-subaccordion-title,
.spec-subaccordion-body,
.spec-table,
.spec-table th,
.spec-table td,
.spec-table .spec-label,
.spec-table .spec-val {
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.spec-subaccordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.spec-subaccordion-item {
  background-color: #ffffff;
  border: 1px solid #c4c8ce;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.spec-subaccordion-item.is-open {
  border-color: #a3b8cc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.spec-subaccordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 15px 20px;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  user-select: none;
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.spec-subaccordion-trigger:hover,
.spec-subaccordion-trigger:focus-visible {
  background-color: #f8fafc;
  outline: none;
}

.spec-subaccordion-trigger:hover .spec-subaccordion-title,
.spec-subaccordion-item.is-open .spec-subaccordion-title {
  color: #007db3;
}

.spec-subaccordion-title {
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #333333;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.spec-chevron {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.spec-subaccordion-item.is-open .spec-chevron {
  transform: rotate(180deg);
  color: #007db3;
}

.spec-subaccordion-body {
  border-top: 1px solid #e2e8f0;
  background-color: #ffffff;
  padding: 0;
}

.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
}

.spec-table tbody tr {
  border-bottom: 1px solid #eef2f6;
}

.spec-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.spec-table tbody tr:nth-child(even) {
  background-color: #f4f6f8;
}

.spec-table tbody tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 13px 20px;
  vertical-align: top;
  font-family: inherit;
}

.spec-table .spec-label {
  width: 38%;
  min-width: 130px;
  color: #555555;
  font-size: 15px;
  font-weight: 400;
}

.spec-table .spec-val {
  width: 62%;
  color: #222222;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  word-break: break-word;
}

@media (max-width: 991px) {
  .spec-subaccordion-group {
    gap: 10px;
  }

  .spec-subaccordion-trigger {
    min-height: 52px;
    padding: 13px 16px;
  }

  .spec-subaccordion-title {
    font-size: 17px;
  }

  .spec-table td {
    padding: 11px 16px;
    font-size: 14px;
  }

  .spec-table .spec-label {
    width: 42%;
    min-width: 110px;
  }
}

/* WAGO Knowledge Component & Modal Carousel Styles */
.knowledge-tab-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.knowledge-group-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.knowledge-group-header {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.knowledge-group-title {
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.knowledge-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.knowledge-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.knowledge-card:hover {
  border-color: #007db3;
  box-shadow: 0 4px 14px rgba(0, 125, 179, 0.08);
}

.knowledge-thumb {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.knowledge-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.knowledge-content-col {
  flex: 1;
  min-width: 0;
}

.knowledge-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #007db3;
  background-color: #e6f4fa;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.knowledge-item-title {
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
  line-height: 1.35;
}

.knowledge-item-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.knowledge-action-col {
  flex-shrink: 0;
}

.knowledge-modal-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 6px;
  border: 1px solid #007db3;
  color: #007db3;
  background-color: #ffffff;
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.knowledge-modal-open-btn:hover {
  background-color: #007db3;
  color: #ffffff;
}

/* FAQ Accordion Styles */
.knowledge-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.knowledge-faq-item {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.knowledge-faq-item.is-open {
  border-color: #007db3;
}

.knowledge-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1e293b;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.knowledge-faq-question {
  font-weight: 400;
}

.knowledge-faq-trigger:hover {
  background-color: #f8fafc;
  color: #007db3;
}

.knowledge-faq-item.is-open .knowledge-faq-trigger {
  color: #007db3;
}

.knowledge-faq-item.is-open .knowledge-faq-trigger .spec-chevron {
  transform: rotate(180deg);
  color: #007db3;
}

.knowledge-faq-answer-body {
  border-top: 1px dashed #e2e8f0;
  background-color: #fcfdfe;
}

.knowledge-faq-answer-inner {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.knowledge-faq-answer-inner p {
  margin: 0;
}

/* WAGO Knowledge Modal Carousel Popup */
.wago-km-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.wago-km-backdrop.is-open,
.wago-km-backdrop:not([hidden]) {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.wago-km-modal {
  /* CLIENT-APPROVED UI LOCK: modal/stage/footer/caption must not reflow during slide. */
  position: relative;
  width: 100%;
  max-width: 840px;
  height: min(90dvh, 720px);
  max-height: 90dvh;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: wagoKmScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wagoKmScaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.wago-km-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.wago-km-title {
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.wago-km-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wago-km-close:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.wago-km-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 20px 24px;
}

.wago-km-stage {
  position: relative;
  width: 100%;
  height: 380px;
  flex: 0 0 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.wago-km-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  contain: layout paint;
}

.wago-km-image-wrap.animate-next {
  animation: kmSlideFromRight 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.wago-km-image-wrap.animate-prev {
  animation: kmSlideFromLeft 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.wago-km-caption.animate-next {
  animation: kmFadeFromRight 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.wago-km-caption.animate-prev {
  animation: kmFadeFromLeft 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes kmSlideFromRight {
  from {
    transform: translateX(60px);
    opacity: 0.3;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes kmSlideFromLeft {
  from {
    transform: translateX(-60px);
    opacity: 0.3;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes kmFadeFromRight {
  from {
    transform: translateX(25px);
    opacity: 0.3;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes kmFadeFromLeft {
  from {
    transform: translateX(-25px);
    opacity: 0.3;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.wago-km-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.wago-km-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.wago-km-track.is-animating {
  transition: transform 320ms cubic-bezier(0.25, 1, 0.5, 1);
}

.wago-km-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
  background-color: #f8fafc;
}

.wago-km-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.wago-km-slide-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: #f8fafc;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.wago-km-slide-layer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.wago-km-slide-layer.slide-out-left {
  animation: wagoKmSlideOutLeft 280ms cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.wago-km-slide-layer.slide-in-right {
  animation: wagoKmSlideInRight 280ms cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.wago-km-slide-layer.slide-out-right {
  animation: wagoKmSlideOutRight 280ms cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.wago-km-slide-layer.slide-in-left {
  animation: wagoKmSlideInLeft 280ms cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.wago-km-nav:disabled {
  pointer-events: none;
  opacity: 0.55;
}

@keyframes wagoKmSlideOutLeft {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes wagoKmSlideInRight {
  from {
    transform: translate3d(100%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes wagoKmSlideOutRight {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes wagoKmSlideInLeft {
  from {
    transform: translate3d(-100%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wago-km-track.is-animating {
    transition: none !important;
  }

  .wago-km-slide-layer.slide-out-left,
  .wago-km-slide-layer.slide-in-right,
  .wago-km-slide-layer.slide-out-right,
  .wago-km-slide-layer.slide-in-left {
    animation-duration: 1ms;
  }
}

.wago-km-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #cbd5e1;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.wago-km-nav:hover {
  background-color: #007db3;
  color: #ffffff;
  border-color: #007db3;
}

.wago-km-nav.prev {
  left: 16px;
}

.wago-km-nav.next {
  right: 16px;
}

.wago-km-footer {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 12px;
  margin-top: 16px;
}

.wago-km-counter-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.wago-km-counter {
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.wago-km-progress-bar {
  display: flex;
  gap: 6px;
  width: 100%;
  height: 5px;
}

.wago-km-progress-seg {
  flex: 1;
  height: 100%;
  background-color: #e2e8f0;
  border-radius: 3px;
  transition: background-color 0.25s ease;
}

.wago-km-progress-seg.is-active {
  background-color: #007db3;
}

.wago-km-caption {
  height: 116px;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
  margin: 4px 0 0 0;
  padding-right: 4px;
}

@media (max-width: 768px) {
  .knowledge-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .knowledge-thumb {
    width: 80px;
    height: 80px;
  }

  .knowledge-action-col {
    width: 100%;
  }

  .knowledge-modal-open-btn {
    width: 100%;
    justify-content: center;
  }

  .wago-km-backdrop {
    padding: 10px;
  }

  .wago-km-modal {
    height: min(96dvh, 760px);
    max-height: 96dvh;
    border-radius: 10px;
  }

  .wago-km-body {
    padding: 14px;
  }

  .wago-km-stage {
    height: 300px;
    flex-basis: 300px;
  }

  .wago-km-footer {
    gap: 10px;
    margin-top: 12px;
  }

  .wago-km-caption {
    height: 150px;
    font-size: 14px;
    line-height: 1.55;
  }

  .wago-km-nav {
    width: 38px;
    height: 38px;
  }

  .wago-km-nav.prev {
    left: 8px;
  }

  .wago-km-nav.next {
    right: 8px;
  }
}

/* ==========================================================================
   PRODUCT COMPARISON STYLES ("SO SÁNH SẢN PHẨM")
   ========================================================================== */
.compare-link {
  position: relative;
}

.compare-icon-mark {
  display: block;
  width: 24px;
  height: 24px;
  color: currentColor;
  fill: currentColor;
  stroke: none;
}

svg.compare-icon-mark,
.meta-nav svg.compare-icon-mark,
.side-tools svg.compare-icon-mark {
  fill: currentColor;
  stroke: none;
}

.compare-count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 18px;
  background: var(--brand-accent, #007db3);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

.compare-count[hidden] {
  display: none !important;
}

button.detail-compare-link {
  width: 100%;
}

.detail-compare-link.is-added {
  color: #007db3 !important;
  background: #edf7fc !important;
  font-weight: 500 !important;
}

.compare-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999999;
  padding: 14px 22px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: calc(100vw - 48px);
}

.compare-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.compare-page {
  padding-top: 24px;
  padding-bottom: 60px;
}

.compare-page .breadcrumb {
  margin-top: 4px;
  margin-bottom: 24px;
}

.compare-empty-card {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-top: 20px;
}

.compare-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
}

.compare-empty-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px;
}

.compare-empty-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
}

.compare-empty-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #007db3;
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.compare-empty-btn:hover {
  background: #006693;
}

.compare-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 8px;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.compare-main-title {
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-count-tag {
  font-size: 14px;
  font-weight: 500;
  background: #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 12px;
}

.compare-sub-tip {
  margin-top: 4px;
  font-size: 14px;
  color: #64748b;
}

.compare-clear-all-btn {
  padding: 8px 16px;
  background: #f1f5f9;
  color: #ef4444;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.compare-clear-all-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

/* Compare page layout variables */
:root {
  --compare-label-w: 280px;
}

@media (max-width: 1200px) {
  :root {
    --compare-label-w: 240px;
  }
}

@media (max-width: 991px) {
  :root {
    --compare-label-w: 200px;
  }
}

/* Compare page header cards and accordions */
.compare-header-box {
  background: #ffffff;
  border: 1px solid #c4c8ce;
  border-radius: 6px;
  padding: 0;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.compare-cards-grid {
  display: grid;
  grid-template-columns: var(--compare-label-w, 280px) repeat(var(--compare-col-count, 2), minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  width: 100%;
}

.compare-header-spacer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 20px;
  border-right: 1px solid #eef2f6;
  background: #ffffff;
}

.compare-card-column {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 16px 16px 16px;
  min-width: 0;
  overflow: visible;
  height: 100%;
}

.compare-card-column:not(:last-child) {
  border-right: 1px solid #eef2f6;
}

.compare-remove-btn {
  position: absolute;
  top: 2px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: 0;
  background: #f1f5f9;
  color: #94a3b8;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 5;
}

.compare-remove-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: scale(1.05);
}

.compare-thumb-box {
  height: clamp(180px, 20vw, 240px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 6px;
  overflow: hidden;
  position: relative;
}

.compare-thumb-box a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
}

.compare-thumb-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.compare-card-brand {
  font-size: 11px;
  font-weight: 700;
  color: #007db3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.compare-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #1e293b;
  margin: 0 0 8px;
  min-height: calc(1.4em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compare-item-title a {
  color: inherit;
  text-decoration: none;
}

.compare-item-title a:hover {
  color: #007db3;
}

.compare-card-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
  width: 100%;
}

.compare-item-sku {
  font-size: 13px;
  color: #555555;
  line-height: 1.4;
}

.compare-card-action {
  margin-top: auto;
  padding-top: 6px;
}

.compare-text-link {
  font-size: 13px;
  font-weight: 500;
  color: #007db3;
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
  transition: color 0.15s;
}

.compare-text-link:hover {
  text-decoration: underline;
  color: #005f88;
}

/* Accordion spec groups */
.compare-accordions-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-accordion-group {
  background: #ffffff;
  border: 1px solid #c4c8ce;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.compare-accordion-group:not(.is-collapsed) {
  border-color: #a3b8cc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.compare-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 15px 20px;
  background: #ffffff;
  border: 0;
  cursor: pointer;
  text-align: left;
  user-select: none;
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.compare-accordion-btn:hover,
.compare-accordion-btn:focus-visible {
  background: #f8fafc;
  outline: none;
}

.compare-accordion-title {
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #333333;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.compare-accordion-btn:hover .compare-accordion-title,
.compare-accordion-group:not(.is-collapsed) .compare-accordion-title {
  color: #007db3;
}

.compare-accordion-arrow {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  transform: rotate(180deg);
}

.compare-accordion-group:not(.is-collapsed) .compare-accordion-arrow {
  color: #007db3;
}

.compare-accordion-group.is-collapsed .compare-accordion-arrow {
  transform: rotate(0deg);
}

.compare-accordion-group.is-collapsed .compare-accordion-panel {
  display: none;
}

.compare-accordion-panel {
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  overflow-x: auto;
}

.compare-table-scroller {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-specs-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: "Fira Sans", "Mr Eaves XL Mod OT", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
}

.compare-spec-row {
  border-bottom: 1px solid #eef2f6;
}

.compare-spec-row:last-child {
  border-bottom: 0;
}

.compare-spec-row:nth-child(even) {
  background: #f4f6f8;
}

.compare-spec-row:hover {
  background: #f8fafc;
}

.compare-spec-label {
  width: var(--compare-label-w, 280px);
  min-width: var(--compare-label-w, 280px);
  max-width: var(--compare-label-w, 280px);
  padding: 13px 20px;
  color: #555555;
  font-size: 15px;
  font-weight: 400;
  border-right: 1px solid #eef2f6;
  vertical-align: top;
  box-sizing: border-box;
}

.compare-spec-value {
  width: calc((100% - var(--compare-label-w, 280px)) / var(--compare-col-count, 2));
  padding: 13px 20px;
  color: #222222;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  word-break: break-word;
  border-right: 1px solid #eef2f6;
  vertical-align: top;
  box-sizing: border-box;
}

.compare-spec-value:last-child {
  border-right: 0;
}

.compare-no-specs-notice {
  padding: 24px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.compare-empty-spec-msg {
  padding: 16px 20px;
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
}

.compare-prop-val-wrap {
  display: flex;
  align-items: center;
  min-height: 24px;
}

.compare-val-normal {
  font-size: 14px;
  color: #334155;
  font-weight: 400;
  line-height: 1.45;
}

.compare-val-diff {
  font-size: 14px;
  color: #007db3;
  font-weight: 600;
  line-height: 1.45;
  background: rgba(0, 125, 179, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.compare-val-missing {
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  display: inline-block;
  user-select: none;
}

@media (max-width: 991px) {
  .compare-accordions-container {
    gap: 10px;
  }

  .compare-accordion-btn {
    min-height: 52px;
    padding: 13px 16px;
  }

  .compare-accordion-title {
    font-size: 17px;
  }

  .compare-spec-label,
  .compare-spec-value {
    padding: 11px 16px;
    font-size: 14px;
  }

  .compare-val-normal,
  .compare-val-diff,
  .compare-val-missing {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .compare-toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
    text-align: center;
  }

  .compare-cards-grid {
    grid-template-columns: repeat(var(--compare-col-count, 2), minmax(0, 1fr)) !important;
    gap: 0;
  }

  .compare-header-spacer {
    display: none !important;
  }

  .compare-card-column {
    padding: 10px 6px 12px;
    border-right: 1px solid #eef2f6 !important;
    border-bottom: 0;
  }

  .compare-card-column:last-child {
    border-right: 0 !important;
  }

  .compare-remove-btn {
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    font-size: 13px;
  }

  .compare-thumb-box {
    height: clamp(72px, 23vw, 92px);
    margin-bottom: 8px;
    padding: 3px;
  }

  .compare-card-brand {
    font-size: 9px;
    line-height: 1.2;
    margin-bottom: 3px;
  }

  .compare-item-title {
    min-height: calc(1.25em * 3);
    margin-bottom: 6px;
    font-size: 10.5px;
    line-height: 1.25;
  }

  .compare-card-divider {
    margin: 6px 0;
  }

  .compare-item-sku,
  .compare-text-link {
    font-size: 10.5px;
    line-height: 1.25;
  }

  .compare-card-action {
    padding-top: 3px;
  }

  .compare-table-scroller {
    overflow-x: hidden;
  }

  .compare-specs-table {
    min-width: 0;
    table-layout: fixed;
  }

  .compare-spec-label {
    width: 34%;
    min-width: 0;
    padding: 8px 6px;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .compare-spec-value {
    width: calc(66% / var(--compare-col-count, 2));
    min-width: 0;
    padding: 8px 6px;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .compare-prop-val-wrap {
    min-height: 18px;
  }

  .compare-val-normal,
  .compare-val-diff,
  .compare-val-missing {
    font-size: 11px;
    line-height: 1.35;
  }

  .compare-val-diff {
    padding: 1px 4px;
  }

  .compare-top-bar {
    margin-top: 12px;
    margin-bottom: 16px;
  }
}

/* Product flow pages share one content width from header to footer. */
body:is(
  [data-page$="Catalogue"],
  [data-page="products"],
  [data-page="newItems"],
  [data-page="giraCatalogue"],
  [data-page="wagoCatalogue"],
  [data-page="giraQuote"],
  [data-page="compareProducts"],
  [data-page^="detail-"]
) {
  --product-page-side: clamp(28px, 4vw, 72px);
}

@media (max-width: 480px) {
  body:is(
    [data-page$="Catalogue"],
    [data-page="products"],
    [data-page="newItems"],
    [data-page="giraCatalogue"],
    [data-page="wagoCatalogue"],
    [data-page="giraQuote"],
    [data-page="compareProducts"]
  ) {
    --product-page-side: 16px;
  }
}

body:is(
  [data-page$="Catalogue"],
  [data-page="products"],
  [data-page="newItems"],
  [data-page="giraCatalogue"],
  [data-page="wagoCatalogue"],
  [data-page="giraQuote"],
  [data-page="compareProducts"],
  [data-page^="detail-"]
) .site-header .header-grid,
body:is(
  [data-page$="Catalogue"],
  [data-page="products"],
  [data-page="newItems"],
  [data-page="giraCatalogue"],
  [data-page="wagoCatalogue"],
  [data-page="giraQuote"],
  [data-page="compareProducts"],
  [data-page^="detail-"]
) .site-footer .container,
body:is(
  [data-page$="Catalogue"],
  [data-page="products"],
  [data-page="newItems"],
  [data-page="giraCatalogue"],
  [data-page="wagoCatalogue"],
  [data-page="giraQuote"],
  [data-page="compareProducts"]
) #page-main .container,
body[data-page^="detail-"] .detail-product > .container {
  width: min(100% - (var(--product-page-side) * 2), var(--max));
}

/* Shared responsive guard for product listing cards and detail tabs. */
@media (min-width: 992px) and (max-width: 1500px) {
  .gira-group-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 992px) and (max-width: 1120px) {
  .gira-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .gira-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

/* Products & New Items listing grid: 4 columns on desktop */
@media (min-width: 992px) {
  body:is([data-page="products"], [data-page="newItems"]) .gira-group-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  body:is([data-page="products"], [data-page="newItems"]) .gira-group-card,
  body:is([data-page="products"], [data-page="newItems"]) .gira-card-main,
  body:is([data-page="products"], [data-page="newItems"]) .gira-card-body,
  body:is([data-page="products"], [data-page="newItems"]) .gira-card-actions {
    min-width: 0;
  }
}

@media (min-width: 641px) and (max-width: 991px) {
  body:is([data-page="products"], [data-page="newItems"]) .gira-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 640px) {
  body:is([data-page="products"], [data-page="newItems"]) .gira-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .gira-group-card {
    min-height: 0;
  }

  .gira-card-body {
    padding: 10px 10px 0;
    min-height: 108px;
  }

  .gira-card-title {
    font-size: 13px;
    line-height: 1.35;
    min-height: calc(1em * 1.35 * 3);
    max-height: calc(1em * 1.35 * 3);
  }

  .gira-card-sku {
    font-size: 12px;
    margin-top: 8px;
    padding: 6px 0 7px;
  }

  .gira-card-actions {
    padding: 10px 8px 10px;
  }

  .gira-card-actions > a,
  .gira-card-actions > button {
    font-size: 12px;
    min-height: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gira-card-tools {
    gap: 12px;
    min-height: 28px;
    padding-top: 4px;
  }
}

@media (max-width: 991px) {
  .brand-catalogue-layout,
  .gira-catalogue-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 992px) {
  .brand-catalogue-layout,
  .gira-catalogue-layout {
    width: min(100% - (var(--product-page-side) * 2), var(--max));
  }

  body[data-page="wagoCatalogue"] .gira-group-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  body[data-page="wagoCatalogue"] .gira-group-card,
  body[data-page="wagoCatalogue"] .gira-card-main,
  body[data-page="wagoCatalogue"] .gira-card-body,
  body[data-page="wagoCatalogue"] .gira-card-actions {
    min-width: 0;
  }
}

@media (min-width: 992px) and (max-width: 1279px) {
  body[data-page="wagoCatalogue"] .gira-group-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 992px) and (max-width: 1120px) {
  body[data-page="wagoCatalogue"] .gira-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.gira-card-actions > a,
.gira-card-actions > button {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 761px) {
  .gira-card-actions > a,
  .gira-card-actions > button {
    font-size: 14px;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (min-width: 992px) {
  .detail-product > .container {
    width: min(100% - (var(--product-page-side) * 2), var(--max));
  }

  .detail-product-title {
    max-width: none;
  }

  .detail-tabs-section > .container {
    --detail-shop-gap: clamp(28px, 3.5vw, 44px);
    --detail-shop-aside: 330px;
    width: calc(min(100% - (var(--product-page-side) * 2), var(--max)) - var(--detail-shop-aside) - var(--detail-shop-gap));
    margin-inline-start: max(var(--product-page-side), calc((100% - var(--max)) / 2));
    margin-inline-end: auto;
  }

  .detail-tab-list {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .detail-tab-list button {
    flex: 1 0 auto;
    min-width: 112px;
    min-width: max-content;
    padding-inline: clamp(14px, 1.1vw, 22px);
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .detail-product-title {
    width: 100%;
    max-width: none;
  }

  .detail-product-shop {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-tabs-section > .container {
    width: min(100% - (var(--product-page-side) * 2), var(--max));
    margin-inline: auto;
  }
}

/* Keep WAGO knowledge popup complete on short laptop/mobile viewports. */
.wago-km-modal {
  height: min(94dvh, 720px);
  max-height: 94dvh;
}

.wago-km-body {
  min-height: 0;
}

.wago-km-stage {
  flex: 1 1 auto;
  height: auto;
  min-height: 180px;
  max-height: 380px;
}

.wago-km-footer {
  flex: 0 0 auto;
  min-height: 0;
}

.wago-km-caption {
  flex: 0 0 auto;
  height: clamp(76px, 16dvh, 116px);
}

@media (max-width: 768px) {
  .wago-km-modal {
    height: min(96dvh, 760px);
    max-height: 96dvh;
  }

  .wago-km-stage {
    flex: 1 1 auto;
    height: auto;
    min-height: 170px;
    max-height: 300px;
  }

  .wago-km-caption {
    height: clamp(92px, 20dvh, 150px);
  }
}

@media (max-height: 620px) {
  .wago-km-backdrop {
    align-items: stretch;
    padding-block: 10px;
  }

  .wago-km-modal {
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
  }

  .wago-km-header {
    padding-block: 10px;
  }

  .wago-km-body {
    padding-block: 12px;
  }

  .wago-km-stage {
    min-height: 150px;
  }

  .wago-km-footer {
    gap: 8px;
    margin-top: 10px;
  }

  .wago-km-caption {
    height: clamp(64px, 17dvh, 94px);
    line-height: 1.5;
  }
}

/* ----- Lĩnh vực phân phối: đẩy link "Xem thêm" xuống đáy card ----- */
.field-card > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.field-card > div:last-child p {
  min-height: 0;
  margin-bottom: 22px;
}

.field-card > div:last-child a {
  margin-top: auto;
}

/* ----- Trang giải pháp theo chuyên mục ----- */
.solution-article-section {
  padding-top: clamp(40px, 4vw, 72px);
}

.solution-article-grid .solution-article-card {
  display: flex;
  flex-direction: column;
}

.solution-article-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.solution-article-card h3 {
  font-size: clamp(20px, 1.35vw, 24px);
  line-height: 1.25;
}

.solution-article-card p {
  min-height: 0;
  margin-bottom: 22px;
}

.solution-article-card a {
  margin-top: auto;
}

.solution-article {
  padding: clamp(36px, 4vw, 64px) 0 clamp(12px, 2vw, 28px);
  background: var(--white);
}

.solution-article-shell > * {
  max-width: 900px;
}

.solution-article-lead {
  margin: 0 0 clamp(24px, 2.4vw, 36px);
  color: var(--text);
  font-size: clamp(19px, 1.25vw, 23px);
  font-weight: 300;
  line-height: 1.5;
}

.solution-article-figure {
  margin: 0 0 clamp(28px, 3vw, 44px);
  overflow: hidden;
}

.solution-article-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.solution-article-body p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.solution-article-body h3 {
  margin: clamp(30px, 3vw, 44px) 0 14px;
  color: var(--text);
  font-size: clamp(20px, 1.3vw, 24px);
  font-weight: 500;
  line-height: 1.3;
}

.solution-article-body h3:first-child {
  margin-top: 0;
}

.solution-article-body ul {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--copy-line);
}

.solution-article-body li {
  margin-bottom: 8px;
}

.solution-article-back {
  display: inline-flex;
  margin-top: clamp(24px, 2.6vw, 40px);
}

@media (max-width: 900px) {
  .solution-article-shell > * {
    max-width: none;
  }
}

/* === Bài viết: block ảnh & trích dẫn === */
.solution-article-figure {
  margin: clamp(24px, 2.5vw, 36px) 0;
  width: 100%;
}

.solution-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.solution-article-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
  line-height: 1.4;
}

.solution-article-quote {
  margin: clamp(24px, 2.5vw, 36px) 0;
  padding: 18px 24px;
  border-left: 4px solid var(--accent, #007db3);
  background: var(--bg-soft, #f8f9fa);
  border-radius: 0 4px 4px 0;
}

.solution-article-quote p {
  margin: 0;
  font-size: clamp(16px, 1.1vw, 18px);
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.solution-article-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

