.category-hero {
  background: #000;
  color: #fff;
}

.category-hero__inner {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: stretch;
  gap: 36px;
}

.category-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  padding: 58px 0;
}

.category-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.category-hero p {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.22;
}

.category-hero__media {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid #fff;
  background: #fff;
}

.category-hero__media img,
.category-hero__media-placeholder {
  width: 100%;
  height: 100%;
}

.category-hero__media img {
  object-fit: cover;
}

.category-hero__media-placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-products {
  padding: 46px 0 82px;
  background: #fff;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin-bottom: 56px;
}

.category-tabs__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid #d8d8d8;
  background: #f4f4f4;
  color: #000;
  font-size: 18px;
  font-weight: 600;
}

.category-tabs__item.is-active,
.category-tabs__item:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

.category-product-grid {
  align-items: stretch;
}

.category-product-grid > [class*="col-"] {
  display: flex;
}

.category-product-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.category-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #f5f5f5;
}

.category-product-card__slider {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.28s ease;
}

.category-product-card__slider--has-secondary {
  width: 200%;
}

.category-product-card__media:hover .category-product-card__slider--has-secondary {
  transform: translateX(-50%);
}

.category-product-card__slider img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-product-card__slider--has-secondary img {
  flex-basis: 50%;
  width: 50%;
}

.category-product-card__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
}

.category-product-card__dots span {
  width: 14px;
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
}

.category-product-card__dots span:last-child {
  width: 5px;
  opacity: 0.72;
}

.category-product-card__media:hover .category-product-card__dots span:first-child {
  width: 5px;
  opacity: 0.72;
}

.category-product-card__media:hover .category-product-card__dots span:last-child {
  width: 14px;
  opacity: 1;
}

