/* assets/css/office-context.css */
.konic-mode-switch {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 28px);
  padding: 5px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(20, 20, 20, .9);
  box-shadow: 0 16px 50px rgba(0,0,0,.3);
  backdrop-filter: blur(18px) saturate(1.1);
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-geist-sans), Inter, ui-sans-serif, sans-serif;
}

.konic-mode-switch a {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.konic-mode-switch a:hover { color: #fff; }
.konic-mode-switch a:active { transform: scale(.97); }
.konic-mode-switch a.is-active { color: #fff; background: #df181d; box-shadow: 0 7px 18px rgba(223,24,29,.28); }
.konic-mode-switch .konic-mode-all { color: #fff; padding-left: 12px; }
[data-konic-hidden="true"] { display: none !important; }

:root { --content-max: 1440px; }
html { scrollbar-gutter: stable; }
html { scrollbar-width: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; }

/* The bundled Office header starts with its legacy category links. Keep only
   that centre group hidden until the context layer has placed the final nav,
   so cross-site switching never exposes a moving intermediate text layout. */
html:not([data-konic-context="office"]) .site-header .desktop-nav {
  visibility: hidden !important;
}

.konic-arrow-glyph {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 600 !important;
  -webkit-text-stroke: .08px currentColor !important;
}

.arrow::before { height: 1.35px !important; }
.arrow::after { border-top-width: 1.35px !important; border-right-width: 1.35px !important; }

.site-header .desktop-nav .nav-item {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: normal !important;
}

.site-header .desktop-nav .nav-item[data-konic-primary-role="products"] {
  display: inline-flex !important;
  align-items: center !important;
  padding: 1px 6px !important;
}

.site-header .desktop-nav .nav-item[data-konic-primary-role="products"]::after {
  content: "+";
  display: block;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin-left: 7px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: currentColor;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}

.site-header .desktop-nav .konic-primary-link {
  height: 72px;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: normal !important;
}

.site-header .desktop-nav .konic-primary-link:hover {
  color: #e3062d;
}

.site-header .konic-site-route,
.site-header .konic-route-copy {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header .header-actions > .icon-button {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header .social-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
}

.site-header .social-link {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 5px 15px rgba(27, 23, 20, .12);
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), filter .2s;
}

.site-header .social-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.site-header .social-link.fb { background: #3478d4; font: 900 17px Arial, sans-serif; }
.site-header .social-link.ig { background: linear-gradient(140deg, #7137b6 0%, #d71568 48%, #f06b31 100%); }
.site-header .ig-camera { position: relative; width: 15px; height: 15px; border: 1.6px solid #fff; border-radius: 4.5px; }
.site-header .ig-camera::before { content: ""; position: absolute; inset: 3px; border: 1.4px solid #fff; border-radius: 50%; }
.site-header .ig-camera::after { content: ""; position: absolute; right: 1.6px; top: 1.6px; width: 2px; height: 2px; border-radius: 50%; background: #fff; }
.site-header .social-link.yt { background: #ef3f33; }
.site-header .yt-play { position: relative; width: 16px; height: 11px; border-radius: 3px; background: #fff; }
.site-header .yt-play::after { content: ""; position: absolute; left: 6px; top: 3px; border-left: 5px solid #ef3f33; border-top: 2.5px solid transparent; border-bottom: 2.5px solid transparent; }

.site-header .header-actions > .icon-button .search-icon {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  transform: translate(-1.5px, -1px);
}

.site-header .header-actions > .icon-button .search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -2px;
  width: 6px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

@media (min-width: 961px) {
  .hero-content h1,
  .x-route-active .x-hero h1,
  .x-route-active .x-support-hero h1,
  .x-route-active .x-company-hero h1 {
    white-space: nowrap;
  }

  .site-header,
  #root main,
  #root footer,
  .extended-main {
    width: min(1440px, calc(100% - 64px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .site-header {
    width: min(1440px, calc(100vw - 64px)) !important;
    margin-left: max(32px, calc((100vw - 1440px) / 2)) !important;
    margin-right: 0 !important;
    grid-template-columns: 185px minmax(0, 1fr) 326px !important;
    gap: 36px !important;
  }

  .site-header .konic-brand-link {
    width: 185px !important;
  }

  .site-header .desktop-nav {
    justify-content: flex-start !important;
    gap: 30px !important;
  }

  .site-header .konic-brand-link > img {
    width: 136px !important;
  }

  .site-header .konic-site-label {
    left: 138px !important;
    bottom: 8px !important;
  }

  .site-header .header-actions {
    width: 326px !important;
    height: 44px;
    padding: 0 !important;
    gap: 8px !important;
    justify-self: end;
    justify-content: flex-start !important;
    transform: none !important;
  }

  .site-header .x-header-socials {
    flex: 0 0 99px;
    width: 99px;
    gap: 6px !important;
    margin: 0 !important;
  }

  .site-header .x-header-socials a {
    width: 29px !important;
    height: 29px !important;
    flex: 0 0 29px;
  }

  .site-header .header-actions > .icon-button {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px;
  }

  .site-header .konic-site-route {
    width: 171px !important;
    min-width: 171px !important;
    max-width: 171px !important;
    height: 44px;
    min-height: 44px;
    flex: 0 0 171px;
    box-sizing: border-box;
  }

  .site-header .mega-menu {
    position: fixed !important;
    top: 74px !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-height: 206px !important;
    padding: 24px 28px !important;
    grid-template-columns: .72fr 1.95fr .72fr !important;
    border-radius: 18px !important;
    transform: none !important;
  }

  .site-header .desktop-nav .nav-item[data-konic-primary-role="products"]::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 100%;
    left: 0;
    right: 0;
    height: 4px;
  }

  .site-header .desktop-nav .nav-item[data-konic-primary-role="products"] {
    height: 72px;
    display: flex;
    align-items: center;
  }

  .site-header .mega-menu .mega-links {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .site-header .mega-menu .mega-links a {
    min-height: 92px;
    padding: 9px 10px 9px 14px;
    border: 1px solid rgba(17, 16, 15, .07);
    border-radius: 12px;
  }

  .site-header .mega-menu .mega-links .office-mega-category-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    align-items: center;
    gap: 6px;
    overflow: hidden;
  }

  .office-mega-category-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .office-mega-category-copy strong { font-size: 14px; font-weight: 620; }
  .office-mega-category-copy i { font-style: normal; font-size: 13px; }
  .office-mega-category-card picture { width: 84px; height: 72px; display: grid; place-items: center; }
  .office-mega-category-card img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.08); }
}

/* Product, news, retailer, support and company route heroes share one compact rhythm. */
.x-route-active .x-hero,
.x-route-active .x-support-hero,
.x-route-active .x-company-hero {
  min-height: 400px !important;
  height: 400px;
}

.x-route-active .x-hero > *,
.x-route-active .x-support-hero > *,
.x-route-active .x-company-hero > * {
  min-height: 400px !important;
  height: 400px;
}

.x-route-active .x-hero h1,
.x-route-active .x-support-hero h1,
.x-route-active .x-company-hero h1 {
  text-wrap: balance;
}

.category-band.konic-office-categories {
  --office-card-width: 238px;
  --office-product-gap: 10px;
  --office-marquee-duration: 430s;
  grid-template-columns: minmax(290px, 300px) minmax(0, 1fr);
  grid-auto-rows: 142px;
  gap: 10px;
  align-items: stretch;
  min-height: 142px;
  height: 142px;
  overflow: hidden;
}

.category-band.konic-office-categories > * {
  min-width: 0;
  height: 142px;
}

.category-band.konic-office-categories .office-workspace-intro {
  position: relative;
  grid-template-columns: 1fr;
  align-content: start;
  padding: 17px 20px 14px;
  overflow: hidden;
  cursor: pointer;
}

.category-band.konic-office-categories .office-workspace-intro:focus-visible {
  outline: 2px solid rgba(223, 24, 29, .42);
  outline-offset: -2px;
}

.office-workspace-intro > div:first-child {
  display: contents;
}

.office-workspace-intro h2 {
  position: relative;
  z-index: 2;
  max-width: 225px;
  font-size: clamp(23px, 1.55vw, 27px);
  line-height: .92;
  letter-spacing: -.045em;
}

.office-workspace-intro p {
  display: none;
}

.office-workspace-intro button {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: auto;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: max-content;
  font-size: 10px;
}

.office-workspace-intro .room-sketch {
  position: absolute;
  z-index: 1;
  right: 4px;
  bottom: 2px;
  width: 124px;
  height: 65px;
  opacity: .46;
  pointer-events: none;
}

.office-sketch-svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #989389;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.office-product-viewport {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 142px;
  overflow: hidden;
  border-radius: 14px;
}

.office-product-track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: office-products-marquee var(--office-marquee-duration) linear 0s infinite;
}

.office-product-viewport:hover .office-product-track,
.office-product-viewport:focus-within .office-product-track {
  animation-play-state: paused;
}

.office-product-group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--office-product-gap);
  height: 100%;
  padding-right: var(--office-product-gap);
}

@keyframes office-products-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.category-band.konic-office-categories .office-product-card {
  position: relative;
  display: grid !important;
  flex: 0 0 var(--office-card-width);
  grid-template-columns: minmax(92px, .82fr) minmax(116px, 1.18fr);
  grid-template-rows: 1fr;
  align-items: stretch;
  width: var(--office-card-width);
  min-width: 0;
  height: 142px;
  padding: 0;
  border: 1px solid rgba(24, 22, 20, .08);
  border-radius: 14px;
  background: #f1eee7;
  color: #181614;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s ease, border-color .28s ease;
}

.category-band.konic-office-categories .office-product-card:hover,
.category-band.konic-office-categories .office-product-card:focus-visible {
  z-index: 4;
  transform: translateZ(0) scale(1);
  border-color: rgba(24, 22, 20, .08);
  box-shadow: none;
}

.category-band.konic-office-categories .office-product-card:focus-visible {
  outline: 2px solid rgba(223, 24, 29, .48);
  outline-offset: 2px;
}

.office-product-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 14px 1px 19px 12px;
}

.office-product-copy strong {
  display: block;
  max-height: 2.15em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.office-product-copy small {
  display: block;
  max-height: 2.56em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: 6px;
  font-size: 8px;
  line-height: 1.28;
  color: rgba(24, 22, 20, .60);
}

.office-product-media {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 3px 1px 3px 0;
  overflow: visible;
}

.office-product-media::before {
  content: "";
  position: absolute;
  inset: 16% 3% 13% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.92), rgba(255,255,255,0) 70%);
}

.office-product-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.15);
  transform-origin: center;
  transition: transform .30s cubic-bezier(.16, 1, .3, 1);
}

.category-band.konic-office-categories .office-product-card:hover .office-product-media img,
.category-band.konic-office-categories .office-product-card:focus-visible .office-product-media img {
  transform: scale(1.20);
}

.office-product-arrow {
  display: none !important;
}

@media (max-width: 860px) {
  .konic-mode-switch { bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100vw - 20px); }
  .konic-mode-switch a { flex: 1; padding: 0 8px; }
  .category-band.konic-office-categories {
    grid-template-columns: 220px minmax(760px, 1fr);
    grid-auto-rows: 132px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .category-band.konic-office-categories > * {
    height: 132px;
    scroll-snap-align: start;
  }
  .category-band.konic-office-categories .category-intro { grid-column: auto; }
  .office-product-viewport,
  .category-band.konic-office-categories .office-product-card { height: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  .konic-mode-switch a { transition: none; }
  .office-product-track { animation: none !important; }
}
html[data-konic-menu-dismissed="true"] .mega-menu {
  display: none !important;
}

/* V16 — Office catalog now follows the Home catalog hierarchy:
   one 260px theme banner, then a persistent category rail, then products. */
body.x-route-active {
  overflow-x: clip;
}

.x-route-active .site-shell {
  overflow: visible;
}

.x-route-active .is-office-catalog .x-office-catalog-hero {
  position: relative;
  display: block;
  width: 100%;
  height: 260px !important;
  min-height: 260px !important;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-section);
  background: #e8e3db;
}

.x-route-active .is-office-catalog .x-office-catalog-hero > * {
  height: auto !important;
  min-height: 0 !important;
}

.x-route-active .is-office-catalog .x-office-catalog-hero .x-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  border-radius: 0;
  background: #e8e3db;
}

.x-route-active .is-office-catalog .x-office-catalog-hero .x-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.x-route-active .is-office-catalog .x-office-catalog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.x-route-active .is-office-catalog .x-office-catalog-hero.is-light-copy::after {
  background: linear-gradient(90deg, rgba(14, 13, 12, .90) 0%, rgba(14, 13, 12, .65) 31%, rgba(14, 13, 12, .16) 57%, rgba(14, 13, 12, 0) 78%);
}

.x-route-active .is-office-catalog .x-office-catalog-hero.is-dark-copy::after {
  background: linear-gradient(90deg, rgba(248, 245, 240, .94) 0%, rgba(248, 245, 240, .76) 31%, rgba(248, 245, 240, .20) 58%, rgba(248, 245, 240, 0) 78%);
}

.x-route-active .is-office-catalog .x-office-catalog-hero .x-hero-copy {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  width: min(50%, 670px);
  min-height: 0 !important;
  padding: clamp(28px, 3.2vw, 50px);
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.x-route-active .is-office-catalog .x-office-catalog-hero .x-hero-copy::after {
  display: none;
}

.x-route-active .is-office-catalog .x-office-catalog-hero .x-hero-copy h1 {
  width: 100%;
  max-width: 600px;
  font-size: clamp(40px, 4.25vw, 66px);
  line-height: .94;
  text-wrap: balance;
}

.x-route-active .is-office-catalog .x-office-catalog-hero.is-light-copy .x-hero-copy {
  color: #fff;
}

.x-route-active .is-office-catalog .x-office-catalog-hero.is-dark-copy .x-hero-copy {
  color: #181614;
}

.x-route-active .is-office-catalog .x-category-switcher {
  position: sticky;
  top: 0;
  z-index: 92;
  min-height: 58px;
  margin: 28px 0;
  padding: 8px;
  border: 1px solid rgba(24, 22, 20, .07);
  border-radius: 14px;
  background: rgba(241, 238, 231, .94);
  box-shadow: 0 7px 22px rgba(27, 23, 19, .035);
  backdrop-filter: blur(18px) saturate(1.08);
}

.x-route-active .is-office-catalog .x-category-switcher button {
  min-height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  color: #5f5b56;
}

.x-route-active .is-office-catalog .x-category-switcher button:hover {
  background: rgba(255, 255, 255, .78);
  color: var(--red);
}

.x-route-active .is-office-catalog .x-category-switcher button.is-active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 7px 18px rgba(223, 24, 29, .15);
}

.x-route-active .is-office-catalog .x-catalog-layout {
  margin-top: 0;
}

.x-route-active .is-office-catalog .x-filter-panel {
  top: 76px;
}

/* Transparent product photography keeps the four Office homepage entrances
   visually equal even though the silhouettes are very different. */
.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-image-wrap {
  padding: 7px 18px 1px;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 15px 20px rgba(37, 31, 26, .14));
}

.hero-grid .mount-grid .product-card[data-konic-category-entry="cleaning"] .product-image-wrap img {
  transform: scale(1.03);
}

.hero-grid .mount-grid .product-card[data-konic-category-entry="accessories"] .product-image-wrap img {
  transform: scale(1.06);
}

.hero-grid .mount-grid .product-card[data-konic-category-entry="gaming"] .product-image-wrap img {
  transform: scale(1.05);
}

.hero-grid .mount-grid .product-card[data-konic-category-entry]:hover .product-image-wrap img {
  transform: translateY(-2px) scale(1.075);
}

@media (max-width: 960px) {
  .x-route-active .is-office-catalog .x-category-switcher {
    top: 65px;
  }

  .x-route-active .is-office-catalog .x-filter-panel {
    top: auto;
  }
}

/* Keep the V18 art direction last in the cascade. */
@media (min-width: 961px) {
  .site-header .mega-menu {
    top: 74px !important;
    height: 146px !important;
    min-height: 146px !important;
    padding: 12px 18px !important;
    grid-template-columns: minmax(210px, .74fr) minmax(620px, 1.95fr) minmax(250px, .76fr) !important;
    gap: 20px !important;
    align-items: center !important;
  }

  .site-header .mega-menu .mega-links {
    height: 88px !important;
    min-height: 88px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .site-header .mega-menu .mega-links .office-mega-category-card {
    height: 82px !important;
    min-height: 82px !important;
    padding: 8px 8px 8px 12px !important;
    grid-template-columns: minmax(0, 1fr) 66px !important;
  }

  .site-header .mega-menu .mega-feature {
    height: 88px !important;
    min-height: 88px !important;
    padding: 13px 16px !important;
  }
}

.hero-grid .mount-grid .product-card[data-konic-category-entry="monitors"] {
  --entry-scale: .77;
  --entry-hover-scale: .80;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="cleaning"] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="accessories"] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="gaming"] .product-image-wrap img {
  filter: contrast(.98) drop-shadow(0 13px 18px rgba(37, 31, 26, .14)) !important;
}

/* V18 — one navigation language and one spacing system for every Office route. */
:root {
  --konic-gap-large: 40px;
  --konic-gap-medium: 20px;
  --konic-gap-small: 10px;
}

.site-header .desktop-nav .nav-item,
.site-header .desktop-nav .konic-primary-link {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.site-header .desktop-nav .nav-item::after,
.site-header .desktop-nav .konic-primary-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 13px;
  height: 2px;
  background: var(--red);
  transition: left .22s cubic-bezier(.16, 1, .3, 1), right .22s cubic-bezier(.16, 1, .3, 1);
}

.site-header .desktop-nav .nav-item:hover::after,
.site-header .desktop-nav .nav-item.is-open::after,
.site-header .desktop-nav .nav-item.is-current::after,
.site-header .desktop-nav .konic-primary-link:hover::after,
.site-header .desktop-nav .konic-primary-link.is-current::after {
  left: 0;
  right: 0;
}

.site-header .desktop-nav .nav-item.is-current,
.site-header .desktop-nav .konic-primary-link.is-current {
  color: var(--red);
}

@media (min-width: 961px) {
  .site-header .mega-menu {
    top: 74px !important;
    height: 146px !important;
    min-height: 146px !important;
    padding: 12px 18px !important;
    grid-template-columns: minmax(210px, .74fr) minmax(620px, 1.95fr) minmax(250px, .76fr) !important;
    gap: 20px !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  .site-header .mega-menu::before,
  .site-header .mega-menu::after {
    display: none !important;
  }

  .site-header .mega-menu > * {
    min-width: 0;
    align-self: center !important;
  }

  .site-header .mega-menu h2 {
    max-width: 215px;
    margin: 0 !important;
    font-size: clamp(29px, 2.25vw, 36px) !important;
    line-height: .98 !important;
  }

  .site-header .mega-menu .mega-kicker {
    margin: 0 0 6px !important;
  }

  .site-header .mega-menu .mega-links {
    height: 88px;
    min-height: 88px;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-content: center !important;
    align-items: stretch !important;
  }

  .site-header .mega-menu .mega-links .office-mega-category-card {
    width: 100%;
    height: 82px !important;
    min-height: 82px !important;
    padding: 8px 8px 8px 12px !important;
    grid-template-columns: minmax(0, 1fr) 66px !important;
    align-items: center !important;
    border: 1px solid rgba(17, 16, 15, .08) !important;
    border-radius: 12px !important;
  }

  .site-header .mega-menu .mega-links .office-mega-category-card picture {
    width: 66px !important;
    height: 58px !important;
    display: grid;
    place-items: center;
  }

  .site-header .mega-menu .mega-links .office-mega-category-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(.88) !important;
    filter: contrast(.98) drop-shadow(0 7px 10px rgba(24, 20, 18, .12)) !important;
  }

  .site-header .mega-menu .mega-feature {
    width: 100%;
    height: 88px !important;
    min-height: 88px !important;
    padding: 13px 16px !important;
    justify-content: center;
  }

  .site-header .mega-menu .mega-feature strong {
    margin: 5px 0 0 !important;
    font-size: 17px !important;
  }

  .site-header .mega-menu .mega-feature .arrow {
    position: absolute;
    right: 16px;
    bottom: 15px;
    width: 14px;
    height: 10px;
    margin: 0 !important;
    color: var(--red);
  }
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] {
  --entry-scale: .82;
  --entry-hover-scale: .85;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry="monitors"] {
  --entry-scale: .77;
  --entry-hover-scale: .80;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="cleaning"] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="accessories"] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="gaming"] .product-image-wrap img {
  filter: contrast(.98) drop-shadow(0 13px 18px rgba(37, 31, 26, .14)) !important;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-card-copy {
  min-height: 72px;
  padding: 10px 40px 10px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-card-copy > span:first-child {
  display: none !important;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-card-copy strong {
  margin: 0;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-card-copy p {
  margin: 3px 0 0;
}

.finder-strip .button,
.finder-strip button,
.hero-panel .hero-buttons .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  line-height: 1 !important;
}

.finder-strip .button .arrow,
.finder-strip button .arrow,
.hero-panel .hero-buttons .button .arrow {
  align-self: center !important;
  margin: 0 !important;
  transform: none !important;
}

.x-route-active .extended-main {
  --space-1: var(--konic-gap-small);
  --space-2: var(--konic-gap-medium);
  --section-gap: var(--konic-gap-large);
}

.x-route-active .x-page-enter > .x-section,
.x-route-active .x-page-enter > .x-category-switcher,
.x-route-active .x-page-enter > .x-catalog-layout,
.x-route-active .x-page-enter > .x-form-shell,
.x-route-active .x-page-enter > .x-article-body,
.x-route-active .x-page-enter > .x-search-page,
.x-route-active .x-page-enter > .x-empty {
  margin-top: 40px !important;
}

.x-route-active .x-page-enter > :first-child {
  margin-top: 0 !important;
}

.x-route-active .x-category-switcher + .x-catalog-layout,
.x-route-active .x-retailer-filter + .x-store-grid,
.x-route-active .x-section-head + .x-search-tools,
.x-route-active .x-search-tools + .x-download-groups {
  margin-top: 20px !important;
}

.x-route-active .x-category-switcher {
  margin-bottom: 0 !important;
}

.x-route-active .x-support-hero,
.x-route-active .x-company-hero,
.x-route-active .x-hero:not(.x-product-detail) {
  gap: 10px !important;
}

.x-route-active .x-support-hero article > p:not(.x-eyebrow),
.x-route-active .x-company-hero article > p:not(.x-eyebrow),
.x-route-active .x-hero:not(.x-product-detail) .x-hero-copy > p:not(.x-eyebrow) {
  display: none !important;
}

.x-route-active .x-support-links,
.x-route-active .x-store-grid {
  gap: 10px !important;
  grid-auto-rows: 1fr;
}

.x-route-active .x-news-grid,
.x-route-active .x-help-split,
.x-route-active .x-about-grid,
.x-route-active .x-form-shell,
.x-route-active .x-article-body,
.x-route-active .x-catalog-layout,
.x-route-active .x-product-grid,
.x-route-active .x-guide-grid,
.x-route-active .x-search-results {
  gap: 20px !important;
  align-items: stretch !important;
}

.x-route-active :is(.x-support-link,.x-store-card,.x-news-card,.x-help-card,.x-about-copy,.x-form-aside,.x-form-panel,.x-product-card,.x-guide-card) {
  height: 100%;
}

.x-route-active .x-form-shell {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

.x-route-active .x-form-shell > * {
  min-height: 100%;
}

.x-route-active .x-news-grid .x-news-card:nth-last-child(2) {
  grid-column: span 2;
}

.x-route-active .x-news-grid .x-news-card:last-child {
  grid-column: span 2;
}

.x-route-active .x-news-grid .x-news-card {
  min-height: 340px;
}

@media (max-width: 960px) {
  .x-route-active .x-form-shell {
    grid-template-columns: 1fr !important;
  }

  .x-route-active .x-news-grid .x-news-card:nth-last-child(2),
  .x-route-active .x-news-grid .x-news-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .x-route-active .is-office-catalog .x-office-catalog-hero,
  .x-route-active .is-office-catalog .x-office-catalog-hero .x-hero-media {
    height: 260px !important;
    min-height: 260px !important;
  }

  .x-route-active .is-office-catalog .x-office-catalog-hero .x-hero-copy {
    width: 72%;
    min-height: 0 !important;
    padding: 28px 22px;
  }

  .x-route-active .is-office-catalog .x-office-catalog-hero .x-hero-copy h1 {
    font-size: clamp(37px, 11.4vw, 48px);
  }

  .x-route-active .is-office-catalog .x-category-switcher {
    margin: 18px 0;
  }

  .x-route-active .is-office-catalog .x-category-switcher button {
    padding: 0 14px;
  }
}

/* V17 — compact menu, unified tertiary heroes and a consistent product-card art direction. */
.site-header .desktop-nav {
  gap: 30px !important;
  column-gap: 30px !important;
}

@media (min-width: 961px) {
  .site-header .mega-menu {
    top: 72px !important;
    height: 174px !important;
    min-height: 174px !important;
    padding: 14px 20px !important;
    grid-template-columns: minmax(220px, .7fr) minmax(620px, 1.95fr) minmax(250px, .72fr) !important;
    align-items: center !important;
    gap: 18px !important;
    border-radius: 16px !important;
    background: rgba(248, 245, 240, .995) !important;
    overflow: hidden !important;
    box-shadow: 0 22px 56px rgba(38, 29, 18, .2) !important;
  }

  .site-header .mega-menu .mega-kicker {
    margin-bottom: 7px;
  }

  .site-header .mega-menu h2 {
    max-width: 230px;
    font-size: clamp(30px, 2.35vw, 38px) !important;
    line-height: .96 !important;
  }

  .site-header .mega-menu .mega-links {
    align-content: center !important;
  }

  .site-header .mega-menu .mega-links a,
  .site-header .mega-menu .mega-links .office-mega-category-card {
    min-height: 78px !important;
    height: 78px !important;
    padding: 7px 9px 7px 13px !important;
    grid-template-columns: minmax(0, 1fr) 68px !important;
    transition: transform .22s cubic-bezier(.16, 1, .3, 1), border-color .18s ease, background .18s ease !important;
  }

  .site-header .mega-menu .mega-links .office-mega-category-card:hover,
  .site-header .mega-menu .mega-links .office-mega-category-card:focus-visible {
    transform: scale(1.018);
    padding-left: 13px !important;
    background: rgba(255, 255, 255, .62);
    border-color: rgba(17, 16, 15, .12);
  }

  .office-mega-category-copy {
    gap: 5px;
  }

  .office-mega-category-copy strong {
    white-space: nowrap;
    font-size: 13px !important;
  }

  .office-mega-category-copy i {
    font-size: 0 !important;
    width: 13px;
    height: 9px;
    position: relative;
    flex: 0 0 13px;
  }

  .office-mega-category-copy i::before {
    content: "";
    position: absolute;
    left: 1px;
    right: 2px;
    top: 4px;
    height: 1px;
    background: currentColor;
  }

  .office-mega-category-copy i::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 1px;
    width: 5px;
    height: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
  }

  .office-mega-category-card picture {
    width: 68px !important;
    height: 58px !important;
  }

  .office-mega-category-card img {
    transform: scale(.9) !important;
    filter: grayscale(1) contrast(.96);
  }

  .site-header .mega-menu .mega-feature {
    min-height: 112px !important;
    height: 112px !important;
    padding: 15px 18px !important;
    overflow: hidden;
  }

  .site-header .mega-menu .mega-feature strong {
    margin-top: 7px;
    font-size: 18px;
  }

  .site-header .mega-menu .mega-feature > .arrow {
    align-self: flex-end;
    margin-top: auto;
  }
}

/* All Office third-level visual headers use the same 260px height. */
.x-route-active .x-hero:not(.x-product-detail),
.x-route-active .x-support-hero,
.x-route-active .x-company-hero,
.x-route-active .x-hero:not(.x-product-detail) > *,
.x-route-active .x-support-hero > *,
.x-route-active .x-company-hero > * {
  height: 260px !important;
  min-height: 260px !important;
}

.x-route-active .x-hero:not(.x-product-detail) h1,
.x-route-active .x-support-hero h1,
.x-route-active .x-company-hero h1 {
  font-size: clamp(38px, 4vw, 58px) !important;
  line-height: .96 !important;
}

.x-route-active .x-breadcrumb,
.x-route-active .x-page-top {
  display: none !important;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] {
  --entry-scale: .82;
  --entry-hover-scale: .855;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry="monitors"] {
  --entry-scale: .88;
  --entry-hover-scale: .915;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-image-wrap {
  padding: 15px 25px 8px !important;
  overflow: hidden;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="cleaning"] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="accessories"] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="gaming"] .product-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: scale(var(--entry-scale)) !important;
  filter: grayscale(1) contrast(.96) drop-shadow(0 13px 18px rgba(37, 31, 26, .13)) !important;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), filter .22s ease;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry]:hover .product-image-wrap img {
  transform: translateY(-2px) scale(var(--entry-hover-scale)) !important;
  filter: grayscale(1) contrast(.99) drop-shadow(0 17px 22px rgba(37, 31, 26, .17)) !important;
}

