/* =========================================================
   PEPPYS — CART PAGE STYLE
   ---------------------------------------------------------
   Loaded ONLY on the cart page. Every selector below is scoped under
   body.peppys-cart-page, so nothing here can reach another page, the
   checkout, or the theme's own chrome.

   Covers BOTH cart implementations, because they share no markup:
     - WooCommerce Cart BLOCK  -> .wc-block-* classes
     - Classic shortcode cart  -> .woocommerce-cart-form / .cart_totals

   Self-contained tokens: this runs alongside Divi, which does not define the
   PEPPYS theme's CSS variables, so the palette is declared here.
   ========================================================= */

body.peppys-cart-page {
  --pk-bg: #070D24;
  --pk-card: #101A3A;
  --pk-card-hi: #14204a;
  --pk-line: rgba(255, 255, 255, .10);
  --pk-line-soft: rgba(255, 255, 255, .06);

  --pk-text: #F4F7FF;
  --pk-dim: #AEB8D6;
  --pk-mut: #7C88AC;          /* 4.5:1+ on --pk-card */

  --pk-gold: #F6C915;
  --pk-gold-600: #E0B200;
  --pk-ink: #0A0F22;
  --pk-green: #35D585;
  --pk-red: #FF6B63;

  --pk-radius: 16px;
  --pk-radius-sm: 11px;
  --pk-ease: cubic-bezier(.16, 1, .3, 1);
}

/* Border-box for everything this stylesheet sizes.
   WooCommerce's block buttons compute as content-box, so a width:100% CTA
   resolved to 100% PLUS its 44px of horizontal padding and overflowed the
   summary card. This is the fix, applied broadly so no sized control can
   repeat the trick. */
body.peppys-cart-page .wc-block-cart__submit-button,
body.peppys-cart-page .wc-block-cart__submit-container,
body.peppys-cart-page .wc-block-components-button,
body.peppys-cart-page .wc-block-components-text-input input,
body.peppys-cart-page .wc-proceed-to-checkout a.checkout-button,
body.peppys-cart-page .coupon input#coupon_code,
body.peppys-cart-page .cart .quantity input.qty {
  box-sizing: border-box;
}

/* ---------- Page canvas ---------- */

body.peppys-cart-page,
body.peppys-cart-page #page-container,
body.peppys-cart-page #et-main-area,
body.peppys-cart-page .site-content,
body.peppys-cart-page #content-area,
body.peppys-cart-page .entry-content {
  background: var(--pk-bg);
  color: var(--pk-text);
}

/* Centred container with real breathing room. Divi's own container is often
   wider than is comfortable to read a cart in. */
body.peppys-cart-page .wp-block-woocommerce-cart,
body.peppys-cart-page .woocommerce {
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 32px) clamp(48px, 6vw, 80px);
  box-sizing: border-box;
}

body.peppys-cart-page h1,
body.peppys-cart-page h2,
body.peppys-cart-page h3 { color: var(--pk-text); }

/* ---------- Progress indicator ---------- */

/* Top padding is not decoration. Divi renders a FIXED header whose centred
   logo hangs ~29px below the header bar, and the steps row is the first thing
   on the page — without clearance the logo sits on top of "Information".
   Verified on the live site: at 0 padding, the topmost element at this row is
   the logo <img>; at 40px+ it is the step itself. */
body.peppys-cart-page .peppys-steps {
  max-width: 1240px;
  margin: 0 auto clamp(18px, 2.5vw, 30px);
  padding-top: clamp(40px, 5vw, 60px);
  padding-inline: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}
body.peppys-cart-page .peppys-steps ol {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.peppys-cart-page .peppys-steps li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pk-mut);
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
}
body.peppys-cart-page .peppys-steps li + li::before {
  content: "";
  width: clamp(16px, 4vw, 44px);
  height: 1px;
  background: var(--pk-line);
  margin-right: 4px;
}
body.peppys-cart-page .peppys-steps__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--pk-line);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}
body.peppys-cart-page .peppys-steps__label {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
}
body.peppys-cart-page .peppys-steps .is-active { color: var(--pk-gold); }
body.peppys-cart-page .peppys-steps .is-active .peppys-steps__dot {
  background: var(--pk-gold);
  border-color: var(--pk-gold);
  color: var(--pk-ink);
}

