/* assets/css/content-v31.css */
/* Scoped content corrections; existing page palettes and navigation are unchanged. */
html .stockist-card > .v31-region-map,
html .x-store-map:has(> .v31-region-map) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 340 / 220;
  padding: 0;
  overflow: hidden;
  background: #f3eee5;
  border-radius: 9px;
}
html .stockist-card > .v31-region-map,
html .x-store-map > .v31-region-map {
  width: 100%;
  height: auto;
  aspect-ratio: 340 / 220;
  object-fit: cover;
  object-position: center;
}
html .x-support-links .x-support-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  grid-template-rows: auto minmax(2.5em, auto) 1fr;
  column-gap: 12px;
  align-content: start;
  align-items: start;
  min-width: 0;
}
html .x-support-link > .x-service-visual {
  grid-column: 1 / -1;
  grid-row: 1;
  display: block;
  width: 100%;
  height: 144px;
  margin: 0 0 16px;
  object-fit: cover;
}
html .x-support-link > strong { grid-column: 1 / -1; grid-row: 2; margin: 0; line-height: 1.25; }
html .x-support-link > p { grid-column: 1; grid-row: 3; margin: 8px 0 0; align-self: end; }
html .x-support-link > .arrow {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: end;
  margin: 0 0 4px;
  transform: none;
}
html .support-cards .support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  grid-template-rows: auto auto minmax(1.3em, auto) 1fr;
  column-gap: 12px;
  align-content: start;
  min-width: 0;
}
html .support-card > .support-image { grid-column: 1 / -1; grid-row: 1; margin: 0 0 16px; }
html .support-card > small { grid-column: 1 / -1; grid-row: 2; margin: 0 0 10px; }
html .support-card > h3 { grid-column: 1 / -1; grid-row: 3; margin: 0; line-height: 1.3; }
html .support-card > b {
  grid-column: 2;
  grid-row: 4;
  justify-self: end;
  align-self: end;
  margin: 0 0 -3.475px;
  transform: none;
}
html .support-card > p { grid-column: 1; grid-row: 4; margin: 8px 0 0; align-self: end; }
html .button.button-primary,
html .button[data-v31-red-button] { color: #fff !important; }
html .button.button-primary > :is(span, b, i),
html .button[data-v31-red-button] > :is(span, b, i) { color: inherit !important; }

html .v31-date-control {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
html .v31-date-control > input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding-right: 56px;
}
html .v31-date-control > .v31-date-trigger {
  position: absolute;
  inset: 1px 1px 1px auto;
  display: grid;
  place-items: center;
  width: 46px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0 9px 9px 0;
  color: #3b342d;
  background: transparent;
  cursor: pointer;
}
html .v31-date-trigger svg { width: 20px; height: 20px; }
html .v31-date-trigger:hover { background: #f3eee5; }
html .v31-date-trigger:focus-visible { outline: 2px solid #d71920; outline-offset: -4px; }
html .v31-file-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 7px 10px;
  border: 1px solid #d8d2c9;
  border-radius: 10px;
  background: #fff;
  color: #3b342d;
  overflow: hidden;
}
html .v31-file-control::before {
  content: "Choose file";
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f3eee5;
  font: 600 12px/1.4 Arial, sans-serif;
}
html .v31-file-control[data-multiple="true"]::before { content: "Choose files"; }
html .v31-file-control::after {
  content: attr(data-file-label);
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font: 12px/1.4 Arial, sans-serif;
}
html .v31-file-control > input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
html .v31-file-control:focus-within { outline: 2px solid #d71920; outline-offset: 2px; }
html .v31-calendar {
  box-sizing: border-box;
  width: min(360px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 20px;
  border: 1px solid #d8d2c9;
  border-radius: 14px;
  background: #fffdf9;
  color: #302b26;
  overflow-y: auto;
  box-shadow: 0 18px 70px #17151330;
  font: 14px/1.4 Arial, sans-serif;
}
html .v31-calendar::backdrop { background: #17151366; }
html .v31-calendar header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
html .v31-calendar h2 { margin: 0; font: 700 17px/1.3 Arial, sans-serif; letter-spacing: 0; }
html .v31-calendar button, html .v31-calendar select {
  min-width: 0;
  min-height: 38px;
  margin: 0;
  padding: 6px;
  border: 1px solid #ded7cc;
  border-radius: 6px;
  background: #fff;
  color: #302b26;
  font: 600 13px/1.3 Arial, sans-serif;
  cursor: pointer;
}
html .v31-calendar button:focus-visible, html .v31-calendar select:focus-visible { outline: 2px solid #d71920; outline-offset: 1px; }
html .v31-calendar .v31-calendar-month { display: grid; grid-template-columns: 34px minmax(0,1fr) 74px 34px; gap: 5px; }
html .v31-calendar .v31-calendar-week, html .v31-calendar .v31-calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
html .v31-calendar .v31-calendar-week { margin-top: 14px; margin-bottom: 5px; }
html .v31-calendar .v31-calendar-week span { text-align: center; font: 600 11px/1.4 Arial,sans-serif; color: #766b5e; }
html .v31-calendar .v31-calendar-days button { min-height: 36px; border-color: transparent; background: transparent; font-weight: 400; }
html .v31-calendar .v31-calendar-days button:hover { background: #f3eee5; }
html .v31-calendar .v31-calendar-days button[aria-pressed="true"] { background: #d71920; color: #fff; font-weight: 700; }
html .v31-calendar .v31-calendar-days button[aria-current="date"] { border-color: #d71920; }
html .v31-calendar button:disabled { color: #aaa29a; cursor: default; }
html .v31-calendar footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; }
html .v31-calendar-hint { margin: 12px 0 0; font-size: 11px; color: #766b5e; }
html .v31-live-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

html .stockist-card > .v31-region-map {
  height: 154px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f3eee5;
}
html .v31-calendar > footer {
  min-height: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}
html .v31-file-control,
html .v31-date-control > input {
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}
/* Keep the Support card arrow beside the last description line and at the image edge. */
html[data-konic-context="home"] body.konic-support-index .feature-grid > .feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  grid-template-rows: auto auto auto 1fr;
  column-gap: 12px;
  padding: 12px 12px 28px;
  align-items: start;
}
html[data-konic-context="home"] body.konic-support-index .feature-grid > .feature-card > .card-image {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 22px;
}
html[data-konic-context="home"] body.konic-support-index .feature-grid > .feature-card > small {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-inline: 16px;
}
html[data-konic-context="home"] body.konic-support-index .feature-grid > .feature-card > :is(h2, h3) {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 12px 16px 8px !important;
}
html[data-konic-context="home"] body.konic-support-index .feature-grid > .feature-card > p {
  grid-column: 1;
  grid-row: 4;
  align-self: end;
  margin: 0 0 0 16px;
}
html[data-konic-context="home"] body.konic-support-index .feature-grid > .feature-card > b {
  grid-column: 2;
  grid-row: 4;
  justify-self: end;
  align-self: end;
  margin: 0 0 .8px;
  transform: none;
}

/* Each location keeps one region heading above its centred map. */
html[data-konic-context="home"] .stockist-card > small,
html[data-konic-context="office"] .x-store-card > .x-eyebrow {
  margin: 0;
  color: #24211e !important;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .025em;
}
html .x-store-map:has(> .v31-region-map) { max-height: 220px; }
html .x-store-map > .v31-region-map {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Light-surface secondary actions share paint, not sizing or typography. */
html .button:is(.button-outline, .ghost):not(.button-primary) {
  color: #46413b;
  background-color: #e6e1d9;
  border-color: #cfc8be;
}
html .button:is(.button-outline, .ghost):not(.button-primary):hover {
  color: #27231f;
  background-color: #ddd6cc;
  border-color: #bdb3a6;
}
html .button:is(.button-outline, .ghost):not(.button-primary):active {
  background-color: #d7cfc4;
}

/* Autofill keeps each enquiry form's existing input surface and text colour. */
html[data-konic-context="office"] form[data-x-form] {
  --konic-autofill-surface: #fff;
  --konic-autofill-ink: #11100f;
}
html[data-konic-context="home"] form[data-konic-form] {
  --konic-autofill-surface: #fbf8f2;
  --konic-autofill-ink: #181614;
}
html[data-konic-context] form:is([data-x-form], [data-konic-form]) :is(.field, .x-field) input:is(:autofill, :-webkit-autofill),
html[data-konic-context] form:is([data-x-form], [data-konic-form]) :is(.field, .x-field) input:is(:autofill, :-webkit-autofill):focus {
  -webkit-box-shadow: 0 0 0 1000px var(--konic-autofill-surface) inset !important;
  box-shadow: 0 0 0 1000px var(--konic-autofill-surface) inset !important;
  -webkit-text-fill-color: var(--konic-autofill-ink) !important;
  caret-color: var(--konic-autofill-ink);
  transition: border-color .18s ease !important;
}

/* Secondary-page content headings share one scale; banners and product names retain theirs. */
:root { --konic-content-heading: clamp(28px, 3vw, 40px); }
html[data-konic-context="home"] body.konic-home-secondary :is(.contact-grid, .section-head, .story-grid) h2:not(.feature-card h2),
html[data-konic-context="office"] .x-route-active :is(.x-form-aside > h2, .x-form-panel > h1, .x-help-card > h2, .x-about-copy > h2, .x-section-head > h2, .x-guide > h2) {
  font-size: var(--konic-content-heading) !important;
  line-height: 1.16 !important;
  font-weight: 650 !important;
  letter-spacing: -.03em !important;
}
/* Bring warranty fields down to the existing compact Contact field height. */
html[data-konic-context="home"] form[data-konic-form] .field:has(input, select) {
  min-width: 0;
  padding: 9px 18px !important;
}
html[data-konic-context="home"] form[data-konic-form] .field:has(input, select) > label {
  margin-bottom: 3px !important;
  line-height: 14px !important;
}
html[data-konic-context="home"] form[data-konic-form] .field :is(input, select) {
  height: 24px !important;
  min-height: 24px !important;
  padding-block: 0 !important;
  line-height: 24px !important;
}
html[data-konic-context="home"] form[data-konic-form] .v31-date-control > .v31-date-trigger {
  inset-block: 0;
  min-height: 24px;
}

/* Download centre: flexible heading copy and centred document actions. */
html[data-konic-context="office"] .x-route-active .konic-download-heading {
  align-items: center;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 12px;
}
html[data-konic-context="office"] .x-route-active .konic-download-heading > h2 { flex: 0 0 auto; }
html[data-konic-context="office"] .x-route-active .konic-download-heading > p {
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
}
html .konic-catalogue-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: 18px;
  background: var(--panel, #fff);
}
html[data-konic-context="home"] .konic-catalogue-download { margin-bottom: 24px; }
html .konic-catalogue-download > div { min-width: 0; }
html .konic-catalogue-download h2 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
html .konic-catalogue-download p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted, #726e68); }
html .konic-catalogue-download .button,
html[data-konic-context="office"] .x-route-active .x-download-row > a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  min-height: 42px;
  height: auto;
  padding: 10px 20px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 600px) {
  html .konic-catalogue-download { flex-direction: column; align-items: flex-start; padding: 20px; gap: 16px; }
  html .konic-catalogue-download .button { align-self: flex-start; }
  html[data-konic-context="office"] .x-route-active .x-download-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  html[data-konic-context="office"] .x-route-active .x-download-row > a.button { justify-self: start; }
  html[data-konic-context="office"] .x-route-active .x-download-row > div { min-width: 0; overflow-wrap: anywhere; }
}

/* assets/css/retailers-v32.css */
/* Shared stockist content within the existing Home and Office page designs. */
html .konic-retailers { color:var(--ink,#24211e); min-width:0; }
html[data-konic-context="office"] .konic-retailers { margin-block:32px 52px; }
html .konic-retailers__intro { display:block; margin:0 0 24px; padding:0; }
html .konic-retailers__intro > h2 { margin:0 0 10px; font-size:clamp(25px,2.2vw,32px); line-height:1.2; letter-spacing:-.025em; }
html .konic-retailers__intro > p { max-width:66ch; margin:0; color:var(--muted,#6d655f); font-size:14px; line-height:1.65; }
html .konic-retailers__layout { display:grid; grid-template-columns:minmax(240px,.7fr) minmax(0,2fr); align-items:stretch; gap:24px; }
html .konic-retailers__information { display:flex; flex-direction:column; gap:18px; min-width:0; }
html .konic-retailers__map { display:flex; flex-direction:column; flex:1 1 0; min-height:280px; margin:0; padding:16px 18px; border:1px solid var(--line,#ded8d0); border-radius:17px; background:#fff; overflow:hidden; }
html .konic-retailers__map-visual { position:relative; width:100%; flex:1 1 0; min-height:0; height:0; }
html .konic-retailers__map-visual > img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
html .konic-retailers__map-visual > .konic-retailers__map-pins { pointer-events:none; }
html .konic-retailers__map > figcaption { flex:0 0 auto; margin:4px 0 0; color:var(--muted,#6d655f); font-size:12px; line-height:1.5; text-align:center; }
html .konic-retailers__contact { flex:0 0 auto; padding:24px; border:1px solid var(--line,#ded8d0); border-radius:17px; background:#fff; }
html .konic-retailers__contact > h3 { margin:0 0 18px; font-size:20px; line-height:1.25; letter-spacing:-.02em; }
html .konic-retailers__contact dl { display:grid; gap:14px; margin:0; }
html .konic-retailers__contact dl > div { display:block; }
html .konic-retailers__contact dt { margin:0 0 3px; color:var(--ink,#24211e); font-size:12px; line-height:1.45; font-weight:700; }
html .konic-retailers__contact dd { margin:0; color:var(--muted,#6d655f); font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
html .konic-retailers__contact dd > a { color:inherit; text-decoration:none; }
html .konic-retailers__contact dd > a:hover { color:var(--red,#d71920); text-decoration:underline; }
html .konic-retailers__contact-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:12px; color:var(--red,#d71920); font-size:13px; font-weight:700; text-decoration:none; }
html .konic-retailers__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:1fr; gap:12px; min-width:0; }
html .konic-retailer-card { display:flex; flex-direction:column; align-items:stretch; min-width:0; padding:20px; border:1px solid var(--line,#ded8d0); border-radius:17px; color:var(--ink,#24211e); background:#fff; text-decoration:none; transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
html[data-konic-context="office"] .konic-retailer-card,
html[data-konic-context="office"] .konic-retailers__contact { background:#f1eee8; border-color:transparent; }
html .konic-retailer-card:hover { transform:translateY(-2px); box-shadow:0 12px 32px #28190a14; }
html .konic-retailer-card:focus-visible,
html .konic-retailers a:focus-visible { outline:3px solid var(--red,#d71920); outline-offset:3px; }
html .konic-retailer-card__logo { display:flex; justify-content:center; align-items:center; min-height:76px; margin:0 0 16px; border-radius:9px; overflow:hidden; background:#fff; }
html .konic-retailer-card__logo > img { display:block; width:min(150px,100%); height:auto; max-height:60px; aspect-ratio:2.5; object-fit:contain; }
html .konic-retailer-card > h3 { margin:0 0 8px; font-size:16px; line-height:1.3; font-weight:700; letter-spacing:0; overflow-wrap:anywhere; }
html .konic-retailer-card > p { margin:0 0 14px; color:var(--muted,#6d655f); font-size:12px; line-height:1.55; }
html .konic-retailer-card__action { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:auto; color:var(--red,#d71920); font-size:12px; line-height:1.4; font-weight:700; }
/* Use white logo panels consistently; preserve the supplied logo shapes. */
html [data-retailer-id="magpie-electronics"] .konic-retailer-card__logo > img { filter:url("#konic-logo-magpie-positive"); }
html [data-retailer-id="catchers"] .konic-retailer-card__logo > img { filter:url("#konic-logo-catchers-clean"); }
html [data-retailer-id="appliance-star"] .konic-retailer-card__logo > img { filter:brightness(1.05); }
@media(min-width:961px) and (max-width:1199px) {
  html .konic-retailers__layout { gap:18px; }
  html .konic-retailer-card { padding:14px; }
  html .konic-retailer-card > h3 { min-height:2.6em; }
}
@media(max-width:960px) {
  html .konic-retailers__layout { display:flex; flex-direction:column; gap:24px; }
  html .konic-retailers__information { order:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  html .konic-retailers__map { display:block; min-height:0; }
  html .konic-retailers__map-visual { height:auto; max-height:510px; aspect-ratio:1925/2562; }
  html .konic-retailers__grid { order:0; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-rows:auto; width:100%; }
}
@media(max-width:720px) {
  html .konic-retailers__intro { margin-bottom:20px; }
  html .konic-retailers__layout { display:flex; flex-direction:column; gap:24px; }
  html .konic-retailers__grid { order:0; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; gap:10px; }
  html .konic-retailers__information { order:1; grid-template-columns:minmax(0,1fr); width:100%; gap:16px; }
  html .konic-retailer-card { padding:14px; border-radius:14px; }
  html .konic-retailer-card__logo { min-height:60px; margin-bottom:12px; }
  html .konic-retailer-card > h3 { font-size:15px; }
  html .konic-retailer-card > p { font-size:11px; }
  html .konic-retailer-card__action { font-size:11px; }
  html .konic-retailers__map { padding:18px; }
  html .konic-retailers__map-visual { max-height:360px; }
}
@media(prefers-reduced-motion:reduce) {
  html .konic-retailer-card { transition:none; }
  html .konic-retailer-card:hover { transform:none; }
}

/* assets/css/gallery-v31.css */
/* V001 geometry is retained: only constrain the media to its existing frame. */
html[data-konic-context] :is(.konic-source-product__stage, .x-product-stage, .konic-source-product__thumb, .x-product-thumb) {
  position: relative !important;
}
html[data-konic-context] :is(.konic-source-product__stage, .x-product-stage, .konic-source-product__thumb, .x-product-thumb) > img {
  position: absolute !important;
  inset: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: inherit !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  border-radius: 0 !important;
  font-size: 0;
  color: transparent;
}
html[data-konic-context] :is(.konic-source-product__gallery, .konic-source-product__stage, .konic-source-product__thumbs, .konic-source-product__thumb, .x-product-gallery, .x-product-stage, .x-product-thumbs, .x-product-thumb) {
  background-color: #fff !important;
}
html[data-konic-context] :is(.konic-source-product__copy, .x-product-info) {
  background-color: #fff !important;
  color: #211d19 !important;
}
html[data-konic-context] .konic-source-product__copy::after { content: none !important; }
html[data-konic-context] .konic-source-product__copy :is(.konic-source-product__model, .konic-source-product__description, .konic-source-product__features li, .konic-source-product__price small) {
  color: #5e5750 !important;
}
/* The underline is independent of tab width and expands from its center. */
html[data-konic-context] :is(.konic-source-product__tab-list, .x-tab-list) > button {
  position: relative !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
html[data-konic-context] :is(.konic-source-product__tab-list, .x-tab-list) > button::after {
  content: '' !important;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(88px, calc(100% - 20px));
  height: 2px;
  background: #df181d;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
  pointer-events: none;
}
html[data-konic-context] :is(.konic-source-product__tab-list, .x-tab-list) > button.is-active::after {
  transform: translateX(-50%) scaleX(1);
}
@media (max-width: 620px) {
  html[data-konic-context] :is(.konic-source-product__tab-list, .x-tab-list) > button::after { width: 64px; max-width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  html[data-konic-context] :is(.konic-source-product__tab-list, .x-tab-list) > button::after { transition: none; }
}

/* Product information follows the same outer edges as the product hero. */
html[data-konic-context="home"] .konic-source-product__tabs,
html[data-konic-context="home"] .konic-source-product__tabs .konic-source-product__panel,
html[data-konic-context="office"] .x-product-tabs,
html[data-konic-context="office"] .x-product-tabs .x-tab-panels,
html[data-konic-context="office"] .x-product-tabs .x-detail-panel {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}
html[data-konic-context="home"] .konic-source-product__panel > div,
html[data-konic-context="office"] .x-detail-panel > div {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

/* Long model specifications remain readable within the information column. */
html[data-konic-context="home"] .konic-source-product__copy h1,
html[data-konic-context="office"] .x-product-info h1 {
  overflow-wrap: anywhere;
}
@media (min-width: 961px) {
  html[data-konic-context="home"] .konic-source-product__copy,
  html[data-konic-context="office"] .x-product-info {
    padding-inline-end: 0 !important;
  }
}

/* Keep the stage and every thumbnail count on the same left and right edges. */
html[data-konic-context] :is(.konic-source-product__gallery, .x-product-gallery) {
  min-width: 0 !important;
  padding-inline: 0 !important;
}
html[data-konic-context] :is(.konic-source-product__stage, .x-product-stage, .konic-source-product__thumbs, .x-product-thumbs) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
}
/* Let the main image absorb extra height while thumbnails meet the purchase row.
   Bottom insets match each theme's existing information-column padding. */
@media (min-width: 901px) {
  html[data-konic-context="home"] .konic-source-product__gallery {
    align-self: stretch;
    grid-template-rows: minmax(clamp(360px, calc(100svh - 300px), 680px), 1fr) auto;
    padding-bottom: 24px;
  }
  html[data-konic-context="office"] .x-product-gallery {
    align-self: stretch;
    grid-template-rows: minmax(430px, 1fr) auto !important;
    padding-bottom: 30px;
  }
  html[data-konic-context] :is(.konic-source-product__stage, .x-product-stage) {
    height: auto !important;
    min-height: 0 !important;
  }
}

/* Overview, specifications and files share the hero's full content width. */
html[data-konic-context] :is(.konic-source-product__story, .konic-source-product__specification, .konic-source-product__files, .x-source-story, .x-source-specification, .x-source-file-list) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
/* Cleaning kit: preserve the numbered diagram and typeset its legend below. */
html[data-konic-context] .konic-detail-artwork { width:100%; min-width:0; }
html[data-konic-context] .konic-detail-artwork__diagram { position:relative; width:100%; aspect-ratio:1440 / 888; overflow:hidden; }
html[data-konic-context] .konic-detail-artwork__diagram > img { position:absolute; display:block; width:100%; height:auto; max-width:none; left:0; top:-59.684685%; margin:0; padding:0; border-radius:0; }
html[data-konic-context] .konic-detail-artwork__items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(24px,5vw,72px); list-style:none; margin:24px 0 0; padding:clamp(20px,3vw,40px); background:#ff891d; color:#29241f; border-radius:20px; }
html[data-konic-context] .konic-detail-artwork__items > li { grid-column:var(--kit-column); grid-row:var(--kit-row); display:grid; grid-template-columns:2.4ch minmax(0,1fr); align-content:start; gap:12px; padding:10px 0; margin:0; font-size:16px; line-height:1.6; border-bottom:1px solid rgba(41,36,31,.16); overflow-wrap:anywhere; }
html[data-konic-context] .konic-detail-artwork__number { font-weight:600; font-variant-numeric:tabular-nums; text-align:right; }
html[data-konic-context] .konic-detail-artwork__items > li:is(:nth-child(16),:last-child) { border-bottom:0; }
@media(max-width:600px) {
  html[data-konic-context] .konic-detail-artwork__items { grid-template-columns:minmax(0,1fr); border-radius:14px; }
  html[data-konic-context] .konic-detail-artwork__items > li { grid-column:auto; grid-row:auto; }
  html[data-konic-context] .konic-detail-artwork__items > li:nth-child(16) { border-bottom:1px solid rgba(41,36,31,.16); }
}

/* Product detail tab labels: increase each site’s existing size by 4px. */
html[data-konic-context="home"] :is(.konic-source-product__tab-list,.x-tab-list) > button { font-size:20px; }
html[data-konic-context="office"] :is(.konic-source-product__tab-list,.x-tab-list) > button { font-size:16px; }

/* Required fields use a discreet red dot after the label. */
.konic-required-dot{display:inline-block;margin-left:5px;color:#ed0b24;font-style:normal;font-weight:700;font-size:14px;line-height:1;vertical-align:baseline;flex:none}.konic-required-dot::before{content:"*"}
.x-field[hidden],.field[hidden]{display:none!important}
