.header-image {
  max-width: 1200px;
  display: block;
  margin: 0 auto;
}
#site-header {
  background: #104e8b;
}

/* Richards Auto: native WooCommerce cart and checkout refresh. */
/* Scoped to these two pages; WooCommerce owns all shopping behavior. */
body:is(.woocommerce-cart, .woocommerce-checkout) #content {
  background: #f4f7fa;
  color: #12283f;
  font-family: Arial, sans-serif;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content > .ast-container {
  display: block;
  max-width: 1200px;
  padding: 0 24px;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #primary {
  width: 100%;
  margin: 40px 0 56px;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content #primary {
  padding: 0;
}
body:is(.woocommerce-cart, .woocommerce-checkout) .ast-article-single {
  margin: 0;
  padding: 0;
  background: transparent !important;
}
body:is(.woocommerce-cart, .woocommerce-checkout) .entry-header {
  margin: 0 0 28px;
  padding: 32px 36px;
  border-radius: 12px;
  background: #12283f;
}
body:is(.woocommerce-cart, .woocommerce-checkout) .entry-header::before {
  content: 'RICHARDS AUTO · ONLINE STORE';
  display: block;
  margin-bottom: 12px;
  color: #b7d9ee;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1.2px;
}
body:is(.woocommerce-cart, .woocommerce-checkout) h1.entry-title {
  margin: 0;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.6px;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content h2,
body:is(.woocommerce-cart, .woocommerce-checkout) #content h3,
body:is(.woocommerce-cart, .woocommerce-checkout) #content h4 {
  color: #12283f;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce a {
  color: #176e9f;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce .button,
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce button.button,
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce input.button {
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid #12283f;
  border-radius: 8px;
  background: #12283f;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce .button:hover {
  border-color: #176e9f;
  background: #176e9f;
  color: #fff;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce .button:disabled,
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce .button.disabled {
  opacity: 0.5;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #176e9f;
  outline-offset: 3px;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce :is(.input-text, select, textarea),
body:is(.woocommerce-cart, .woocommerce-checkout) #content .select2-container .select2-selection--single {
  min-height: 48px;
  border: 1px solid #ccd7e2;
  border-radius: 8px;
  background: #fff;
  color: #12283f;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce :is(.input-text, select, textarea) {
  padding: 11px 12px;
  box-shadow: none;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce input:is([type='radio'], [type='checkbox']) {
  accent-color: #176e9f;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .select2-container {
  max-width: 100%;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .select2-container .select2-selection__rendered {
  padding: 10px 32px 10px 12px;
  color: #12283f;
  line-height: 26px;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .select2-container .select2-selection__arrow {
  height: 46px;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
  margin-bottom: 24px;
  padding: 18px 20px 18px 48px;
  border: 1px solid #dfe6ed;
  border-top: 3px solid #176e9f;
  border-radius: 8px;
  background: #fff;
  color: #12283f;
  font-size: 15px;
  line-height: 1.6;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce-error {
  border-top-color: #b42318;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce-info::before,
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce-message::before {
  color: #176e9f;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce-notices-wrapper:empty {
  display: none;
}

/* Cart: products and totals sit beside one another on wide screens. */
body.woocommerce-cart #content .entry-content > .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 24px;
  align-items: start;
}
body.woocommerce-cart #content .woocommerce-notices-wrapper,
body.woocommerce-cart #content .wc-empty-cart-message,
body.woocommerce-cart #content .return-to-shop {
  grid-column: 1 / -1;
}
body.woocommerce-cart #content .woocommerce-cart-form,
body.woocommerce-cart #content .cart_totals {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid #dfe6ed;
  border-radius: 12px;
  background: #fff;
}
body.woocommerce-cart #content .woocommerce-cart-form {
  grid-column: 1;
}
body.woocommerce-cart #content .cart-collaterals {
  grid-column: 2;
  width: 100%;
  min-width: 0;
}
body.woocommerce-cart #content .cart_totals {
  float: none;
  width: 100%;
}
body.woocommerce-cart #content .cart_totals h2 {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid #dfe6ed;
  background: transparent;
  font-size: 24px;
}
body.woocommerce-cart #content table.shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-radius: 0;
  font-size: 14px;
}
body.woocommerce-cart #content .woocommerce-cart-form thead {
  background: #f4f7fa;
}
body.woocommerce-cart #content .woocommerce-cart-form th {
  padding: 12px 8px;
  border: 0;
  color: #536478;
  font-size: 12px;
  font-weight: 700;
}
body.woocommerce-cart #content .woocommerce-cart-form td {
  padding: 18px 8px;
  border-color: #dfe6ed;
  background: #fff;
  vertical-align: middle;
}
body.woocommerce-cart #content .woocommerce-cart-form .product-remove {
  width: 28px;
  padding-left: 0;
}
body.woocommerce-cart #content .woocommerce-cart-form .product-thumbnail {
  width: 72px;
}
body.woocommerce-cart #content .woocommerce-cart-form .product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 6px;
}
body.woocommerce-cart #content .woocommerce-cart-form .product-name {
  min-width: 0;
}
body.woocommerce-cart #content .woocommerce-cart-form .product-name a {
  color: #12283f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.woocommerce-cart #content .woocommerce-cart-form .backorder_notification {
  margin: 6px 0 0;
  color: #536478;
  font-size: 12px;
  line-height: 1.5;
}
body.woocommerce-cart #content :is(.product-price, .product-subtotal) .amount {
  white-space: nowrap;
}
body.woocommerce-cart #content .quantity .qty {
  width: 64px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #ccd7e2;
  border-radius: 8px;
  font-size: 15px;
}
body.woocommerce-cart #content .woocommerce-cart-form td.actions {
  padding: 20px 0 0;
  text-align: left;
}
body.woocommerce-cart #content .woocommerce-cart-form .coupon {
  display: flex;
  float: none;
  width: 100%;
  gap: 10px;
}
body.woocommerce-cart #content .woocommerce-cart-form #coupon_code {
  flex: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
}
body.woocommerce-cart #content .woocommerce-cart-form .coupon .button {
  flex: 0 0 auto;
  width: auto;
}
body.woocommerce-cart #content .woocommerce-cart-form button[name='update_cart'] {
  float: none;
  width: 100%;
  margin-top: 12px;
}
body.woocommerce-cart #content .cart_totals table :is(th, td) {
  padding: 14px 0;
  border-color: #dfe6ed;
  background: transparent;
  font-size: 14px;
}
body.woocommerce-cart #content .cart_totals .wc-proceed-to-checkout {
  padding: 20px 0 0;
}
body.woocommerce-cart #content .cart_totals .checkout-button {
  display: block;
  width: 100%;
  margin: 0;
}
body.woocommerce-cart #content .wc-empty-cart-message .woocommerce-info {
  margin: 0;
  padding-top: 24px;
  padding-bottom: 24px;
}
body.woocommerce-cart #content .return-to-shop {
  margin: 0;
}

