:root {
  --category-blue: #102d73;
  --category-blue-soft: #eef6ff;
  --category-blue-line: #d7e6f7;
  --category-text: #1e2c43;
  --category-muted: #687691;
  --category-green: #129331;
}

body.type-category #content.content {
  color: var(--category-text);
}

body.type-category .category-top {
  margin-bottom: 20px;
}

body.type-category .category-title {
  margin: 0 0 15px !important;
  color: var(--category-blue) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.type-category .category-perex,
body.type-category .category-header-description {
  max-width: 760px;
  margin: -7px 0 18px !important;
  color: var(--category-muted);
  font-size: 14px;
  line-height: 1.55;
}

body.type-category .category-top .subcategories.with-image {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

body.type-category .category-top .subcategories.with-image > li {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.type-category .category-top .subcategories.with-image > li > a {
  position: relative;
  min-height: 74px;
  display: grid !important;
  grid-template-columns: 70px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 16px !important;
  border: 1px solid var(--category-blue-line);
  border-radius: 8px;
  background: #fff;
  color: var(--category-blue) !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(16, 45, 115, .035);
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.type-category .category-top .subcategories.with-image > li > a:after {
  content: "";
  position: static !important;
  width: 8px;
  height: 8px;
  justify-self: end;
  align-self: center;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: .78;
  transform: rotate(-45deg);
  transition: transform .16s ease, opacity .16s ease;
}

body.type-category .category-top .subcategories.with-image > li > a:before {
  content: none !important;
  display: none !important;
}

body.type-category .category-top .subcategories.with-image > li > a:hover,
body.type-category .category-top .subcategories.with-image > li > a:focus-visible {
  border-color: #bcd4f3;
  background: var(--category-blue-soft);
  box-shadow: 0 10px 24px rgba(16, 45, 115, .08);
  transform: translateY(-1px);
}

body.type-category .category-top .subcategories.with-image > li > a:hover:after,
body.type-category .category-top .subcategories.with-image > li > a:focus-visible:after {
  opacity: 1;
  transform: translateX(2px) rotate(-45deg);
}

body.type-category .category-top .subcategories.with-image .image {
  width: 58px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 7px;
  background: #f7fbff;
}

body.type-category .category-top .subcategories.with-image .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body.type-category .category-top .subcategories.with-image .text {
  display: block;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  color: inherit !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.28;
}

body.type-category .products-top-wrapper {
  margin: 20px 0 20px !important;
}

body.type-category .products-top-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px !important;
  color: var(--category-blue) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: uppercase;
}

body.type-category .products-top-header:after {
  content: "";
  min-width: 40px;
  height: 1px;
  flex: 1 1 auto;
  background: var(--category-blue-line);
}

body.type-category #productsTop.products-top {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body.type-category #productsTop.products-top > .product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 26px !important;
  border-right: 1px solid var(--category-blue-line);
}

body.type-category #productsTop.products-top > .product:nth-child(3n),
body.type-category #productsTop.products-top > .product:last-child {
  border-right: 0;
}

body.type-category #productsTop.products-top .p {
  min-height: 92px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

body.type-category #productsTop.products-top .image {
  width: 112px !important;
  height: 76px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

body.type-category #productsTop.products-top .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

body.type-category #productsTop.products-top .extra-flags,
body.type-category #productsTop.products-top .p-code,
body.type-category #productsTop.products-top .price-standard-wrapper {
  display: none !important;
}

body.type-category #productsTop.products-top .p-in,
body.type-category #productsTop.products-top .p-in-in,
body.type-category #productsTop.products-top .p-bottom,
body.type-category #productsTop.products-top .offers,
body.type-category #productsTop.products-top .prices {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body.type-category #productsTop.products-top .name {
  display: block;
  margin: 0 0 4px !important;
  color: #006fc9 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.28;
  text-decoration: none !important;
}

body.type-category #productsTop.products-top .name:hover {
  color: var(--category-blue) !important;
}

body.type-category #productsTop.products-top .ratings-wrapper {
  margin: 0 0 4px !important;
  color: var(--category-muted);
  font-size: 13px;
  line-height: 1.2;
}

body.type-category #productsTop.products-top .availability {
  color: var(--category-green) !important;
  font-weight: 800;
}

body.type-category #productsTop.products-top .availability-amount {
  color: var(--category-text) !important;
  font-weight: 500;
}

body.type-category #productsTop.products-top .price-final {
  color: #1d1d1f !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.1;
}

body.type-category .toggle-top-products.btn {
  min-height: 38px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 16px auto 0 !important;
  padding: 9px 22px !important;
  border: 1px solid #bcd4f3 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #0057c2 !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: none !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

body.type-category .toggle-top-products.btn:hover,
body.type-category .toggle-top-products.btn:focus-visible {
  border-color: var(--category-blue) !important;
  background: var(--category-blue-soft) !important;
  color: var(--category-blue) !important;
  transform: translateY(-1px);
}

body.type-category .category-content-wrapper {
  margin-top: 18px;
}

body.type-category .category-header {
  min-height: 56px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px !important;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 0;
  background: #f8fafc !important;
  box-shadow: inset 0 1px 0 rgba(16, 45, 115, .06);
}

body.type-category .category-header .listSorting {
  min-width: 0;
}

body.type-category .category-header .listSorting__controls {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.type-category .category-header .listSorting__controls > li {
  margin: 0 !important;
  padding: 0 !important;
}

body.type-category .category-header .listSorting__control {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 8px 18px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--category-text) !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

body.type-category .category-header .listSorting__control:hover,
body.type-category .category-header .listSorting__control:focus-visible {
  background: #fff !important;
  border-color: #d9e8f9 !important;
  color: var(--category-blue) !important;
}

body.type-category .category-header .listSorting__control--current {
  border-color: #bcd4f3 !important;
  background: #fff !important;
  color: #006fc9 !important;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(16, 45, 115, .05);
}

body.type-category .category-header .listItemsTotal {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--category-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

body.type-category .category-header .listItemsTotal strong {
  color: var(--category-text);
  font-weight: 800;
}

@media (max-width: 1199px) {
  body.type-category .category-top .subcategories.with-image {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.type-category #productsTop.products-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }

  body.type-category #productsTop.products-top > .product:nth-child(3n) {
    border-right: 1px solid var(--category-blue-line);
  }

  body.type-category #productsTop.products-top > .product:nth-child(2n),
  body.type-category #productsTop.products-top > .product:last-child {
    border-right: 0;
  }
}

@media (max-width: 991px) {
  body.type-category .category-top .subcategories.with-image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.type-category #productsTop.products-top {
    grid-template-columns: 1fr;
  }

  body.type-category #productsTop.products-top > .product {
    padding: 12px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--category-blue-line);
  }

  body.type-category #productsTop.products-top > .product:last-child {
    border-bottom: 0;
  }

  body.type-category .category-header {
    align-items: flex-start;
    flex-direction: column;
  }

  body.type-category .category-header .listItemsTotal {
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  body.type-category .category-title {
    font-size: 24px !important;
  }

  body.type-category .category-top .subcategories.with-image {
    grid-template-columns: 1fr;
  }

  body.type-category .category-top .subcategories.with-image > li > a {
    min-height: 64px;
    grid-template-columns: 58px minmax(0, 1fr) 12px;
  }

  body.type-category #productsTop.products-top .p {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  body.type-category #productsTop.products-top .image {
    width: 88px !important;
    height: 66px !important;
  }

  body.type-category .category-header .listSorting__controls {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  body.type-category .category-header .listSorting__control {
    width: 100%;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
