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

.tils-detail {
  margin-top: 66px;
  display: flex;
  gap: 20px;
  width: 100%;
}

.tils-detail-show-box {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 800px;
  flex: 1;
}

.tils-detail-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /*flex: 1;*/
}

.tils-detail-box img {
  max-width: 146px;
  height: calc(100% / 3);
  object-fit: cover;
}

.tils-detail-img {
  display: flex;
  flex: 1;
}

.tils-detail-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tils-basic-details {
  max-width: 352px;
  min-width: 352px;
  width: 100%;
}

.basic-details-box {
  border: 1px solid var(--light-gray);
  padding: 10px;
  margin-top: 10px;
}

.details-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--light-gray);
  padding: 6px 0px;
}

.details-row:last-child {
  border-bottom: none;
}

.product-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.view-360 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 9px 18px;
  gap: 10px;
  border: 1px dashed var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  color: var(--black-shade);
  flex: 1;
  min-width: 120px;
  cursor: pointer;
}

.add-card {
  background-color: var(--golden-brown) !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  width: auto !important;
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 9px 18px !important;
  gap: 10px !important;
  min-width: 120px !important;
  cursor: pointer !important;
}

.added_to_cart {
	display: flex !important
;
    /* flex: 1; */
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
}

.add-to-catalog {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 9px 18px;
  gap: 10px;
  background-color: var(--primary-dark);
  color: white;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
}

@media (max-width: 940px) {
  .tils-detail-box img {
    max-width: 106px;
  }
}

@media (max-width: 768px) {
  .tils-detail {
    flex-direction: column;
  }
  .tils-basic-details {
    width: 100%;
    max-width: none;
    min-width: auto;
  }
  .tils-detail-box img {
    max-width: 106px;
  }
}

@media (max-width: 440px) {
  .tils-detail {
    flex-direction: column;
  }
  .tils-basic-details {
    width: 100%;
    min-width: auto;
  }

  .tils-detail-box img {
    max-width: 76px;
  }
}

.description {
  margin: 36px 0;
}

.description-detail-box {
  margin-top: 22px;
  border: 1px solid var(--light-gray);
  padding: 27px 30px;
}

.new-tils-box {
  margin: 24px 0px;
  width: 100%;
  margin-right: 33px;
}

.new-tils-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.new-tils-header-buttons {
  display: flex;
  gap: 14px;
}

.new-tils-header-button {
  border: 1px solid var(--black-shade);
  padding: 10px;
  cursor: pointer;
}

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

.new-tils-content img {
  display: block;
  width: 100%;
  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: 5px;
}

@media (max-width: 1024px) {
  .new-tils-box {
    margin-right: 28px;
  }
}

@media (max-width: 940px) {
  .new-tils-box {
    margin-right: 24px;
  }
}

@media (max-width: 768px) {
  .new-tils-box {
    margin-right: 16px;
  }
}

@media (max-width: 440px) {
  .new-tils-box {
    margin-right: 0 !important;
    width: 100%;
  }
  .new-tils-header-buttons {
    gap: 8px;
  }

  .new-tils-header-button {
    padding: 5px;
  }
}