/* Checkout: native billing forms and a clear, roomy order summary. */
body.woocommerce-checkout #content form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: min-content auto;
  gap: 0 24px;
  align-items: start;
  align-content: start;
}
body.woocommerce-checkout #content form.checkout::before,
body.woocommerce-checkout #content form.checkout::after {
  display: none;
}
body.woocommerce-checkout #content #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
}
body.woocommerce-checkout #content #customer_details :is(.col-1, .col-2) {
  float: none;
  width: 100%;
  margin: 0;
}
body.woocommerce-checkout #content :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) {
  margin: 0 0 20px;
  padding: 24px;
  border: 1px solid #dfe6ed;
  border-radius: 12px;
  background: #fff;
}
body.woocommerce-checkout #content #customer_details h3 {
  margin: 0 0 22px;
  padding: 0;
  font-size: 24px;
}
body.woocommerce-checkout #content #customer_details #ship-to-different-address {
  margin: 0;
  font-size: 16px;
}
body.woocommerce-checkout #content #ship-to-different-address label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0;
}
body.woocommerce-checkout #content .shipping_address {
  margin-top: 20px;
}
body.woocommerce-checkout #content #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  float: none;
  width: 100%;
  margin: 0;
  padding: 24px 24px 18px;
  border: 1px solid #dfe6ed;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #fff;
  font-size: 24px;
}
body.woocommerce-checkout #content #order_review {
  grid-column: 2;
  grid-row: 2;
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 24px 24px;
  border: 1px solid #dfe6ed;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #fff;
}
body.woocommerce-checkout #content form .form-row {
  padding: 0;
  margin: 0 0 16px;
}
body.woocommerce-checkout #content form .form-row label {
  margin-bottom: 6px;
  color: #12283f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
