/* BAYROX category catalog. Scoped to category routes so the header, mega menu and home stay untouched. */
body[class*="product-category"] .main-content .background,
body[class*="product-category"] .main-content .pattern,
body[class*="product-category"] .main-content .background-content {
  background: #F6F9FC !important;
  background-image: none !important;
}

body[class*="product-category"] .bx-hero {
  display: none !important;
}

body[class*="product-category"] .main-content {
  padding-top: 8px;
}

body[class*="product-category"] #content.content-without-background,
body[class*="product-category"] #content.content-with-background {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body[class*="product-category"] .bx-cat-layout > #column-left + div > .row {
  margin-left: 0;
  margin-right: 0;
}

body[class*="product-category"] .bx-cat-layout > #column-left + div > .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.bx-cat-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  border-bottom: 1px solid #E5EBF2;
  margin: 0 0 18px;
}

.bx-cat-hero .container {
  padding-top: 16px;
  padding-bottom: 16px;
}

.bx-cat-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.bx-cat-crumbs li {
  display: inline-flex;
  align-items: center;
  color: #6b7c93;
  font-size: 13px;
}

.bx-cat-crumbs li + li:before {
  content: "/";
  margin: 0 8px;
  color: #b7c3d3;
}

.bx-cat-crumbs a {
  color: #5d7190;
  text-decoration: none;
}

.bx-cat-crumbs a:hover { color: #0788DF; }

.bx-cat-crumbs li:last-child span {
  color: #17395E;
  font-weight: 600;
}

.bx-cat-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.bx-cat-hero h1 {
  margin: 0;
  color: #17395E;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.bx-cat-hero h1:after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: #0788DF;
}

.bx-cat-hero-copy p {
  margin: 8px 0 0;
  max-width: 70ch;
  color: #4d5e76;
  font-size: 14.5px;
  line-height: 1.55;
}

.bx-cat-hero-count {
  flex: 0 0 auto;
  min-width: 84px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: #EAF5FF;
  color: #17395E;
  text-align: center;
  line-height: 1.1;
}

.bx-cat-hero-count strong {
  display: block;
  font-size: 22px;
  font-weight: 750;
}

.bx-cat-hero-count span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0788DF;
}

.bx-subcat-wrap {
  margin: 0 0 22px;
}

.bx-subcat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bx-subcat-head h2 {
  margin: 0;
  color: #17395E;
  font-size: 16px;
  font-weight: 700;
}

.bx-subcat-nav { display: none; }

.bx-subcat-nav button {
  width: 32px;
  height: 32px;
  border: 1px solid #E5EBF2;
  border-radius: 9px;
  background: #fff;
  color: #17395E;
  font-size: 20px;
  line-height: 1;
}

.bx-subcat-nav button:hover { border-color: #0788DF; color: #0788DF; }
.bx-subcat-nav button:disabled { opacity: 0.35; }

.bx-subcat-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}

.bx-subcat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 16px 12px 14px;
  border: 1px solid #E5EBF2;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bx-subcat-card:hover {
  transform: translateY(-3px);
  border-color: #9fd0f5;
  box-shadow: 0 10px 24px rgba(23, 57, 94, 0.08);
}

.bx-subcat-card.is-active {
  border-color: #0788DF;
  box-shadow: inset 0 0 0 1px #0788DF;
}

.bx-subcat-visual {
  width: 100%;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #F6F9FC;
  overflow: hidden;
}

.bx-subcat-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.bx-subcat-icon { color: #0788DF; }

.bx-subcat-name {
  color: #223047;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bx-subcat-count {
  color: #0788DF;
  font-size: 12px;
  font-weight: 650;
}

.bx-cat-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.bx-cat-layout > #column-left {
  width: 260px !important;
  max-width: 260px;
  flex: 0 0 260px;
  float: none !important;
  padding: 0 !important;
  position: relative;
  z-index: 6;
}

.bx-cat-layout > #column-left + div {
  flex: 1 1 auto;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  float: none !important;
  padding: 0 !important;
}

.bx-cat-side {
  background: #fff;
  border: 1px solid #E5EBF2;
  border-radius: 14px;
  overflow: visible;
}

.bx-drawer-head,
.bx-drawer-bar,
.bx-filter-launch { display: none; }