/* =========================================================
   BLOCK CART
   ========================================================= */

/* Two columns: items ~63%, sticky summary ~37%. */
body.peppys-cart-page .wc-block-components-sidebar-layout {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 2.5vw, 32px);
  align-items: flex-start;
}
body.peppys-cart-page .wc-block-components-main {
  flex: 1 1 min(100%, 520px);
  min-width: 0;
  padding-right: 0;
}
/* Fixed-ish basis rather than a loose flex-shrink, so the summary lands in the
   35-40% band instead of collapsing toward 30% on wide screens. */
body.peppys-cart-page .wc-block-cart__sidebar {
  flex: 0 0 clamp(330px, 36%, 430px);
  min-width: 0;
  position: sticky;
  top: 24px;
}

/* --- Item rows become cards --- */

body.peppys-cart-page .wc-block-cart-items,
body.peppys-cart-page table.wc-block-cart-items {
  border: 0;
  border-collapse: separate;
  border-spacing: 0 14px;
  width: 100%;
  background: none;
}
/* The block table's header is visual noise once rows are cards. */
body.peppys-cart-page .wc-block-cart-items__header { display: none; }

body.peppys-cart-page .wc-block-cart-items__row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--pk-card);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
  padding: 16px;
  transition: border-color .2s var(--pk-ease), background .2s var(--pk-ease);
}
body.peppys-cart-page .wc-block-cart-items__row:hover {
  border-color: rgba(255, 255, 255, .18);
  background: var(--pk-card-hi);
}
/* Kill the default table cell borders/padding inside the card. */
body.peppys-cart-page .wc-block-cart-items__row td {
  border: 0;
  padding: 0;
  background: none;
  vertical-align: middle;
}

body.peppys-cart-page .wc-block-cart-item__image {
  width: 104px;
  padding: 0;
}
body.peppys-cart-page .wc-block-cart-item__image img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  padding: 6px;
  border-radius: 12px;
  background: radial-gradient(80% 80% at 50% 34%, #FBFCFF 0%, #EEF2FB 46%, #DDE4F2 100%);
  box-sizing: border-box;
  display: block;
}

body.peppys-cart-page .wc-block-cart-item__product { min-width: 0; }

body.peppys-cart-page .wc-block-components-product-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--pk-text);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}
body.peppys-cart-page a.wc-block-components-product-name:hover { color: var(--pk-gold); }

body.peppys-cart-page .wc-block-components-product-metadata,
body.peppys-cart-page .wc-block-components-product-metadata__description {
  color: var(--pk-mut);
  font-size: 13.5px;
}

body.peppys-cart-page .wc-block-components-product-price { color: var(--pk-text); font-size: 15px; }
body.peppys-cart-page .wc-block-components-product-price__value { color: var(--pk-text); font-weight: 600; }
body.peppys-cart-page .wc-block-components-product-price del,
body.peppys-cart-page .wc-block-components-product-price__regular {
  color: var(--pk-mut);
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 400;
}

/* Quantity stepper */
/* min-width, not just max-width. Two 44px buttons plus the input need 132px;
   without a floor the selector was squeezed to 107px on the live cart and
   `overflow: hidden` silently clipped the "+" button off. */
body.peppys-cart-page .wc-block-components-quantity-selector {
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius-sm);
  background: rgba(6, 11, 31, .55);
  overflow: visible;
  min-height: 44px;
  min-width: 132px;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
}
body.peppys-cart-page .wc-block-components-quantity-selector::after { display: none; }

/* Explicit flex row. The input is content-box by default, so its intrinsic
   width plus two 44px buttons burst straight through the selector's
   max-width; flexing it with min-width:0 is what actually contains it. */
body.peppys-cart-page .wc-block-components-quantity-selector {
  display: flex;
  align-items: center;
}
body.peppys-cart-page .wc-block-components-quantity-selector__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2px;
  text-align: center;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  min-height: 44px;
  border: 0;
}
body.peppys-cart-page .wc-block-components-quantity-selector__button {
  flex: 0 0 auto;
  box-sizing: border-box;
  color: var(--pk-dim);
  background: none;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  font-size: 17px;
  opacity: 1;
  transition: background .18s, color .18s;
}
body.peppys-cart-page .wc-block-components-quantity-selector__button:hover:not(:disabled) {
  background: rgba(255, 255, 255, .09);
  color: #fff;
}
body.peppys-cart-page .wc-block-components-quantity-selector__button:disabled { opacity: .35; }

