.km-reference-sections { margin:0 0 40px; }
.km-catalog-pages { min-width:0; scroll-margin-top:calc(var(--km-sticky-header-height,150px) + 16px); }
.km-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; margin:32px 0 0; }
.km-pagination > a,.km-pagination > span { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-width:32px; height:32px; margin:0; padding:0 9px; border:0; border-radius:4px; background:#fff; color:#222; font-size:14px; font-weight:400; line-height:1; text-decoration:none; box-shadow:none; }
.km-pagination > a:hover { background:#fff0f3; color:var(--km-red); }
.km-pagination > a.is-current { background:var(--km-red); color:#fff; }
.km-pagination > .is-disabled { color:#c7c7cd; cursor:default; }
.km-page-chevron { display:block; width:7px; height:7px; border-top:1px solid currentColor; border-right:1px solid currentColor; transform:rotate(45deg); margin-left:-3px; }
.km-page-chevron-prev { transform:rotate(-135deg); margin-left:3px; }
.km-department-panel .km-pagination { max-width:1080px; margin-top:24px; padding-bottom:4px; }
.km-mall-layout.has-selected-department > .km-mall-hero,.km-mall-layout.has-selected-department > .km-mall-side,.km-mall-layout.has-selected-department > .km-mall-mini { display:none; }
@media (max-width:767px) { .km-pagination { gap:6px; margin-top:24px; }.km-pagination > a,.km-pagination > span { min-width:32px; padding:0 7px; }.km-catalog-pages { scroll-margin-top:16px; } }
.km-reference-section { position:relative; isolation:isolate; overflow:hidden; padding:30px 25px; border-radius:0; margin-bottom:40px; background:#f3f0ef; }
.km-reference-background { position:absolute; z-index:-1; inset:0; width:100%; height:100%; object-fit:cover; object-position:top center; }
.km-reference-theme-dark { width:100vw; margin-left:calc(50% - 50vw); border-radius:0; padding:50px max(25px,calc((100vw - 1290px)/2)); background:#050505; color:#fff; }
.km-reference-heading { margin-bottom:20px; }
.km-reference-heading h2 { color:inherit; font-size:26px; line-height:36px; margin:0; letter-spacing:0; }
.km-reference-subheading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:6px; min-height:20px; }
.km-reference-heading p { font-size:14px; line-height:20px; margin:0; color:inherit; opacity:.8; }
.km-reference-subheading > a { display:inline-flex; align-items:center; gap:4px; flex:0 0 auto; margin-left:auto; font-size:14px; color:#767676; }
.km-reference-heading .km-icon { width:15px; height:15px; }
.km-reference-theme-dark .km-reference-subheading > a { color:#d9d4dc; }
.km-reference-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:27px 26px; }
.km-catalog-card { display:block; min-width:0; overflow:hidden; color:#fff; border-radius:8px; background:#fff; box-shadow:0 4px 12px #0000000d; }
.km-catalog-card:hover { color:#fff; }
.km-catalog-card-top { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; gap:15px; height:134px; padding:28px 26px; background:#1a1a1a; }
.km-catalog-card img.km-catalog-backdrop { position:absolute; z-index:-1; inset:0; width:100%; height:100%; max-width:none; margin:0; object-fit:cover; filter:blur(35px) saturate(3) brightness(.8); transform:scale(2); border-radius:0; }
.km-catalog-logo-wrap { flex:0 0 auto; width:70px; height:70px; border-radius:12px; overflow:hidden; background:#fff; box-shadow:0 4px 12px #0003; }
.km-catalog-card img.km-catalog-logo { display:block; width:100%; height:100%; margin:0; border-radius:0; object-fit:cover; }
.km-catalog-copy { position:relative; z-index:1; display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.km-catalog-title-box { display:flex; align-items:center; height:37px; max-width:100%; }
.km-catalog-copy strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:#fff; font-size:18px; line-height:20px; font-weight:700; text-shadow:0 1px 4px #0003; overflow-wrap:anywhere; }
.km-catalog-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:min(100%,160px); width:fit-content; margin-top:6px; padding:0 8px; border-radius:4px; background:#ffffff36; color:#fff; font-size:11px; line-height:20px; }
.km-catalog-card-bottom { display:flex; align-items:baseline; height:46px; padding:5px 10px 7px; color:var(--km-red); font-size:23px; font-weight:700; line-height:1.45; background:#fff; }
.km-catalog-card-bottom .woocommerce-Price-currencySymbol { font-size:12px; margin-right:2px; }
.km-catalog-card-bottom > small { margin-left:3px; font-size:11px; color:#aaa5a8; font-weight:400; }
.km-catalog-price-unknown { font-size:12px; color:#8b8790; font-weight:400; }
.km-department-panel .km-catalog-card-top,.km-category-layout .km-catalog-card-top { height:120px; min-height:120px; padding:26px; gap:16px; }
.km-department-panel .km-catalog-logo-wrap,.km-category-layout .km-catalog-logo-wrap { width:64px; height:64px; border-radius:12px; }
.km-department-panel .km-catalog-copy strong,.km-category-layout .km-catalog-copy strong { font-size:18px; line-height:18px; }
.km-department-panel .km-catalog-card-bottom,.km-category-layout .km-catalog-card-bottom { height:40px; min-height:40px; padding:5px 12px; font-size:20px; }
.km-catalog-availability { padding:12px 15px; background:#fff1f3; border-left:3px solid var(--km-red); border-radius:0 8px 8px 0; font-size:13px; color:#93616c; }
@media (min-width:768px) and (max-width:1100px) {
  .km-reference-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
  .km-catalog-card-top { padding:20px 16px; gap:12px; }
  .km-catalog-logo-wrap { width:60px; height:60px; }
  .km-catalog-copy strong { font-size:14px; }
}
@media (max-width:767px) {
  .km-reference-section { padding:22px 13px 24px; margin-left:-5px; margin-right:-5px; border-radius:10px; margin-bottom:16px; }
  .km-reference-heading { margin-bottom:17px; gap:12px; }
  .km-reference-heading h2 { font-size:21px; }
  .km-reference-heading p { font-size:10px; }
  .km-reference-subheading > a { font-size:11px; gap:3px; }
  .km-reference-theme-dark { width:100vw; padding-left:18px; padding-right:18px; margin-left:calc(50% - 50vw); }
  .km-reference-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .km-catalog-card-top,.km-department-panel .km-catalog-card-top,.km-category-layout .km-catalog-card-top { flex-direction:column; align-items:flex-start; justify-content:center; height:auto; min-height:157px; gap:9px; padding:14px 12px; }
  .km-catalog-logo-wrap,.km-department-panel .km-catalog-logo-wrap,.km-category-layout .km-catalog-logo-wrap { width:48px; height:48px; border-radius:10px; }
  .km-catalog-copy { width:100%; }
  .km-catalog-copy strong,.km-department-panel .km-catalog-copy strong,.km-category-layout .km-catalog-copy strong { font-size:12px; min-height:18px; }
  .km-catalog-copy small { max-width:100%; font-size:8px; margin-top:5px; }
  .km-catalog-card-bottom,.km-department-panel .km-catalog-card-bottom,.km-category-layout .km-catalog-card-bottom { min-height:40px; font-size:21px; padding-left:12px; }
}