.bx-side-block + .bx-side-block,
.bx-side-filters { border-top: 1px solid #E5EBF2; }

.bx-side-toggle,
.bx-filter-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 14px;
  border: 0;
  background: #fff;
  color: #17395E;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}

.bx-side-toggle i,
.bx-filter-group-toggle:after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.6px solid #0788DF;
  border-bottom: 1.6px solid #0788DF;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.bx-side-block.is-open > .bx-side-toggle i,
.bx-filter-group.is-open > .bx-filter-group-toggle:after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.bx-side-block:not(.is-open) > .bx-side-panel,
.bx-filter-group:not(.is-open) > .box-filter { display: none; }

.bx-side-panel { padding: 0 8px 12px; }

.bx-side-tree,
.bx-tree-children,
.bx-brand-list,
.box-filter {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bx-tree-row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
}

.bx-tree-row a {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 6px 6px;
  color: #223047;
  font-size: 13.5px;
  line-height: 1.3;
  text-decoration: none;
}

.bx-tree-ico {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5EBF2;
  border-radius: 10px;
  background: #F7FBFE;
  overflow: hidden;
}

.bx-tree-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.bx-tree-ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #17395E;
  stroke-width: 1.6;
}

.bx-tree-label {
  flex: 1 1 auto;
  min-width: 0;
}

.bx-tree-count {
  flex: 0 0 auto;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #EAF5FF;
  color: #0788DF;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  line-height: 20px;
  text-align: center;
}

.bx-tree-fly { display: none; }
.bx-tree-fly-head { display: none; }

.bx-tree-item.is-current > .bx-tree-row {
  background: #EAF5FF;
}

.bx-tree-item.is-current > .bx-tree-row a {
  color: #17395E;
  font-weight: 750;
}

.bx-tree-row a:hover { color: #0788DF; }

.bx-tree-toggle {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  position: relative;
}

.bx-tree-toggle:before,
.bx-tree-toggle:after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 13px;
  height: 1.6px;
  background: #17395E;
}

.bx-tree-toggle:after { transform: rotate(90deg); }
.bx-tree-item.is-open > .bx-tree-row .bx-tree-toggle:after { display: none; }