@media (max-width: 960px) {
  .x-route-active .x-hero:not(.x-product-detail),
  .x-route-active .x-support-hero,
  .x-route-active .x-company-hero,
  .x-route-active .x-hero:not(.x-product-detail) > *,
  .x-route-active .x-support-hero > *,
  .x-route-active .x-company-hero > * {
    height: 260px !important;
    min-height: 260px !important;
  }
}

/* V18 final cascade: preserve red accents and the compact, aligned mega menu. */
@media (min-width: 961px) {
  .site-header .mega-menu {
    top: 74px !important;
    height: 146px !important;
    min-height: 146px !important;
    padding: 12px 18px !important;
    grid-template-columns: minmax(210px, .74fr) minmax(620px, 1.95fr) minmax(250px, .76fr) !important;
    gap: 20px !important;
    align-items: center !important;
  }

  .site-header .mega-menu .mega-links {
    height: 88px !important;
    min-height: 88px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .site-header .mega-menu .mega-links .office-mega-category-card {
    height: 82px !important;
    min-height: 82px !important;
    padding: 8px 8px 8px 12px !important;
    grid-template-columns: minmax(0, 1fr) 66px !important;
  }

  .site-header .mega-menu .mega-feature {
    height: 88px !important;
    min-height: 88px !important;
    padding: 13px 16px !important;
  }
}

.hero-grid .mount-grid .product-card[data-konic-category-entry="monitors"] {
  --entry-scale: .77;
  --entry-hover-scale: .80;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="cleaning"] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="accessories"] .product-image-wrap img,
