.category-hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--hero-bg, "/images/hero-category.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.category-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.4);
}
.category-hero__container {
  position: relative;
  z-index: 3;
  max-width: 768px;
  padding-left: 24px;
  padding-right: 24px;
}
.category-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.category-hero__title {
  color: #FFFFFF;
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.96px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.category-hero__description {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}
@media (min-width: 768px) {
  .category-hero {
    min-height: 360px;
  }
}
@media (min-width: 992px) {
  .category-hero {
    min-height: 400px;
  }
}
@media (max-width: 767.98px) {
  .category-hero__title {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.64px;
  }
  .category-hero__description {
    font-size: 14px;
    line-height: 22px;
  }
}

.product-filter {
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}
.product-filter__row {
  row-gap: 16px;
}
.product-filter__tabs-wrapper {
  display: flex;
  align-items: center;
}
.product-filter__tabs {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0;
}
.product-filter__tabs::-webkit-scrollbar {
  display: none;
}
.product-filter__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 0;
  background: none;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #5E5E5E;
  cursor: pointer;
  transition: color 0.25s ease;
}
.product-filter__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color 0.25s ease;
}
.product-filter__tab:hover {
  color: #B70100;
}
.product-filter__tab:hover::after {
  background: #B70100;
}
.product-filter__tab.is-active {
  color: #B70100;
}
.product-filter__tab.is-active::after {
  background: #B70100;
}
.product-filter__sort-wrapper {
  display: flex;
  justify-content: flex-end;
}
.product-filter__sort {
  display: inline-flex;
  align-items: center;
}
.product-filter__sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: none;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #5E5E5E;
  cursor: pointer;
}
.product-filter__sort-btn::after {
  display: none;
}
.product-filter__sort-btn.show .product-filter__sort-icon {
  transform: rotate(180deg);
}
.product-filter__sort-icon {
  flex-shrink: 0;
  color: #5E5E5E;
  transition: transform 0.25s ease;
}
.product-filter .dropdown-menu {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}
.product-filter .dropdown-menu .dropdown-item {
  color: #5E5E5E;
  font-weight: 400;
  padding: 8px 16px;
}
.product-filter .dropdown-menu .dropdown-item:hover, .product-filter .dropdown-menu .dropdown-item:focus {
  background: rgba(183, 1, 0, 0.06);
  color: #B70100;
}
.product-filter .dropdown-menu .dropdown-item.active {
  background: rgba(183, 1, 0, 0.08);
  color: #B70100;
  font-weight: 500;
}
@media (max-width: 767.98px) {
  .product-filter__tabs-wrapper {
    padding-right: 0;
  }
  .product-filter__tabs {
    gap: 24px;
  }
  .product-filter__sort-wrapper {
    justify-content: flex-start;
    padding-left: 0;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .product-filter__tabs {
    flex-wrap: wrap;
    row-gap: 0;
  }
  .product-filter__tab {
    padding: 8px 0;
  }
}

.product-grid {
  background-color: #FFFFFF;
  font-family: "Inter", sans-serif;
}
.product-grid .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-grid .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.product-grid .product-card__media {
  flex-shrink: 0;
  width: 100%;
  height: 256px;
  overflow: hidden;
  background-color: #F5F5F5;
}
.product-grid .product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-grid .product-card:hover .product-card__image {
  transform: scale(1.05);
}
.product-grid .product-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-grid .product-card__category {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #B70000;
}
.product-grid .product-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #2A1613;
}
.product-grid .product-card__subtitle {
  margin: 0;
  font-size: 16px;
  font-style: italic;
  line-height: 24px;
  color: #5E5E5E;
}
.product-grid .product-card__origin {
  margin-top: 0;
}
.product-grid .product-card__origin-icon {
  flex-shrink: 0;
  color: #B70000;
}
.product-grid .product-card__origin-text {
  font-size: 16px;
  line-height: 24px;
  color: #333333;
}
.product-grid .product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 21px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #B70000;
  text-decoration: none;
  transition: color 0.3s ease;
}
.product-grid .product-card__link .product-card__link-icon {
  color: #B70000;
  transition: transform 0.3s ease;
}
.product-grid .product-card__link:hover {
  color: #8F0000;
}
.product-grid .product-card__link:hover .product-card__link-icon {
  transform: translateX(4px);
}

.product-cta {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #FFE9E6;
}
.product-cta__container {
  max-width: 1280px;
  padding-left: 24px;
  padding-right: 24px;
}
.product-cta__row {
  flex-direction: column;
}
@media (min-width: 768px) {
  .product-cta__row {
    flex-direction: row;
  }
}
.product-cta__title {
  margin-bottom: 8px;
  color: #2A1613;
  font-family: "Inter", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
}
.product-cta__description {
  margin-bottom: 0;
  color: #5E5E5E;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.product-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .product-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
.product-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 2px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.product-cta__btn--primary {
  background-color: #B70100;
  border: 1px solid #B70100;
  color: #FFFFFF;
}
.product-cta__btn--primary:hover, .product-cta__btn--primary:focus {
  background-color: #990000;
  border-color: #990000;
  color: #FFFFFF;
}
.product-cta__btn--secondary {
  background-color: transparent;
  border: 1px solid #333333;
  color: #333333;
}
.product-cta__btn--secondary:hover, .product-cta__btn--secondary:focus {
  background-color: #333333;
  border-color: #333333;
  color: #FFFFFF;
}
