.kb-shop {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 48px 96px;
  background: #fff;
  box-sizing: border-box;
}

.kb-shop__head {
  margin-bottom: 48px;
}

.kb-shop__label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #999;
}

.kb-shop__title {
  margin: 0;
  font-size: 54px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  color: #111;
}

.kb-shop__links {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.kb-shop__links::-webkit-scrollbar {
  display: none;
}

.kb-shop__links a {
  flex: 0 0 auto;
  padding: 11px 16px;
  background: #f3f3f3;
  border: 1px solid #ececec;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .04em;
  border-radius: 999px;
}

.kb-shop__links a.is-active {
  background: #FF6C0F;
  border-color: #FF6C0F;
  color: #fff;
}

.kb-shop__links a.is-active:hover {
  background: #FF6C0F;
  border-color: #FF6C0F;
  color: #fff;
}

.kb-shop__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  font-size: 13px;
  color: #777;
}

.kb-shop__filters {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.kb-filter {
  position: relative;
}

.kb-filter summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fafafa;
  color: #111;
  transition: all .2s ease;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.kb-filter__name {
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kb-filter__selected {
  font-size: 11px;
  line-height: 1;
  color: #777;
  text-transform: none;
  letter-spacing: 0;
}

.kb-filter summary::-webkit-details-marker {
  display: none;
}

.kb-filter[open] summary {
  background: #f1f1f1;
  color: #111;
  border-color: #111;
}

.kb-filter__body {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 40;
  min-width: 220px;
  max-height: 360px;
  overflow-y: auto;
  padding: 18px;
  background: #fff;
  border: 1px solid #eaeaea;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.kb-filter__option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  cursor: pointer;
}

.kb-filter__option:last-child {
  margin-bottom: 0;
}

.kb-filter__option input {
  width: 16px;
  height: 16px;
}

.kb-filter-submit,
.kb-filter-reset {
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kb-filter-submit {
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.kb-filter-reset {
  border: 1px solid #ddd;
  color: #111;
  background: #fff;
}

.kb-mobile-sort {
  display: none;
}

@media (max-width: 767px) {

  .kb-shop__filters {
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    margin-bottom: 24px;
  }

  .kb-shop__filters::-webkit-scrollbar {
    display: none;
  }

  .kb-filter summary {
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 12px;
  }

  .kb-filter__body {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    min-width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    padding: 24px;
  }

}

.kb-shop__sort select,
.kb-shop .orderby {
  min-height: 38px;
  padding: 0 36px 0 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background-color: #f7f7f7;
  color: #111;
  font-size: 13px;
  outline: none;
}

.kb-shop ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 28px;
  margin: 0 !important;
  padding: 0 !important;
}

.kb-shop ul.products::before,
.kb-shop ul.products::after {
  display: none !important;
  content: none !important;
}

.kb-shop ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.kb-catalog-card__image-wrap {
  position: relative;
  margin-bottom: 18px;
  background: #f4f4f4;
  overflow: hidden;
}

.kb-catalog-card__image-link {
  display: block;
}

.kb-catalog-card__image-link img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.kb-catalog-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 9px 15px;
  background: #e86f2a;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.kb-catalog-card__wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
}

.kb-catalog-card__wishlist .yith-add-to-wishlist-button-block {
  margin: 0 !important;
}

.kb-catalog-card__wishlist .yith-wcwl-add-to-wishlist-button {
  width: 36px;
  height: 36px;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, .82) !important;
  border: 0 !important;
  color: #fff !important;
  backdrop-filter: blur(4px);
  transition: opacity .2s ease, background .2s ease;
}

.kb-catalog-card__wishlist .yith-wcwl-add-to-wishlist-button:hover {
  opacity: .82;
}

.kb-catalog-card__wishlist .yith-wcwl-icon,
.kb-catalog-card__wishlist .yith-wcwl-icon svg {
  width: 20px !important;
  height: 20px !important;
  color: #fff !important;
  stroke: #fff !important;
  fill: none !important;
}

.kb-catalog-card__wishlist .yith-wcwl-icon path,
.kb-catalog-card__wishlist svg path {
  stroke: #fff !important;
}

.kb-catalog-card__wishlist .yith-wcwl-add-to-wishlist-button--added svg,
.kb-catalog-card__wishlist .yith-wcwl-add-to-wishlist-button--added svg path {
  fill: #fff !important;
  stroke: #fff !important;
}

.kb-catalog-card__wishlist .yith-wcwl-add-to-wishlist-button__label {
  display: none !important;
}

.kb-catalog-card__body {
  display: block;
}

.kb-catalog-card__title {
  display: block;
  margin-bottom: 12px;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 17px;
  line-height: 1.22;
  font-weight: 400;
}

.kb-catalog-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  color: #111;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  white-space: normal;
}

.kb-catalog-card__price del {
  color: #9a9a9a;
  opacity: 1;
  font-size: 15px;
  font-weight: 400;
  margin-right: 0;
}