.hero-grid .mount-grid .product-card[data-konic-category-entry="gaming"] .product-image-wrap img {
  filter: contrast(.98) drop-shadow(0 13px 18px rgba(37, 31, 26, .14)) !important;
}

.hero-grid .mount-grid .product-card[data-konic-category-entry]:hover .product-image-wrap img {
  filter: contrast(1) drop-shadow(0 17px 22px rgba(37, 31, 26, .17)) !important;
}

/* Compact contact panels share a grid row without a percentage-height feedback loop. */
html .x-route-active .x-form-shell:has([data-x-form="contact"]) > * {
  box-sizing:border-box; min-width:0; height:auto; min-height:0;
  padding:clamp(24px,3vw,44px);
}
html[data-konic-context="office"] [data-x-form="contact"] .x-form-grid { gap:18px 20px !important; }
html[data-konic-context="office"] [data-x-form="contact"] .x-field { min-width:0; }
html[data-konic-context="office"] [data-x-form="contact"] .x-field textarea { min-height:120px !important; height:120px !important; resize:vertical; }
html[data-konic-context="office"] [data-x-form="contact"] .x-form-actions { flex-wrap:wrap; }

/* A single optional contact group requires one reachable contact method. */
html .konic-contact-methods { grid-column:1/-1; min-width:0; margin:0; padding:0; border:0; }
html .konic-contact-methods legend { margin:0 0 10px; padding:0; font-size:12px; line-height:1.4; color:var(--muted,#77716a); }
html .konic-contact-method-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
html .konic-contact-method-grid > * { min-width:0; }
@media(max-width:600px) { html .konic-contact-method-grid { grid-template-columns:minmax(0,1fr); gap:14px; } }

/* assets/css/v20-polish.css */
/* KONIC V20 — shared spacing, product hierarchy and Office navigation polish. */
html[data-konic-context="home"] {
  --konic-module-gap: 20px;
}

html[data-konic-context="office"] {
  --konic-module-gap: 10px;
  --space-1: 10px;
  --section-gap: 10px;
}

/* Home: one same-level rhythm and compact source-faithful product summaries. */
html[data-konic-context="home"] :is(.product-grid,.feature-grid,.support-cards,.news-grid,.retailer-grid,.contact-grid,.catalog-grid,.card-grid) {
  gap: 20px !important;
}

html[data-konic-context="home"] .product-card .product-info {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(2.65em, auto);
  align-content: start;
  gap: 5px;
  min-height: 126px;
  padding: 18px 42px 18px 18px;
}

html[data-konic-context="home"] .product-card .product-info h3 {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

html[data-konic-context="home"] .product-card .konic-product-model {
  margin: 0;
  color: #786f66;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html[data-konic-context="home"] .product-card .konic-product-highlight {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 0;
  color: #766f67;
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html[data-konic-context="home"] .product-card .product-info > b {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: #e3062d;
  font-size: 16px;
}

/* Office: use a consistent 10px gap for same-level modules throughout routes. */
html[data-konic-context="office"] :is(.hero-grid,.mount-grid,.category-band,.story-grid,.x-product-grid,.x-guide-grid,.x-support-links,.x-help-split,.x-news-grid,.x-store-grid,.x-contact-grid,.x-catalog-layout,.x-product-detail) {
  gap: 10px !important;
}

/* Office Products dropdown: align left copy, four category cards and finder as one row. */
html[data-konic-context="office"] .mega-menu[data-konic-category="products"] {
  top: 72px;
  left: 16px;
  right: 16px;
  grid-template-columns: minmax(220px,.7fr) minmax(620px,1.9fr) minmax(250px,.72fr);
  align-items: stretch;
  gap: 10px;
  min-height: 146px;
  padding: 16px;
  border-radius: 16px;
}

html[data-konic-context="office"] .mega-menu[data-konic-category="products"] > :first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0 10px;
}

html[data-konic-context="office"] .mega-menu[data-konic-category="products"] .mega-kicker {
  margin-bottom: 8px;
}

html[data-konic-context="office"] .mega-menu[data-konic-category="products"] h2 {
  font-size: clamp(27px,2.4vw,38px);
  line-height: .98;
}

html[data-konic-context="office"] .mega-menu[data-konic-category="products"] .mega-links {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

html[data-konic-context="office"] .office-mega-category-card {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(64px,.78fr) minmax(82px,1.22fr);
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 112px !important;
  padding: 10px 8px 10px 14px !important;
  overflow: hidden;
  border: 1px solid rgba(17,16,15,.1) !important;
  border-radius: 12px;
  background: rgba(255,255,255,.42);
  transition: transform .2s ease,border-color .2s ease,background .2s ease !important;
}

html[data-konic-context="office"] .office-mega-category-card:hover {
  padding-left: 14px !important;
  color: inherit !important;
  border-color: rgba(223,24,29,.36) !important;
  background: rgba(255,255,255,.78);
  transform: translateY(-1px);
}

html[data-konic-context="office"] .office-mega-category-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.12;
}

html[data-konic-context="office"] .office-mega-category-card picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 90px;
  overflow: visible;
}

html[data-konic-context="office"] .office-mega-category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(19,15,13,.10));
  transition: transform .28s cubic-bezier(.2,.75,.2,1);
}

