.skw-native .skw-rich { overflow-wrap: anywhere; }
.skw-native .skw-rich > :first-child { margin-top: 0; }
.skw-native .skw-rich :is(h2,h3,h4) { margin-block: 1.25em .5em; }
.skw-native .skw-rich :is(p,ul,ol,table) { margin-block: .8em; }
.skw-native .skw-rich :is(a, a:visited) { color: var(--blue); text-decoration: underline; }
.skw-native .skw-rich table { border-collapse: collapse; width: 100%; }
.skw-native .skw-rich :is(th,td) { border: 1px solid #d8e4ee; padding: .5rem; }
.skw-native .skw-rich { max-width: 100%; }
.skw-native .skw-rich img { height: auto; max-width: 100%; }

/* The archive and Woo product descriptions use the store's own published text. */
.skw-native .product-description > h2,
.skw-native .product-specification-heading :is(h2,h3,h4) {
  color: #1c3450;
  font: 650 clamp(26px, 2.4vw, 35px)/1.25 var(--display);
  letter-spacing: -.035em;
  margin: 0;
}
.skw-native .skw-description-copy {
  --skw-description-indent: clamp(37px, 5vw, 72px);
  counter-reset: skw-feature;
  margin-top: 20px;
  color: #4d6480;
  font: 400 clamp(15px, 1.05vw, 17px)/1.85 var(--font);
}
.skw-native .skw-description-copy > p:first-child,
.skw-native .skw-description-copy .skw-lead-title + p {
  max-width: 100ch;
  font-size: clamp(17px, 1.35vw, 20px);
}
.skw-native .skw-description-copy .skw-lead-title {
  font: 650 clamp(19px, 1.5vw, 24px)/1.4 var(--display);
  color: #26415d;
}
.skw-native .skw-description-copy .skw-feature-title {
  position: relative;
  counter-increment: skw-feature;
  margin: clamp(24px, 3vw, 36px) 0 12px;
  padding: clamp(22px, 2.6vw, 32px) 0 0 var(--skw-description-indent);
  border-top: 1px solid #dce6ef;
  color: #26415d;
  font: 650 clamp(19px, 1.6vw, 24px)/1.4 var(--display);
  letter-spacing: -.025em;
}
.skw-description-copy .skw-feature-title::before {
  content: counter(skw-feature, decimal-leading-zero);
  content: counter(skw-feature, decimal-leading-zero) / "";
  position: absolute;
  left: 0;
  color: #277c99;
  font: 550 13px/2 var(--display);
}
.skw-description-copy .skw-feature-title ~ :is(p,ul,ol,dl,blockquote) {
  margin-inline-start: var(--skw-description-indent);
}
.skw-description-copy :is(ul,ol) { padding-inline-start: 1.4em; }
.skw-native .skw-description-copy :is(p,li) { max-width: 1120px; }
.skw-description-copy :where(.wp-block-table) { overflow-x: auto; }
.skw-native .skw-spec-scroll { overflow-x: auto; }
.skw-spec-scroll figure { margin: 0; }
.skw-spec-scroll .product-spec-table { table-layout: auto; }
.skw-spec-scroll .product-spec-table th { width: auto; }
.skw-spec-scroll :is(figcaption,caption) { padding: 10px 20px; text-align: start; }
.skw-spec-scroll .product-spec-table :is(td,th) { padding: 12px clamp(12px, 2vw, 24px); }
.skw-spec-scroll .product-spec-table tr > td:first-child { color: #48607b; font-weight: 550; }
.skw-native .spec-group-heading :is(h2,h3,h4,h5,h6) {
  margin: 0;
  font: 600 clamp(17px, 1.5vw, 21px)/1.35 var(--display);
}
.skw-native .product-thumb[aria-current=true] { border: 2px solid var(--blue); }
.skw-placeholder { display: grid; place-items: center; }
.skw-placeholder img { width: 75%; max-height: 100%; object-fit: contain; }
.skw-native .product-summary .product-funding-information { margin-top: 16px; }
.skw-native .product-key-specs { grid-template-columns:none; grid-auto-columns:minmax(0, 1fr); grid-auto-flow:column; margin-block:16px; }
.skw-native .product-key-specs :is(dt,dd) { overflow-wrap:anywhere; }
.skw-native .product-key-specs dt { color:#526981; font-size:12px; line-height:1.45; }
.skw-native .product-key-specs dd { color:#294767; }
.skw-native .product-key-specs dt::first-letter { text-transform:uppercase; }
.skw-native .product-key-specs.has-long-values dd { font-size:clamp(.9rem, 1vw, 1rem); line-height:1.5; }
@media (max-width:540px) {
	.skw-native .product-key-specs.has-long-values { display:block; padding-block:0; }
	.skw-native .product-key-specs.has-long-values > div { display:grid; grid-template-columns:minmax(6.5rem, 1fr) 2fr; align-items:baseline; gap:12px; padding:10px 0; border:0; }
	.skw-native .product-key-specs.has-long-values > div + div { border-top:1px solid #d8e2ed; }
	.skw-native .product-key-specs.has-long-values dd { margin:0; }
}
.skw-native .product-inquiry-action { margin-top: 12px; }
/* WooCommerce also styles anchors and buttons through its generic .button rules. */
.skw-native .product-inquiry-action a.skw-funding-cta,
.skw-native .skw-modal .button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 13px 20px;
  border: 1px solid #294a98;
  border-radius: 10px;
  background: #2f51a3;
  color: #fff;
  font: 700 16px/1.35 var(--font);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 4px 12px #23499120;
}
.skw-native .product-inquiry-action a.skw-funding-cta { width: 100%; }
.skw-native .product-inquiry-action a.skw-funding-cta:hover,
.skw-native .skw-modal .button.primary:hover { color: #fff; background: #223f85; border-color: #223f85; }
.skw-native .product-direct-contact { margin: 10px 0 0; padding: 0; border: 0; }
.skw-native .product-direct-contact a.skw-contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 52px;
  width: 100%;
  max-width: 100%;
  padding: 9px 18px;
  border: 1px solid #9fb6d6;
  border-radius: 10px;
  background: #fff;
  color: #234981;
  text-decoration: none;
}
.skw-native .product-direct-contact a.skw-contact-phone:hover { border-color: #2f51a3; box-shadow: 0 0 0 1px #2f51a3; }
.skw-native .skw-contact-phone .icon { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #eaf4fa; color: #2f51a3; }
.skw-native .skw-phone-copy { display: flex; flex: 1; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 3px 12px; }
.skw-native .skw-phone-copy small { color: #405975; font: 650 13px/1.35 var(--font); }
.skw-native .skw-phone-copy strong { color: #214580; font: 750 19px/1.25 var(--display); white-space: nowrap; }
.skw-native :is(.skw-contact-phone,.skw-funding-cta):focus-visible { outline: 3px solid #1383a8; outline-offset: 3px; }
.skw-native .product-section > h2 { margin-bottom: 22px; }
.skw-native .product-section-nav a:last-child { margin-left: 0; }
.skw-native .skw-files-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid #dce6ef;
  border-radius: 10px;
  background: #f5f9fc;
  color: #4a627a;
  font-size: 14px;
  line-height: 1.55;
}
.skw-files-empty .icon { flex: none; color: #40639b; }
.skw-modal, .skw-lightbox { border: 1px solid #cad8e6; border-radius: 18px; color: #1b324f; background: white; width: min(540px,94vw); max-height: 86vh; max-height: 86dvh; padding: 32px; box-shadow: 0 15px 65px #172a4540; }
.skw-modal h2 { font-size: clamp(24px,3vw,34px); padding-right: 28px; }
.skw-modal::backdrop,.skw-lightbox::backdrop { background: #162a4570; backdrop-filter: blur(5px); }
.skw-dialog-close { position: absolute; right: 10px; top: 10px; height: 38px; width: 38px; border-radius: 50%; background: #f0f5fa; color: var(--blue); display: grid; place-items: center; }
.skw-dialog-close .icon { width: 18px; height: 18px; }
.skw-lightbox { width: min(850px,94vw); }
.skw-lightbox img { width: 100%; max-height: 60vh; object-fit: contain; }
.skw-lightbox-actions { display: flex; justify-content: space-between; gap: 12px; }
.skw-lightbox-actions button,.skw-modal [data-edit] { padding: 12px 4px; color: var(--blue); }
.skw-modal form>.button { margin-block: 16px 8px; width: 100%; }
.skw-modal form>p,.skw-modal [data-fund-draft]>p { font-size: 12px; }
.skw-modal textarea { display: block; width: 100%; resize: vertical; margin-block: 12px; border: 1px solid #bccede; border-radius: 8px; padding: .8rem; font: inherit; }
.skw-related-grid,.skw-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,2vw,26px); }
.skw-native .catalog-card { display: flex; flex-direction: column; border: 1px solid #dce5ef; border-radius: 14px; overflow: hidden; min-width: 0; }
.skw-native .catalog-card-visual {
  position: relative;
  flex: none;
  height: clamp(155px, 17vw, 255px);
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  background: #f3f7fa;
  border-bottom: 1px solid #e1eaf2;
}
.skw-native .catalog-card-visual > a {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
}
.skw-native .catalog-card-visual > a:focus-visible { outline: 3px solid #2f51a3; outline-offset: -3px; }
.skw-native .catalog-card-visual > a picture { display: block; width: 100%; height: 100%; }
.skw-native .catalog-card .catalog-card-visual > a img {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: clamp(12px, 1.25vw, 21px);
  margin: 0;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}
.skw-native .catalog-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.skw-native .catalog-card h3 { font-size: clamp(16px,1.3vw,18px); font-weight: 650; line-height: 1.4; letter-spacing: -.025em; margin-block: 7px 14px; overflow-wrap: anywhere; }
.skw-native .catalog-card-category { color: #526982; font-size: 12px; }
.skw-native .catalog-card-actions { display: grid; gap: 8px; margin-top: auto; }
.skw-native .catalog-card-details { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 7px; background: #eff4f8; color: var(--blue); font-size: 13px; }
.skw-native .catalog-card-details .icon { width: 16px; }
.skw-native .catalog-intro h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.18; letter-spacing: -.04em; }
.skw-catalog { scroll-margin-block-start: 12px; }
.skw-facet-slot { min-width: 0; }
.skw-filter-fallback > summary { display: none; }
.skw-catalog .catalog-filter-heading h2 { margin: 0 auto 0 0; font-size: 20px; }
.skw-catalog .catalog-filter-option { align-items: center; font-size: 13px; }
.skw-catalog .catalog-search input { font-size: 14px; }
.skw-catalog .catalog-toolbar > p, .skw-catalog .catalog-sort label { font-size: 13px; }
.skw-catalog .catalog-sort select { font-size: 13px; }
.skw-catalog .skw-apply-facets {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  min-height: 44px; border-radius: 8px; padding: 8px 14px;
  color: #fff; background: var(--blue); font-weight: 650;
}
@media (min-width: 901px) {
  .skw-catalog.skw-auto-submit .skw-apply-facets { display: none; }
}
.skw-catalog .catalog-filter-open, .skw-catalog .catalog-filter-close { display: none; }
.skw-catalog .catalog-active-filters > a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 10px;
  border: 1px solid #cadced; border-radius: 7px; background: #f0f5fb; color: #2d5091; font-size: 12px;
}
.skw-catalog .catalog-active-filters .icon { width: 13px; height: 13px; }
.skw-catalog .catalog-active-filters > a:hover { background: #dfecf7; }
.skw-catalog .catalog-active-filters .skw-clear-all { background: transparent; border-color: transparent; text-decoration: underline; }
.skw-catalog :is(input, select, button, a, summary):focus-visible { outline: 2px solid #1884ae; outline-offset: 2px; }
.skw-results { min-width: 0; }
.skw-empty { padding: 24px; border: 1px solid #dce6ec; border-radius: 12px; background: #f7fafd; }
.skw-empty .text-link { margin-left: 4px; }
@media (min-width: 901px) and (max-width: 1120px) { .skw-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) {
  .skw-catalog:not(.skw-dialog-ready) .skw-facet-slot { display: block; margin-bottom: 16px; }
  .skw-filter-fallback > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
    padding: 9px 14px; border: 1px solid var(--catalog-line); border-radius: 8px; cursor: pointer;
  }
  .skw-filter-fallback > summary .icon { width: 16px; }
  .skw-catalog.skw-dialog-ready .catalog-filter-open, .skw-catalog.skw-dialog-ready .catalog-filter-close { display: inline-flex; align-items: center; justify-content: center; }
  .skw-catalog .catalog-filter-dialog .skw-apply-facets { display: flex; margin-bottom: 3px; }
  .skw-catalog .catalog-search input { font-size: 16px; }
  .skw-catalog .catalog-filter-option { min-height: 40px; }
}
.skw-pagination ul { list-style:none; display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; margin: 26px 0 0; padding: 0; }
.skw-pagination li > * { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; border-radius: 6px; padding-inline: 9px; color: var(--blue); background: #f1f6fa; }
.skw-pagination .current { color: white; background: var(--blue); }
@media(max-width:780px){ .skw-related-grid,.skw-cards{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:520px) {
  .skw-related-grid,.skw-cards { grid-template-columns: 1fr; }
  .skw-modal { padding: 24px 16px; }
  .skw-native .catalog-card-visual { height: clamp(170px, 54vw, 235px); }
  .skw-native .product-section-nav > .container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 0 12px;
  }
  .skw-native .product-section-nav a {
    justify-content: center;
    min-width: 0;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
    line-height: 1.3;
  }
  .skw-native .product-direct-contact a.skw-contact-phone { width: 100%; }
}
