/* ATC Product Detail sidebar. Load after the existing Detail stylesheet. */
#detail-box .detail-right-box.rev #form-box {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #e1e5eb;
  border-radius: 12px;
  background: #fff;
  color: #17212f;
  font-family: 'Kanit', Tahoma, sans-serif;
  text-align: left;
}

#detail-box .detail-right-box.rev #form-box *,
#detail-box .detail-right-box.rev #form-box *::before,
#detail-box .detail-right-box.rev #form-box *::after {
  box-sizing: border-box;
}

#detail-box .detail-right-box.rev #form-box .form-topic {
  display: block;
  height: auto;
  min-height: 0;
  padding: 14px 16px;
  margin: -16px -16px 16px;
  border: 0;
  border-bottom: 1px solid #e8e2d5;
  border-radius: 11px 11px 0 0;
  background: #fffaf0;
  color: #495667;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

#detail-box .detail-right-box.rev #form-box .form-topic.gold {
  margin-top: 20px;
  border-top: 1px solid #e8e2d5;
  border-radius: 0;
}

#detail-box .detail-right-box.rev #form-box .atcds-label {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  color: #495667;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

#detail-box .detail-right-box.rev #form-box .atcds-label small {
  margin-left: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 400;
}

#detail-box .detail-right-box.rev #form-box select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 46px;
  padding: 8px 10px;
  margin: 0 0 14px;
  border: 1px solid #d8bb82;
  border-radius: 8px;
  background-color: #fff;
  color: #17212f;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: none;
  -webkit-appearance: auto;
  appearance: auto;
}

#detail-box .detail-right-box.rev #form-box select:disabled {
  border-color: #e1e5eb;
  background-color: #f5f6f8;
  color: #697586;
  opacity: 1;
}

#detail-box .detail-right-box.rev #form-box .form-default,
#detail-box .detail-right-box.rev #form-box .text-center {
  padding: 0;
  margin: 0;
}

#detail-box .detail-right-box.rev #form-box .search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  height: auto;
  padding: 10px 12px;
  margin: 0;
  border: 1px solid #ffb43b;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffb33b, #ff9800);
  color: #171717;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
}

#detail-box .detail-right-box.rev #form-box .search-btn::after {
  content: "\2192";
}

#detail-box .detail-right-box.rev #form-box .search-btn:hover {
  background: linear-gradient(180deg, #ffc05d, #ffa51d);
}

#detail-box .detail-right-box.rev #form-box select:focus-visible,
#detail-box .detail-right-box.rev #form-box .search-btn:focus-visible,
#detail-box .detail-right-box.rev #form-box .atcdi-side-link:focus-visible {
  outline: 3px solid #2155ab;
  outline-offset: 2px;
}

#detail-box .detail-right-box.rev #form-box .atcdi-side-link {
  display: block;
  margin: 16px 0 0;
  padding: 12px;
  border: 1px solid #e6d4a5;
  border-radius: 8px;
  background: #fffaf0;
  color: #775100;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

#detail-box .detail-right-box.rev #form-box .atcdi-side-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