html[data-konic-context="office"] .office-mega-category-card:hover img {
  transform: scale(1.055);
}

html[data-konic-context="office"] .mega-menu[data-konic-category="products"] .mega-feature {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
  min-width: 0;
  min-height: 112px;
  padding: 18px;
}

html[data-konic-context="office"] .mega-menu[data-konic-category="products"] .mega-feature .arrow {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  margin: 0;
  color: #ed1c24;
}

html[data-konic-context="office"] .mega-menu[data-konic-category="products"] .office-mega-feature-kicker,
html[data-konic-context="office"] .mega-menu[data-konic-category="products"] .mega-feature strong {
  grid-column: 2;
  margin: 0;
}

html[data-konic-context="office"] .mega-menu[data-konic-category="products"] .mega-feature strong {
  font-size: 16px;
  line-height: 1.15;
}

/* Office homepage category imagery: the four V20 assets share one black/white/red visual language. */
html[data-konic-context="office"] .hero-grid .mount-grid .product-card {
  border-color: rgba(223,24,29,.12);
}

html[data-konic-context="office"] .hero-grid .mount-grid .product-image-wrap {
  padding: 10px 24px 0;
}

html[data-konic-context="office"] .hero-grid .mount-grid .product-image-wrap img {
  max-height: 190px;
  transition: transform .3s cubic-bezier(.2,.75,.2,1);
}

