/**
 * OG Mobile Cart — Sprint 3
 *
 * Visible only at max-width: 820px under body.og-mobile-app-ready
 * on the cart page. Desktop cart markup stays pixel-identical.
 */

.og-mobile-app-cart {
  display: none;
}

/* Hidden until Mobile App cart gate — safe when JS portals bar to body. */
.og-mobile-cart-checkout-bar {
  display: none;
}

@media (max-width: 820px) {
  body.og-mobile-app-ready.og-print-theme-cart-page .og-mobile-app-cart,
  body.og-mobile-app-ready.woocommerce-cart .og-mobile-app-cart {
    display: block;
  }

  body.og-mobile-app-ready.og-print-theme-cart-page .og-cart-desktop-root,
  body.og-mobile-app-ready.woocommerce-cart .og-cart-desktop-root {
    display: none !important;
  }

  body.og-mobile-app-ready.og-print-theme-cart-page .og-cart-page,
  body.og-mobile-app-ready.woocommerce-cart .og-cart-page {
    max-width: none;
    padding: 0;
    margin: 0;
  }

  /*
   * Mobile Cart App — no site footer during the focused purchase cart flow.
   * Gate: og-mobile-app-ready + cart page (og-print-theme-cart-page /
   * woocommerce-cart). display:none — no reserved height. footer.php unchanged;
   * Home / Shop / Product / Account / Thank You / Desktop Cart still show footer.
   */
  body.og-mobile-app-ready.og-print-theme-cart-page .og-site-footer,
  body.og-mobile-app-ready.woocommerce-cart .og-site-footer {
    display: none !important;
  }

  /*
   * Bottom padding clears sticky action shell height only.
   * Body already reserves --og-mobile-bottom-nav-offset for the bottom nav.
   * Clearance matches Checkout --og-mobile-checkout-sticky-clearance (42px).
   */
  body.og-mobile-app-ready .og-mobile-app-cart-inner {
    padding: 8px var(--og-mobile-app-gutter, 16px)
      calc(16px + var(--og-mobile-checkout-sticky-clearance, 42px));
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Title row */
  body.og-mobile-app-ready .og-mobile-cart-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0 14px;
  }

  body.og-mobile-app-ready .og-mobile-cart-title {
    margin: 0;
    color: var(--og-mobile-app-ink, #07142b);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  body.og-mobile-app-ready .og-mobile-cart-edit-all {
    min-height: 44px;
    min-width: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--og-mobile-app-primary, #006cff);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.og-mobile-app-ready .og-mobile-cart-edit-all:focus-visible {
    outline: 2px solid var(--og-mobile-app-primary, #006cff);
    outline-offset: 2px;
  }

  body.og-mobile-app-ready .og-mobile-cart-edit-all[aria-disabled="true"] {
    opacity: 0.55;
    cursor: default;
  }

  /* Shipping banner */
  body.og-mobile-app-ready .og-mobile-cart-shipping-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #e8f1ff;
    color: var(--og-mobile-app-ink, #07142b);
  }

  body.og-mobile-app-ready .og-mobile-cart-shipping-banner.is-qualified {
    background: #e7f8ef;
  }

  body.og-mobile-app-ready .og-mobile-cart-shipping-banner-icon {
    flex: 0 0 auto;
    color: var(--og-mobile-app-primary, #006cff);
    margin-top: 1px;
  }

  body.og-mobile-app-ready .og-mobile-cart-shipping-banner.is-qualified .og-mobile-cart-shipping-banner-icon {
    color: #15803d;
  }

  body.og-mobile-app-ready .og-mobile-cart-shipping-banner-text {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
  }

  /* Items */
  body.og-mobile-app-ready .og-mobile-cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 14px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--og-mobile-app-border, #dbe6f3);
    border-radius: var(--og-mobile-app-radius-card, 16px);
    background: #fff;
    box-shadow: var(--og-mobile-app-shadow, 0 8px 24px rgba(15, 23, 42, 0.06));
  }

  body.og-mobile-app-ready .og-mobile-cart-item-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-media {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-media a,
  body.og-mobile-app-ready .og-mobile-cart-item-media img,
  body.og-mobile-app-ready .og-mobile-cart-item-thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--og-mobile-app-primary, #006cff);
    font-weight: 800;
    font-size: 22px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-main {
    min-width: 0;
    flex: 1 1 auto;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-name {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-name a {
    color: inherit;
    text-decoration: none;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-name a:focus-visible {
    outline: 2px solid var(--og-mobile-app-primary, #006cff);
    outline-offset: 2px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-item-summary {
    display: grid;
    gap: 8px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-item-summary-compact {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-item-summary-row {
    display: flex;
    gap: 6px;
    font-size: 13px;
    line-height: 1.35;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-item-summary-label {
    color: var(--og-mobile-app-muted, #64748b);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: normal;
    text-transform: none;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-item-summary-value {
    color: var(--og-mobile-app-ink, #07142b);
    font-weight: 700;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-item-summary-toggle {
    margin-top: 6px;
    min-height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f36b21;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-item-summary-toggle:focus-visible {
    outline: 2px solid #f36b21;
    outline-offset: 2px;
  }

  /* Card-level View Details (used in 4+ compact mode; hidden for 1–3). */
  body.og-mobile-app-ready .og-mobile-cart-item-details-toggle {
    display: none;
    align-items: center;
    gap: 4px;
    margin: 0;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f36b21;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-details-toggle:focus-visible {
    outline: 2px solid #f36b21;
    outline-offset: 2px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-details-indicator {
    font-size: 12px;
    line-height: 1;
  }

  body.og-mobile-app-ready .og-mobile-cart-qty-product {
    display: none;
  }

  /*
   * Body gap uses padding (not margin) so it participates in the max-height
   * accordion and the content top edge stays stable while expanding.
   */
  body.og-mobile-app-ready .og-mobile-cart-item-body {
    margin-top: 0;
    padding-top: 8px;
    box-sizing: border-box;
  }

  /*
   * Large-cart compact mode: concise order line.
   * Collapsed = header only (image, title, Qty, price, View Details).
   * Resting collapse uses [hidden] on the body — do not force display:none on
   * internals here or the max-height animation loses its content mid-flight.
   */
  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item-details-toggle {
    display: inline-flex;
  }

  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-qty-product {
    display: inline;
  }

  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item[data-og-mobile-cart-item-expanded="0"]:not(.is-body-animating) {
    padding: 12px;
  }

  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item[data-og-mobile-cart-item-expanded="0"]:not(.is-body-animating) .og-mobile-cart-item-media {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item[data-og-mobile-cart-item-expanded="0"]:not(.is-body-animating) .og-mobile-cart-item-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name price"
      "qty toggle";
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
  }

  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item[data-og-mobile-cart-item-expanded="0"]:not(.is-body-animating) .og-mobile-cart-item-name {
    grid-area: name;
    margin: 0;
    font-size: 15px;
  }

  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item[data-og-mobile-cart-item-expanded="0"]:not(.is-body-animating) .og-mobile-cart-item-price {
    grid-area: price;
    justify-self: end;
    font-size: 15px;
    white-space: nowrap;
  }

  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item[data-og-mobile-cart-item-expanded="0"]:not(.is-body-animating) .og-mobile-cart-qty-static {
    grid-area: qty;
    font-size: 13px;
  }

  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item[data-og-mobile-cart-item-expanded="0"]:not(.is-body-animating) .og-mobile-cart-item-details-toggle {
    grid-area: toggle;
    justify-self: end;
    min-height: 36px;
  }

  /* Expanded compact card: full approved detail layout; hide nested View Details. */
  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item.is-expanded .og-cart-item-summary-toggle,
  body.og-mobile-app-ready .og-mobile-app-cart.is-compact-mode .og-mobile-cart-item.is-body-animating .og-cart-item-summary-toggle {
    display: none;
  }

  body.og-mobile-app-ready .og-mobile-app-cart .og-mobile-cart-item-body {
    overflow: hidden;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-config-panel {
    margin-top: 4px;
    padding: 12px 14px 14px;
    border: 1px solid #e2ebf7;
    border-radius: 12px;
    background: #fff;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-config-panel-title {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-config-panel-list {
    gap: 7px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-config-panel-row {
    grid-template-columns: minmax(88px, 36%) minmax(0, 1fr);
    column-gap: 10px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-config-panel-row dt,
  body.og-mobile-app-ready .og-mobile-cart-item-meta .og-cart-config-panel-row dd {
    font-size: 13px;
    line-height: 1.35;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta-list {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta-list li {
    display: flex;
    gap: 6px;
    font-size: 12px;
    line-height: 1.35;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta-label {
    color: var(--og-mobile-app-muted, #64748b);
    font-weight: 600;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta-label::after {
    content: ":";
  }

  body.og-mobile-app-ready .og-mobile-cart-item-meta-value {
    font-weight: 700;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-price {
    margin: 0;
    color: var(--og-mobile-app-primary, #006cff);
    font-size: 16px;
    font-weight: 800;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-price .amount {
    color: inherit;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef2f7;
  }

  body.og-mobile-app-ready .og-mobile-cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--og-mobile-app-border, #dbe6f3);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }

  body.og-mobile-app-ready .og-mobile-cart-qty-btn {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #f8fafc;
    color: var(--og-mobile-app-ink, #07142b);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.og-mobile-app-ready .og-mobile-cart-qty-btn:focus-visible {
    outline: 2px solid var(--og-mobile-app-primary, #006cff);
    outline-offset: -2px;
  }

  body.og-mobile-app-ready .og-mobile-cart-qty-input {
    width: 48px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--og-mobile-app-border, #dbe6f3);
    border-right: 1px solid var(--og-mobile-app-border, #dbe6f3);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--og-mobile-app-ink, #07142b);
    background: #fff;
    -moz-appearance: textfield;
  }

  body.og-mobile-app-ready .og-mobile-cart-qty-input::-webkit-outer-spin-button,
  body.og-mobile-app-ready .og-mobile-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  body.og-mobile-app-ready .og-mobile-cart-qty-static {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--og-mobile-app-muted, #64748b);
  }

  body.og-mobile-app-ready .og-mobile-cart-item-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-edit,
  body.og-mobile-app-ready .og-mobile-cart-item-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-edit {
    color: var(--og-mobile-app-primary, #006cff);
    background: #eef5ff;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-remove {
    color: #b91c1c;
    background: #fef2f2;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-edit:focus-visible,
  body.og-mobile-app-ready .og-mobile-cart-item-remove:focus-visible {
    outline: 2px solid var(--og-mobile-app-primary, #006cff);
    outline-offset: 2px;
  }

  body.og-mobile-app-ready .og-mobile-cart-item-locked-note {
    margin: 0;
    flex: 1 1 100%;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--og-mobile-app-muted, #64748b);
  }

  body.og-mobile-app-ready .og-mobile-cart-item-config {
    margin: 8px 0 10px;
  }

  /* Coupon / totals cards — breathing room between product / coupon / summary / checkout */
  body.og-mobile-app-ready .og-mobile-cart-items {
    margin-bottom: 20px;
  }

  body.og-mobile-app-ready .og-mobile-cart-coupon {
    margin: 0 0 20px;
    padding: 18px;
    border: 1px solid var(--og-mobile-app-border, #dbe6f3);
    border-radius: var(--og-mobile-app-radius-card, 16px);
    background: #fff;
    box-shadow: var(--og-mobile-app-shadow, 0 8px 24px rgba(15, 23, 42, 0.06));
  }

  /*
   * Order Summary — sibling to Product Page Price Summary rhythm.
   * Keep "Order Summary" title; rows use 12px padding + #edf2fa separators.
   */
  body.og-mobile-app-ready .og-mobile-cart-totals {
    margin: 0 0 12px;
    padding: 18px 18px 16px;
    border: 1px solid var(--og-mobile-app-border, #dbe6f3);
    border-radius: var(--og-mobile-app-radius-card, 16px);
    background: #fff;
    box-shadow: var(--og-mobile-app-shadow, 0 8px 24px rgba(15, 23, 42, 0.06));
  }

  body.og-mobile-app-ready .og-mobile-cart-card-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
    color: var(--og-mobile-app-ink, #07142b);
  }

  body.og-mobile-app-ready .og-mobile-cart-totals .og-mobile-cart-card-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--og-mobile-app-ink, #07142b);
  }

  body.og-mobile-app-ready .og-mobile-cart-coupon-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
  }

  body.og-mobile-app-ready .og-mobile-cart-coupon-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--og-mobile-app-border, #dbe6f3);
    border-radius: var(--og-mobile-app-radius-field, 12px);
    font-size: 15px;
    background: #fff;
  }

  body.og-mobile-app-ready .og-mobile-cart-coupon-input:focus-visible {
    outline: 2px solid var(--og-mobile-app-primary, #006cff);
    outline-offset: 2px;
  }

  body.og-mobile-app-ready .og-mobile-cart-coupon-apply {
    flex: 0 0 auto;
    min-height: 44px;
    min-width: 72px;
  }

  body.og-mobile-app-ready .og-mobile-cart-coupon-list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
  }

  body.og-mobile-app-ready .og-mobile-cart-coupon-applied {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
  }

  body.og-mobile-app-ready .og-mobile-cart-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #edf2fa;
    font-size: 14px;
    line-height: 1.35;
  }

  body.og-mobile-app-ready .og-mobile-cart-totals-row span {
    color: var(--og-mobile-app-muted, #64748b);
    font-weight: 600;
  }

  body.og-mobile-app-ready .og-mobile-cart-totals-row strong {
    color: var(--og-mobile-app-ink, #07142b);
    font-weight: 800;
    text-align: right;
  }

  body.og-mobile-app-ready .og-mobile-cart-totals-row--total {
    margin-top: 0;
    padding-top: 12px;
    padding-bottom: 2px;
    border-bottom: 0;
    border-top: 0;
    font-size: 15px;
  }

  body.og-mobile-app-ready .og-mobile-cart-totals-row--total span {
    color: var(--og-mobile-app-ink, #07142b);
    font-weight: 800;
    letter-spacing: -0.01em;
  }

  body.og-mobile-app-ready .og-mobile-cart-totals-row--total strong,
  body.og-mobile-app-ready .og-mobile-cart-totals-row--total strong .amount {
    color: var(--og-mobile-app-ink, #07142b);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  /* Sticky checkout */
  /* Portal confirm modal must paint above app chrome on mobile */
  body.og-mobile-app-ready .og-cart-confirm-modal[data-og-mobile-cart-modal-ported="1"] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100010 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px var(--og-mobile-app-gutter, 16px);
    box-sizing: border-box;
  }

  body.og-mobile-app-ready .og-cart-confirm-modal[data-og-mobile-cart-modal-ported="1"][hidden] {
    display: none !important;
  }

  /*
   * Sticky Checkout shell — shared visual contract with
   * .og-mobile-checkout-sticky-footer (full-bleed white action surface).
   * Side gaps came from in-flow sticky inside cart-inner gutter + border-radius.
   * Extra nav divider came from z-index:5 under the nav + stronger card shadow.
   * Portal to body (JS) so overflow-x:clip ancestors cannot trap position:fixed.
   */
  body.og-mobile-app-ready.og-print-theme-cart-page .og-mobile-cart-checkout-bar,
  body.og-mobile-app-ready.woocommerce-cart .og-mobile-cart-checkout-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--og-mobile-bottom-nav-offset, 72px);
    z-index: 99990;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 12px var(--og-mobile-app-gutter, 16px)
      calc(12px + var(--og-mobile-app-safe-bottom, 0px));
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--og-mobile-app-border, #dbe6f3);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
  }

  body.og-mobile-app-ready .og-mobile-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    background: var(--og-mobile-app-primary, #006cff);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
  }

  body.og-mobile-app-ready .og-mobile-cart-checkout:focus-visible {
    outline: 2px solid var(--og-mobile-app-primary, #006cff);
    outline-offset: 3px;
  }

  body.og-mobile-app-ready .og-mobile-cart-checkout.is-blocked {
    opacity: 0.45;
    pointer-events: none;
  }

  body.og-mobile-app-ready .og-mobile-cart-checkout-gate {
    margin: 8px 0 0;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
  }

  body.og-mobile-app-ready .og-mobile-cart-continue-wrap {
    display: flex;
    justify-content: center;
    /* 10px was previously margin-bottom on the sticky Checkout bar */
    padding: 10px 0 8px;
  }

  body.og-mobile-app-ready .og-mobile-cart-continue {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid var(--og-mobile-app-border, #dbe6f3);
    background: #fff;
    color: var(--og-mobile-app-ink, #07142b);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  body.og-mobile-app-ready .og-mobile-cart-continue:focus-visible {
    outline: 2px solid var(--og-mobile-app-primary, #006cff);
    outline-offset: 2px;
  }

  /* Empty */
  body.og-mobile-app-ready .og-mobile-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 12px 24px;
  }

  body.og-mobile-app-ready .og-mobile-cart-empty-art {
    margin-bottom: 16px;
  }

  body.og-mobile-app-ready .og-mobile-cart-empty-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
  }

  body.og-mobile-app-ready .og-mobile-cart-empty-copy {
    margin: 0 0 20px;
    max-width: 280px;
    color: var(--og-mobile-app-muted, #64748b);
    font-size: 14px;
    line-height: 1.45;
  }

  body.og-mobile-app-ready .og-mobile-app-cart .og-mobile-app-btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    background: var(--og-mobile-app-primary, #006cff);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border: 0;
  }

  body.og-mobile-app-ready .og-mobile-app-cart .og-mobile-app-btn--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--og-mobile-app-border, #dbe6f3);
    background: #fff;
    color: var(--og-mobile-app-ink, #07142b);
    font-weight: 700;
    cursor: pointer;
  }

  body.og-mobile-app-ready .og-mobile-app-cart .og-mobile-app-btn:focus-visible {
    outline: 2px solid var(--og-mobile-app-primary, #006cff);
    outline-offset: 2px;
  }
}

@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  body.og-mobile-app-ready .og-mobile-cart-item-body {
    transition: none !important;
  }
}
