/* ==========================================================================
   Augusta Premier Kickball â€” WooCommerce Cart + Checkout
   Clean consolidated production stylesheet

   Scope:
   - Cart page
   - Checkout page
   - Mobile cart/checkout layout
   - WooPayments spacing
   - Power Coupons overflow fix

   Replaces:
   - Legacy _cart.css
   - Legacy _checkout.css
   - Previous combined WooCommerce overrides
   ========================================================================== */

/* ==========================================================================
   01. Design Tokens
   ========================================================================== */

:root {
  --apk-navy: #082b3f;
  --apk-dark-navy: #041723;
  --apk-near-black: #000a0f;
  --apk-red: #eb192e;
  --apk-light-blue: #69d6e2;
  --apk-light-blue-hover: #56c6d3;
  --apk-cream: #efece8;
  --apk-white: #ffffff;
  --apk-text: #333333;
  --apk-muted: #6c7782;
  --apk-border: #dbe3ea;
  --apk-divider: #eef2f6;
  --apk-success: #2ca44f;
  --apk-card-radius: 16px;
  --apk-input-radius: 10px;
  --apk-pill-radius: 999px;
  --apk-card-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* ==========================================================================
   02. Shared Foundation
   ========================================================================== */

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-cart button,
body.woocommerce-checkout button,
body.woocommerce-cart input,
body.woocommerce-checkout input,
body.woocommerce-cart select,
body.woocommerce-checkout select,
body.woocommerce-cart textarea,
body.woocommerce-checkout textarea,
body.woocommerce-cart table,
body.woocommerce-checkout table {
  font-family: "Montserrat", sans-serif !important;
}

body.woocommerce-cart *,
body.woocommerce-checkout * {
  box-sizing: border-box;
}

body.woocommerce-cart,
body.woocommerce-checkout {
  overflow-x: hidden !important;
}

/* Shared page wrapper */
body.woocommerce-cart #content .container,
body.woocommerce-checkout #content .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-cart #content .section_clear,
body.woocommerce-checkout #content .section_clear,
body.woocommerce-cart #content .vc_row,
body.woocommerce-checkout #content .vc_row,
body.woocommerce-cart #content .vc_column_container,
body.woocommerce-checkout #content .vc_column_container,
body.woocommerce-cart #content .vc_col-sm-12,
body.woocommerce-checkout #content .vc_col-sm-12,
body.woocommerce-cart #content .wpb_wrapper,
body.woocommerce-checkout #content .wpb_wrapper,
body.woocommerce-cart #content .woocommerce,
body.woocommerce-checkout #content .woocommerce {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Desktop page gutters */
@media only screen and (min-width: 768px) {
  body.woocommerce-cart #content .container,
  body.woocommerce-checkout #content .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  body.woocommerce-cart #content .section_clear,
  body.woocommerce-checkout #content .section_clear,
  body.woocommerce-cart #content .vc_row,
  body.woocommerce-checkout #content .vc_row,
  body.woocommerce-cart #content .vc_column_container,
  body.woocommerce-checkout #content .vc_column_container,
  body.woocommerce-cart #content .vc_col-sm-12,
  body.woocommerce-checkout #content .vc_col-sm-12,
  body.woocommerce-cart #content .wpb_wrapper,
  body.woocommerce-checkout #content .wpb_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Shared card language */
body.woocommerce-cart .cart_totals,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
  background: var(--apk-white) !important;
  border: 1px solid var(--apk-border) !important;
  border-radius: var(--apk-card-radius) !important;
  box-shadow: var(--apk-card-shadow) !important;
}

/* Shared card headings */
body.woocommerce-cart .cart_totals h2,
body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review::before {
  display: block !important;
  margin: 0 0 24px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid var(--apk-divider) !important;
  color: var(--apk-navy) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Shared primary CTA */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout #place_order {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 58px !important;
  height: auto !important;
  padding: 16px 22px !important;
  margin: 0 !important;
  background: var(--apk-light-blue) !important;
  color: var(--apk-near-black) !important;
  border: 0 !important;
  border-radius: var(--apk-pill-radius) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.5px !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-checkout #place_order:hover {
  background: var(--apk-dark-navy) !important;
  color: var(--apk-white) !important;
}

/* ==========================================================================
   03. Cart
   ========================================================================== */

body.woocommerce-cart .woocommerce-cart-form {
  width: 62% !important;
  float: left !important;
}

body.woocommerce-cart .cart-collaterals {
  width: 34% !important;
  float: right !important;
}

body.woocommerce-cart .cart_totals {
  width: 100% !important;
  padding: 28px !important;
}

/* Cart tables */
body.woocommerce-cart table.shop_table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
  padding: 18px 10px !important;
  border-bottom: 1px solid var(--apk-divider) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  vertical-align: middle !important;
}

