.filter {
  background-color: transparent;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.filter .div-5 {
  overflow: hidden;
  width: 393px;
  height: 852px;
  position: relative;
}

.filter .overlap-6 {
  position: absolute;
  width: 44vw; /* 174px → 화면 폭의 44% */
  max-width: 174px; /* 최대 크기 제한 */
  min-width: 120px; /* 최소 크기 보장 */
  height: 22vw; /* 88px → 화면 대비 비례 */
  max-height: 88px; /* 최대 높이 제한 */
  min-height: 70px; /* 최소 높이 보장 */
  top: 112px;
  left: 110px;
  z-index: 1; /* 부모 컨테이너 z-index 설정 */
}

.filter .button-box-2 {
  position: absolute;
  width: 44vw; /* 174px → 화면 폭의 44% */
  max-width: 174px; /* 최대 크기 제한 */
  min-width: 120px; /* 최소 크기 보장 */
  height: 22vw; /* 88px → 화면 대비 비례 */
  max-height: 88px; /* 최대 높이 제한 */
  min-height: 70px; /* 최소 높이 보장 */
  top: 0;
  right: 20px;
  z-index: 5; /* 버튼 박스 z-index 설정 */
}

.filter .overlap-group-3 {
  position: relative;
  width: 274px;
  height: 171px;
  top: -33px;
  left: -50px;
  background-image: url(./img/button-background-1.png);
  background-size: 100% 100%;
  z-index: 0; /* 배경 그룹 z-index 설정 */
}

.filter .button-background-3 {
  position: relative;
  width: 44vw; /* 174px → 화면 폭의 44% */
  max-width: 174px; /* 최대 크기 제한 */
  min-width: 120px; /* 최소 크기 보장 */
  height: 18vw; /* 71px → 화면 대비 비례 */
  max-height: 80px; /* 최대 높이 제한 */
  min-height: 60px; /* 최소 높이 보장 */
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  border: none;
  box-shadow: 0px 1px 0px #ffffffc4, inset 0px 0px 12.1px #ffffff;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 54%,
    rgba(255, 255, 255, 0.36) 100%
  );
  z-index: 1; /* 배경을 뒤로 */
}

.filter .button-background-3::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 12px;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.77) 0%,
    rgba(153, 153, 153, 0) 50%,
    rgba(255, 255, 255, 0.77) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}


.filter .button-text-2 {
  position: absolute;
  height: 24px;
  top: 35%;
  left: 17%;
  text-shadow: 0px 4px 10px #9a000040;
  font-family: "Gotham Bold-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 25px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  z-index: 10; /* 텍스트를 앞으로 */
}

.filter .color-center {
  position: absolute;
  width: 93px;
  height: 93px;
  top: 670px;
  left: 150px;
  background-color: #ffffff;
  border-radius: 13px;
}

.filter .color {
  width: 88px;
  height: 88px;
  left: 2px;
  position: absolute;
  top: 2px;
}

.filter .color-wrapper {
  position: absolute;
  width: 65px;
  height: 65px;
  top: 684px;
  left: 72px;
  background-color: #ffffff;
  border-radius: 13px;
}

.filter .color-2 {
  width: 62px;
  height: 62px;
  left: 2px;
  position: absolute;
  top: 2px;
}

.filter .img-wrapper {
  position: absolute;
  width: 65px;
  height: 65px;
  top: 684px;
  left: -6px;
  background-color: #ffffff;
  border-radius: 13px;
}

.filter .color-3 {
  width: 58px;
  height: 62px;
  left: 6px;
  position: absolute;
  top: 2px;
}

.filter .color-4 {
  position: absolute;
  width: 65px;
  height: 65px;
  top: 684px;
  left: 255px;
  background-color: #ffffff;
  border-radius: 13px;
}

.filter .color-5 {
  position: absolute;
  width: 65px;
  height: 65px;
  top: 684px;
  left: 333px;
  background-color: #ffffff;
  border-radius: 13px;
}

.filter .color-6 {
  width: 58px;
  height: 62px;
  left: 2px;
  position: absolute;
  top: 2px;
}

.filter .product-name-5 {
  position: absolute;
  height: 17px;
  top: 646px;
  left: 152px;
  font-family: "Gotham Medium-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: -0.36px;
  line-height: normal;
  white-space: nowrap;
}

.filter .vertical-logo-3 {
  position: absolute;
  width: 229px;
  height: 31px;
  top: 63px;
  left: 82px;
  background-image: url(./img/logo-2.png);
  background-size: cover;
  background-position: 50% 50%;
}
