.catalog-description {
  padding: 5px 0 14px;
}

.catalog-description h2 {
  margin: 0 0 10px;
  font-size: var(--text-24);
  font-weight: var(--weight-bold);
}

.catalog-description__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  color: #555b67;
  line-height: 1.65;
}

.catalog-description p {
  margin: 0;
}

@media (max-width: 700px) {
  .catalog-description h2 {
    font-size: var(--text-24);
  }
  .catalog-description__columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.catalog-hero {
  position: relative;
  overflow: hidden;
  height: clamp(190px, 29.5vw, 390px);
  color: #fff;
  background: #152431;
}

.catalog-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 15, 23, 0.48), rgba(5, 15, 23, 0.35) 45%, rgba(5, 15, 23, 0.85));
}

.catalog-hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.catalog-hero__heading {
  position: relative;
  width: 38%;
  text-transform: uppercase;
}

.catalog-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(var(--text-28), 4.7vw, var(--text-64));
  font-weight: var(--weight-bold);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.catalog-hero__heading span {
  display: block;
  width: 50px;
  height: 5px;
  background: #b4904a;
}

@media (max-width: 767px) {
  .catalog-hero {
    height: 190px;
    background-position: 34% 48%;
  }
  .catalog-hero__heading {
    width: 58%;
  }
  .catalog-hero h1 {
    font-size: clamp(var(--text-24), 7vw, var(--text-40));
  }
}
@media (max-width: 650px) {
  .catalog-hero__inner {
    justify-content: center;
  }
  .catalog-hero__heading {
    width: 100%;
    text-align: center;
  }
  .catalog-hero h1 {
    font-size: clamp(var(--text-24), 7vw, var(--text-32));
  }
  .catalog-hero__heading span {
    margin: 0 auto;
  }
}
.catalog-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalog-product {
  position: relative;
  min-width: 0;
  border: 1px solid #e5e5e5;
  background: #fff;
  touch-action: pan-y;
  display: flex;
  flex-direction: column;
}

.catalog-product[hidden] {
  display: none;
}

.catalog-product[data-status=out] .catalog-product__image:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  background: rgba(120, 120, 120, 0.4);
  z-index: 1;
}

.catalog-product[data-status=out] .catalog-product__image {
  filter: grayscale(1);
}

.catalog-product__image {
  position: relative;
  display: block;
  height: clamp(220px, 23vw, 320px);
  overflow: hidden;
  background: #ececec;
}

.catalog-product__picture {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.catalog-product__picture.is-active {
  opacity: 1;
}

.catalog-product__picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.catalog-product__image:hover .catalog-product__picture img {
  transform: scale(1.04);
}

.catalog-product__dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 12px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.catalog-product__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.catalog-product__dot.is-active {
  background: #b18a43;
}

.catalog-product__badges {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
}

.catalog-product__badge {
  padding: 5px 11px;
  color: #fff;
  background: #b18a43;
  font-size: var(--text-12);
  font-weight: var(--weight-bold);
}

@media (prefers-reduced-motion: reduce) {
  .catalog-product__picture, .catalog-product__picture img {
    transition: none;
  }
}
.catalog-product__badge--new {
  background: #b18a43;
}

.catalog-product__badge--hit {
  background: #171717;
}

.catalog-product__badge--preorder {
  background: #3f80b4;
}

.catalog-product__badge--sale {
  background: #e3353e;
}

.catalog-product__info {
  padding: 9px 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  display: flex;
  flex-grow: 1;
}

.catalog-product__brand {
  display: block;
  font-size: var(--text-14);
  font-weight: var(--weight-bold);
}

.catalog-product__name {
  display: block;
  min-height: 41px;
  font-size: var(--text-18);
  line-height: 1.3;
  color: inherit;
}

.catalog-product__name::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

.catalog-product__name:focus-visible::before {
  outline: 2px solid #ad8438;
  outline-offset: 2px;
}

.catalog-product__name:hover {
  color: #ad8438;
}

.catalog-product__prices {
  display: flex;
  gap: 15px;
  align-items: baseline;
  min-height: 35px;
  white-space: nowrap;
  margin-bottom: 12px;
}

.catalog-product__prices {
  font-size: var(--text-20);
  font-weight: var(--weight-bold);
}

.catalog-product__prices.catalog-product__price--sale {
  color: #f02b35;
}

.catalog-product__prices del {
  color: #9c9fa7;
  font-size: var(--text-14);
  font-weight: var(--weight-regular);
}

.catalog-product__actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  height: 40px;
  pointer-events: none;
  margin-top: auto;
}

.catalog-product__sizes button, .catalog-product__cart {
  pointer-events: auto;
}