.bx-tree-item:not(.is-open) > .bx-tree-children { display: none; }
.bx-tree-children { margin-left: 12px; padding-left: 8px; border-left: 1px solid #E5EBF2; }
.bx-tree-children .bx-tree-row a { font-size: 13px; color: #3c4d66; }
.bx-tree-item.is-active > .bx-tree-row a { font-weight: 700; }

@media (min-width: 992px) {
  .bx-side-panel { overflow: visible; }
  .bx-side-tree > .bx-tree-item { position: relative; }

  .bx-side-tree > .bx-tree-item > .bx-tree-row {
    border-radius: 10px;
  }

  .bx-side-tree > .bx-tree-item.is-current > .bx-tree-row,
  .bx-side-tree > .bx-tree-item.is-active > .bx-tree-row {
    box-shadow: inset 3px 0 0 #0788DF;
  }

  .bx-side-tree > .bx-tree-item > .bx-tree-fly {
    display: none;
    flex-direction: column;
    position: absolute;
    top: -6px;
    left: calc(100% + 6px);
    width: 520px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 54px rgba(23, 57, 94, 0.16), 0 0 0 1px rgba(23, 57, 94, 0.06);
    max-height: min(480px, 72vh);
    overflow: hidden;
    z-index: 100;
  }

  .bx-side-tree > .bx-tree-item > .bx-tree-fly.is-wide { width: 680px; }
  .bx-side-tree > .bx-tree-item > .bx-tree-fly.is-plain { width: 360px; }
  .bx-side-tree > .bx-tree-item > .bx-tree-fly.is-wide.is-plain { width: 520px; }

  /* Expanded invisible bridge spanning from flyout towards row */
  .bx-side-tree > .bx-tree-item > .bx-tree-fly:before {
    content: "";
    position: absolute;
    top: -50px;
    bottom: -50px;
    left: -50px;
    width: 60px;
    background: transparent;
    z-index: 30;
    pointer-events: auto;
  }

  .bx-side-tree > .bx-tree-item > .bx-tree-fly:after {
    content: "";
    position: absolute;
    top: 22px;
    left: -5px;
    width: 12px;
    height: 12px;
    background: #17395E;
    border-radius: 2px;
    transform: rotate(45deg);
    z-index: 25;
  }

  .bx-side-tree > .bx-tree-item.is-flyout {
    z-index: 1000 !important;
  }
  .bx-side-tree > .bx-tree-item:hover {
    z-index: 60;
  }

  /* Expanded invisible bridge spanning from row towards flyout */
  .bx-side-tree > .bx-tree-item.is-flyout::after,
  .bx-side-tree > .bx-tree-item:hover::after {
    content: "";
    position: absolute;
    top: -20px;
    bottom: -20px;
    right: -35px;
    width: 50px;
    background: transparent;
    z-index: 40;
    pointer-events: auto;
  }

  .bx-side-tree > .bx-tree-item.is-flyout > .bx-tree-fly,
  .bx-side-tree > .bx-tree-item:focus-within > .bx-tree-fly {
    display: flex !important;
    z-index: 1000 !important;
  }

  .bx-tree-fly-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 13px;
    background: linear-gradient(135deg, #17395E 0%, #1d4e86 72%, #0788DF 140%);
    color: #fff;
  }

  .bx-tree-fly-head small {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .bx-tree-fly-head strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  .bx-tree-fly-head a {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none !important;
  }

  .bx-tree-fly-head a:hover { background: #0788DF; }

  .bx-tree-fly-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 176px;
    gap: 12px;
    align-items: start;
    min-height: 0;
    padding: 12px;
    overflow: auto;
    background: linear-gradient(180deg, #f3f9ff 0, #fff 48px);
  }

  .bx-tree-fly.is-plain .bx-tree-fly-stage { grid-template-columns: minmax(0, 1fr); }

  .bx-tree-fly-stage > .bx-tree-children {
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
    background: transparent;
  }

  .bx-tree-fly.is-wide .bx-tree-fly-stage > .bx-tree-children {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .bx-tree-fly.is-wide .bx-tree-fly-stage > .bx-tree-children > .bx-tree-item > .bx-tree-row {
    height: 100%;
    border: 1px solid #E5EBF2;
    border-radius: 12px;
    background: #F7FBFE;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  }

  .bx-tree-fly.is-wide .bx-tree-fly-stage > .bx-tree-children > .bx-tree-item > .bx-tree-row a {
    min-height: 46px;
    padding: 10px 12px;
    font-weight: 650;
  }

  .bx-tree-fly.is-wide .bx-tree-fly-stage > .bx-tree-children > .bx-tree-item:hover > .bx-tree-row,
  .bx-tree-fly.is-wide .bx-tree-fly-stage > .bx-tree-children > .bx-tree-item.is-current > .bx-tree-row {
    border-color: #9fd0f5;
    background: #fff;
    box-shadow: 0 8px 20px rgba(23, 57, 94, 0.07);
  }

  .bx-tree-fly:not(.is-wide) .bx-tree-fly-stage > .bx-tree-children > .bx-tree-item > .bx-tree-row {
    border-radius: 10px;
  }

  .bx-tree-fly:not(.is-wide) .bx-tree-fly-stage > .bx-tree-children > .bx-tree-item > .bx-tree-row a {
    padding: 7px 8px;
    font-weight: 700;
  }

  .bx-tree-vitrin {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 220px;
    padding: 10px;
    border: 1px solid #E5EBF2;
    border-radius: 14px;
    background: #fff;
    text-decoration: none !important;
  }

  .bx-tree-vitrin-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 148px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f4f9ff 0%, #e7f3fb 100%);
    overflow: hidden;
  }

  .bx-tree-vitrin-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
  }

  .bx-tree-vitrin strong {
    color: #17395E;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
  }

  .bx-tree-vitrin-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-top: auto;
    padding: 0 10px;
    border-radius: 10px;
    background: #17395E;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
  }

  .bx-tree-fly .bx-tree-item:hover > .bx-tree-row a,
  .bx-tree-fly .bx-tree-item.is-current > .bx-tree-row a { color: #0788DF; }

  .bx-tree-fly .bx-tree-item:hover > .bx-tree-row .bx-tree-count,
  .bx-tree-fly .bx-tree-item.is-current > .bx-tree-row .bx-tree-count {
    background: #0788DF;
    color: #fff;
  }

  .bx-tree-children .bx-tree-children {
    position: static;
    width: auto;
    max-height: none;
    margin: 2px 6px 8px 14px;
    padding: 4px 4px 4px 8px;
    border: 0;
    border-left: 2px solid #0788DF;
    border-radius: 0 10px 10px 0;
    background: #F4F9FD;
    box-shadow: none;
    overflow: visible;
  }

  .bx-tree-children .bx-tree-item:hover > .bx-tree-children,
  .bx-tree-children .bx-tree-item.is-open > .bx-tree-children {
    display: block;
  }

  .bx-side-tree > .bx-tree-item > .bx-tree-row .bx-tree-toggle {
    width: 26px;
    height: 26px;
    margin-right: 4px;
    border-radius: 8px;
    background: #F3F7FB;
  }

  .bx-side-tree > .bx-tree-item > .bx-tree-row .bx-tree-toggle:before,
  .bx-side-tree > .bx-tree-item > .bx-tree-row .bx-tree-toggle:after {
    left: auto;
    right: auto;
    top: 9px;
    width: 6px;
    height: 6px;
    background: none;
    border-right: 1.6px solid #17395E;
    border-bottom: 1.6px solid #17395E;
    transform: rotate(-45deg);
  }

  .bx-side-tree > .bx-tree-item > .bx-tree-row .bx-tree-toggle:after { display: none; }
  .bx-side-tree > .bx-tree-item > .bx-tree-row .bx-tree-toggle:before { left: 9px; display: block; }

  .bx-side-tree > .bx-tree-item:hover > .bx-tree-row,
  .bx-side-tree > .bx-tree-item.is-flyout > .bx-tree-row {
    background: #F4F9FE;
  }

  .bx-side-tree > .bx-tree-item:hover > .bx-tree-row .bx-tree-toggle,
  .bx-side-tree > .bx-tree-item.is-flyout > .bx-tree-row .bx-tree-toggle {
    background: #0788DF;
  }

  .bx-side-tree > .bx-tree-item:hover > .bx-tree-row .bx-tree-toggle:before,
  .bx-side-tree > .bx-tree-item.is-flyout > .bx-tree-row .bx-tree-toggle:before {
    border-color: #fff;
  }
}

.bx-brand-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  color: #223047;
  font-size: 13.5px;
  text-decoration: none;
}

.bx-brand-link em {
  font-style: normal;
  color: #6b7c93;
  font-size: 12px;
}

.bx-brand-link.is-active,
.bx-brand-link.is-picked {
  background: #EAF5FF;
  color: #17395E;
  font-weight: 700;
}

.bx-brand-extra { display: none; }
.bx-brand-list.is-expanded .bx-brand-extra { display: block; }

.bx-brand-more,
.bx-filter-submit {
  display: inline-flex;
  margin: 6px 8px 0;
  color: #0788DF;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
}

.bx-filter-group { border-top: 1px solid #F0F4F8; }
.bx-filter-group:first-child { border-top: 0; }

.box-filter {
  max-height: 220px;
  overflow: auto;
  padding: 0 8px 8px;
}

.box-filter label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 6px 0;
  color: #223047;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.box-filter input { margin-top: 2px; accent-color: #0788DF; }

.bx-filter-submit {
  margin: 4px 14px 12px;
  padding: 8px 12px;
  border-radius: 9px;
  background: #17395E;
  color: #fff !important;
  text-decoration: none !important;
}

.bx-cat-toolbar.bx-cat-toolbar-solo {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 0;
  margin: 0;
}

.bx-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid #E5EBF2;
  border-radius: 14px;
  background: #fff;
}

.bx-cat-toolbar-left,
.bx-cat-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bx-cat-countline {
  margin: 0;
  color: #5d7190;
  font-size: 13px;
  line-height: 1.3;
}

.bx-cat-countline strong {
  display: block;
  color: #17395E;
  font-size: 14px;
}

.bx-view-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: #F6F9FC;
}

.bx-view-switch button {
  width: 34px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7c93;
}

.bx-view-switch button.is-active {
  background: #fff;
  color: #0788DF;
  box-shadow: 0 1px 3px rgba(23, 57, 94, 0.12);
}

.bx-select {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #5d7190;
  font-size: 12px;
  font-weight: 650;
}

.bx-select select {
  height: 36px;
  max-width: 210px;
  padding: 0 28px 0 10px;
  border: 1px solid #E5EBF2;
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2317395E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  color: #223047;
  font-size: 13px;
  appearance: none;
}

.bx-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bx-cat-list { display: flex; flex-direction: column; gap: 14px; }

.bx-pcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #E5EBF2;
  border-radius: 12px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bx-pcard:hover {
  transform: translateY(-3px);
  border-color: #c5ddf3;
  box-shadow: 0 12px 28px rgba(23, 57, 94, 0.08);
}

.bx-pcard-media { position: relative; }

.bx-pcard-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #F6F9FC;
  overflow: hidden;
}

.bx-pcard-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.bx-pcard-placeholder {
  color: #8aa0b8;
}

.bx-pcard-badge {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #17395E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.bx-pcard-badge-new { background: #0788DF; }

.bx-pcard-tools {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
}

.bx-pcard-tools .quickview { display: flex; }

.bx-pcard-tool {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5EBF2;
  border-radius: 9px;
  background: #fff;
  color: #17395E;
  padding: 0;
}

.bx-pcard-tool:hover { color: #0788DF; border-color: #0788DF; }

.bx-pcard-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding-top: 12px;
}

.bx-pcard-name {
  margin: 0;
  min-height: 2.7em;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.bx-pcard-name a {
  color: #223047;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bx-pcard-name a:hover { color: #0788DF; }

.bx-pcard-desc {
  margin: 0;
  color: #5d7190;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bx-pcard-price { min-height: 22px; }

.bx-price-now { color: #17395E; font-size: 16px; font-weight: 750; }
.bx-price-old { margin-right: 6px; color: #8aa0b8; font-size: 13px; text-decoration: line-through; }

.bx-pcard-cta { margin-top: auto; }

.bx-pcard-button {
  width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: #0788DF;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.bx-pcard-button:hover { background: #0674bf; }

.bx-pcard-login { background: #17395E; }
.bx-pcard-login:hover { background: #102844; }

.bx-pcard-button-ghost {
  background: #EAF5FF;
  color: #17395E !important;
}

.bx-pcard-list {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
}

.bx-pcard-list .bx-pcard-body { padding-top: 0; }
.bx-pcard-list .bx-pcard-cta { max-width: 240px; }
.bx-pcard-list:hover { transform: none; }

.bx-cat-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.bx-cat-pages .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bx-cat-pages .pagination > li { float: none; }

.bx-cat-pages .pagination > li > a,
.bx-cat-pages .pagination > li > span {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #E5EBF2;
  border-radius: 10px;
  background: #fff;
  color: #223047;
  font-weight: 650;
  line-height: 1;
}

.bx-cat-pages .pagination > li.active > span,
.bx-cat-pages .pagination > li > a:hover {
  background: #0788DF;
  border-color: #0788DF;
  color: #fff;
}

.bx-cat-pageinfo { margin: 0; color: #5d7190; font-size: 13px; }

.bx-cat-empty {
  margin: 12px 0 20px;
  padding: 28px 20px;
  border: 1px dashed #E5EBF2;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.bx-cat-empty p { margin: 0 0 14px; color: #223047; }
.bx-cat-empty .bx-pcard-button { width: auto; padding-left: 18px; padding-right: 18px; }

.bx-cat-seo {
  margin-top: 28px;
  padding: 28px 32px;
  border: 1px solid #E5EBF2;
  border-radius: 16px;
  background: #fff;
}

.bx-cat-seo-body {
  max-width: none;
  color: #223047;
  font-size: 15.5px;
  line-height: 1.75;
}

.bx-cat-seo-body > *:first-child { margin-top: 0; }
.bx-cat-seo-body h2,
.bx-cat-seo-body h3,
.bx-cat-seo-body h4 {
  margin: 1.3em 0 0.45em;
  color: #17395E;
  font-weight: 750;
  line-height: 1.3;
}
.bx-cat-seo-body h2 { font-size: 22px; }
.bx-cat-seo-body h3 { font-size: 18px; }
.bx-cat-seo-body p { margin: 0 0 0.9em; }
.bx-cat-seo-body ul,
.bx-cat-seo-body ol { margin: 0 0 1em; padding-left: 1.2em; }
.bx-cat-seo-body li { margin: 0.35em 0; }
.bx-cat-seo-body img { max-width: 100%; height: auto; border-radius: 12px; }
.bx-cat-seo-body a { color: #0788DF; }

.bx-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199990;
  background: rgba(23, 57, 94, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}

.bx-drawer-backdrop.is-visible { opacity: 1; visibility: visible; }

@media (max-width: 1199px) {
  .bx-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}

@media (max-width: 1100px) and (min-width: 992px) {
  .bx-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .bx-tree-item.is-open > .bx-tree-fly {
    display: block;
    position: static;
    width: auto;
    background: transparent;
    box-shadow: none;
  }
  .bx-tree-vitrin { display: none; }
  .bx-tree-ico { width: 32px; height: 32px; flex-basis: 32px; }
  .bx-cat-layout { display: block; }
  .bx-filter-launch,
  .bx-cat-toolbar.bx-cat-toolbar-solo { display: flex; }
  .bx-cat-toolbar.bx-cat-toolbar-solo { margin-bottom: 12px; }
  .bx-drawer-head,
  .bx-drawer-bar { display: flex; }

  .bx-cat-layout > #column-left {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200000;
    width: min(90vw, 400px) !important;
    max-width: 90vw;
    background: #fff;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(105%);
    transition: transform .28s ease;
    box-shadow: -18px 0 40px rgba(23, 57, 94, 0.18);
  }

  body.bx-drawer-open .bx-cat-layout > #column-left { transform: none; }

  .bx-cat-side {
    min-height: 100%;
    border: 0;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .bx-drawer-head {
    position: sticky;
    top: 0;
    z-index: 3;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid #E5EBF2;
    color: #17395E;
  }

  .bx-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #F6F9FC;
    color: #17395E;
    font-size: 24px;
    line-height: 1;
  }

  .bx-drawer-tools { padding: 12px 12px 0; }
  .bx-drawer-tools .bx-cat-toolbar-right { flex-direction: column; align-items: stretch; }
  .bx-drawer-tools .bx-select { justify-content: space-between; }
  .bx-drawer-tools .bx-select select { flex: 1; max-width: none; }

  .bx-drawer-bar {
    position: sticky;
    bottom: 0;
    z-index: 3;
    gap: 8px;
    margin-top: auto;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #E5EBF2;
  }

  .bx-drawer-clear,
  .bx-drawer-apply {
    flex: 1;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-weight: 750;
    text-decoration: none !important;
  }

  .bx-drawer-clear {
    border: 1px solid #E5EBF2;
    background: #fff;
    color: #17395E;
  }

  .bx-drawer-apply {
    border: 0;
    background: #0788DF;
    color: #fff;
  }

  .bx-filter-launch {
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: #17395E;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }

  .bx-cat-toolbar { align-items: flex-start; }
  .bx-cat-toolbar-right { display: none; }
  body.bx-drawer-open .bx-drawer-tools .bx-cat-toolbar-right { display: flex; }
}

@media (max-width: 767px) {
  .bx-cat-hero h1 { font-size: 24px; }
  .bx-cat-hero-row { align-items: flex-start; }
  .bx-cat-toolbar { flex-wrap: wrap; padding: 10px; }
  .bx-cat-toolbar-left { width: 100%; flex-wrap: wrap; }
  .bx-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bx-pcard { padding: 8px; }
  .bx-pcard-name { font-size: 13px; }
  .bx-pcard-button { min-height: 34px; font-size: 12px; padding: 7px 8px; }
  .bx-subcat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-subcat-visual { height: 92px; }
  .bx-pcard-list { grid-template-columns: 112px minmax(0, 1fr); }
  .bx-cat-seo { padding: 18px 16px; }
  .bx-cat-pager { align-items: flex-start; }
}

@media (max-width: 340px) {
  .bx-subcat-rail { gap: 10px; }
  .bx-pcard-button span { font-size: 11px; }
  .bx-cat-hero-count { display: none; }
}