/* Remove: understated, but a real 44px target.
   It is a <button>, so background/border/appearance are reset explicitly
   rather than trusting WooCommerce's or the theme's reset to be there — a
   stray UA button background renders as a pale box on the dark card. */
body.peppys-cart-page .wc-block-cart-item__remove-link,
body.peppys-cart-page button.wc-block-cart-item__remove-link {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: var(--pk-mut);
  font-size: 13px;
  font-family: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  cursor: pointer;
  transition: color .18s, border-color .18s;
}
body.peppys-cart-page .wc-block-cart-item__remove-link:focus-visible {
  outline: 2px solid var(--pk-gold);
  outline-offset: 2px;
}
body.peppys-cart-page .wc-block-cart-item__remove-link:hover {
  color: var(--pk-red);
  border-bottom-color: rgba(255, 107, 99, .5);
}

/* Line total */
body.peppys-cart-page .wc-block-cart-item__total {
  text-align: right;
  min-width: 96px;
}
body.peppys-cart-page .wc-block-cart-item__total .wc-block-components-product-price__value {
  font-size: 20px;
  font-weight: 800;
  color: var(--pk-gold);
}
body.peppys-cart-page .wc-block-components-sale-badge {
  background: rgba(53, 213, 133, .12);
  color: var(--pk-green);
  border: 1px solid rgba(53, 213, 133, .35);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  margin-top: 6px;
  display: inline-block;
}

/* --- Sidebar / order summary --- */

body.peppys-cart-page .wc-block-cart__sidebar .wc-block-components-sidebar {
  background: var(--pk-card);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
  padding: clamp(18px, 2.2vw, 24px);
  box-sizing: border-box;
}
body.peppys-cart-page .wc-block-cart__sidebar .wc-block-components-panel,
body.peppys-cart-page .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
  border-color: var(--pk-line-soft);
  background: none;
}

body.peppys-cart-page .wc-block-components-totals-item {
  color: var(--pk-dim);
  font-size: 15px;
  padding: 4px 0;
}
body.peppys-cart-page .wc-block-components-totals-item__label { color: var(--pk-dim); }
body.peppys-cart-page .wc-block-components-totals-item__value { color: var(--pk-text); font-weight: 600; }
body.peppys-cart-page .wc-block-components-totals-discount__coupon-list,
body.peppys-cart-page .wc-block-components-totals-discount .wc-block-components-totals-item__value {
  color: var(--pk-green);
}

/* The total row is the anchor of the whole card. */
body.peppys-cart-page .wc-block-components-totals-footer-item {
  border-top: 1px solid var(--pk-line);
  margin-top: 6px;
  padding-top: 14px;
  font-size: 17px;
}
body.peppys-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  color: var(--pk-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
body.peppys-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--pk-gold);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}
body.peppys-cart-page .wc-block-components-totals-footer-item__tax-value,
body.peppys-cart-page .wc-block-components-totals-item__description {
  color: var(--pk-mut);
  font-size: 12.5px;
}

/* Coupon area */
body.peppys-cart-page .wc-block-components-totals-coupon__form { gap: 8px; }
/* Also a <button>: same UA-background reset as the remove link. */
body.peppys-cart-page .wc-block-components-panel__button,
body.peppys-cart-page button.wc-block-components-panel__button {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: var(--pk-dim);
  font-family: inherit;
  min-height: 44px;
  font-size: 14.5px;
  cursor: pointer;
  text-align: left;
}
body.peppys-cart-page .wc-block-components-panel__button:hover { color: var(--pk-gold); }
body.peppys-cart-page .wc-block-components-panel__button:focus-visible {
  outline: 2px solid var(--pk-gold);
  outline-offset: 2px;
}
body.peppys-cart-page .wc-block-components-text-input input[type="text"],
body.peppys-cart-page .wc-block-components-text-input input[type="email"] {
  background: rgba(6, 11, 31, .6);
  border: 1.5px solid var(--pk-line);
  border-radius: var(--pk-radius-sm);
  color: #fff;
  min-height: 46px;
  box-shadow: none;
}
body.peppys-cart-page .wc-block-components-text-input input:focus {
  border-color: var(--pk-gold);
  box-shadow: none;
  outline: none;
}
body.peppys-cart-page .wc-block-components-text-input label { color: var(--pk-mut); }