html[data-konic-context="office"] .hero-grid .mount-grid .product-card:hover .product-image-wrap img {
  transform: scale(1.035);
}

/* Office list cards: title, model, concise source highlight; the whole card is the link. */
html[data-konic-context="office"] .x-product-card {
  color: inherit;
  text-decoration: none;
  grid-template-rows: minmax(230px,1fr) auto;
  background: #fff;
}

html[data-konic-context="office"] .x-product-card .x-product-image,
html[data-konic-context="office"] .x-product-card .x-product-copy,
html[data-konic-context="office"] .x-product-card .x-product-placeholder {
  background: #fff;
}

html[data-konic-context="office"] .x-product-card .x-product-image img {
  transition: transform .28s cubic-bezier(.2,.75,.2,1);
}

html[data-konic-context="office"] .x-product-card:hover .x-product-image img {
  transform: scale(1.025);
}

html[data-konic-context="office"] .x-product-card .x-product-copy {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(2.65em,auto);
  align-content: start;
  gap: 5px;
  min-height: 126px;
  padding: 17px 42px 17px 17px;
}

html[data-konic-context="office"] .x-product-card .x-product-copy h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.1;
}

html[data-konic-context="office"] .x-product-card .x-model {
  order: 2;
  margin: 0;
  color: #706a64;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html[data-konic-context="office"] .x-product-card .x-product-highlight {
  order: 3;
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 0;
  color: #746e67;
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html[data-konic-context="office"] .x-product-card .x-card-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  color: #df181d;
}

