.btncreateproduct {
  color: #fffec1;
  font-weight: bolder;
  font-size: larger;
  background-color: #a56d03;
  text-decoration: none;
  margin-top: 20px;
  margin-right: 20px;
  padding: 16px;
  border-radius: 10px;
}

.container-main-subfilters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}
.cardforfilter {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 16px;
  padding: 10px;
  padding-bottom: 30px;
}

.cardforfilter:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.cardforfilter-information {
  width: 90%;
}

.cardforfilter-image-select {
  width: 85%;
}
.cardforfilter-image-select img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.container-cards {
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  grid-template-rows: auto;
  place-items: center;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding-top: 20px;
}

.cardforfilter-image {
  width: 100%;
  height: 490px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.cardforfilter-image img {
  width: 100%;
  height: 490px;
  object-fit: contain;
}

.cardforfilter-sliding-image {
  width: 150px;
  height: 150px;
  margin-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cardforfilter-sliding-image img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

table {
  border-spacing: 0 15px;
}

table td:nth-child(1) {
  font-weight: bolder;
  color: #9e6e66;
}

table td:nth-child(2) {
  width: 10%;
  font-size: 1rem;
}

table td:nth-child(3) {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.container-buttons {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-buttons button {
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  cursor: pointer;
}

.container-buttons button:nth-child(1) {
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  background-color: #a56d03;
  color: #fffec1;
  border-radius: 10px;
  font-weight: bolder;
}

.container-buttons button:nth-child(2) {
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  background-color: #f72c2b;
  color: white;
  border-radius: 10px;
  font-weight: bolder;
}
#content {
  opacity: 0;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}

.container-filter {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;

  margin-top: 50px;
}

.container-filter button {
  background-color: #c48b7a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.08);
}

/* .container-filter button:hover {
  background-color: #e5e7eb;
  box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
} */

.container-filter button:active {
  background-color: #d1d5db;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
  transform: translateY(1px);
}

.hidecard {
  display: none;
}

button.selectedbutton {
  background-color: #3d2a1d;
  color: #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.container-subfilter {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
}

.container-subfilter button {
  background-color: #c48b7a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.08);
}

/* .container-filter button:hover {
  background-color: #e5e7eb;
  box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
} */

.container-subfilter button:active {
  background-color: #d1d5db;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
  transform: translateY(1px);
}

/* button.selectedbutton {
  background-color: #2d3748;
  color: #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
} */

.hidesubfiltercontainer {
  display: none;
}
.hidesubfilterbutton {
  display: none;
}

#hidesubfiltercontainer button.selectedbutton {
  background-color: #3d2a1d;
  color: #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.cardforfilter-information table tr:nth-child(5) td {
  width: 100%;
  white-space: nowrap;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
  color: black;
}

.cardforfilter-information table tr:nth-child(7) td {
  width: 100%;
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  color: black;
}

.cardforfilter-information table tr:nth-child(2) td {
  width: 100%;
  white-space: nowrap;
  color: black;
}

.cardforfilter-information table tr:nth-child(1) td {
  width: 100%;
  white-space: normal;
  color: black;

  font-weight: 900;
  font-size: large;
}
.cardforfilter-information table tr:nth-child(2) td {
  width: 100%;
  white-space: nowrap;
  color: #989898;
  font-weight: 100;
  font-size: medium;
}

.cardforfilter-information table tr:nth-child(3) td {
  width: 100%;
  white-space: nowrap;
  color: #9e6e66;
  font-weight: 900;
  font-size: x-large;
  padding-top: 13px;
}

.cardforfilter-information table tr:nth-child(6) td {
  display: block;
  margin-top: 5px;
}
.cardforfilter-information table tr:nth-child(8) td {
  display: block;
  margin-top: 20px;
}

.cardforfilter-information table tr:nth-child(9) td {
  width: 100%;
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  color: black;
}
.cardforfilter-information table {
  text-align: left;
  width: 100%;
}

@media (max-width: 360px) {
  .cardforfilter {
    width: 300px;
  }
  .cardforfilter-image {
    height: 400px;
  }

  .cardforfilter-image img {
    height: 420px;
  }

  .cardforfilter-sliding-image {
    width: 50px;
    height: 50px;
  }

  .cardforfilter-sliding-image img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .cardforfilter {
    width: 350px;
  }
  .cardforfilter-image {
    height: 400px;
  }

  .cardforfilter-image img {
    height: 420px;
  }

  .cardforfilter-sliding-image {
    width: 90px;
    height: 90px;
  }

  .cardforfilter-sliding-image img {
    height: 90px;
  }
}

.size-availability-item {
  padding: 5px;
  padding-left: 7px;
  padding-right: 7px;
  border-radius: 5px;
  border: solid 1px #989898;
}

.color-availability-item {
  padding: 5px;
  padding-left: 7px;
  padding-right: 7px;
  border-radius: 5px;
  border: solid 1px #989898;
}
