.shop-by-filter {
  padding-top: 40px;
  padding-bottom: 55px;
}
.shop-by-filter__hero {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: #f5f5f5; /* Fallback */
}
@media (max-width: 1024px) {
  .shop-by-filter__hero {
    margin-bottom: 20px;
  }
}
.shop-by-filter__picture {
  display: block;
  width: 100%;
}
.shop-by-filter__image {
  aspect-ratio: 16/8;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 1024px) {
  .shop-by-filter__image {
    aspect-ratio: 3/4; /* Approximate for mobile */
  }
}
.shop-by-filter__video {
  aspect-ratio: 16/8;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 1024px) {
  .shop-by-filter__video {
    aspect-ratio: 3/4; /* Approximate for mobile */
  }
}
.shop-by-filter__hero-content {
  background: rgba(14, 14, 14, 0.17);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}
.shop-by-filter__titles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* bottom: 0; */
  /* margin: auto; */
  /* width: auto; */
  /* height: auto; */
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.shop-by-filter__title {
  color: #fff;
  text-align: center;
}
.shop-by-filter__title * {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.1;
}
@media (max-width: 1024px) {
  .shop-by-filter__title * {
    font-size: 1.875rem;
  }
}
.shop-by-filter__tabs-wrapper {
  margin-top: auto;
  margin-bottom: 10px;
}
.shop-by-filter__tabs {
  display: flex;
  background: rgba(180, 180, 180, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 40px;
  gap: 4px;
}
.shop-by-filter__tab {
  background: transparent;
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
@media (max-width: 1024px) {
  .shop-by-filter__tab {
    font-size: 0.75rem;
  }
}
.shop-by-filter__tab.active {
  background: #000;
  color: #fff;
}
.shop-by-filter__tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 1024px) {
  .shop-by-filter__tab {
    padding: 6px 16px;
    font-size: 0.875rem;
  }
}
.shop-by-filter__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 10px;
}
@media (min-width: 1025px) {
  .shop-by-filter__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
.shop-by-filter__block {
  display: flex;
  flex-direction: column;
}
.shop-by-filter__product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.shop-by-filter__product-card:hover .shop-by-filter__product-image {
  transform: scale(1.05);
}
.shop-by-filter__image-wrapper {
  position: relative;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  aspect-ratio: 33/40;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f2ef;
}
.shop-by-filter__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  z-index: 2;
  color: #121212;
}
.shop-by-filter__product-image {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
}
.shop-by-filter__info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shop-by-filter__product-title {
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 12px 0;
  line-height: 1.1;
  padding-left: 5px;
}
@media (max-width: 1024px) {
  .shop-by-filter__product-title {
    font-size: 0.75rem;
  }
}
.shop-by-filter__product-copy {
  margin-bottom: 20px;
  opacity: 0.4;
  padding-left: 5px;
}
@media (max-width: 1024px) {
  .shop-by-filter__product-copy {
    margin-bottom: 15px;
  }
}
.shop-by-filter__product-copy * {
  font-size: 0.75rem;
  line-height: 1.3;
}
@media (max-width: 1024px) {
  .shop-by-filter__product-copy * {
    font-size: 0.625rem;
  }
}
.shop-by-filter__button {
  font-family: "HKRepro";
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 24px;
  background-color: #f5f5f5;
  color: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 36px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
@media (max-width: 1024px) {
  .shop-by-filter__button {
    font-size: 0.625rem;
    padding: 8px 13px;
  }
}
.shop-by-filter__button:hover {
  background-color: #ebebeb;
}
.shop-by-filter .mobile-only {
  display: block !important;
}
@media (min-width: 1025px) {
  .shop-by-filter .mobile-only {
    display: none !important;
  }
}
.shop-by-filter .desktop-only {
  display: none !important;
}
@media (min-width: 1025px) {
  .shop-by-filter .desktop-only {
    display: block !important;
  }
}