/* Office detail: gallery and copy share one visual baseline; category bar is deliberately absent. */
html[data-konic-context="office"] .x-product-detail {
  grid-template-columns: 1.12fr .88fr !important;
  align-items: stretch;
  min-height: 610px;
  margin-top: 10px;
}

html[data-konic-context="office"] .x-product-gallery,
html[data-konic-context="office"] .x-product-info {
  min-height: 610px;
}

html[data-konic-context="office"] .x-product-info {
  padding: clamp(30px,3.3vw,54px) !important;
}

html[data-konic-context="office"] .x-product-info h1 {
  max-width: 620px;
  font-size: clamp(34px,3.5vw,54px) !important;
  line-height: 1 !important;
}

html[data-konic-context="office"] .x-product-intro {
  font-size: 14px;
  line-height: 1.55;
}

html[data-konic-context="office"] .x-key-points {
  margin-top: 20px;
}

html[data-konic-context="office"] .x-product-tabs.x-section {
  margin-top: 10px;
}

@media (max-width: 1180px) {
  html[data-konic-context="office"] .mega-menu[data-konic-category="products"] {
    grid-template-columns: minmax(180px,.58fr) minmax(500px,1.72fr) minmax(210px,.7fr);
  }
  html[data-konic-context="office"] .office-mega-category-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 70px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  html[data-konic-context="office"] .x-product-detail { grid-template-columns: 1fr !important; }
  html[data-konic-context="office"] .x-product-gallery,
  html[data-konic-context="office"] .x-product-info { min-height: auto; }
}