body.woocommerce-checkout #content form :is(.form-row-first, .form-row-last) {
  width: calc(50% - 8px);
}
body.woocommerce-checkout #content .woocommerce form .form-row textarea {
  min-height: 112px;
  resize: vertical;
}
body.woocommerce-checkout #content table.shop_table {
  width: 100%;
  margin: 0 0 20px;
  border: 0;
  border-collapse: collapse;
  border-radius: 0;
  font-size: 14px;
}
body.woocommerce-checkout #content table.shop_table :is(th, td) {
  padding: 14px 0;
  border-color: #dfe6ed;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: top;
}
body.woocommerce-checkout #content table.shop_table thead {
  color: #536478;
}
body.woocommerce-checkout #content table.shop_table .product-total {
  padding-left: 12px;
  text-align: right;
  white-space: nowrap;
}
body.woocommerce-checkout #content table.shop_table .cart_item .product-name {
  padding-right: 12px;
  overflow-wrap: anywhere;
}
body.woocommerce-checkout #content table.shop_table tfoot tr:not(.woocommerce-shipping-totals) td {
  text-align: right;
}
body.woocommerce-cart #content .cart_totals table.shop_table,
body.woocommerce-checkout #content #order_review table.shop_table,
body.woocommerce-cart #content .cart_totals table.shop_table tbody,
body.woocommerce-checkout #content #order_review table.shop_table :is(thead, tbody, tfoot) {
  display: block;
  width: 100%;
}
body.woocommerce-cart #content .cart_totals table.shop_table tr,
body.woocommerce-checkout #content #order_review table.shop_table tr {
  display: flex;
  width: 100%;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #dfe6ed;
}
body.woocommerce-cart #content .cart_totals table.shop_table :is(th, td),
body.woocommerce-checkout #content #order_review table.shop_table :is(th, td) {
  border: 0;
}
body.woocommerce-cart #content .cart_totals table.shop_table th,
body.woocommerce-checkout #content #order_review table.shop_table th,
body.woocommerce-checkout #content #order_review table.shop_table .product-name {
  flex: 1;
  min-width: 0;
}
body.woocommerce-cart #content .cart_totals table.shop_table td,
body.woocommerce-checkout #content #order_review table.shop_table .product-total,
body.woocommerce-checkout #content #order_review table.shop_table tfoot td {
  flex: 0 0 auto;
  width: auto;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content tr.woocommerce-shipping-totals {
  display: block !important;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content tr.woocommerce-shipping-totals > th,
body:is(.woocommerce-cart, .woocommerce-checkout) #content tr.woocommerce-shipping-totals > td {
  display: block;
  width: 100% !important;
  text-align: left;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content tr.woocommerce-shipping-totals > th {
  padding-bottom: 0;
  border-bottom: 0;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content tr.woocommerce-shipping-totals > td {
  border-top: 0;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content ul#shipping_method {
  margin: 0;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content ul#shipping_method li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 0;
  line-height: 1.5;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content ul#shipping_method li input {
  flex: 0 0 auto;
  min-width: 16px;
  min-height: 16px;
  margin: 4px 0 0;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content ul#shipping_method li label {
  flex: 1;
  min-width: 0;
  margin: 0;
  text-indent: 0;
  text-align: left;
  color: #536478;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .woocommerce-shipping-destination {
  margin: 14px 0 0;
  color: #536478;
  font-size: 12px;
  line-height: 1.6;
}
body:is(.woocommerce-cart, .woocommerce-checkout) #content .order-total .amount {
  color: #176e9f;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}
body.woocommerce-checkout #content #order_review :is(.acfw-checkout-ui-block, .add_gift_card_form) {
  margin: 0 0 24px;
  padding-top: 20px;
  border-top: 1px solid #dfe6ed;
  color: #536478;
  font-size: 13px;
  line-height: 1.6;
}
body.woocommerce-checkout #content #order_review :is(.acfw-checkout-ui-block h3, .add_gift_card_form h4) {
  margin: 0 0 12px;
  font-size: 18px;
}
body.woocommerce-checkout #content #wc_gc_cart_redeem_form {
  display: flex;
  gap: 8px;
}
body.woocommerce-checkout #content #wc_gc_cart_code {
  width: 100%;
  min-width: 0;
  margin: 0;
}
body.woocommerce-checkout #content #wc_gc_cart_redeem_send {
  width: auto;
  margin: 0;
}
body.woocommerce-checkout #content #payment {
  border-radius: 0;
  background: transparent;
}
body.woocommerce-checkout #content #payment ul.payment_methods {
  padding: 0;
  border: 0;
}
body.woocommerce-checkout #content #payment ul.payment_methods > li {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid #dfe6ed;
  font-size: 15px;
}
body.woocommerce-checkout #content #payment ul.payment_methods > li > label {
  color: #12283f;
  font-weight: 600;
}
body.woocommerce-checkout #content #payment div.payment_box {
  margin: 14px 0 0;
  padding: 16px;
  border-radius: 8px;
  background: #f4f7fa;
  color: #536478;
  font-size: 14px;
  line-height: 1.6;
}
body.woocommerce-checkout #content #payment div.payment_box::before {
  border-bottom-color: #f4f7fa;
}
body.woocommerce-checkout #content #payment div.form-row {
  margin: 0;
  padding: 20px 0 0;
}
body.woocommerce-checkout #content #payment .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout #content #payment .mailpoet-checkout {
  color: #536478;
  font-size: 13px;
  line-height: 1.6;
}
body.woocommerce-checkout #content #payment .form-row label {
  color: #536478;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