.catalog-product__sizes {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.catalog-product__sizes button {
  display: grid;
  flex: 0 0 auto;
  min-width: 40px;
  width: auto;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid #d9d9dc;
  background: #fff;
  font-size: var(--text-14);
  line-height: 1;
  padding-inline: 10px;
}

.catalog-product__sizes button:not(:first-child) {
  border-left: 0;
}

.catalog-product__sizes button[hidden], .catalog-size-picker[hidden] {
  display: none !important;
}

.catalog-product__sizes button.is-selected {
  color: #fff;
  background: #171717;
  border-color: #171717;
}

.catalog-product__sizes .catalog-product__more {
  font-weight: var(--weight-bold);
}

.catalog-product__sizes .catalog-product__more:hover, .catalog-product__sizes .catalog-product__more.has-selected-hidden {
  background: #f4eee3;
}

.catalog-product__cart {
  display: grid;
  flex: 0 0 40px;
  padding: 0;
  place-items: center;
  border: 0;
  background: #af8840;
  color: #fff !important;
  cursor: pointer;
}

.catalog-product__cart:hover {
  background: #8e6c30;
}

.catalog-product__cart svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.catalog-product__unavailable {
  display: grid;
  width: 100%;
  place-items: center;
  color: #777;
  background: #e3e3e5;
  font-size: var(--text-12);
}

.catalog-pagination {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin: 28px 0 22px;
}

.catalog-pagination .catalog-pagination__pag, .catalog-pagination span:not(:nth-last-child(2)) {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid #d9dce1;
}

.catalog-pagination .catalog-pagination__pag--next {
  transform: rotate(-90deg);
}

.catalog-pagination .catalog-pagination__pag--prev {
  transform: rotate(90deg);
}

.catalog-pagination .catalog-pagination__pag svg {
  width: 20px;
  height: 20px;
}

.catalog-pagination .is-current {
  color: #fff;
  background: #161616;
  border-color: #161616 !important;
}

.catalog-pagination a:hover {
  border-color: #ad8438;
}

@media (max-width: 980px) {
  .catalog-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .catalog-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .catalog-product__image {
    height: 260px;
  }
  .catalog-product__prices strong {
    font-size: var(--text-18);
  }
  .catalog-product__prices del {
    font-size: var(--text-12);
  }
}
@media (max-width: 430px) {
  .catalog-product__image {
    height: 210px;
  }
  .catalog-product__info {
    padding: 8px;
  }
  .catalog-product__name {
    font-size: var(--text-12);
  }
  .catalog-product__sizes button {
    flex-basis: auto;
    min-width: 32px;
    height: 32px;
    font-size: var(--text-12);
  }
  .catalog-product__actions {
    height: 32px;
  }
  .catalog-product__cart {
    flex-basis: 32px;
  }
}
.catalog-size-picker {
  position: fixed;
  inset: 0;
  z-index: 2200;
}

.catalog-size-picker__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
}

.catalog-size-picker__panel {
  position: fixed;
  padding: 16px;
  border: 1px solid #d9dce2;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 27, 42, 0.18);
}

.catalog-size-picker__panel::before {
  position: absolute;
  top: -7px;
  right: 19px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #d9dce2;
  border-left: 1px solid #d9dce2;
  content: "";
  background: #fff;
  transform: rotate(45deg);
}

.catalog-size-picker.is-above .catalog-size-picker__panel::before {
  top: auto;
  bottom: -7px;
  border: 0;
  border-right: 1px solid #d9dce2;
  border-bottom: 1px solid #d9dce2;
}

.catalog-size-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.catalog-size-picker__head h3 {
  margin: 0;
  font-size: var(--text-14);
  font-weight: var(--weight-bold);
}

.catalog-size-picker__close {
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  background: none;
  font-size: var(--text-24);
  line-height: 1;
}

.catalog-size-picker__options {
  display: grid;
  grid-template-columns: repeat(5, auto);
}

.catalog-size-picker__options button {
  display: grid;
  width: auto;
  padding-inline: 10px;
  min-width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #d9d9dc;
  background: #fff;
  font-size: var(--text-12);
}

.catalog-size-picker__options button:not(:first-child):not(:nth-child(6n)) {
  border-left: 0;
}

.catalog-size-picker__options button:nth-child(n+6) {
  border-top: 0;
}

.catalog-size-picker__options button.is-selected {
  color: #fff;
  border-color: #171717;
  background: #171717;
}

@media (max-width: 767px) {
  .catalog-size-picker__backdrop {
    background: rgba(13, 17, 23, 0.58);
  }
  .catalog-size-picker__panel {
    top: 50% !important;
    left: 50% !important;
    width: min(330px, 100vw - 32px);
    padding: 19px;
    transform: translate(-50%, -50%);
  }
  .catalog-size-picker__panel::before {
    display: none;
  }
  .catalog-size-picker__options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .catalog-size-picker__options button {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
  }
  body.catalog-size-picker-open {
    overflow: hidden;
  }
}