/**
 * Schoolyard basket, checkout and account.
 */

/* Full-width content */

.woocommerce-cart .content-area,
.woocommerce-checkout .content-area,
.woocommerce-account .content-area {
  float: none;
  width: 100%;
  margin-right: 0;
}

.woocommerce-cart .widget-area,
.woocommerce-checkout .widget-area,
.woocommerce-account .widget-area {
  display: none;
}

/* Headings */

.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-account .entry-title {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Tables */

.woocommerce-cart table.cart,
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 1rem;
  font-size: 16px;
  color: #2b2a29;
  vertical-align: middle;
}

.woocommerce-cart table.cart th,
.woocommerce-checkout table.shop_table th {
  font-weight: 700;
  background: #f7f7f7;
}

/* Cart totals */

.woocommerce-cart .cart-collaterals {
  width: 100%;
  clear: both;
  margin-top: 2rem;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-sizing: border-box;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 1rem;
}

.woocommerce-cart .cart_totals table {
  width: 100%;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
  text-align: left;
}

.woocommerce-cart .cart_totals
.wc-proceed-to-checkout {
  text-align: left;
}

/* Checkout sections */

.woocommerce-checkout .col2-set,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  box-sizing: border-box;
  margin-bottom: 2rem;
}

.woocommerce-checkout .col2-set {
  width: 100%;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
}

/* Forms */

.woocommerce form .form-row label {
  font-size: 16px;
  font-weight: 700;
  color: #2b2a29;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  min-height: 44px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  font-size: 16px;
  box-sizing: border-box;
}

.woocommerce form .form-row textarea {
  min-height: 110px;
}

/* Buttons */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order {
  background: #6f6b68 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 0.85rem 1.25rem !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  background: #2b2a29 !important;
}

/* Hide incorrect Return to Shop link */

.return-to-shop {
  display: none !important;
}

/* Mobile */

@media screen and (max-width: 768px) {
  .woocommerce-cart .entry-title,
  .woocommerce-checkout .entry-title {
    font-size: 36px;
  }

  .woocommerce-cart .checkout-button,
  .woocommerce-checkout #place_order {
    display: block;
    width: 100%;
  }
}