body.woocommerce-checkout #content #place_order {
  float: none;
  width: 100%;
  margin: 20px 0 0;
  min-height: 48px;
}
body.woocommerce-checkout #content form.checkout_coupon {
  padding: 20px;
  border: 1px solid #dfe6ed;
  border-radius: 12px;
  background: #fff;
}
body.woocommerce-cart #content button[name='update_cart']:disabled {
  opacity: 0.5 !important;
}
body.woocommerce-cart #content .woocommerce-cart-form button[name='update_cart'] {
  float: left;
  width: calc(50% - 6px);
}
body.woocommerce-cart #content .woocommerce-cart-form .rae-clear-cart.button {
  float: right;
  width: calc(50% - 6px);
  margin: 12px 0 0;
  border: 1px solid #ccd7e2 !important;
  background: #fff;
  color: #12283f;
}
body.woocommerce-cart #content .woocommerce-cart-form .rae-clear-cart.button:hover {
  border-color: #176e9f !important;
  background: #f4f7fa;
  color: #176e9f;
}
body.woocommerce-cart #content #rae-clear-cart-form {
  display: none;
}

@media (max-width: 1024px) {
  body.woocommerce-cart #content .entry-content > .woocommerce {
    grid-template-columns: minmax(0, 1fr);
  }
  body.woocommerce-cart #content .cart-collaterals {
    grid-column: 1;
  }
}
@media (max-width: 921px) {
  body.woocommerce-checkout #content form.checkout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  body.woocommerce-checkout #content #customer_details {
    grid-column: 1;
    grid-row: 1;
  }
  body.woocommerce-checkout #content #order_review_heading {
    grid-column: 1;
    grid-row: 2;
    margin-top: 4px;
  }
  body.woocommerce-checkout #content #order_review {
    grid-column: 1;
    grid-row: 3;
  }
}
@media (max-width: 544px) {
  body:is(.woocommerce-cart, .woocommerce-checkout) .site-header .site-title {
    display: none;
  }
  body:is(.woocommerce-cart, .woocommerce-checkout) #content > .ast-container {
    padding: 0 16px;
  }
  body:is(.woocommerce-cart, .woocommerce-checkout) #primary {
    margin: 24px 0 36px;
  }
  body:is(.woocommerce-cart, .woocommerce-checkout) .entry-header {
    margin-bottom: 20px;
    padding: 24px 20px;
  }
  body:is(.woocommerce-cart, .woocommerce-checkout) h1.entry-title {
    font-size: 34px;
  }
  body.woocommerce-cart #content .woocommerce-cart-form,
  body.woocommerce-cart #content .cart_totals,
  body.woocommerce-checkout #content :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) {
    padding: 18px;
  }
  body.woocommerce-checkout #content #order_review_heading {
    padding: 18px 18px 14px;
  }
  body.woocommerce-checkout #content #order_review {
    padding: 0 18px 18px;
  }
  body.woocommerce-checkout #content form :is(.form-row-first, .form-row-last) {
    float: none;
    width: 100%;
  }
  body.woocommerce-cart #content .woocommerce-cart-form td {
    padding: 14px 0;
  }
  body.woocommerce-cart #content .woocommerce-cart-form .cart_item {
    position: relative;
  }
  body.woocommerce-cart #content .woocommerce-cart-form .product-remove {
    position: absolute;
    top: 8px;
    right: 0;
    width: 36px;
    padding: 0;
    border: 0;
  }
  body.woocommerce-cart #content .woocommerce-cart-form a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
  }
  body.woocommerce-cart #content .woocommerce-cart-form .product-thumbnail {
    width: 100%;
    text-align: left !important;
  }
  body.woocommerce-cart #content .woocommerce-cart-form .product-name {
    padding: 16px 0;
    text-align: left !important;
  }
  body.woocommerce-cart #content .woocommerce-cart-form .product-name::before {
    float: none;
    display: block;
    margin-bottom: 8px;
    color: #536478;
    font-size: 12px;
  }
  body.woocommerce-cart #content .woocommerce-cart-form .coupon {
    flex-direction: column;
  }
  body.woocommerce-cart #content .woocommerce-cart-form .coupon .button {
    width: 100% !important;
  }
  body.woocommerce-cart #content .woocommerce-cart-form button[name='update_cart'],
  body.woocommerce-cart #content .woocommerce-cart-form .rae-clear-cart.button {
    float: none;
    width: 100%;
  }
  body.woocommerce-cart #content .cart_totals table th {
    display: block !important;
    text-align: left;
  }
  body.woocommerce-cart #content .cart_totals table td::before {
    display: none !important;
  }
  body.woocommerce-checkout #content #wc_gc_cart_redeem_form {
    flex-direction: column;
  }
  body.woocommerce-checkout #content #wc_gc_cart_redeem_send {
    width: 100%;
  }
}