@media (max-width: 680px) {
  html[data-konic-context="home"] :is(.product-grid,.feature-grid,.support-cards,.news-grid,.retailer-grid,.contact-grid,.catalog-grid,.card-grid) { gap: 14px !important; }
  html[data-konic-context="home"] .product-card .product-info,
  html[data-konic-context="office"] .x-product-card .x-product-copy { min-height: 116px; padding: 15px 38px 15px 15px; }
}

/* assets/css/original-product-detail.css */
.konic-source-product {
  --source-bg: #f3efe7;
  --source-card: #faf8f3;
  --source-ink: #171513;
  --source-muted: #726c65;
  --source-line: rgba(23, 21, 19, .13);
  --source-red: #ed1c24;
  width: min(1440px, calc(100% - 48px));
  margin: 20px auto 0;
  color: var(--source-ink);
}
.konic-source-product * { box-sizing: border-box; }
.konic-source-product__hero { display: grid; grid-template-columns: .98fr 1.02fr; gap: 20px; align-items: stretch; }
.konic-source-product__gallery,
.konic-source-product__copy,
.konic-source-product__tabs {
  border: 1px solid var(--source-line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--source-card);
}
.konic-source-product__gallery { display: grid; grid-template-rows: 430px 130px; min-height: 560px; padding: 0; background: #fff; }
.konic-source-product__stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 430px;
  padding: clamp(20px, 2.6vw, 40px);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}