.kb-catalog-card__price ins {
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.kb-catalog-card__colors {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
}

.kb-catalog-card__color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #d8d8d8;
  display: block;
  flex-shrink: 0;
}

.kb-catalog-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid #111;
  border-radius: 0;
  background: transparent;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.kb-catalog-card__button:hover {
  background: #111;
  color: #fff !important;
}

.kb-shop__pagination {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.kb-shop__pagination nav.woocommerce-pagination {
  display: flex;
  justify-content: center;
}

.kb-shop__pagination ul.page-numbers {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.kb-shop__pagination ul.page-numbers li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.kb-shop__pagination ul.page-numbers li a,
.kb-shop__pagination ul.page-numbers li span {
  width: 36px;
  height: 36px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  background: transparent;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
}

.kb-shop__pagination ul.page-numbers li span.current {
  background: #111;
  border-color: #111;
  color: #fff;
}

.kb-shop__pagination ul.page-numbers li a:hover {
  border-color: #111;
}

@media (max-width: 767px) {
  .kb-shop {
    padding: 42px 24px 72px;
  }

  .kb-shop__head {
    margin-bottom: 36px;
  }

  .kb-shop__title {
    font-size: 42px;
  }

  .kb-shop__links {
    gap: 28px;
    margin-top: 24px;
    margin-bottom: 26px;
  }

  .kb-shop__toolbar {
    display: none;
  }

  .kb-shop ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 14px;
  }

  .kb-catalog-card__image-wrap {
    margin-bottom: 13px;
  }

  .kb-catalog-card__title {
    margin-bottom: 9px;
    font-size: 14px;
    line-height: 1.2;
  }

  .kb-catalog-card__price {
    margin-bottom: 13px;
    gap: 7px;
    font-size: 15px;
  }

  .kb-catalog-card__price del {
    font-size: 13px;
  }

 .kb-catalog-card__button {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  font-size: 11px;
  letter-spacing: .04em;
}

  .kb-catalog-card__wishlist {
    width: 38px;
    height: 38px;
    font-size: 23px;
  }

  .kb-catalog-card__badge {
    top: 10px;
    left: 10px;
    padding: 7px 11px;
    font-size: 10px;
  }
}

.kb-mobile-filter-open,
.kb-filter-mobile-head {
  display: none;
}

@media (max-width: 767px) {
  .kb-shop__native-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  margin-bottom: 28px;
}

.kb-mobile-sort {
  display: block;
}

.kb-mobile-sort .woocommerce-ordering {
  margin: 0;
}

.kb-mobile-sort select {
  height: 40px;
  max-width: 160px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #f7f7f7;
  color: #222;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

  .kb-mobile-filter-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #f7f7f7;
    color: #222;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .kb-shop__toolbar {
    display: none;
  }

  .kb-filter-form.kb-shop__filters {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 72px 0 112px;
    background: #f6f6f6;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .kb-filter-form.kb-shop__filters.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .kb-filter-mobile-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 64px;
    padding: 0 18px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-sizing: border-box;
  }

  .kb-filter-mobile-title {
    justify-self: start;
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
    color: #222;
  }

  .kb-filter-mobile-actions-top {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .kb-filter-mobile-reset {
    color: #999;
    font-size: 15px;
    line-height: 1;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 4px;
    white-space: nowrap;
  }

  .kb-mobile-filter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #999;
    font-size: 36px;
    line-height: 1;
  }

  .kb-filter {
    display: block;
    margin: 10px 0 0;
    padding: 18px 16px 20px;
    background: #fff;
    border: 0;
    border-radius: 0;
  }

  .kb-filter-form.kb-shop__filters .kb-filter summary {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 0;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    list-style: none;
    text-align: left;
  }

  .kb-filter-form.kb-shop__filters .kb-filter summary::-webkit-details-marker {
    display: none;
  }

  .kb-filter__name {
    justify-self: start;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #222;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
  }

  .kb-filter__section-reset {
    justify-self: end;
    color: #999;
    font-size: 13px;
    line-height: 1;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 4px;
    white-space: nowrap;
  }

  .kb-filter__selected {
    display: none;
  }

  .kb-filter__body {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .kb-filter__option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0;
    padding: 0 13px;
    border-radius: 999px;
    background: #ececf1;
    color: #222;
    font-size: 14px;
    line-height: 1;
  }

  .kb-filter__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .kb-filter__option:has(input:checked) {
    background: #e86f2a;
    color: #fff;
  }

  .kb-filter-mobile-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    padding: 14px 18px calc(22px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    box-shadow: 0 -8px 24px rgba(0,0,0,.06);
  }

  .kb-filter-submit {
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #e86f2a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .02em;
  }

  .kb-filter-reset {
    display: none;
  }

  body.kb-filter-opened {
    overflow: hidden;
  }