* {
  box-sizing: border-box;
  font-family: Inter-Medium!important;
}
input[type="checkbox"] {
  margin-right: 5px;
  width: 15px;
  height: 15px;
  accent-color: #831d81;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  /* padding: 20px; */
  background: #f8f8f8;
}
#container {
  display: flex !important;
  padding: 20px;
  max-width: 1440px !important;
}
.filters {
  width: 250px;
  position: relative;
  background: #831d81;
  color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.filters ul {
  list-style: none;
  padding: 0;
}
.filters li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.filters li span {
  font-weight: bold;
}
.filters li.active span {
  transform: rotate(45deg);
}
.filter-content {
  padding: 10px 0 10px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #ffffff!important;

}
.filter-content>input{
  width: 25px;
  height: 25px;
}
.filter-content>label{
  color: white!important;
  font-size: 20px;

}
main {
  flex: 1;
  margin-left: 20px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: #831d81 !important;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.alphabet-filters button {
  background: #fff !important;
  color: #831d81 !important;
  border: none;
  padding: 8px 12px;
  margin-right: 5px;
  border-radius: 20px;
  cursor: pointer;
}
.sort-controls {
  display: flex;
  align-items: center;
  gap: 20px;

  color: white;
}
.sort-controls select {
  padding: 5px;
  border: none;
  background-color: transparent;
  color: white;
  border-radius: 5px;
}
.sort-controls select:focus {
  outline: none;
}
.product-list {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.product {
  padding: 15px;
  box-sizing: border-box;
  margin: 10px 0;
  border: 1px solid #ddd;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.product:last-child {
  /* border-bottom: none; */
}
.actions {
  margin-top: 10px;
}
.actions button {
  padding: 8px 12px;
  margin-right: 5px;
  border: 1px solid #333;
  border-radius: 5px;
  cursor: pointer;
  background: white;
  transition: all 0.3s;
}
.actions button:hover {
  background: #831d81;
  color: white;
  transform: scale(1.1);
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999999999999999;

  background: rgba(0, 0, 0, 0.351);
  padding: 20px;
  /* border-radius: 8px; */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  width: 100%;
  min-height: 100vh;
}
.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal .close {
  cursor: pointer;
  float: right;
  font-size: 30px;
  /* color: white; */
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  text-align: left;
  position: relative;
}
.modal-content img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  margin-right: 20px;
  max-width: 400px;
}
.modal-content > div > div {
  width: 50%;
}
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  font-weight: 100;
  cursor: pointer;
  border: 1px solid black;
  /* padding: 5px 10px; */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-btn {
  display: inline-block;
  margin: 5px;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  cursor: pointer;
}

.size-btn.selected {
  background-color: #4f1c4e;
  color: white;
}

.quantity-container {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 30px;
  border: 2px solid #4f1c4e;
  gap: 10px;
}

.quantity-container button {
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.add-to-cart {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background-color: #4f1c4e;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.wishlist {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  background-color: white;
  color: #4f1c4e;
  border: 1px solid #4f1c4e;
  border-radius: 5px;
  cursor: pointer;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.alphabet-filters button {
  background: #ddd;
  border: none;
  padding: 8px 12px;
  margin-right: 5px;
  border-radius: 20px;
  cursor: pointer;
}
.sort-controls select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

@media screen and (max-width: 768px) {

  #container {
    flex-direction: column;
  }
  .filters {
    width: 100%;
    margin-bottom: 20px;
  }
  main {
    width: 100%;
    margin-left: 0;
  }
  .product {
    flex-direction: column;
  }
  .product img {
    width: 100%;
    height: auto;
  }
  .toolbar {
    flex-direction: column;
    gap: 20px;
  }
  .alphabet-filters {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
  }
  .product div {
    width: 100%;
  }
  .actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .actions button {
    width: 48%;
  }
  .modal-content {
    flex-direction: column;
  }
  .modal-content img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .modal-content > div > div {
    width: 100%;
  }
}

.product-certificate{
  margin-bottom: 10px;
}