.konic-source-product__stage img { width: 90%; height: 90%; max-width: 90%; max-height: 90%; object-fit: contain; }
.konic-source-product__thumbs { display: grid; grid-template-columns: repeat(var(--source-thumb-count, 4), minmax(0, 1fr)); align-items: stretch; gap: 10px; min-height: 130px; margin: 0; padding: 10px; overflow: hidden; scrollbar-width: none; border-top: 1px solid var(--source-line); background: #fff; }
.konic-source-product__thumbs::-webkit-scrollbar { display: none; }
.konic-source-product__thumb {
  width: 100%;
  min-width: 0;
  height: 110px;
  padding: 8px;
  border: 1px solid var(--source-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.konic-source-product__thumb.is-active { border-color: var(--source-red); }
.konic-source-product__thumb img { width: 100%; height: 100%; object-fit: contain; }
.konic-source-product__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 560px;
  padding: 42px 48px;
  color: #fff;
  background: #171513;
}
.konic-source-product__copy::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  pointer-events: none;
}
.konic-source-product__category { margin: 0 0 14px; color: var(--source-red); font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.konic-source-product__copy h1 { max-width: 700px; margin: 0; font-size: clamp(32px, 3vw, 48px); line-height: 1.02; letter-spacing: -.038em; }
.konic-source-product__model { display: block; margin-top: 19px; color: rgba(255, 255, 255, .58); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.konic-source-product__description { max-width: 620px; margin: 19px 0 0; color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.55; }
.konic-source-product__features { display: grid; grid-template-columns: repeat(2, 1fr); margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .17); }
.konic-source-product__features li { min-height: 48px; padding: 14px 5px; border-bottom: 1px solid rgba(255, 255, 255, .17); color: rgba(255, 255, 255, .75); font-size: 13px; }
.konic-source-product__features li:nth-child(odd) { padding-right: 18px; border-right: 1px solid rgba(255, 255, 255, .17); }
.konic-source-product__features li:nth-child(even) { padding-left: 18px; }
.konic-source-product__purchase { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 18px; }
.konic-source-product__price small { display: block; color: rgba(255, 255, 255, .5); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.konic-source-product__price strong { display: block; margin-top: 4px; font-size: 28px; }
.konic-source-product__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 8px; color: #fff; background: var(--source-red); font-size: 14px; font-weight: 700; text-decoration: none; }
.konic-source-product__tabs { margin-top: 20px; background: #fff; }
.konic-source-product__tab-list { display: grid; grid-template-columns: repeat(var(--source-tab-count, 2), minmax(0, 1fr)); border-bottom: 1px solid var(--source-line); }
.konic-source-product__tab-list button { min-height: 62px; padding: 12px; border: 0; color: var(--source-muted); background: transparent; font-weight: 700; cursor: pointer; }
.konic-source-product__tab-list button.is-active { color: var(--source-red); background: transparent; }
.konic-source-product__panel { display: none; grid-template-columns: 1fr; gap: 20px; padding: 44px; background: #fff; }
.konic-source-product__panel.is-active { display: grid; }
.konic-source-product__panel > h2 { display: none; }
.konic-source-product__panel > * { grid-column: 1 / -1; }
.konic-source-product__panel p { margin: 0; color: var(--source-muted); font-size: 15px; line-height: 1.7; }
.konic-source-product__panel ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--source-line); }
.konic-source-product__panel li { padding: 14px 8px 14px 0; border-bottom: 1px solid var(--source-line); color: var(--source-ink); font-size: 14px; }
.konic-source-product__story { grid-column: 1 / -1; display: grid; gap: 20px; margin-top: 20px; }
.konic-source-product__story img,
.konic-source-product__specification img { display: block; width: 100%; height: auto; border-radius: 16px; }
.konic-source-product__specification { grid-column: 1 / -1; }
.konic-source-product__files { grid-column: 1 / -1; display: grid; gap: 10px; }
.konic-source-product__file { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 14px 20px; border: 1px solid var(--source-line); border-radius: 12px; color: var(--source-ink); text-decoration: none; }
.konic-source-product__files video { width: 100%; border-radius: 14px; background: #000; }
.konic-source-product__empty { grid-column: 1 / -1; color: var(--source-muted); }

.x-product-stage .x-source-main-image { width: 100%; height: 100%; padding: 34px; object-fit: contain; }
.x-product-gallery { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; overflow: hidden; border: 1px solid rgba(23,21,19,.12); border-radius: 20px; background: #fff; }
.x-product-gallery .x-product-stage { min-height: 0; border: 0; border-radius: 0; background: #fff; }
.x-product-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); align-items: stretch; gap: 10px; min-height: 108px; padding: 10px; overflow-x: auto; border-top: 1px solid rgba(23,21,19,.12); background: #f0ece6; }
.x-product-thumb { width: 100%; min-width: 76px; height: 88px; padding: 7px; border: 1px solid rgba(23,21,19,.12); border-radius: 9px; background: #fff; cursor: pointer; }
.x-product-thumb.is-active { border-color: #df181d; }
.x-product-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.x-source-story { display: grid; gap: 20px; margin-top: 28px; }
.x-source-story img,
.x-source-specification img { display: block; width: 100%; height: auto; border-radius: 16px; }
.x-source-file-list { display: grid; gap: 10px; }
.x-source-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 14px 18px;
  border: 1px solid rgba(23, 21, 19, .14);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}
.x-source-video { width: 100%; border-radius: 14px; background: #000; }

@media (max-width: 900px) {
  .konic-source-product__hero { grid-template-columns: 1fr; }
  .konic-source-product__gallery, .konic-source-product__copy { min-height: auto; }
  .konic-source-product__stage { height: min(70vw, 500px); }
  .konic-source-product__panel { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 620px) {
  .konic-source-product { width: calc(100% - 24px); }
  .konic-source-product__gallery { padding: 10px; border-radius: 18px; }
  .konic-source-product__copy { padding: 34px 24px; border-radius: 18px; }
  .konic-source-product__features { grid-template-columns: 1fr; }
  .konic-source-product__features li:nth-child(odd) { border-right: 0; }
  .konic-source-product__features li:nth-child(even) { padding-left: 5px; }
  .konic-source-product__purchase { align-items: flex-start; flex-direction: column; }
  .konic-source-product__tab-list { grid-template-columns: repeat(2, 1fr); }
  .konic-source-product__panel { padding: 28px 20px; }
  .konic-source-product__panel ul { grid-template-columns: 1fr; }
  .x-product-stage .x-source-main-image { padding: 22px; }
}

/* Product copy stays complete and within the information column. */
.konic-source-product__copy,
.x-product-detail .x-product-info { min-width: 0; }
.konic-source-product__copy h1,
.x-product-detail .x-product-info h1 { overflow-wrap: anywhere; }
.konic-source-product__copy h1[data-product-title-long],
.x-product-detail .x-product-info h1[data-product-title-long] {
  font-size: clamp(26px, 2.4vw, 38px) !important;
  line-height: 1.15 !important;
}
.konic-source-product__copy .konic-source-product__description,
.x-product-detail .x-product-info .x-product-intro {
  display: block;
  max-height: none;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  -webkit-line-clamp: unset;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  /* The stacked Office copy shares the gallery's content edges. */
  html[data-konic-context="office"] .x-product-detail .x-product-info {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* assets/css/original-footer.css */
.konic-source-footer {
  --footer-bg: #181614;
  --footer-fg: #f7f3ed;
  --footer-muted: rgba(247, 243, 237, .64);
  --footer-line: rgba(247, 243, 237, .14);
  --footer-panel: rgba(255,255,255,.04);
  --footer-accent: #ed1c24;
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: 40px;
  color: var(--footer-fg);
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-line);
  font-family: Arial, Helvetica, sans-serif;
  display: block !important;
  grid-template-columns: none !important;
}
.konic-source-footer.is-office {
  --footer-bg: #f3f0e9;
  --footer-fg: #171513;
  --footer-muted: rgba(23,21,19,.62);
  --footer-line: rgba(23,21,19,.13);
  --footer-panel: rgba(255,255,255,.52);
}
.konic-source-footer * { box-sizing: border-box; }
.konic-source-footer a { color: inherit; text-decoration: none; }
.konic-source-footer a:focus-visible { outline: 2px solid var(--footer-accent); outline-offset: 4px; }
.konic-source-footer__shell {
  display: block !important;
  width: min(1440px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.konic-source-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(380px, 1fr);
  gap: 44px;
  padding: 34px 0 30px;
}
.konic-source-footer__nav {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 30px;
}
.konic-source-footer__group h2,
.konic-source-footer__contact h2 {
  margin: 0 0 14px;
  color: var(--footer-fg);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.konic-source-footer__group h2 a { display: inline-block; }
.konic-source-footer__group h2 a:hover { color: var(--footer-accent); }
.konic-source-footer__links { display: grid; gap: 7px; }
.konic-source-footer__links a {
  width: max-content;
  max-width: 100%;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.35;
  transition: color .2s ease;
}
.konic-source-footer__links a:hover { color: var(--footer-accent); }
.konic-source-footer__contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
}
.konic-source-footer__contact-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 38px;
}
.konic-source-footer__contact-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 4px;
  border: 1px solid var(--footer-line);
  border-radius: 50%;
  background: var(--footer-panel);
}
.konic-source-footer__contact-icon img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .74; }
.konic-source-footer.is-home .konic-source-footer__contact-icon img { filter: grayscale(1) invert(1); }
.konic-source-footer__contact-copy { color: var(--footer-muted); font-size: 10.5px; line-height: 1.4; }
.konic-source-footer__contact-copy span { display: block; }
.konic-source-footer__brands {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 24px 0 26px;
  border-top: 1px solid var(--footer-line);
}
.konic-source-footer__brands-title span {
  display: block;
  color: var(--footer-fg);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.konic-source-footer__brand-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(92px, 1fr));
  align-items: center;
  justify-items: stretch;
  gap: 20px;
}
.konic-source-footer__brand {
  display: grid;
  place-items: center;
  min-height: 42px;
  overflow: hidden;
  opacity: .82;
  transition: opacity .2s ease, transform .2s ease;
}
.konic-source-footer__brand:hover { opacity: 1; transform: translateY(-2px); }
.konic-source-footer__brand img { width: 100%; max-width: 116px; max-height: 34px; object-fit: contain; }
.konic-source-footer.is-home .konic-source-footer__brand.is-raster { mix-blend-mode: screen; }
.konic-source-footer.is-office .konic-source-footer__brand.is-raster img {
  filter: invert(1) grayscale(1);
}
.konic-source-footer.is-office .konic-source-footer__brand.is-raster { mix-blend-mode: multiply; }
.konic-source-footer.is-office .konic-source-footer__brand:nth-child(1) img,
.konic-source-footer.is-office .konic-source-footer__brand:nth-child(4) img {
  filter: invert(1) grayscale(1);
}
.konic-source-footer.is-office .konic-source-footer__brand:nth-child(1) img {
  filter: none;
}
.konic-source-footer__bottom {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0 15px;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .045em;
  text-transform: uppercase;
}
@media (max-width: 1100px) {
  .konic-source-footer__main { grid-template-columns: 1fr; gap: 30px; }
  .konic-source-footer__brands { grid-template-columns: 1fr; gap: 20px; }
  .konic-source-footer__brand-grid { grid-template-columns: repeat(4, minmax(90px, 1fr)); }
}
@media (max-width: 680px) {
  .konic-source-footer__shell { width: min(100% - 32px, 1440px) !important; }
  .konic-source-footer__main { padding: 30px 0 26px; }
  .konic-source-footer__nav { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .konic-source-footer__group:first-child { grid-column: 1 / -1; }
  .konic-source-footer__contact-list { grid-template-columns: 1fr; }
  .konic-source-footer__brand-grid { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
}
