.breadcrumbs {
  min-height: 41px;
  display: flex;
  align-items: center;
  color: #62636a;
  background: #f4f4f5;
  font-size: 13px;
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 7px;
}

.breadcrumbs a:hover { color: var(--orange); }

.category-page { padding-block: 30px 56px; }

.category-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.category-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.category-main {
  min-width: 0;
}

.side-widget {
  overflow: hidden;
  border: 1px solid var(--line, #e6e7e9);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.side-widget__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.side-widget__head--orange {
  color: #fff;
  background: var(--orange, #ff6100);
}

.side-widget__head--light {
  color: #171717;
  background: #fff;
  border-bottom: 1px solid var(--line, #e6e7e9);
}

.side-widget__head--light i {
  color: var(--orange, #ff6100);
}

.side-widget__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-widget__list > li + li {
  border-top: 1px solid #f0f1f3;
}

.side-widget__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  color: #2a2b2e;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.side-widget__link:hover {
  color: #171717;
  background: #fafafa;
  text-decoration: none;
}

.side-widget__link.is-active {
  color: var(--orange, #ff6100);
  background: #fff4ec;
  font-weight: 600;
}

.side-widget__label {
  min-width: 0;
  flex: 1;
}

.side-widget__link > i {
  flex: 0 0 auto;
  color: #c2c3c8;
  font-size: 11px;
}

.side-widget__link.is-active > i {
  color: var(--orange, #ff6100);
}

.category-sidebar__modules #column-left {
  float: none;
  width: 100%;
  padding: 0;
  margin: 0;
  display: block;
}

.category-sidebar__modules #column-left.col-sm-3,
.category-sidebar__modules #column-left.hidden-xs {
  width: 100% !important;
  display: block !important;
  visibility: visible !important;
}

.category-sidebar__modules .list-group {
  margin: 0;
  border: 1px solid var(--line, #e6e7e9);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.category-sidebar__modules .list-group-item {
  border: 0;
  border-bottom: 1px solid #f0f1f3;
  border-radius: 0 !important;
  padding: 11px 14px;
  color: #2a2b2e;
}

.category-sidebar__modules .list-group-item:last-child {
  border-bottom: 0;
}

.category-sidebar__modules .list-group a.list-group-item.active,
.category-sidebar__modules .list-group a.list-group-item.active:hover {
  color: #fff;
  background: var(--orange, #ff6100);
  border-color: var(--orange, #ff6100);
}

.catalog-empty {
  margin: 24px 0 18px;
  color: #55565c;
  font-size: 15px;
}

.wishlist-continue {
  margin-top: 8px;
}

.wishlist-continue .buy-button {
  display: inline-flex;
  width: auto;
  min-width: 180px;
  text-decoration: none;
}

.product-card--wishlist .product-card__actions {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  justify-content: flex-end;
}

.product-card--wishlist .product-card__buttons {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.product-card--wishlist .buy-button,
.product-card--wishlist .remove-button {
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.product-card--wishlist .remove-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid #d5d6da;
  border-radius: 20px;
  color: #55565c;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: color .15s, border-color .15s, background .15s;
}

.product-card--wishlist .remove-button:hover {
  color: #fff;
  border-color: #2a2b2e;
  background: #2a2b2e;
}

.category-products.is-list .product-card--wishlist .product-card__buttons {
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

/* modules inside category already sit in .container — don't nest another */
.category-page .products-section.container {
  width: 100%;
  margin-inline: 0;
}

.category-page .products-section {
  margin-top: 48px;
  margin-bottom: 0;
}

.category-page .products-section .section-title {
  margin-bottom: 22px;
}

.category-page .product-swiper {
  margin-inline: 0;
}

.category-page .product-swiper .swiper-slide {
  height: auto;
}

.category-page .product-swiper .product-card {
  min-height: 430px;
  height: 100%;
}

.page-title {
  margin-bottom: 30px;
  color: #171717;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-toolbar {
  min-height: 39px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 21px;
  padding: 5px 10px;
  background: #f3f3f4;
}

.view-controls,
.sort-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.view-button {
  padding: 0;
  border: 0;
  color: #111;
  background: transparent;
  font-size: 18px;
}

.view-button.is-active { color: var(--orange); }

.sort-controls { gap: 15px; }
.sort-controls label { display: flex; align-items: center; gap: 7px; }

.sort-controls select {
  height: 29px;
  min-width: 220px;
  padding: 0 30px 0 9px;
  border: 1px solid #dadbdd;
  color: #3b3c42;
  background: #fff;
}

.sort-controls label:last-child select { min-width: 62px; }

.category-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-products .product-card {
  min-height: 0;
  padding: 8px 15px 17px;
}

.category-products .product-card__media {
  max-height: 265px;
  margin-bottom: 3px;
}

.category-products .product-card__title {
  min-height: 40px;
  font-size: 15px;
  line-height: 1.15;
}

.product-model {
  align-self: flex-start;
  color: #999;
  font-size: 12px;
}

.product-description {
  display: none;
  color: #777;
  line-height: 1.45;
}

.stock-label {
  position: absolute;
  top: 11px;
  right: 10px;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 2px;
  color: #fff;
  background: #76a638;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.stock-label--call { background: #e47b18; }

.category-products.is-list {
  grid-template-columns: 1fr;
  gap: 0;
}

.category-products.is-list .product-card {
  min-height: 220px;
  display: grid;
  grid-template-columns: 205px 1fr;
  grid-template-rows: auto auto auto auto 1fr;
  align-items: start;
  column-gap: 24px;
  padding: 15px 0 20px;
  border: 0;
  border-bottom: 1px solid #ececee;
  text-align: left;
}

.category-products.is-list .product-card__media {
  grid-row: 1 / 7;
  width: 205px;
  height: 195px;
}

.category-products.is-list .product-model { display: none; }

.category-products.is-list .product-card__title {
  grid-column: 2;
  min-height: 0;
  margin: 4px 0 9px;
  color: #d85a18;
  font-size: 15px;
}

.category-products.is-list .product-description {
  grid-column: 2;
  display: block;
  margin: 0 0 15px;
  font-size: 14px;
}

.category-products.is-list .price {
  grid-column: 2;
  grid-row: auto;
  min-height: 0;
  margin: 0 0 10px;
  white-space: nowrap;
}

.category-products.is-list .buy-button {
  grid-column: 2;
  grid-row: auto;
  align-self: start;
  justify-self: start;
  min-height: 31px;
  padding: 7px 17px;
}

.category-products.is-list .product-card__actions {
  position: static;
  grid-column: 2;
  grid-row: auto;
  width: auto;
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 9px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.category-products.is-list .product-card__actions button,
.category-products.is-list .product-card__actions a {
  width: auto;
  height: auto;
  display: flex;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  color: #55565c;
  background: transparent;
  font-size: 11px;
}

.category-products.is-list .product-card__actions button::after,
.category-products.is-list .product-card__actions a::after {
  content: attr(title);
}

.category-products.is-list .product-card__actions button:hover,
.category-products.is-list .product-card__actions a:hover {
  color: var(--orange);
  background: transparent;
}

.category-products.is-list .stock-label { display: none; }

.pagination-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 8px;
  color: #777;
}

.pagination {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination > li > a,
.pagination > li > span,
.pagination a {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-right: -1px;
  border: 1px solid #dedfe1;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.pagination > li > a:hover,
.pagination > li.active > span,
.pagination > li.active > a,
.pagination a:hover,
.pagination a.is-active {
  z-index: 1;
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.category-products .product-card {
  position: relative;
}

.category-description {
  margin: 34px 0 0;
  color: #6a6b70;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .category-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
  }
  .category-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-toolbar { align-items: flex-start; }
  .sort-controls { flex-wrap: wrap; justify-content: flex-end; }
  .sort-controls select { min-width: 170px; }
}

@media (max-width: 760px) {
  .category-page { padding-top: 22px; }
  .page-title { margin-bottom: 20px; }
  .category-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .catalog-toolbar { flex-direction: column; }
  .sort-controls {
    width: 100%;
    justify-content: flex-start;
  }
  .category-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-products .product-card { padding-inline: 10px; }
  .pagination-row { align-items: flex-start; flex-direction: column; }
  .pagination { max-width: 100%; overflow-x: auto; }
}

@media (max-width: 520px) {
  .category-products { grid-template-columns: 1fr; }
  .sort-controls { flex-direction: column; align-items: stretch; }
  .sort-controls label { justify-content: space-between; }
  .sort-controls select { width: 70%; min-width: 0; }
  .category-products.is-list .product-card {
    min-height: 160px;
    display: grid;
    grid-template-columns: 115px 1fr;
    column-gap: 13px;
    text-align: left;
  }
  .category-products.is-list .product-card__media {
    width: 115px;
    height: 145px;
  }
  .category-products.is-list .product-description { display: none; }
  .category-products.is-list .product-card__actions button::after,
  .category-products.is-list .product-card__actions a::after { display: none; }
}


/* OC pagination (ul/li) */
.pagination-row ul.pagination {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-row .pagination > li > a,
.pagination-row .pagination > li > span {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-right: -1px;
  border: 1px solid #dedfe1;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.pagination-row .pagination > li.active > span,
.pagination-row .pagination > li > a:hover {
  z-index: 1;
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.category-products .product-card {
  position: relative;
}

.category-products .buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.catalog-search-panel {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid #e4e5e8;
  background: #f8f8f9;
}

.catalog-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.catalog-search-field {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: #62636a;
}

.catalog-search-field input,
.catalog-search-field select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d6d7db;
  background: #fff;
  color: #222;
  font: inherit;
}

.catalog-search-submit {
  height: 42px;
  padding: 0 22px;
  border: 0;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.catalog-search-submit:hover { background: var(--orange); }

.catalog-search-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 14px;
}

.catalog-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: #444;
  cursor: pointer;
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.catalog-tab {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #d6d7db;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.catalog-tab:hover,
.catalog-tab.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.manufacturer-intro {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e4e5e8;
}

.manufacturer-intro__logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.manufacturer-intro__text {
  flex: 1 1 auto;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .catalog-search-row {
    grid-template-columns: 1fr;
  }

  .manufacturer-intro {
    flex-direction: column;
  }
}
