/*************
** Details table **
***************/
#details-table {
  width: 100%;
  margin: 2.5rem 0 1.5rem 0;
  color: var(--sb-color-4, $heavy-dark);
  border: 1px solid var(--sb-color-2, $border-color);
  border-collapse: collapse;
}

#details-table thead,
#details-table tbody {
  background-color: var(--sb-color-6, $light-background);
}

#details-table th {
  text-align: left;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  padding: 10px 12px;
  border: 1px solid var(--sb-color-2, $border-color);
}

#details-table tbody td {
  font-size: 13px;
  font-weight: 400;
}

#details-table td {
  text-align: left;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  padding: 9px 12px;
  border: 1px solid var(--sb-color-2, $border-color);
}

#details-table tfoot td p {
  margin: 0;
}

#details-table tfoot td p.small-text {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

#details-table tfoot .extra-row {
  background-color: var(--sb-color-3, $dark-background);
}

.remove-product-cell {
  position: relative;
}

.remove-product {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  border: 1px solid var(--sb-color-4, $heavy-dark);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  color: var(--sb-color-4, $heavy-dark);
}

.quantity-area {
  display: flex;
  height: fit-content;
  justify-content: center;
}

.quantity-area input {
  width: 45px;
  border-width: 1px 0;
  border-style: solid;
  border-color: var(--sb-color-2, $border-color);
  border-radius: 0;
  padding: 0;
  text-align: center;
  font-size: 13px;
}

.plus,
.minus {
  width: 45px;
  line-height: 9px;
  background-color: var(--sb-color-3, $dark-background);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--sb-color-2, $border-color);
  border-radius: 0;
}

.quantity-area input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.quantity-area input[type="number"] {
  -moz-appearance: textfield;
}