body.woocommerce-cart table.shop_table th {
  color: var(--apk-navy) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

/* Cart columns */
body.woocommerce-cart th.product-remove,
body.woocommerce-cart td.product-remove {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  text-align: center !important;
}

body.woocommerce-cart th.product-thumbnail,
body.woocommerce-cart td.product-thumbnail {
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

body.woocommerce-cart .product-thumbnail img {
  width: 56px !important;
  height: 56px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}

body.woocommerce-cart .product-name {
  width: auto !important;
  font-weight: 400 !important;
}

body.woocommerce-cart .product-name a {
  color: var(--apk-navy) !important;
  text-decoration: none !important;
}

body.woocommerce-cart .product-price,
body.woocommerce-cart .product-quantity,
body.woocommerce-cart .product-subtotal {
  width: 18% !important;
  text-align: center !important;
}

body.woocommerce-cart .quantity {
  display: flex !important;
  justify-content: center !important;
}

body.woocommerce-cart .quantity input.qty {
  width: 56px !important;
  height: 48px !important;
  border: 1px solid var(--apk-border) !important;
  border-radius: 12px !important;
  text-align: center !important;
}

/* Remove item */
body.woocommerce-cart .product-remove a {
  display: inline-block !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 30px !important;
  color: var(--apk-red) !important;
  background: transparent !important;
  border-radius: var(--apk-pill-radius) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

body.woocommerce-cart .product-remove a:hover {
  background: var(--apk-red) !important;
  color: var(--apk-white) !important;
}

/* Coupon/actions row */
body.woocommerce-cart .actions {
  padding: 16px 10px !important;
}

body.woocommerce-cart .actions .coupon {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  float: left !important;
}

body.woocommerce-cart .coupon input.input-text {
  width: 220px !important;
  height: 52px !important;
  padding: 0 16px !important;
  border: 1px solid var(--apk-border) !important;
  border-radius: var(--apk-pill-radius) !important;
  background: var(--apk-white) !important;
}

/* Cart secondary buttons */
body.woocommerce-cart .coupon .button,
body.woocommerce-cart .actions .button:not(.checkout-button) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 30px !important;
  background: var(--apk-cream) !important;
  color: var(--apk-near-black) !important;
  border: 0 !important;
  border-radius: var(--apk-pill-radius) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

body.woocommerce-cart .coupon .button:hover,
body.woocommerce-cart .actions .button:not(.checkout-button):hover {
  background: var(--apk-near-black) !important;
  color: var(--apk-white) !important;
}

body.woocommerce-cart .actions > button.button {
  float: right !important;
}

body.woocommerce-cart button.button:disabled,
body.woocommerce-cart button.button:disabled[disabled] {
  background: #d7eef5 !important;
  color: #7f9aa3 !important;
  opacity: 1 !important;
}

/* Cart totals */
body.woocommerce-cart .cart_totals table {
  margin: 0 0 20px !important;
  border: 0 !important;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
  padding: 16px 0 !important;
  border-bottom: 1px solid var(--apk-divider) !important;
  font-size: 15px !important;
}

body.woocommerce-cart .cart_totals th {
  color: var(--apk-navy) !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .cart_totals td,
body.woocommerce-cart .cart_totals td .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals td .woocommerce-Price-amount bdi,
body.woocommerce-cart .cart_totals td .woocommerce-Price-currencySymbol {
  color: var(--apk-text) !important;
  font-weight: 700 !important;
}

body.woocommerce-cart .cart_totals .cart-subtotal th,
body.woocommerce-cart .cart_totals .cart-subtotal td,
body.woocommerce-cart .cart_totals .cart-subtotal td span,
body.woocommerce-cart .cart_totals .cart-subtotal td bdi {
  color: var(--apk-text) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td,
body.woocommerce-cart .cart_totals .order-total strong,
body.woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals .order-total .woocommerce-Price-currencySymbol {
  color: var(--apk-navy) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 12px 0 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout::after {
  content: "";
  display: block;
  clear: both;
  height: 10px;
}

/* Continue shopping / cart messages */
body.woocommerce-cart .woocommerce-message .wc-forward,
body.woocommerce-cart .woocommerce-message a.button,
body.woocommerce-cart .return-to-shop .button {
  background: var(--apk-light-blue) !important;
  color: var(--apk-navy) !important;
  border: 0 !important;
  border-radius: var(--apk-pill-radius) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

body.woocommerce-cart .woocommerce-message .wc-forward:hover,
body.woocommerce-cart .woocommerce-message a.button:hover,
body.woocommerce-cart .return-to-shop .button:hover {
  background: var(--apk-dark-navy) !important;
  color: var(--apk-white) !important;
}

/* Clear desktop floats */
body.woocommerce-cart .woocommerce::after,
body.woocommerce-cart .actions::after,
body.woocommerce-cart .cart-collaterals::after {
  content: "";
  display: table;
  clear: both;
}

/* ==========================================================================
   04. Checkout
   ========================================================================== */

/* Checkout layout resets */
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #order_review_heading {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px) !important;
  gap: 48px !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  align-items: start !important;
}

body.woocommerce-checkout #customer_details {
  grid-column: 1 !important;
  min-width: 0 !important;
  padding: 32px !important;
}

body.woocommerce-checkout #order_review {
  grid-column: 2 !important;
  min-width: 0 !important;
  padding: 32px !important;
}

body.woocommerce-checkout #order_review_heading {
  display: none !important;
}

body.woocommerce-checkout #order_review::before {
  content: "Your Order" !important;
}

body.woocommerce-checkout .col2-set {
  display: block !important;
}

body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
  display: block !important;
  margin: 0 0 32px !important;
}

/* Sticky order review on large screens */
@media only screen and (min-width: 1200px) {
  body.woocommerce-checkout #order_review {
    position: sticky !important;
    top: 120px !important;
  }
}

