:root {
  --primary-color: #806248;
  --gray: #fafafa;
  --light-gray: #e5e5e5;
  --light-gray-2: #f6f7f9;
  --medium-gray: #777777;
  --black-shade: #1e1e1e;
  --dark-black: #313131;
}

.product-bg {
  background-color: var(--black-shade);
  padding: 67px 0px;
}

.show-tils {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  justify-content: center;
}

.tils-box {
  padding: 8px 5.5px;
  max-width: 187px;
  border: 1px solid var(--light-gray);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tils-img {
  width: 100%;
  height: 100%;
  max-height: 123px;
}

.tils-box .label-text {
  color: white;
}

.tils-box:hover .label-text {
  font-weight: bold;
}

.tils-box::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
}

.tils-box:hover::after {
  background-color: white;
}

@media screen and (max-width: 940px) {
  .show-tils {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .product-bg {
    padding: 47px 0px;
  }
  .show-tils {
    grid-template-columns: repeat(2, 1fr);
  }
}

.find-tils {
  margin-top: 32px;
}

.find-tils .title-s-text {
  color: var(--primary-color);
}

.find-tils-box {
  margin-top: 32px;
  display: flex;
  gap: 32px;
}

.find-tils-controll {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 256px;
}

.size-box,
.finish-box,
.color-box {
  width: 100%;
  padding: 24px 25px;
  background-color: var(--gray);
}

.size-box .title-text,
.finish-box .title-text,
.color-box .title-text {
  color: var(--primary-color);
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scroll-area,
.color-area {
  padding-top: 8px;
  max-height: 104px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-area::-webkit-scrollbar,
.color-area::-webkit-scrollbar {
  display: none;
}

.scroll-area p {
  color: gray;
  opacity: 77%;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
  font-size: 14px;
  font-weight: 600;
  padding: 2px 0;
}

.scroll-area p.active {
  color: black;
  font-weight: bold;
}

.color-area {
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-area span {
  max-width: 24px;
  max-height: 24px;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #e9c639;
  display: flex;
  justify-content: center;
  align-items: center;
	border: 1px solid #222;
}

.new-tils-box {
  width: 100%;
  display: flex !important;
}

.new-tils-box .products {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px;
}

.new-tils-content {
  position: relative;
  display: inline-block;
  width: 100%;
}

.new-tils-content img {
  width: 100%;
  max-height: 206px;
  object-fit: cover;
}

.add-button {
  position: absolute;
  bottom: 0%;
  left: 0%;
  background-color: rgba(137, 92, 37, 0.74);
  color: white;
  border: none;
  font-size: 14px;
  padding: 8px 0px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

.new-tils-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0px;
}

.new-tils-box .body-text span {
  color: var(--black-shade);
  font-weight: 600;
  margin-left: 0px;
}

@media screen and (max-width: 768px) {
  .find-tils-box {
    flex-direction: column;
  }
  .find-tils-controll {
    flex-direction: row;
  }
}

@media screen and (max-width: 440px) {
  .find-tils-controll {
    flex-direction: column;
  }

  .new-tils-box .products  {
    grid-template-columns: repeat(1, 1fr);
  }
}
