/* Cart page — phone layout (2026-11-18). Desktop unchanged. */
.pp-steps, .cm-bar, .cm-qty button { display: none; }
@media all {
  .pp-steps { display: flex; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font: 600 12.5px Poppins, Arial, sans-serif; color: #9a9a9a; }
  .pp-steps li { flex: 1; display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 3px solid #333; }
  .pp-steps li.is-done, .pp-steps li.is-current { border-top-color: #f58220; color: #fff; }
  .pp-step-n { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
    background: #2a2a2a; color: #cfcfcf; font-size: 11.5px; flex: none; }
  .pp-steps li.is-done .pp-step-n, .pp-steps li.is-current .pp-step-n { background: #f58220; color: #111; }
  html.cm body { background: radial-gradient(120% 60% at 50% 0%, #1d1d1d 0%, #0d0d0d 55%, #050505 100%) fixed; font-family: Poppins, Arial, sans-serif; }
  html.cm .bs-account-main { padding: 16px 16px 110px; }
  html.cm .bs-account-main > h1 { margin: 0 0 6px; font-size: 26px; font-weight: 800; }
  html.cm .bs-account-main > h1 + p { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: #cfcfcf; }
  html.cm .bs-account-eyebrow { display: none; }
  html.cm .bs-cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: start; padding: 12px; margin: 0 0 10px;
    border: 1px solid #2e2e2e; border-radius: 14px; background: linear-gradient(180deg, #1d1d1d 0%, #131313 60%, #0b0b0b 100%); }
  html.cm .bs-cart-line > img { width: 84px; height: 84px; object-fit: contain; padding: 6px; box-sizing: border-box; border-radius: 10px;
    background: radial-gradient(120% 85% at 50% 28%, #2b2b2b 0%, #171717 55%, #0a0a0a 100%); }
  html.cm .bs-cart-line h2 { margin: 0 0 2px; font-size: 15px; line-height: 1.3; font-weight: 700; }
  html.cm .bs-cart-line h2 a { color: #fff; text-decoration: none; }
  html.cm .bs-cart-line p { margin: 0 0 4px; font-size: 13px; color: #b8b8b8; }
  html.cm .bs-cart-line p strong { font-size: 16px; color: #ff9a3d; }
  html.cm .bs-cart-line > div { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  html.cm .bs-cart-line > div > h2, html.cm .bs-cart-line > div > p { flex-basis: 100%; }
  html.cm .bs-cart-line > div > p:has(strong) { flex-basis: auto; margin: 6px 0 0; order: 5; }
  html.cm .cm-qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid #3a3a3a; border-radius: 10px; overflow: hidden; background: #111; }
  html.cm .cm-qty button { padding: 0 !important; border-radius: 0 !important; min-width: 0 !important; box-shadow: none !important; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: #1b1b1b;
    color: #fff; font-size: 20px; font-weight: 700; cursor: pointer; }
  html.cm .cm-qty button:disabled { color: #555; cursor: default; }
  html.cm .cm-qty input { width: 44px; height: 40px; border: 0; background: transparent; color: #fff; text-align: center; font: 700 15px Poppins, Arial, sans-serif; -moz-appearance: textfield; }
  html.cm .cm-qty input::-webkit-inner-spin-button, html.cm .cm-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
  html.cm .bs-cart-line form { order: 6; flex-basis: 100%; margin-top: 4px; }
  html.cm .cm-remove { min-height: 40px; padding: 0; border: 0; background: none !important; box-shadow: none !important; color: #c9c9c9 !important;
    font: 600 13px Poppins, Arial, sans-serif; text-decoration: underline; cursor: pointer; }
  html.cm .bs-account-panel button[form="cart-quantities"], html.cm .bs-account-panel .bs-send-payment { display: none !important; }
  html.cm .bs-account-panel h2 { font-size: 17px; }
  html.cm.cm-busy .bs-cart-line { opacity: .6; }
  .cm-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(20,20,20,.97), rgba(8,8,8,.99));
    border-top: 1px solid #333; box-shadow: 0 -8px 24px rgba(0,0,0,.5); font-family: Poppins, Arial, sans-serif; }
  .cm-bar-total { display: flex; flex-direction: column; margin-right: auto; }
  .cm-bar-total span { font-size: 11.5px; color: #b8b8b8; }
  .cm-bar-total strong { font-size: 18px; font-weight: 800; color: #ff9a3d; white-space: nowrap; }
  .cm-bar-go { min-height: 50px; padding: 0 22px; border: 0; border-radius: 12px; background: #f58220; color: #111; font: 800 16px Poppins, Arial, sans-serif; cursor: pointer; }
  .cm-qty button:focus-visible, .cm-remove:focus-visible, .cm-bar-go:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
}

@media all { html.cm .bs-quick-menu { bottom: 88px !important; } }

/* Desktop (2026-11-19): checkout button sits in the subtotal box instead of a bottom bar */
@media (min-width: 769px) {
  .cm-bar.cm-bar--inline { position: static !important; inset: auto !important; transform: none !important; z-index: auto; display: flex !important; align-items: center; justify-content: flex-end; gap: 16px;
    margin: 18px 0 0; padding: 16px 0 0 !important; border: 0 !important; border-top: 1px solid #2f2f2f !important; background: none !important; box-shadow: none !important; }
  .cm-bar--inline .cm-bar-total { display: none !important; }
  .cm-bar--inline .cm-bar-go { min-width: 220px; min-height: 52px; font-size: 16px; cursor: pointer; }
  html.cm body { padding-bottom: 0 !important; }
  html.cm .bs-help-fab, body.cm-has-bar .bs-help-fab { bottom: 24px !important; }
}