/* Tablet layout */
@media only screen and (max-width: 1199px) and (min-width: 992px) {
  body.woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
    gap: 32px !important;
  }
}

/* Checkout field rows */
body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last {
  width: 48% !important;
  overflow: visible !important;
}

body.woocommerce-checkout .woocommerce-billing-fields .form-row > label,
body.woocommerce-checkout .woocommerce-additional-fields .form-row > label {
  margin-bottom: 7px !important;
  font-weight: 700 !important;
}

/* Inputs */
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-selection {
  width: 100% !important;
  min-height: 48px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--apk-border) !important;
  border-radius: 8px !important;
  background: var(--apk-white) !important;
}

body.woocommerce-checkout textarea {
  min-height: 90px !important;
}

body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus {
  border-color: var(--apk-light-blue) !important;
  box-shadow: 0 0 0 3px rgba(105, 214, 226, 0.18) !important;
  outline: 0 !important;
}

/* Select2 */
body.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: block !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 40px 0 14px !important;
  line-height: 48px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px !important;
  top: 0 !important;
  right: 10px !important;
}

/* Order summary table */
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100% !important;
  margin-bottom: 24px !important;
  border-collapse: collapse !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--apk-divider) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item td {
  font-weight: 500 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal td {
  font-weight: 700 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total strong,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
  border-bottom: 0 !important;
  color: var(--apk-navy) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

/* Payment area */
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment ul.payment_methods,
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout .payment_methods,
body.woocommerce-checkout .payment_box,
body.woocommerce-checkout .wc-credit-card-form,
body.woocommerce-checkout .stripe-card-group,
body.woocommerce-checkout .wc-stripe-elements-field,
body.woocommerce-checkout .wc-stripe-elements-field iframe {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout #payment {
  padding: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
  margin: 24px 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wc_payment_method {
  margin-bottom: 20px !important;
}

body.woocommerce-checkout .wc_payment_method > input[type="radio"] {
  margin: 0 12px 0 0 !important;
  vertical-align: middle !important;
}

body.woocommerce-checkout .wc_payment_method > label {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

body.woocommerce-checkout .wc_payment_method > label img {
  margin-left: 12px !important;
  vertical-align: middle !important;
}

body.woocommerce-checkout #payment div.payment_box {
  width: 100% !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment div.payment_box p {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.woocommerce-checkout #payment div.payment_box::before,
body.woocommerce-checkout #payment div.payment_box::after,
body.woocommerce-checkout #payment .payment_box::before,
body.woocommerce-checkout #payment .payment_box::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

/* WooPayments spacing cleanup */
body.woocommerce-checkout fieldset.wc-payment-form,
body.woocommerce-checkout .wcpay-upe-form,
body.woocommerce-checkout .wcpay-upe-element,
body.woocommerce-checkout #wcpay-upe-element {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Privacy / place order */
body.woocommerce-checkout .woocommerce-privacy-policy-text {
  display: none !important;
}

body.woocommerce-checkout #payment .form-row.place-order {
  margin-top: 20px !important;
  padding-top: 0 !important;
}

/* Checkout notices */
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
  max-width: 1180px !important;
  margin: 0 auto 32px !important;
  background: #eefcff !important;
  border-radius: 10px !important;
}

body.woocommerce-checkout .showcoupon,
body.woocommerce-checkout .woocommerce-info a {
  color: var(--apk-navy) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

body.woocommerce-checkout .showcoupon:hover,
body.woocommerce-checkout .woocommerce-info a:hover {
  color: var(--apk-red) !important;
}

/* Checkout checkboxes */
body.woocommerce-checkout #wc-woocommerce_payments-new-payment-method,
body.woocommerce-checkout #terms {
  -webkit-appearance: checkbox !important;
  appearance: auto !important;
  position: static !important;
  float: none !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  margin: 2px 12px 0 0 !important;
  padding: 0 !important;
  transform: none !important;
  accent-color: var(--apk-light-blue) !important;
}

body.woocommerce-checkout .woocommerce-SavedPaymentMethods-saveNew,
body.woocommerce-checkout label.woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: left !important;
}

body.woocommerce-checkout .woocommerce-SavedPaymentMethods-saveNew label,
body.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

body.woocommerce-checkout label.woocommerce-form__label-for-checkbox abbr.required {
  flex: 0 0 auto !important;
  margin-left: 4px !important;
}

/* ==========================================================================
   05. Mobile â€” Shared Cart + Checkout
   ========================================================================== */

@media only screen and (max-width: 767px) {
  /* One consistent 16px page gutter on both pages */
  body.woocommerce-cart #content .container,
  body.woocommerce-checkout #content .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Remove nested theme/WPBakery gutters */
  body.woocommerce-cart #content .section_clear,
  body.woocommerce-checkout #content .section_clear,
  body.woocommerce-cart #content .vc_row,
  body.woocommerce-checkout #content .vc_row,
  body.woocommerce-cart #content .vc_column_container,
  body.woocommerce-checkout #content .vc_column_container,
  body.woocommerce-cart #content .vc_col-sm-12,
  body.woocommerce-checkout #content .vc_col-sm-12,
  body.woocommerce-cart #content .wpb_wrapper,
  body.woocommerce-checkout #content .wpb_wrapper,
  body.woocommerce-cart #content .woocommerce,
  body.woocommerce-checkout #content .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Cart stacks */
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.woocommerce-cart .cart-collaterals {
    margin-top: 24px !important;
  }

  body.woocommerce-cart .cart_totals {
    padding: 20px !important;
  }

  body.woocommerce-cart th.product-price,
  body.woocommerce-cart td.product-price,
  body.woocommerce-cart th.product-quantity,
  body.woocommerce-cart td.product-quantity,
  body.woocommerce-cart th.product-thumbnail,
  body.woocommerce-cart td.product-thumbnail {
    display: none !important;
  }

  body.woocommerce-cart th.product-remove,
  body.woocommerce-cart td.product-remove {
    width: 40px !important;
    min-width: 40px !important;
  }

  body.woocommerce-cart th.product-name,
  body.woocommerce-cart td.product-name {
    width: auto !important;
  }

  body.woocommerce-cart th.product-subtotal,
  body.woocommerce-cart td.product-subtotal {
    width: 105px !important;
    min-width: 105px !important;
    text-align: right !important;
  }

  body.woocommerce-cart td.actions {
    display: table-cell !important;
    width: 100% !important;
    padding: 16px 0 !important;
  }

  body.woocommerce-cart .actions .coupon {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
  }

  body.woocommerce-cart .coupon input.input-text,
  body.woocommerce-cart .coupon button.button,
  body.woocommerce-cart .actions > button.button {
    display: flex !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 20px !important;
  }

  body.woocommerce-cart .actions > button.button {
    margin-top: 12px !important;
  }

  /* Checkout stacks */
  body.woocommerce-checkout form.checkout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review {
    padding: 20px !important;
    margin-bottom: 20px !important;
  }

  body.woocommerce-checkout #order_review {
    position: static !important;
    margin-top: 20px !important;
  }

  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout #customer_details .col-2 {
    padding: 0 !important;
  }

  body.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout .form-row-last {
    width: 100% !important;
    float: none !important;
  }

  body.woocommerce-checkout #payment div.form-row,
  body.woocommerce-checkout #payment .form-row.place-order {
    margin: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
  }

  body.woocommerce-checkout #place_order {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
}

/* ==========================================================================
   06. Power Coupons Overflow Fix
   ========================================================================== */

.power-coupons-drawer,
#power-coupons-drawer {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* ==========================================================================
   07. Final Mobile Polish
   ========================================================================== */

@media only screen and (max-width: 767px) {

    /* Consistent page gutter */
    body.woocommerce-cart #content .container,
    body.woocommerce-checkout #content .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Add breathing room below the mobile header */
    body.woocommerce-cart #content,
    body.woocommerce-checkout #content {
        padding-top: 48px !important;
    }

    /* First cards shouldn't touch the top */
    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-checkout #customer_details {
        margin-top: 0 !important;
    }

    /* Consistent spacing between sections */
    body.woocommerce-cart .cart-collaterals,
    body.woocommerce-checkout #order_review {
        margin-top: 32px !important;
    }

}