/* Secondary buttons (Apply coupon, etc.) */
body.peppys-cart-page .wc-block-components-button:not(.wc-block-cart__submit-button) {
  background: rgba(255, 255, 255, .07);
  color: var(--pk-text);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius-sm);
  min-height: 46px;
  font-weight: 600;
}
body.peppys-cart-page .wc-block-components-button:not(.wc-block-cart__submit-button):hover {
  background: var(--pk-gold);
  border-color: var(--pk-gold);
  color: var(--pk-ink);
}

/* --- The checkout CTA: the loudest thing on the page --- */
body.peppys-cart-page .wc-block-cart__submit-container { margin-top: 16px; }

/* WooCommerce's block CSS loads after this file and sets min-height:3em on the
   button, which computed to 51px and beat the 58px below. Extra specificity
   plus !important on the height alone — measured on the live cart, not
   guessed. Everything else wins on ordinary cascade. */
body.peppys-cart-page .wc-block-cart__submit-container .wc-block-cart__submit-button,
body.peppys-cart-page a.wc-block-cart__submit-button,
body.peppys-cart-page button.wc-block-cart__submit-button {
  min-height: 58px !important;
  height: auto !important;
}

body.peppys-cart-page .wc-block-cart__submit-button,
body.peppys-cart-page a.wc-block-cart__submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  border: none;
  border-radius: 13px;
  background: linear-gradient(180deg, #FFDA4E, var(--pk-gold) 55%, var(--pk-gold-600));
  color: var(--pk-ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(246, 201, 21, .5);
  transition: transform .25s var(--pk-ease), box-shadow .25s var(--pk-ease);
}
body.peppys-cart-page .wc-block-cart__submit-button::after { content: "\2192"; font-size: 18px; }
body.peppys-cart-page .wc-block-cart__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -10px rgba(246, 201, 21, .65);
  color: var(--pk-ink);
}
/* White ring: a gold focus ring on a gold button is invisible. */
body.peppys-cart-page .wc-block-cart__submit-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Express payment area, if a gateway renders one — left alone visually,
   just spaced. Nothing is added or implied here. */
body.peppys-cart-page .wc-block-cart__payment-options { margin-top: 14px; }

/* =========================================================
   CLASSIC (SHORTCODE) CART — same look, different markup
   ========================================================= */

body.peppys-cart-page .woocommerce-cart-form { margin-bottom: 0; }

body.peppys-cart-page table.shop_table.cart {
  border: 0;
  border-collapse: separate;
  border-spacing: 0 14px;
  background: none;
}
body.peppys-cart-page table.shop_table.cart thead { display: none; }

body.peppys-cart-page table.shop_table.cart tr.cart_item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--pk-card);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
  padding: 16px;
}
body.peppys-cart-page table.shop_table.cart tr.cart_item td {
  border: 0;
  padding: 0;
  background: none;
}
body.peppys-cart-page table.shop_table.cart td.product-thumbnail { width: 104px; }
body.peppys-cart-page table.shop_table.cart td.product-thumbnail img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  padding: 6px;
  border-radius: 12px;
  background: radial-gradient(80% 80% at 50% 34%, #FBFCFF 0%, #EEF2FB 46%, #DDE4F2 100%);
  box-sizing: border-box;
}
body.peppys-cart-page td.product-name a { color: var(--pk-text); font-weight: 700; font-size: 18px; text-decoration: none; }
body.peppys-cart-page td.product-name a:hover { color: var(--pk-gold); }
body.peppys-cart-page td.product-price { color: var(--pk-dim); }
body.peppys-cart-page td.product-subtotal { color: var(--pk-gold); font-weight: 800; font-size: 19px; text-align: right; }
body.peppys-cart-page td.product-remove a.remove {
  color: var(--pk-mut) !important;
  font-size: 20px;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
}
body.peppys-cart-page td.product-remove a.remove:hover { color: var(--pk-red) !important; background: none; }

body.peppys-cart-page .cart .quantity input.qty {
  background: rgba(6, 11, 31, .55);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius-sm);
  color: #fff;
  min-height: 44px;
  width: 78px;
  text-align: center;
}