/* Richards Auto: roomy cart suggestions beneath the products and totals. */
body.woocommerce-cart #content .woocommerce-notices-wrapper {
  grid-row: 1;
}
body.woocommerce-cart #content .woocommerce-cart-form {
  grid-row: 2;
}
body.woocommerce-cart #content .cart-collaterals {
  display: contents;
}
body.woocommerce-cart #content .cart-collaterals::before,
body.woocommerce-cart #content .cart-collaterals::after {
  display: none;
}
body.woocommerce-cart #content .cart_totals {
  grid-column: 2;
  grid-row: 2;
}
body.woocommerce-cart #content .cross-sells {
  grid-column: 1 / -1;
  grid-row: 3;
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid #dfe6ed;
  border-radius: 12px;
  background: #fff;
}
body.woocommerce-cart #content .cross-sells > h2 {
  margin: 0 0 22px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid #dfe6ed;
  background: transparent;
  color: #12283f;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}
body.woocommerce-cart #content .cross-sells ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.woocommerce-cart #content .cross-sells ul.products::before,
body.woocommerce-cart #content .cross-sells ul.products::after {
  display: none;
}
body.woocommerce-cart #content .cross-sells ul.products li.product {
  display: flex;
  flex-direction: column;
  float: none;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 18px;
  border: 1px solid #dfe6ed;
  border-radius: 10px;
  background: #fff;
  text-align: left;
}
body.woocommerce-cart #content .cross-sells .astra-shop-thumbnail-wrap {
  width: 100%;
  margin: 0 0 16px;
}
body.woocommerce-cart #content .cross-sells .astra-shop-thumbnail-wrap img {
  display: block;
  width: 100%;
  height: 180px;
  margin: 0;
  object-fit: contain;
  border-radius: 6px;
}
body.woocommerce-cart #content .cross-sells .astra-shop-summary-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
}
body.woocommerce-cart #content .cross-sells .woocommerce-loop-product__title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #12283f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body.woocommerce-cart #content .cross-sells .price {
  margin: 0 0 18px;
  color: #12283f;
  font-size: 16px;
  line-height: 1.5;
}
body.woocommerce-cart #content .cross-sells .button {
  width: 100%;
  min-height: 44px;
  margin: auto 0 0;
  padding: 12px 16px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
@media (max-width: 1024px) {
  body.woocommerce-cart #content .cart_totals {
    grid-column: 1;
    grid-row: 3;
  }
  body.woocommerce-cart #content .cross-sells {
    grid-row: 4;
  }
}
@media (max-width: 544px) {
  body.woocommerce-cart #content .cross-sells {
    padding: 18px;
  }
  body.woocommerce-cart #content .cross-sells > h2 {
    font-size: 22px;
  }
}