/* Checkout contact fields — compact sizing. */

.checkout-page .simplecheckout-step.row {
  margin-right: -10px;
  margin-left: -10px;
}

@media screen and (min-width: 992px) {
  /* Checkout columns use a slightly wider cart summary than the default grid. */
  .checkout-page .simplecheckout-left-column {
    flex: 0 0 43%;
    max-width: 43%;
    width: 43%;
    float: left;
    margin-right: 10px;
    min-width: 280px;
  }

  .checkout-page .simplecheckout-right-column {
    flex: 0 0 55%;
    max-width: 55%;
    width: 55%;
    float: right;
    min-width: 280px;
  }
}

.checkout-page .simple-content label {
  font-size: 14px;
}

.checkout-page #customer-panel .form-group,
.checkout-page #simplecheckout_login .form-group {
  margin-bottom: 15px;
}

.checkout-page #customer-panel .form-group label,
.checkout-page #simplecheckout_login .form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #2e2e2e;
}

.checkout-page #customer-panel .form-group.required > label::after,
.checkout-page #simplecheckout_login .form-group.required > label::after {
  color: #2e2e2e;
}

.checkout-page #customer-panel .form-control,
.checkout-page #simplecheckout_login .form-control {
  height: 38px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 18px;
  border-radius: 6px;
}

.checkout-page #customer-panel .form-control::placeholder,
.checkout-page #simplecheckout_login .form-control::placeholder {
  color: #a3a3a3;
  font-size: 14px;
}

.checkout-page #customer-panel .simplecheckout-error-text,
.checkout-page #simplecheckout_login .simplecheckout-error-text {
  bottom: -18px;
  font-size: 12px;
}

.checkout-page .checkout-panel--title .btn {
  padding: 8px 14px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
}

.checkout-page #simplecheckout_login .login-forget {
  margin-bottom: 10px;
}

.checkout-page #simplecheckout_login .login-forget a {
  font-size: 14px;
}

.checkout-page .col-checkout-cart .checkout-panel--title {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.checkout-page .cart-checkout-panel {
  margin-left: 0;
  margin-right: 0;
  padding: 16px;
  background: #ebebeb;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.checkout-page .col-checkout-cart .cart-item {
  border-radius: 10px;
  margin-bottom: 20px;
}

.checkout-page .col-checkout-cart .cart-item:last-of-type {
  margin-bottom: 18px;
}

.checkout-page .np-lookup {
  position: relative;
}

.checkout-page .np-lookup-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(46, 46, 46, 0.16);
}

.checkout-page .np-lookup-result {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  color: #2e2e2e;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  cursor: pointer;
}

.checkout-page .np-lookup-result:hover,
.checkout-page .np-lookup-result:focus-visible {
  background: #f8c630;
  color: #2e2e2e;
  outline: none;
}

.checkout-page .np-lookup-status {
  margin-top: 6px;
  color: #777777;
  font-size: 12px;
  line-height: 16px;
}

.checkout-page .np-lookup-status--error {
  color: #f03136;
}

.checkout-page #shipping-panel select.form-control:disabled {
  color: #777777;
  cursor: not-allowed;
}

@media screen and (min-width: 768px) {
  .checkout-page .col-checkout-cart .cart-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    column-gap: 15px;
    row-gap: 5px;
    padding: 15px;
  }

  .checkout-page .col-checkout-cart .cart-item-info {
    display: contents;
  }

  .checkout-page .col-checkout-cart .cart-item--image {
    grid-column: 1;
    margin-right: 0;
  }

  .checkout-page .col-checkout-cart .cart-item--name {
    grid-column: 2;
    min-width: 0;
  }

  .checkout-page .col-checkout-cart .cart-item-price {
    grid-column: 1 / -1;
    grid-template-columns: max-content 24px 112px minmax(16px, 1fr) max-content;
    column-gap: 0;
  }

  .checkout-page .col-checkout-cart .price-multiplier {
    grid-column: 2;
    justify-self: center;
  }

  .checkout-page .col-checkout-cart .quantity {
    grid-column: 3;
  }

  .checkout-page .col-checkout-cart .cart-price-total {
    grid-column: 5;
    justify-self: end;
    text-align: right;
  }
}

@media screen and (min-width: 992px) {
  .checkout-page #customer-panel .form-group,
  .checkout-page #simplecheckout_login .form-group {
    margin-bottom: 20px;
  }

  .checkout-page .checkout-panel--content {
    padding-bottom: 10px;
  }

  .checkout-page .col-checkout-cart .checkout-panel--title {
    margin-bottom: 18px;
  }

  .checkout-page .cart-checkout-panel {
    padding: 30px;
  }
}
