/* Mould catalogue. Shared brand, navigation, footer and contact styles live in style.css. */
.catalog-page { background: #fff; }
.catalog-banner { overflow: hidden; color: #fff; background: linear-gradient(180deg, #041e4f 0%, #074174 64%, #056490 100%); position: relative; }
.catalog-banner::before { content: ''; position: absolute; width: 650px; height: 290px; border: 1px solid #6ac0e755; border-radius: 50%; left: -210px; bottom: -225px; box-shadow: 0 -9px 0 -8px #6ac0e7, 0 -20px 0 -19px #6ac0e7, 0 -32px 0 -31px #6ac0e7, 0 -45px 0 -44px #6ac0e7, 0 -59px 0 -58px #6ac0e7; transform: rotate(15deg); }
.catalog-banner-inner { min-height: 270px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 34px; position: relative; }
.catalog-banner-copy { padding: 25px 0 30px 26px; }
.catalog-banner .catalog-banner-title { display: inline-block; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.5; margin: 0 0 13px; border-bottom: 1px solid #ffffff66; padding-bottom: 10px; letter-spacing: .02em; }
.catalog-banner p { font-size: 19px; line-height: 1.7; margin: 0; color: #d3eaf8; }
.catalog-banner-art { display: block; width: 100%; max-width: 510px; height: auto; justify-self: end; mix-blend-mode: normal; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
.catalog-background { background: #ececec; padding: 24px 0 28px; }
.catalog-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 18px; align-items: start; }
.catalog-sidebar { display: grid; gap: 16px; min-width: 0; }
.catalog-category { background: white; border-radius: 8px; overflow: hidden; }
.catalog-category summary { list-style: none; background: #232323; color: #fff; display: flex; align-items: center; gap: 12px; padding: 14px 20px; font-size: 19px; cursor: pointer; }
.catalog-category summary { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; line-height: 1.35; }
.catalog-category .category-heading-text { display: block; min-width: 0; white-space: nowrap; }
.catalog-category summary::-webkit-details-marker { display: none; }
.catalog-category .category-icon { display: block; width: 24px; height: 24px; flex: 0 0 24px; color: #c3c9ce; }
.category-caret { justify-self: end; width: 10px; height: 10px; margin-top: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; font-size: 0; line-height: 0; transform: rotate(45deg); transition: transform .2s; }
.catalog-category[open] .category-caret { transform: rotate(225deg); margin-top: 5px; }
@media (min-width: 761px) {
  .catalog-category summary { grid-template-columns: 24px minmax(0, 1fr); cursor: default; }
  .catalog-category .category-caret { display: none; }
}
.catalog-category-list { padding: 6px 0; }
.catalog-category-list button, .catalog-category-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; border: 0; border-bottom: 1px solid #eee; background: white; padding: 10px 20px; color: #555; text-align: left; font: inherit; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.catalog-category-list > :last-child { border-bottom: 0; }
.catalog-category-list span { color: #a6afb6; font-size: 20px; line-height: 1; }
.catalog-category-list button:hover, .catalog-category-list a:hover { background: #f0f8fc; color: #0785b8; }
.catalog-category-list button.active { color: #008dca; background: #eaf6fc; box-shadow: inset 3px 0 #009bd6; }
.catalog-hotline { display: flex; align-items: center; gap: 12px; border-radius: 8px; background: #232323; color: white; padding: 24px 16px; }
.catalog-hotline svg { width: 38px; height: 38px; flex-shrink: 0; }
.catalog-hotline span { font-size: 14px; display: block; }
.catalog-hotline strong { display: block; font-size: 20px; line-height: 1.4; letter-spacing: .02em; }
.catalog-panel { background: #fff; padding: 20px 24px 24px; min-width: 0; }
.catalog-panel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #e9e9e9; margin-bottom: 20px; padding-bottom: 12px; }
.catalog-panel-heading h2 { font-size: 18px; color: #009bd6; margin: 0; line-height: 1.4; padding-left: 11px; border-left: 3px solid #009bd6; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #7e8991; }
.breadcrumbs a:hover { color: #0785b8; }
.catalog-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
.catalog-product { display: flex; flex-direction: column; width: 100%; padding: 0; border: 1px solid #e7e7e7; background: white; cursor: pointer; font: inherit; min-width: 0; transition: box-shadow .2s, transform .2s, border-color .2s; }
.catalog-product img { display: block; width: 100%; height: auto; aspect-ratio: 210 / 180; object-fit: contain; background: white; }
.catalog-product-name { display: grid; place-items: center; width: 100%; flex: 1; min-height: 40px; padding: 8px 5px; background: #646464; color: #fff; font-size: 14px; line-height: 1.6; transition: background .2s; }
.catalog-product:hover { transform: translateY(-3px); border-color: #078fc8; box-shadow: 0 8px 16px #16364914; }
.catalog-product:hover .catalog-product-name { background: #078fc8; }
.catalog-pagination-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; margin-top: 6px; }
.catalog-pagination-row { justify-content: center; }
.catalog-pagination, #catalog-pages { display: flex; gap: 5px; align-items: center; }
.catalog-pagination button { min-width: 34px; min-height: 34px; border: 1px solid #dbe2e6; background: #fff; color: #526571; font: inherit; font-size: 13px; padding: 5px 9px; cursor: pointer; }
.catalog-pagination button[aria-current="page"] { background: #009bd6; border-color: #009bd6; color: white; }
.catalog-pagination button:disabled { opacity: .4; cursor: default; }
.page-size-label { font-size: 13px; color: #77838c; display: flex; align-items: center; gap: 5px; }
.page-size-label select { font: inherit; padding: 5px; border: 1px solid #dbe2e6; border-radius: 3px; background: #fff; color: #526571; }
.catalog-news h2 { font-size: 15px; line-height: 1.5; color: #fff; background: #009bd6; padding: 9px 12px; margin: 0 0 10px; }
.catalog-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.catalog-article { display: flex; align-items: baseline; gap: 6px; min-width: 0; padding: 9px 0; font: inherit; font-size: 13px; color: #737d85; text-align: left; background: none; border: 0; border-bottom: 1px dotted #e5e5e5; cursor: pointer; }
.catalog-article::before { content: '+'; color: #999; }
.catalog-article > span { flex: 1; min-width: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.catalog-article time { white-space: nowrap; font-size: 11px; color: #99a1a7; font-variant-numeric: tabular-nums; }
.catalog-article:hover { color: #078fc8; }
.catalog-dialog { width: min(880px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border: 0; border-radius: 8px; padding: 40px 28px 28px; color: #263540; box-shadow: 0 20px 80px #0004; }
.catalog-dialog::backdrop { background: #071522b3; }
.dialog-close { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: transparent; color: #687b88; font-size: 28px; cursor: pointer; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.product-detail-layout > img { width: 100%; height: auto; }
.dialog-eyebrow { color: #0799d5; font-size: 12px; letter-spacing: .08em; margin: 0 0 6px; }
.catalog-dialog h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.5; }
#product-dialog-description, .detail-note, #article-dialog-body { color: #687a86; line-height: 1.9; font-size: 15px; }
.catalog-dialog dl { margin: 20px 0; font-size: 14px; }
.catalog-dialog dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #edf0f2; }
.catalog-dialog dt { color: #88959d; }
.catalog-dialog dd { margin: 0; }
.article-dialog { max-width: 720px; padding: 40px; }
#article-dialog-body p { text-indent: 2em; margin: 0 0 16px; }
.service-catalog-page #service-article-body { color: #687a86; font-size: 15px; line-height: 1.9; text-indent: 2em; }
.catalog-page :is(button, summary, select, a):focus-visible { outline: 2px solid #0b88bf; outline-offset: 3px; }
@media (max-width: 1050px) {
  .catalog-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 16px; }
  .catalog-panel { padding: 18px 16px; }
  .catalog-category summary { padding-inline: 16px; }
  .catalog-category-list button, .catalog-category-list a { padding-inline: 16px; }
  .catalog-hotline { padding-inline: 12px; gap: 8px; }
  .catalog-hotline strong { font-size: 18px; }
  .catalog-banner-copy { padding-left: 0; }
  .catalog-banner p { font-size: 16px; }
  .catalog-product-name { font-size: 13px; }
  .catalog-articles { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .catalog-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: relative; z-index: 5; }
  .catalog-category { position: relative; overflow: visible; }
  .catalog-category[open] { z-index: 6; }
  .catalog-category summary { grid-template-columns: 24px minmax(0, 1fr) 16px; min-height: 52px; border-radius: 8px; }
  .catalog-category[open] summary { border-radius: 8px 8px 0 0; }
  .catalog-category .catalog-category-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 7; max-height: min(52vh, 340px); overflow-y: auto; background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 12px 24px #14202b30; }
  .catalog-hotline { grid-column: 1 / -1; padding: 12px 16px; }
  .catalog-hotline div { display: flex; align-items: center; gap: 14px; }
  .catalog-hotline svg { width: 28px; height: 28px; }
  .catalog-category summary { font-size: 16px; gap: 8px; padding: 12px; }
  .catalog-category-list button, .catalog-category-list a { padding: 10px 12px; font-size: 14px; }
  .catalog-banner-inner { min-height: 220px; grid-template-columns: 1.1fr 1fr; gap: 10px; }
  .catalog-banner .catalog-banner-title { font-size: 25px; }
  .catalog-banner p { font-size: 15px; }
}
@media (max-width: 540px) {
  .catalog-banner-inner { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .catalog-banner-copy { padding: 6px 0 10px; text-align: center; }
  .catalog-banner .catalog-banner-title { font-size: 25px; margin-bottom: 8px; }
  .catalog-banner p { font-size: 14px; }
  .catalog-banner-art { width: min(100%, 330px); justify-self: center; }
  .catalog-background { padding-block: 16px; }
  .catalog-panel { padding: 16px 12px; }
  .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catalog-product-name { min-height: 42px; padding: 7px 5px; font-size: 13px; }
  .catalog-pagination-row { justify-content: center; }
  .catalog-article { font-size: 13px; }
  .catalog-article time { font-size: 10px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 16px; }
  .product-detail-layout > img { max-width: 300px; justify-self: center; }
  .catalog-dialog, .article-dialog { padding: 40px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-product, .catalog-product-name, .category-caret { transition: none; }
}


/* Keep the catalogue aligned with the main site's readable content width. */
.catalog-welcome { background: #fafafa; border-bottom: 1px solid #edf0f2; color: #8a949c; font-size: 12px; padding: 5px 0; }
.catalog-banner-art { border-radius: 0; }
.catalog-layout { grid-template-columns: minmax(190px, 20%) minmax(0, 1fr); }
.catalog-product img { aspect-ratio: 210 / 180; }
.catalog-pagination button { min-height: 40px; }
.catalog-page .catalog-panel { scroll-margin-top: 64px; }
.catalog-dialog[open] { animation: catalog-dialog-in .2s ease-out; }
body:has(.catalog-dialog[open]) { overflow: hidden; }
@keyframes catalog-dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) {
  .catalog-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .catalog-sidebar { align-items: start; }
  .catalog-sidebar .catalog-category-list { max-height: 340px; overflow-y: auto; }
  .catalog-banner-inner { gap: 18px; }
  .catalog-hotline div { flex-wrap: wrap; gap: 2px 12px; }
  .catalog-hotline strong { white-space: nowrap; }
  .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-product-name { font-size: 14px; min-height: 46px; }
}
@media (max-width: 540px) {
  .catalog-welcome { font-size: 11px; }
  .catalog-banner-art { margin-bottom: 20px; }
  .catalog-panel-heading { gap: 12px; }
  .catalog-hotline span { font-size: 13px; }
  .catalog-hotline strong { font-size: 18px; }
  .catalog-category summary { gap: 6px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .catalog-dialog[open] { animation: none; } }