.category-product-card__title {
  min-height: 48px;
  margin: 20px 0 16px;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.category-product-card__price {
  min-height: 34px;
  margin-bottom: 17px;
  color: #000;
  font-size: 20px;
  font-weight: 700;
}

.category-product-card__price del {
  display: block;
  margin-bottom: 5px;
  color: #999;
  font-size: 14px;
  font-weight: 500;
  opacity: 1;
}

.category-product-card__price ins {
  color: #000;
  text-decoration: none;
}

.category-product-card__action {
  margin-top: auto;
}

.category-product-card__action .button,
.category-product-card__action .added_to_cart {
  position: relative;
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6dde8;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.woocommerce .category-products .category-product-card__action a.button,
.woocommerce-page .category-products .category-product-card__action a.button,
.woocommerce .bestsellers .category-product-card__action a.button,
.woocommerce-page .bestsellers .category-product-card__action a.button,
.category-products .category-product-card__action a.button,
.bestsellers .category-product-card__action a.button,
.category-products .category-product-card__action a.added_to_cart,
.bestsellers .category-product-card__action a.added_to_cart {
  width: 100% !important;
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #d6dde8 !important;
  border-radius: 4px !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.category-product-card__action a.added_to_cart,
.category-product-card__action a.wc-forward {
  display: none !important;
}

.woocommerce .category-products .category-product-card__action a.added_to_cart,
.woocommerce-page .category-products .category-product-card__action a.added_to_cart,
.woocommerce .bestsellers .category-product-card__action a.added_to_cart,
.woocommerce-page .bestsellers .category-product-card__action a.added_to_cart,
.category-products .category-product-card__action a.added_to_cart,
.bestsellers .category-product-card__action a.added_to_cart,
.woocommerce .category-products .category-product-card__action a.wc-forward,
.woocommerce-page .category-products .category-product-card__action a.wc-forward,
.woocommerce .bestsellers .category-product-card__action a.wc-forward,
.woocommerce-page .bestsellers .category-product-card__action a.wc-forward,
.category-products .category-product-card__action a.wc-forward,
.bestsellers .category-product-card__action a.wc-forward {
  display: none !important;
}

.category-product-card__action a.button.loading,
.category-product-card__action a.button.is-loading {
  color: transparent !important;
  pointer-events: none;
}

.category-product-card__action a.button.loading::after,
.category-product-card__action a.button.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  margin: auto;
  border: 2px solid #d8d8d8;
  border-top-color: #000;
  border-radius: 50%;
  animation: birdiamondButtonSpin 0.75s linear infinite;
}

@keyframes birdiamondButtonSpin {
  to {
    transform: rotate(360deg);
  }
}

.category-product-card__action .button:hover,
.category-product-card__action .added_to_cart:hover {
  border-color: #000;
  background: #fff;
  color: #000;
}

.woocommerce .category-products .category-product-card__action a.button:hover,
.woocommerce-page .category-products .category-product-card__action a.button:hover,
.woocommerce .bestsellers .category-product-card__action a.button:hover,
.woocommerce-page .bestsellers .category-product-card__action a.button:hover,
.category-products .category-product-card__action a.button:hover,
.bestsellers .category-product-card__action a.button:hover,
.category-products .category-product-card__action a.added_to_cart:hover,
.bestsellers .category-product-card__action a.added_to_cart:hover {
  border-color: #000 !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
}

.woocommerce .category-product-card .category-product-card__action a.button,
.woocommerce-page .category-product-card .category-product-card__action a.button,
.woocommerce .category-product-card .category-product-card__action button.button,
.woocommerce-page .category-product-card .category-product-card__action button.button,
.category-product-card .category-product-card__action a.button,
.category-product-card .category-product-card__action button.button {
  width: 100% !important;
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #d6dde8 !important;
  border-radius: 4px !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.woocommerce .category-product-card .category-product-card__action a.button:hover,
.woocommerce-page .category-product-card .category-product-card__action a.button:hover,
.woocommerce .category-product-card .category-product-card__action button.button:hover,
.woocommerce-page .category-product-card .category-product-card__action button.button:hover,
.category-product-card .category-product-card__action a.button:hover,
.category-product-card .category-product-card__action button.button:hover {
  border-color: #000 !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

.woocommerce .category-product-card .category-product-card__action a.added_to_cart,
.woocommerce-page .category-product-card .category-product-card__action a.added_to_cart,
.woocommerce .category-product-card .category-product-card__action a.wc-forward,
.woocommerce-page .category-product-card .category-product-card__action a.wc-forward,
.category-product-card .category-product-card__action a.added_to_cart,
.category-product-card .category-product-card__action a.wc-forward {
  display: none !important;
}

.category-pagination {
  margin-top: 48px;
}

.woocommerce .category-pagination nav.woocommerce-pagination,
.woocommerce-page .category-pagination nav.woocommerce-pagination,
.category-pagination nav.woocommerce-pagination {
  display: flex !important;
  justify-content: center !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.woocommerce .category-pagination nav.woocommerce-pagination ul.page-numbers,
.woocommerce-page .category-pagination nav.woocommerce-pagination ul.page-numbers,
.category-pagination nav.woocommerce-pagination ul.page-numbers {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.category-pagination .woocommerce-pagination ul {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.category-pagination .woocommerce-pagination li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce .category-pagination .page-numbers,
.woocommerce-page .category-pagination .page-numbers,
.category-pagination .page-numbers {
  min-width: 50px !important;
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #d6dde8 !important;
  border-radius: 4px !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.woocommerce .category-pagination .page-numbers.current,
.woocommerce-page .category-pagination .page-numbers.current,
.woocommerce .category-pagination .page-numbers:hover,
.woocommerce-page .category-pagination .page-numbers:hover,
.category-pagination .page-numbers.current,
.category-pagination .page-numbers:hover {
  border-color: #000 !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

.category-empty {
  max-width: 620px;
  padding: 34px;
  border: 1px solid #d8d8d8;
  background: #f6f6f6;
}

.category-empty h2 {
  margin: 0 0 10px;
  color: #000;
  font-size: 26px;
}

.category-empty p {
  margin: 0;
  color: #555;
}

@media (max-width: 991px) {
  .category-hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .category-hero__content {
    padding: 42px 0 26px;
  }

  .category-hero h1 {
    font-size: 42px;
  }

  .category-hero p {
    font-size: 21px;
  }

  .category-tabs {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 34px;
  }
}

@media (max-width: 575px) {
  .category-hero h1 {
    font-size: 34px;
  }

  .category-hero p {
    font-size: 18px;
  }

  .category-product-card__title {
    font-size: 15px;
  }

  .category-product-card__price {
    font-size: 17px;
  }
}