body.peppys-cart-page .cart-collaterals { float: none; width: 100%; }
body.peppys-cart-page .cart_totals {
  float: none;
  width: 100%;
  background: var(--pk-card);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
  padding: 22px;
  box-sizing: border-box;
}
body.peppys-cart-page .cart_totals h2 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pk-line-soft);
}
body.peppys-cart-page .cart_totals table.shop_table { border: 0; background: none; }
body.peppys-cart-page .cart_totals table.shop_table th { background: none; border: 0; color: var(--pk-dim); padding: 8px 0; }
body.peppys-cart-page .cart_totals table.shop_table td { border: 0; color: var(--pk-text); padding: 8px 0; text-align: right; }
body.peppys-cart-page .cart_totals .order-total th { color: var(--pk-text); font-size: 17px; text-transform: uppercase; }
body.peppys-cart-page .cart_totals .order-total td { color: var(--pk-gold); font-size: 26px; font-weight: 800; }

body.peppys-cart-page .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  border-radius: 13px;
  background: linear-gradient(180deg, #FFDA4E, var(--pk-gold) 55%, var(--pk-gold-600));
  color: var(--pk-ink);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 14px 34px -10px rgba(246, 201, 21, .5);
}
body.peppys-cart-page .wc-proceed-to-checkout a.checkout-button::after { content: "\2192"; }
body.peppys-cart-page .wc-proceed-to-checkout a.checkout-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

body.peppys-cart-page .coupon input#coupon_code {
  background: rgba(6, 11, 31, .6);
  border: 1.5px solid var(--pk-line);
  border-radius: var(--pk-radius-sm);
  color: #fff;
  min-height: 46px;
  padding: 0 14px;
}

/* ---------- Notices ---------- */

body.peppys-cart-page .woocommerce-message,
body.peppys-cart-page .woocommerce-info,
body.peppys-cart-page .woocommerce-error,
body.peppys-cart-page .wc-block-components-notice-banner {
  background: var(--pk-card);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius-sm);
  color: var(--pk-text);
}
body.peppys-cart-page .wc-block-components-notice-banner.is-error { border-left: 3px solid var(--pk-red); }
body.peppys-cart-page .wc-block-components-notice-banner.is-success { border-left: 3px solid var(--pk-green); }

/* ---------- Empty cart ---------- */

body.peppys-cart-page .wc-block-cart__empty-cart__title,
body.peppys-cart-page .cart-empty {
  color: var(--pk-text);
  text-align: center;
}
body.peppys-cart-page .return-to-shop { text-align: center; }
body.peppys-cart-page .return-to-shop a.button {
  background: var(--pk-gold);
  color: var(--pk-ink);
  border-radius: 12px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 26px;
  font-weight: 700;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  /* One column; summary follows the items (it is later in the DOM). */
  body.peppys-cart-page .wc-block-components-main,
  body.peppys-cart-page .wc-block-cart__sidebar {
    flex: 1 1 100%;
    position: static;
  }
}

@media (max-width: 700px) {
  body.peppys-cart-page .wc-block-cart-items__row,
  body.peppys-cart-page table.shop_table.cart tr.cart_item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  body.peppys-cart-page .wc-block-cart-item__image,
  body.peppys-cart-page table.shop_table.cart td.product-thumbnail { width: 76px; }
  body.peppys-cart-page .wc-block-cart-item__image img,
  body.peppys-cart-page table.shop_table.cart td.product-thumbnail img { width: 76px; height: 76px; }

  /* Line total moves under the product rather than squeezing a third column. */
  body.peppys-cart-page .wc-block-cart-item__total,
  body.peppys-cart-page table.shop_table.cart td.product-subtotal {
    grid-column: 2 / -1;
    text-align: left;
    min-width: 0;
  }
  body.peppys-cart-page .wc-block-components-product-name { font-size: 17px; }
  body.peppys-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 24px; }
}

/* Nothing may push the page sideways. */
body.peppys-cart-page .wc-block-cart-items,
body.peppys-cart-page table.shop_table.cart,
body.peppys-cart-page .wc-block-components-sidebar-layout { max-width: 100%; }
body.peppys-cart-page img { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  body.peppys-cart-page .wc-block-cart-items__row,
  body.peppys-cart-page .wc-block-cart__submit-button { transition: none; }
}
