.catalog-overview {
  margin: 0 0 24px;
  padding: 18px;
  color: #e9eaf0;
  background: #11131d;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
}

.catalog-overview strong {
  color: #fff;
}

.catalog-search {
  margin-top: 14px;
}

.catalog-search label {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-weight: 700;
}

.catalog-search input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: #161722;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  font: inherit;
}

.catalog-search input:focus {
  border-color: #ff6800;
  outline: none;
}

.catalog-search-status {
  min-height: 22px;
  margin: 7px 0 0;
  color: #d5d7df;
  font-size: 14px;
}

.catalog-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.catalog-jump-link {
  padding: 8px 11px;
  color: #f5f5f8 !important;
  background: #202330;
  border: 1px solid #343847;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none !important;
}

.catalog-jump-link:hover,
.catalog-jump-link:focus-visible {
  color: #fff !important;
  background: #ff6800;
  border-color: #ff6800;
  outline: none;
}

.catalog-group {
  margin: 0 0 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9dbe2;
  border-radius: 12px;
  scroll-margin-top: 24px;
}

.catalog-group[hidden] {
  display: none !important;
}

.catalog-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 17px;
  color: #fff;
  background: #171925;
  cursor: pointer;
  font-size: 18px;
  font-weight: 750;
  list-style: none;
}

.catalog-group summary::-webkit-details-marker {
  display: none;
}

.catalog-group summary::after {
  content: "+";
  color: #ff7a1a;
  font-size: 25px;
  line-height: 1;
}

.catalog-group[open] summary::after {
  content: "−";
}

.catalog-group-count {
  margin-left: auto;
  color: #c9cbd4;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.catalog-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-richtext table.catalog-table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: #fff;
}

.category-richtext .catalog-table th,
.category-richtext .catalog-table td {
  padding: 11px 13px;
  color: #1b1c22;
  border: 0;
  border-bottom: 1px solid #e4e5ea;
  text-align: left;
  vertical-align: top;
}

.category-richtext .catalog-table th {
  color: #2b2c33;
  background: #f0f1f4;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.category-richtext .catalog-table tbody tr:last-child td {
  border-bottom: 0;
}

.category-richtext .catalog-table tbody tr:hover td {
  background: #fff7f1;
}

.catalog-price {
  font-weight: 750;
  white-space: nowrap;
}

.catalog-note {
  display: block;
  margin-top: 3px;
  color: #686a73;
  font-size: 12px;
}

.catalog-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.catalog-image-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
}

.catalog-product-gallery {
  margin: 0 0 28px;
}

.catalog-product-gallery__title {
  margin: 0 0 12px;
  color: #1f2028;
  font-size: 21px;
  font-weight: 780;
}

.catalog-product-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.catalog-product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #191a20 !important;
  background: #fff;
  border: 1px solid #d9dbe2;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(20, 22, 31, .08);
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.catalog-product-card:hover,
.catalog-product-card:focus-visible {
  border-color: #ff6800;
  box-shadow: 0 12px 28px rgba(20, 22, 31, .15);
  outline: none;
  transform: translateY(-2px);
}

.catalog-product-card img {
  box-sizing: border-box;
  width: 100%;
  height: 230px;
  max-height: none;
  padding: 10px;
  margin: 0;
  display: block;
  background: #fff;
  object-fit: contain;
}

.catalog-product-card__name {
  min-height: 58px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #171925;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
}

.catalog-image-lightbox {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  padding: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
}

.catalog-image-lightbox.is-open {
  display: flex;
}

.catalog-image-lightbox__panel {
  position: relative;
  width: min(1080px, 100%);
  height: min(90vh, 880px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-image-lightbox__figure {
  width: calc(100% - 112px);
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.catalog-image-lightbox__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100% - 48px);
  display: block;
  background: #fff;
  border-radius: 9px;
  object-fit: contain;
}

.catalog-image-lightbox__caption {
  min-height: 34px;
  padding-top: 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
}

.catalog-image-lightbox__close,
.catalog-image-lightbox__prev,
.catalog-image-lightbox__next {
  flex: 0 0 auto;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.catalog-image-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  font-size: 32px;
}

.catalog-image-lightbox__prev,
.catalog-image-lightbox__next {
  width: 48px;
  height: 48px;
  font-size: 40px;
}

.catalog-image-lightbox__close:hover,
.catalog-image-lightbox__prev:hover,
.catalog-image-lightbox__next:hover,
.catalog-image-lightbox__close:focus-visible,
.catalog-image-lightbox__prev:focus-visible,
.catalog-image-lightbox__next:focus-visible {
  color: #111;
  background: #fff;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.catalog-page-link {
  display: inline-block;
  margin: 4px 0 22px;
  color: #ff6800 !important;
  font-weight: 750;
}

@media screen and (max-width: 767px) {
  .catalog-overview {
    padding: 15px;
  }

  .catalog-jump-nav {
    flex-wrap: nowrap;
    padding-bottom: 7px;
    overflow-x: auto;
  }

  .catalog-jump-link {
    flex: 0 0 auto;
  }

  .catalog-group summary {
    padding: 13px 14px;
    font-size: 16px;
  }

  .catalog-group-count {
    display: none;
  }

  .category-richtext table.catalog-table {
    min-width: 560px;
    font-size: 14px;
  }

  .category-richtext .catalog-table th,
  .category-richtext .catalog-table td {
    padding: 10px;
  }

  .catalog-image-grid {
    grid-template-columns: 1fr;
  }

  .catalog-image-grid img {
    height: auto;
    max-height: 260px;
    object-fit: contain;
  }

  .catalog-product-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-product-card img {
    height: 165px;
    padding: 7px;
  }

  .catalog-product-card__name {
    min-height: 62px;
    padding: 10px;
    font-size: 14px;
  }

  .catalog-image-lightbox {
    padding: 12px;
  }

  .catalog-image-lightbox__panel {
    height: 92vh;
  }

  .catalog-image-lightbox__figure {
    width: calc(100% - 80px);
  }

  .catalog-image-lightbox__prev,
  .catalog-image-lightbox__next {
    width: 36px;
    height: 44px;
    font-size: 32px;
  }
}
