/* Layout */

.checkout-page .layout-checkout-form {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 30px 20px;
}

.layout-region-checkout-main {
    width: 100%;
}

/* Right column */

.checkout-page .layout-region-checkout-secondary {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 20px;
  width: 100%;
  height: fit-content;
}

/* Checkout panes */

.checkout-page .checkout-pane {
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 25px;
  margin-bottom: 25px;
}

.checkout-page .checkout-pane legend {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1A1717;
  padding: 0 10px;
}

/* Inputs */

.checkout-page .form-text,
.checkout-page .form-email,
.checkout-page .form-tel,
.checkout-page .form-select {

  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #d6d6d6;
  font-size: 15px;
  transition: all .15s ease;
}

.checkout-page .form-text:focus,
.checkout-page .form-email:focus,
.checkout-page .form-select:focus,
.checkout-page .form-tel:focus {

  border-color: #CF1F2E;
  outline: none;
  box-shadow: 0 0 0 2px rgba(207,31,46,0.15);
}

/* Address layout */

.checkout-page .address-container-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.checkout-page .address-container-inline .form-item {
  margin-bottom: 10px;
}

/* Payment icons */

.checkout-page .payment-method-icon-list {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  opacity: .7;
}

/* Order summary */

.checkout-page .layout-region-checkout-secondary h3 {
  margin-top: 0;
  font-size: 1.3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.checkout-page .layout-region-checkout-secondary table {
  width: 100%;
}

.checkout-page .layout-region-checkout-secondary td {
  padding: 6px 0;
}

.checkout-page .views-field-quantity {
  color: #98999B;
  width: 40px;
}

.checkout-page .views-field-total-price__number {
  text-align: right;
  font-weight: 600;
}

/* Totals */

.checkout-page .order-total-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.checkout-page .order-total-line__total {
  font-size: 1.2rem;
  border-top: 1px solid #ddd;
  margin-top: 10px;
  padding-top: 10px;
}

/* Coupon */

.checkout-page #edit-sidebar-coupon-redemption-form {
  margin-top: 20px;
}

.checkout-page #edit-sidebar-coupon-redemption-form-code {
  margin-bottom: 10px;
}

/* Back link */

.checkout-page .link--previous {
  align-self: center;
  color: #98999B;
  text-decoration: none;
}

.checkout-page .link--previous:hover {
  text-decoration: underline;
}

.layout-region-checkout-footer .form-actions .form-submit {
    background: #D42F27;
  background: linear-gradient(360deg, rgba(212, 47, 39, 1) 75%, rgba(244, 136, 97, 1) 100%);
  color:white;
  border:none;
  padding:14px 26px;
  font-size:16px;
  font-weight:600;
  border-radius:1px;
  cursor:pointer;
  transition:.2s;
  margin-left: 40px;
}




/* ========================================
   MOBILE
======================================== */

@media (max-width: 992px){ 

    .checkout-page .layout-checkout-form {
        max-width: 980px;
        grid-template-columns: 420px 1fr;
        gap: 1px;
        padding: 3px 2px;
    }

  .checkout-page .layout-region-checkout-main {
    width: 80%;
  }
  .layout-region-checkout-main .checkout-pane {
    width: 100%;
  }

}