.wrapper {
  width: 100%;
  overflow-x: hidden;
}
.wrapper .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}
.category-filter {
  margin-top: 40px;
}
.title {
  margin-bottom: 40px;
}
.title h1 {
  color: #1b1919;
  text-align: center;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 1px;
}
.filter-btns {
  text-align: center;
}
.filter-btn {
  background: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-transform: uppercase;
  display: inline-block;
  margin: 10px 30px;
  font-size: 16px;
  color: #d3d3d3;
  font-weight: 600;
  letter-spacing: 2px;
  position: relative;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.filter-btn::after {
  content: '';
  position: absolute;
  top: 110%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background-color: #ad072a;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.filter-btn:hover {
  color: #ad072a;
}
.filter-btn:hover::after {
  width: 100%;
}
.active-btn {
  color: #555;
}
.active-btn::after {
  width: 100%;
}
.filter-items {
  margin-top: 40px;
}
.item-img {
  position: relative;
  overflow: hidden;
}
.item-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 203, 203, 0.1);
}
.item-img .discount {
  position: absolute;
  right: 0;
  top: 20px;
  background-color: #95bf47;
  z-index: 1;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  padding: 4px 16px;
}
.item-img img {
  width: 100%;
  display: block;
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: -webkit-transform 0.2s ease-in-out;
  -o-transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}
.filter-item:hover .item-img img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.item-info {
  padding: 14px 0;
}
.item-info p {
  font-weight: 600;
  font-size: 17px;
  margin-top: 8px;
}
.item-info .old-price {
  font-weight: 700;
}
.item-info .new-price {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  color: #ad072a;
}
.filter-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}
.filter-item {
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.8s ease;
}
.filter-item.visible {
  opacity: 1;
  transform: translateY(0);
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media screen and (min-width: 400px) {
  .filter-item {
    width: calc(50% - 30px);
  }
}
@media screen and (min-width: 680px) {
  .filter-item {
    width: calc(33.3333% - 30px);
  }
}
@media screen and (min-width: 1200px) {
  .filter-item {
    width: calc(25% - 30px);
  }
}
.all-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 0;
}
.box {
  direction: ltr;
  max-width: 400px;
  width: 100%;
}
.box .search-box {
  position: relative;
  height: 50px;
  max-width: 50px;
  margin: auto;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  border-radius: 25px;
  transition: all 0.3s ease;
}
#check:checked ~ .search-box {
  max-width: 380px;
}
.search-box input {
  direction: rtl;
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 25px;
  background: #fff;
  outline: none;
  border: none;
  padding-right: 65px;
  font-size: 18px;
}
.search-box .icon {
  position: absolute;
  right: -2px;
  top: 0;
  width: 50px;
  background: #fff;
  height: 100%;
  text-align: center;
  line-height: 50px;
  color: #9f0000;
  font-size: 20px;
  border-radius: 25px;
}
#check:checked ~ .search-box .icon {
  background: #9f0000;
  color: #fff;
  width: 60px;
  border-radius: 0 25px 25px 0;
}
#check {
  display: none;
}
.bank-account-container {
  background-color: #f4f4f9;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  align-items: center;
  margin: auto;
  box-sizing: border-box;
}
.account-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}
.account-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.account-number {
  font-size: 14px;
  color: #555;
  word-wrap: break-word;
  text-overflow: ellipsis;
}
.copy-button {
  padding: 4px 8px;
  background-color: #ad072a;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.copy-button:hover {
  border: 2px solid #ad072a;
  background-color: #f4f4f9;
  color: #ad072a;
}
.add-btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #ad072a;
  border: 2px solid #ad072a;
  text-decoration: none;
  color: #fff;
  padding: 8px 20px;
  border-radius: 10px;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  font-size: 14px;
}
.add-btn:hover {
  border: 2px solid #ad072a;
  background-color: #fff;
  color: #ad072a;
}
