.cart-items {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.title-wrapper-with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.title-wrapper-with-link .title {
  font-size: 40px;
}

.title-wrapper-with-link .underlined-link {
  font-size: 16px;
  text-decoration: underline;
}

.cart-items table {
  width: 100%;
}

.th-product {
  width: 60%;
}

.cart-items th {
  text-align: left;
  padding-bottom: 18px;
  opacity: 0.85;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 1.3px;
  line-height: 12px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.cart-items thead th:first-child {
  width: 50%;
  text-align: left;
}

@media screen and (min-width: 990px) {
  .cart-items thead th:first-child {
    width: 60%;
  }
}

.cart-items td {
  vertical-align: top;
  padding-top: 40px;
}

.cart-items *.right {
  text-align: right;
}

.cart-items th + th {
  padding-left: 50px;
}

.cart-item {
  display: table-row;
}

.cart-item > td + td {
  padding-left: 40px;
}

.cart-item__media {
  width: 110px;
}

.cart-item__details {
  width: 510px;
}

.cart-item__image {
  width: 100%;
  height: auto;
}

.cart-item__details > * {
  max-width: 300px;
  margin: 0;
}

.cart-item__name {
  font-size: 15px;
  text-decoration: none;
}

.product-option {
  margin-top: 6px;
  font-size: 14px;
}

quantity-popover {
  display: flex;
  align-items: center;
  gap: 12px;
}

.remove_button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.price {
  font-size: 16px;
  display: block;
  text-align: right;
}

.hidden {
  display: none !important;
}

.error-item td {
  padding: 0;
}

.error-item td svg {
  width: 16px;
}

.error-item > td + td {
  padding-top: 0px;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.loading__spinner:not(.hidden) ~ * {
  visibility: hidden;
  display: none;
}

.spinner .path {
  stroke-dasharray: 280;
  stroke-dashoffset: 0;
  transform-origin: center;
  stroke: currentColor;
  animation: dash 1.4s ease-in-out infinite;
}

.cart-item__totals .loading__spinner {
  text-align: right;
  margin-top: 10px;
}

.cart-items .cart-item__quantity {
  padding-left: 50px;
}

.cart__footer {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.cart__footer {
  margin-top: 24px;
}

.cart__footer .totals {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-top: 8px;
}

.cart__footer .totals__total {
  font-size: 16px;
}

.cart__footer .totals__total-value {
  font-size: 16px;
  margin-left: 34px;
}

.cart__ctas {
  margin-top: 24px;
  width: 100%;
  text-align: right;
}

.cart__ctas .cart__checkout-button {
  max-width: 290px;
  width: 100%;
  height: 48px;
}

#paypal-button-product-cart {
  margin-left: auto;
  margin-top: 10px;
  max-width: 290px;
}

.cart__footer .discount-tips {
  text-align: right;
  margin-bottom: 8px;
  font-size: 16px;
}

.cart__footer .discounts {
  margin-top: 8px;
}

.cart__footer .discount-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart__footer .discount-item {
  display: flex;
  gap: 16px;
  font-size: 14px;
  justify-content: space-between;
}

#cart_discount {
  max-width: 466px;
}

.discount-code input {
  width: 338px;
  height: 48px;
  padding: 16px 16px 0;
}

.discount-code {
  display: flex;
  gap: 8px;
}

.apply-button {
  width: 120px;
  height: 48px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1a1a1a;
  cursor: pointer;
  position: relative;
  background-color: transparent;
}

.discount-input {
  position: relative;
  margin-bottom: 0;
}

.discount-input::after {
  border-color: #1a1a1a !important;
}

.discount-input label {
  position: absolute;
  left: 2px;
  top: 0;
  transform: translate(14px, 14px) scale(1);
  font-size: 14px;
  transition:
    color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
    transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
    max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
  transform-origin: top left;
  pointer-events: none;
  color: #1a1a1a;
}

.apply-button:hover {
  box-shadow: 0 0 0 1px black;
}

.discount-input input:focus ~ label {
  transform: translate(14px, 6px) scale(0.75);
  top: 2px;
}

.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label,
.field__input:-webkit-autofill ~ .field__label {
  transform: translate(14px, 6px) scale(0.75);
  top: 2px;
}

.loading {
  color: transparent;
  pointer-events: none;
}

.loading .loading__spinner {
  display: flex !important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: #1a1a1a;
}

.cart__checkout-button .loading__spinner {
  color: white;
}

.error-wrapper {
  display: flex;
  margin-top: 8px;
  gap: 10px;
  font-size: 14px;
  align-items: center;
}

.error-wrapper svg {
  width: 16px;
}

.cart-item__old-price {
  opacity: 0.5;
}

.discounts svg {
  width: 14px;
}

.discounts__discount svg {
  width: 12px;
}

.discounts__discount {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.discount-code-list {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.discount-code-item {
  padding: 4px 12px;
  gap: 8px;
  display: flex;
  align-items: center;
  font-size: 14px;
  background-color: #f5f5f5;
  border-radius: 3px;
}

.discount-del {
  display: flex;
  cursor: pointer;
}

.discount-code-item svg {
  width: 14px;
  pointer-events: none;
}

.discount-del svg {
  width: 16px;
}

.cart-item__price-wrapper .cart-item__old-price {
  font-size: 14px;
  margin-top: 0;
}

.cart-item__price-wrapper > *:only-child:not(.cart-item__discounted-prices) {
  margin-top: 10px;
}

.shipping_tips {
  margin-top: 16px;
  color: #666;
  font-size: 12px;
}

.unavailable-code-list {
  padding: 5px 10px;
  background-color: #f0f2f366;
  width: 100%;
  border-radius: 3px;
  position: relative;
  margin-top: 8px;
}

.unavailable-message {
  color: #dd1d1d;
  font-size: 14px;
}

.unavailable-codes {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
}

.discount-del-all {
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
}

.order-info {
  margin-top: 15px;
}
