/* Local preview additions. Keep this stylesheet after assets/style.css. */
.home-applications { background: var(--blue-soft); }
.application-preview-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.application-preview-grid figure { min-width: 0; background: #fff; border: 1px solid var(--line); padding: 20px; }
.application-preview-grid img { width: 100%; height: 175px; object-fit: contain; }
.application-preview-grid figcaption { padding-top: 16px; text-align: center; color: var(--blue); font-weight: 600; }
@media (max-width:767px) {
  .application-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .application-preview-grid figure { padding: 12px; }
  .application-preview-grid img { height: 125px; }
  .application-preview-grid figcaption { padding-top: 12px; font-size: 14px; }
}

.product-card > a.product-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.16;
  background: #fff;
}
.product-card > a.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card > .product-card-title {
  margin: 0;
  padding: 15px 10px 17px;
  border-top: 1px solid #eff3f8;
  background: #fff;
  color: var(--blue);
  user-select: text;
  -webkit-user-select: text;
  cursor: text;
}
.product-card > a.product-photo:focus-visible {
  position: relative;
  z-index: 1;
  outline-offset: -5px;
}

.category-sidebar .flat-categories {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}
.category-sidebar .flat-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #365b86;
  background: #f7fbff;
  font-size: 14px;
  line-height: 1.6;
}
.category-sidebar .flat-categories a:hover,
.category-sidebar .flat-categories a.active,
.category-sidebar .flat-categories a[aria-current] {
  border-color: #c6dcf3;
  color: var(--blue);
  background: #dfedfc;
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.factory-grid figure { min-width: 0; margin: 0; }
.factory-grid img {
  width: 100%;
  aspect-ratio: 1.45;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
  background: var(--blue-soft);
}
.factory-grid figcaption {
  padding-top: 13px;
  color: #3b587a;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-grid > ol { display: contents; }
.process-grid li {
  min-width: 0;
  padding: 23px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  list-style: none;
  background: #fff;
}
.process-grid li > span {
  display: block;
  margin-bottom: 16px;
  color: #769dcc;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
}
.process-grid h3 { margin-bottom: 11px; font-size: 17px; }
.process-grid p { color: #61758d; font-size: 13px; line-height: 1.85; }

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 52px;
}
.about-intro-grid > * { min-width: 0; }
.about-intro-grid img.factory-image {
  width: 100%;
  aspect-ratio: 1.12;
  border-radius: 5px;
  object-fit: cover;
}
.company-year {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 17px;
  margin-top: 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
.company-year strong { color: var(--blue); font-size: 44px; line-height: 1.2; font-weight: 600; }
.company-year span { color: #6d8199; font-size: 15px; }
.about-intro-grid .about-copy h2 { margin-bottom: 20px; font-size: 29px; }
.about-intro-grid .about-copy h3 { margin-bottom: 17px; font-size: 20px; }
.about-intro-grid .about-copy p { margin-bottom: 15px; color: #53677f; font-size: 15px; line-height: 2; text-align: justify; }
.about-intro-grid .about-copy p:last-child { margin-bottom: 0; }
.product-overview .spec-list > div { grid-template-columns: 132px minmax(0, 1fr); gap: 15px; }
.product-overview .spec-list dt, .product-overview .spec-list dd { overflow-wrap: anywhere; }

.product-details-section {
  padding-block: 62px;
  background: #f2f7fd;
}
.product-details-section .section-head { margin-bottom: 23px; }
.product-details-section .section-head p { margin-top: 9px; color: #6b7e96; font-size: 14px; }
.detail-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 27px;
}
.detail-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 11px 9px;
  border: 1px solid #d1e1f1;
  border-radius: 4px;
  color: #365b86;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.detail-nav a:hover { border-color: #9ebfe6; color: var(--blue); background: #e9f3ff; }
.detail-block {
  min-width: 0;
  margin-top: 24px;
  padding: 34px;
  border: 1px solid #dce7f3;
  border-radius: 6px;
  background: #fff;
  scroll-margin-top: 82px;
}
.detail-nav + .detail-block { margin-top: 0; }
.detail-block > header,
.detail-block > .detail-heading,
.detail-block > .detail-block-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 27px;
}
.detail-block > header > span,
.detail-block > .detail-heading > span,
.detail-block > .detail-block-heading > span {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 1px;
  border-radius: 4px;
  color: var(--blue);
  background: #eaf3fd;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.detail-block h3 { margin-bottom: 8px; font-size: 23px; }
.detail-block > header p,
.detail-block > .detail-heading p,
.detail-block > .detail-block-heading p { max-width: 950px; color: #6c7e92; font-size: 14px; line-height: 1.85; }
.detail-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 24px 20px;
}
.detail-photo-grid.detail-grid-1,
.detail-grid-1 .detail-photo-grid,
.detail-photo-grid.detail-grid-4,
.detail-grid-4 .detail-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-photo-grid.detail-grid-3,
.detail-grid-3 .detail-photo-grid,
.detail-photo-grid.detail-grid-5,
.detail-grid-5 .detail-photo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.detail-photo-grid figure { min-width: 0; margin: 0; }
.detail-photo-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.35;
  padding: 8px;
  border: 1px solid #e2eaf4;
  border-radius: 3px;
  object-fit: contain;
  background: #fff;
}
.detail-photo-grid figcaption {
  padding: 11px 3px 0;
  color: #3b5d84;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  overflow-wrap: anywhere;
}
.dimension-diagram {
  width: min(100%, 720px);
  max-width: 720px;
  margin: 28px auto 0;
}
.dimension-diagram img,
img.dimension-diagram {
  width: 100%;
  height: auto;
  padding: 12px;
  border: 1px solid #e2eaf4;
  border-radius: 3px;
  object-fit: contain;
  background: #fff;
}
.dimension-diagram figcaption { padding-top: 12px; color: #6a7d94; font-size: 13px; line-height: 1.8; text-align: center; }
.product-details-section .note { color: #6b7e96; line-height: 1.85; }

.products-toolbar { align-items: flex-start; gap: 17px 24px; }
.products-toolbar .filter-tabs { flex: 1 1 630px; min-width: 0; gap: 9px; }
.products-toolbar .filter-tabs button { max-width: 100%; padding-inline: 15px; white-space: normal; }
.products-toolbar .search-field { flex: 0 1 275px; min-width: 210px; }

@media (max-width: 1100px) {
  .about-intro-grid { gap: 35px; }
  .about-intro-grid .about-copy h2 { font-size: 26px; }
  .about-intro-grid .about-copy p { font-size: 14px; }
  .factory-grid { gap: 20px; }
  .process-grid { gap: 12px; }
  .process-grid li { padding: 21px 14px; }
  .process-grid h3 { font-size: 16px; }
  .process-grid p { font-size: 12px; }
  .products-toolbar .filter-tabs { flex-basis: 100%; }
  .products-toolbar .search-field { flex-basis: 320px; }
}

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .process-grid li { padding: 23px 20px; }
  .process-grid h3 { font-size: 17px; }
  .process-grid p { font-size: 13px; }
  .detail-block { padding: 27px; }
  .detail-photo-grid,
  .detail-photo-grid.detail-grid-1,
  .detail-grid-1 .detail-photo-grid,
  .detail-photo-grid.detail-grid-3,
  .detail-grid-3 .detail-photo-grid,
  .detail-photo-grid.detail-grid-4,
  .detail-grid-4 .detail-photo-grid,
  .detail-photo-grid.detail-grid-5,
  .detail-grid-5 .detail-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-photo-grid { gap: 22px 17px; }
}

@media (max-width: 767px) {
  .product-card > a.product-photo { aspect-ratio: 1.04; }
  .product-card > .product-card-title { padding: 12px 6px 14px; font-size: 14px; line-height: 1.55; }
  .home-products .category-sidebar,
  .category-sidebar { display: block; padding: 17px; }
  .category-sidebar h3 { margin-bottom: 14px; font-size: 18px; }
  .category-sidebar .flat-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category-sidebar .flat-categories a { min-height: 44px; padding: 9px 11px; font-size: 14px; }
  .factory-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .factory-grid img { aspect-ratio: 1.45; }
  .factory-grid figcaption { padding-top: 11px; font-size: 14px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .process-grid li { padding: 20px 17px; }
  .process-grid li > span { margin-bottom: 12px; font-size: 25px; }
  .process-grid h3 { margin-bottom: 9px; font-size: 16px; }
  .process-grid p { font-size: 14px; }
  .about-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .about-intro-grid img.factory-image { aspect-ratio: 1.38; }
  .company-year { gap: 8px 16px; margin-top: 19px; padding-top: 17px; }
  .company-year strong { font-size: 37px; }
  .company-year span { font-size: 14px; }
  .about-intro-grid .about-copy h2 { margin-bottom: 18px; font-size: 25px; }
  .about-intro-grid .about-copy h3 { font-size: 18px; }
  .about-intro-grid .about-copy p { margin-bottom: 15px; font-size: 14px; line-height: 1.95; text-align: left; }
  .product-overview .spec-list > div { grid-template-columns: 118px minmax(0, 1fr); gap: 11px; }
  .product-details-section { padding-block: 39px; }
  .product-details-section .section-head p { font-size: 13px; line-height: 1.85; }
  .detail-nav { gap: 7px; margin-bottom: 20px; }
  .detail-nav a { min-height: 45px; padding: 9px 5px; font-size: 12px; }
  .detail-block { margin-top: 19px; padding: 22px 14px 23px; border-radius: 5px; scroll-margin-top: 18px; }
  .detail-block > header,
  .detail-block > .detail-heading,
  .detail-block > .detail-block-heading { gap: 11px; margin-bottom: 22px; }
  .detail-block > header > span,
  .detail-block > .detail-heading > span,
  .detail-block > .detail-block-heading > span { flex-basis: 31px; min-height: 31px; font-size: 14px; }
  .detail-block h3 { margin-bottom: 7px; font-size: 19px; line-height: 1.55; }
  .detail-block > header p,
  .detail-block > .detail-heading p,
  .detail-block > .detail-block-heading p { font-size: 12px; line-height: 1.85; }
  .detail-photo-grid,
  .detail-photo-grid.detail-grid-1,
  .detail-grid-1 .detail-photo-grid,
  .detail-photo-grid.detail-grid-3,
  .detail-grid-3 .detail-photo-grid,
  .detail-photo-grid.detail-grid-5,
  .detail-grid-5 .detail-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-photo-grid.detail-grid-4,
  .detail-grid-4 .detail-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-photo-grid { gap: 20px 11px; }
  .detail-photo-grid img { aspect-ratio: 1.2; padding: 5px; }
  .detail-photo-grid.detail-grid-4 img,
  .detail-grid-4 .detail-photo-grid img { aspect-ratio: 1.55; padding: 8px; }
  .detail-photo-grid figcaption { padding: 9px 1px 0; font-size: 14px; line-height: 1.7; }
  .dimension-diagram { margin-top: 22px; }
  .dimension-diagram img, img.dimension-diagram { padding: 7px; }
  .dimension-diagram figcaption { font-size: 12px; }
  .products-toolbar { display: flex; flex-direction: column; gap: 15px; }
  .products-toolbar .filter-tabs { flex: 0 1 auto; width: 100%; margin-bottom: 0; gap: 7px; }
  .products-toolbar .filter-tabs button { min-height: 39px; padding: 8px 11px; font-size: 12px; }
  .products-toolbar .search-field { flex: 0 1 auto; width: 100%; max-width: none; min-width: 0; }
}

@media (max-width: 360px) {
  .product-card > .product-card-title { padding-inline: 4px; font-size: 12px; }
  .category-sidebar { padding-inline: 13px; }
  .category-sidebar .flat-categories a { padding-inline: 8px; }
  .process-grid li { padding-inline: 14px; }
  .about-intro-grid .about-copy h2 { font-size: 23px; }
  .product-overview .spec-list > div { grid-template-columns: 111px minmax(0, 1fr); font-size: 13px; }
  .detail-block { padding-inline: 12px; }
  .detail-photo-grid { column-gap: 9px; }
  .detail-nav a { padding-inline: 3px; font-size: 11px; }
}

@media print {
  .detail-nav { display: none; }
  .product-details-section { padding-block: 24px; background: #fff; }
  .detail-block { padding: 20px; border-color: #ccc; break-inside: auto; }
  .detail-photo-grid figure, .factory-grid figure, .process-grid li { break-inside: avoid; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-photo-grid, .detail-photo-grid.detail-grid-3, .detail-photo-grid.detail-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Local optimization: readable copy, compact page headings and catalog templates. */
.company-name > span { display: inline; }
.company-year span,
.product-details-section .section-head p,
.product-details-section .note,
.dimension-diagram figcaption { color: #52657c; }
.detail-block > header p,
.detail-block > .detail-heading p,
.detail-block > .detail-block-heading p { color: #4f627a; font-size: 15px; line-height: 1.85; }
.dimension-diagram > p { margin-top: 12px; color: #52657c; font-size: 14px; line-height: 1.8; text-align: center; }
.section-head > div > p { margin-top: 10px; color: #52657c; font-size: 15px; line-height: 1.85; }
.page-banner { padding-block: 28px 30px; }
.page-banner h1 { margin-bottom: 9px; font-size: 35px; }
.page-banner p { color: #49627f; font-size: 16px; }
.breadcrumbs { padding-block: 13px; }
.product-intro-section { padding-top: 32px; padding-bottom: 44px; }
.catalog-detail { padding-block: 32px 48px; }
.catalog-detail > .container { min-width: 0; }

.product-card { display: flex; flex-direction: column; overflow: hidden; border-color: #dce6f1; border-radius: 4px; }
.product-card > a.product-photo { flex: 0 0 auto; aspect-ratio: 1.15; border-bottom: 1px solid #edf2f8; background: #fff; }
.product-card > .product-card-title { padding: 15px 13px 14px; border-top: 0; font-size: 17px; line-height: 1.6; }
.product-card-title > a { display: block; height: auto; color: var(--blue); cursor: pointer; }
.product-card-title > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-card-note { margin: auto 0 0; padding: 0 13px 15px; color: #52657c; font-size: 13px; line-height: 1.7; text-align: center; }
.product-card-note:empty { display: none; }

.category-intro { max-width: 860px; margin-bottom: 27px; }
.category-intro h2 { margin-bottom: 12px; font-size: 25px; }
.category-intro p { color: #52657c; font-size: 15px; line-height: 1.9; }
.category-intro p + p { margin-top: 10px; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; margin-block: 25px 32px; }
.category-grid > a,
.category-grid > article { display: block; min-width: 0; padding: 21px 17px; border: 1px solid #d5e3f2; border-radius: 4px; background: #f5f9fe; }
.category-grid > a:hover { border-color: #98b9df; background: #eaf3fd; }
.category-grid h2,
.category-grid h3,
.category-grid strong { display: block; margin-bottom: 9px; color: var(--blue); font-size: 17px; line-height: 1.6; }
.category-grid p { color: #52657c; font-size: 14px; line-height: 1.8; }
.category-grid small { display: block; margin-top: 12px; color: #52657c; font-size: 13px; }
.category-grid img { width: 100%; aspect-ratio: 1.4; margin-bottom: 14px; object-fit: contain; background: #fff; }

.product-overview:has(> .product-title-block) {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  grid-template-rows: max-content 1fr;
  grid-template-areas: "gallery title" "gallery summary";
  align-items: start;
  gap: 20px 44px;
  padding-top: 0;
}
.product-overview > .product-title-block { grid-area: title; min-width: 0; }
.product-overview > .product-title-block .eyebrow { margin-bottom: 10px; font-size: 13px; letter-spacing: .045em; }
.product-overview > .product-title-block h1 { margin: 0; color: var(--blue); font-size: 35px; line-height: 1.45; overflow-wrap: anywhere; }
.product-overview > .product-gallery { grid-area: gallery; min-width: 0; }
.product-overview > .product-summary { grid-area: summary; min-width: 0; }
.product-summary > p { margin-bottom: 14px; color: #52657c; font-size: 15px; line-height: 1.9; }
.product-summary .spec-list { margin-block: 20px 25px; }
.product-summary .spec-list > div { grid-template-columns: 132px minmax(0, 1fr); gap: 13px; padding-block: 13px; font-size: 15px; }
.product-summary .button-row { margin-top: 21px; margin-bottom: 21px; }
.product-summary .note { margin-top: 16px; color: #52657c; font-size: 13px; line-height: 1.85; }
.product-gallery .main-product-image { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: contain; background: #fff; }
.product-gallery .thumbnail-list button { min-height: 56px; }
.product-facts { margin: 22px 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.product-facts > div,
.product-facts > li { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 14px; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.product-facts dt,
.product-facts > li > strong { color: var(--blue); font-weight: 600; }
.product-facts dd,
.product-facts > li > span { min-width: 0; margin: 0; color: #52657c; overflow-wrap: anywhere; }
.product-facts > p { padding-block: 11px; border-bottom: 1px solid var(--line); color: #52657c; font-size: 15px; line-height: 1.85; }
.related-products { padding-block: 42px; }
.related-products .section-head h2 { font-size: 26px; }
.related-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.detail-nav a { min-height: 48px; color: #294f7c; font-size: 15px; }
details.detail-more,
.detail-more > details { margin-top: 25px; }
.detail-more summary { display: flex; align-items: center; justify-content: center; width: fit-content; min-height: 46px; gap: 15px; margin: 0 auto; padding: 10px 22px; border: 1px solid #a8c3e3; border-radius: 4px; color: var(--blue); background: #f5f9fe; font-size: 15px; font-weight: 600; line-height: 1.65; list-style: none; cursor: pointer; }
.detail-more summary::-webkit-details-marker { display: none; }
.detail-more summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; }
.detail-more details[open] > summary::after,
details.detail-more[open] > summary::after { content: "−"; }
.detail-more summary:hover { border-color: var(--blue); background: #eaf3fd; }
.detail-more details[open] > .detail-photo-grid,
details.detail-more[open] > .detail-photo-grid { margin-top: 25px; }

@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-overview:has(> .product-title-block) { gap: 18px 30px; }
  .product-overview > .product-title-block h1 { font-size: 30px; }
  .product-summary .spec-list > div { grid-template-columns: 118px minmax(0, 1fr); font-size: 14px; }
  .product-summary .button-row { gap: 10px; }
  .product-summary .button-row .button { padding-inline: 16px; }
  .product-facts > div,
  .product-facts > li { grid-template-columns: 104px minmax(0, 1fr); gap: 11px; font-size: 14px; }
}

@media (max-width: 767px) {
  .company-name { font-size: 17px; line-height: 1.55; }
  .company-name > span { display: block; white-space: nowrap; }
  .page-banner { padding-block: 21px 23px; }
  .page-banner h1 { margin-bottom: 8px; font-size: 29px; line-height: 1.45; }
  .page-banner p { font-size: 14px; line-height: 1.85; }
  .breadcrumbs { padding-block: 11px; font-size: 12px; line-height: 1.8; }
  .product-intro-section { padding-top: 23px; padding-bottom: 31px; }
  .catalog-detail { padding-block: 24px 34px; }
  .section-head > div > p { margin-top: 9px; font-size: 14px; }
  .product-overview:has(> .product-title-block) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "title" "gallery" "summary";
    gap: 23px;
  }
  .product-overview > .product-title-block .eyebrow { margin-bottom: 7px; font-size: 12px; }
  .product-overview > .product-title-block h1 { font-size: 28px; line-height: 1.5; }
  .product-summary > p { margin-bottom: 13px; font-size: 15px; line-height: 1.9; }
  .product-summary .spec-list { margin-top: 0; margin-bottom: 22px; }
  .product-summary .spec-list > div { grid-template-columns: 118px minmax(0, 1fr); padding-block: 12px; font-size: 14px; }
  .product-summary .button-row { display: flex; gap: 11px; margin-top: 21px; }
  .product-summary .button-row .button { flex: 1; min-width: 0; padding-inline: 10px; font-size: 14px; }
  .product-summary .note { font-size: 14px; line-height: 1.85; }
  .product-gallery .main-product-image { aspect-ratio: 1.08; }
  .product-gallery .thumbnail-list { gap: 10px; margin-top: 12px; }
  .product-facts { margin-top: 0; }
  .product-facts > div,
  .product-facts > li { grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding-block: 12px; font-size: 14px; }
  .product-card > .product-card-title { padding: 13px 9px 12px; font-size: 15px; line-height: 1.65; }
  .product-card-note { padding: 0 9px 13px; font-size: 13px; line-height: 1.7; }
  .category-intro { margin-bottom: 23px; }
  .category-intro h2 { font-size: 23px; }
  .category-intro p { font-size: 14px; line-height: 1.9; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-block: 20px 27px; }
  .category-grid > a,
  .category-grid > article { padding: 18px 14px; }
  .category-grid h2,
  .category-grid h3,
  .category-grid strong { font-size: 16px; }
  .category-grid p { font-size: 14px; }
  .category-grid small { font-size: 13px; }
  .category-sidebar .flat-categories a { min-height: 46px; font-size: 14px; }
  .products-toolbar .filter-tabs button { min-height: 44px; padding: 9px 12px; font-size: 14px; }
  .products-toolbar .search-field input { min-height: 45px; font-size: 15px; }
  .result-count { font-size: 14px; }
  .detail-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 21px; }
  .detail-nav a { min-height: 47px; padding: 9px 5px; font-size: 13px; line-height: 1.65; }
  .detail-block { scroll-margin-top: 22px; }
  .detail-block > header p,
  .detail-block > .detail-heading p,
  .detail-block > .detail-block-heading p { color: #4f627a; font-size: 14px; line-height: 1.9; }
  .company-year span { color: #52657c; font-size: 15px; }
  .dimension-diagram figcaption,
  .dimension-diagram > p { font-size: 14px; }
  .detail-more summary { min-height: 46px; padding: 10px 18px; font-size: 14px; }
  .related-products { padding-block: 33px; }
  .related-products .section-head h2 { font-size: 24px; }
  .related-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .company-name { font-size: 16px; }
  .product-overview > .product-title-block h1 { font-size: 26px; }
  .product-card > .product-card-title { padding-inline: 7px; font-size: 14px; }
  .product-card-note { padding-inline: 7px; font-size: 13px; }
  .category-grid { gap: 10px; }
  .category-grid > a,
  .category-grid > article { padding: 16px 11px; }
  .product-summary .spec-list > div,
  .product-facts > div,
  .product-facts > li { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; }
  .detail-nav a { font-size: 13px; }
}

@media print {
  .product-overview:has(> .product-title-block) { grid-template-columns: 1fr 1fr; gap: 18px 25px; }
  .detail-more > details, details.detail-more { display: block; }
  .detail-more summary { display: none; }
}

/* Catalog integration: category counts, larger galleries and short detail sections. */
.category-grid > a { color: var(--blue); font-size: 17px; font-weight: 600; line-height: 1.65; }
.category-grid > a > span { display: block; margin-top: 10px; color: #52657c; font-size: 13px; font-weight: 400; line-height: 1.75; }
.category-section .category-grid { max-width: none; }
.product-gallery .thumbnail-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: 100%; }
.product-gallery .thumbnail-list button { width: 100%; min-width: 0; min-height: 44px; height: auto; aspect-ratio: 1.45; }
.product-gallery .thumbnail-list img { width: 100%; height: 100%; object-fit: contain; }
.catalog-detail > .container > h3 { margin: 28px 0 18px; color: var(--blue); font-size: 23px; line-height: 1.6; }
.catalog-detail > .container > .section-head + h3 { margin-top: 0; }
.catalog-detail > .container > .selection-grid + h3 { margin-top: 34px; }
.catalog-detail > .container > h3 + .selection-grid,
.catalog-detail > .container > h3 + .faq-list { margin-top: 0; }

@media (max-width: 767px) {
  .category-grid > a { font-size: 16px; }
  .category-grid > a > span { margin-top: 8px; font-size: 13px; }
  .product-gallery .thumbnail-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
  .catalog-detail > .container > h3 { margin: 23px 0 16px; font-size: 21px; }
  .catalog-detail > .container > .selection-grid + h3 { margin-top: 29px; }
}
