
.checkout-main { padding: 2rem 0 3rem; }
.checkout-card, .checkout-subcard { border: 1px solid rgba(31,185,255,.24); border-radius: 22px; background: rgba(7,17,31,.92); box-shadow: 0 16px 48px rgba(0,0,0,.28); padding: clamp(1.1rem,2.4vw,1.7rem); color: var(--text, #f4f8ff); }
.checkout-card h1, .checkout-card h2, .checkout-card h3 { margin-top: 0; }
.checkout-kicker { margin: 0 0 .5rem; color: var(--green-soft, #8fffba); font-size: .82rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .75fr); gap: 1rem; margin-top: 1rem; }
.account-checkout-grid { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .7fr); }
.checkout-auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.compact-form { gap: .7rem; }
.compact-two { gap: .7rem; }
.cart-table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid rgba(31,185,255,.18); border-radius: 16px; }
.cart-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cart-table th, .cart-table td { padding: .85rem .75rem; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: middle; text-align: left; }
.cart-table th { color: #bfe9ff; background: rgba(31,185,255,.08); font-size: .86rem; text-transform: uppercase; letter-spacing: .05em; }
.cart-table tr:last-child td { border-bottom: 0; }
.icon-remove { width: 34px; height: 34px; border: 1px solid rgba(255,120,120,.4); border-radius: 999px; color: #ffb4b4; background: rgba(255,70,70,.12); font-size: 1.25rem; font-weight: 900; cursor: pointer; line-height: 1; }
.icon-remove:hover { background: rgba(255,70,70,.24); }
.inline-form { display: inline; }
.promo-form label, .form-grid label { display: block; margin-bottom: .35rem; font-weight: 700; }
.promo-row { display: flex; gap: .6rem; align-items: center; }
.promo-row .input { flex: 1; }
.checkout-summary dl, .summary-box dl { margin: .6rem 0 0; display: grid; gap: .45rem; }
.checkout-summary dl div, .summary-box dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); padding: .35rem 0; }
.summary-total { color: #8fffba; font-size: 1.13rem; font-weight: 900; border-bottom: 0 !important; }
.order-review-block { margin-top: 1rem; }
.summary-box { max-width: 420px; margin-left: auto; }
.checkout-actions-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; margin-top: 1rem; }
.empty-cart { margin-top: 1rem; padding: 1rem; border: 1px dashed rgba(31,185,255,.4); border-radius: 16px; background: rgba(31,185,255,.08); }
.alert { border-radius: 14px; padding: .85rem 1rem; margin: .8rem 0; border: 1px solid rgba(255,255,255,.14); }
.alert-good { color: #8fffba; background: rgba(42,255,140,.1); border-color: rgba(42,255,140,.28); }
.alert-bad { color: #ffb4b4; background: rgba(255,70,70,.12); border-color: rgba(255,70,70,.28); }
.promo-good { color: #8fffba; font-weight: 700; }
.promo-bad { color: #ffcf8a; font-weight: 700; }
.link-button { border: 0; padding: 0; color: #9ed8ff; background: transparent; cursor: pointer; font: inherit; font-weight: 700; text-decoration: underline; }
.small { font-size: .9rem; }
.pcws-cart-link { display: inline-flex; align-items: center; gap: .35rem; }
.pcws-cart-count { display: inline-flex; min-width: 1.35rem; height: 1.35rem; align-items: center; justify-content: center; padding: 0 .35rem; border-radius: 999px; color: #041014; background: #8fffba; font-size: .78rem; font-weight: 900; }
@media (max-width: 880px) { .checkout-grid, .account-checkout-grid, .checkout-auth-grid { grid-template-columns: 1fr; } .summary-box { max-width: none; margin-left: 0; } .checkout-actions-row { justify-content: flex-start; } }


/* B013 quantity controls */
.quantity-form,
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.quantity-label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  color: #dceaff;
}
.quantity-input {
  width: 54px;
  min-width: 54px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(97, 183, 255, .38);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 8px 6px;
}
.quantity-button,
.quantity-update {
  border: 1px solid rgba(97, 183, 255, .38);
  background: rgba(0, 139, 243, .16);
  color: #eaf6ff;
  border-radius: 10px;
  min-width: 34px;
  min-height: 34px;
  cursor: pointer;
  font-weight: 800;
}
.quantity-button:hover,
.quantity-update:hover { background: rgba(0, 139, 243, .28); }
.quantity-update { padding: 0 10px; font-size: .85rem; }
.cart-table td { vertical-align: middle; }


/* B016 compact checkout review layout */
.checkout-compact { padding: 1rem 0 2rem; }
.checkout-compact .checkout-card {
  padding: 1rem;
  border-radius: 18px;
}
.checkout-compact .checkout-kicker {
  margin-bottom: .25rem;
  font-size: .72rem;
  letter-spacing: .09em;
}
.checkout-compact h1 {
  margin-bottom: .25rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.08;
}
.checkout-compact h2 {
  margin-bottom: .55rem;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}
.checkout-compact h3 {
  margin-bottom: .35rem;
  font-size: 1rem;
}
.checkout-compact .compact-intro { margin: 0 0 .65rem; }
.checkout-compact .checkout-grid,
.checkout-compact .account-checkout-grid {
  gap: .75rem;
  margin-top: .7rem;
}
.checkout-compact .checkout-subcard {
  padding: .85rem;
  border-radius: 16px;
}
.checkout-compact .checkout-auth-grid { gap: .75rem; }
.checkout-compact .compact-form { gap: .45rem; }
.checkout-compact .form-grid label,
.checkout-compact .promo-form label {
  margin-bottom: .2rem;
  font-size: .86rem;
}
.checkout-compact .input {
  min-height: 36px;
  padding: .5rem .65rem;
  font-size: .92rem;
}
.checkout-compact .btn {
  min-height: 36px;
  padding: .52rem .8rem;
  font-size: .9rem;
}
.checkout-compact .cart-table-wrap { margin: .7rem 0; border-radius: 13px; }
.checkout-compact .cart-table { min-width: 590px; }
.checkout-compact .cart-table th,
.checkout-compact .cart-table td {
  padding: .55rem .55rem;
  font-size: .9rem;
}
.checkout-compact .quantity-input {
  width: 46px;
  min-width: 46px;
  padding: 6px 4px;
}
.checkout-compact .quantity-button,
.checkout-compact .quantity-update {
  min-width: 30px;
  min-height: 30px;
  border-radius: 9px;
}
.checkout-compact .quantity-update { padding: 0 8px; font-size: .78rem; }
.checkout-compact .summary-box { max-width: 360px; }
.checkout-compact .checkout-summary dl,
.checkout-compact .summary-box dl { gap: .25rem; }
.checkout-compact .checkout-summary dl div,
.checkout-compact .summary-box dl div { padding: .25rem 0; }
.checkout-compact .summary-total { font-size: 1.04rem; }
.checkout-compact .alert { margin: .45rem 0; padding: .55rem .7rem; border-radius: 12px; }
.checkout-compact .small { font-size: .82rem; }
.checkout-compact .checkout-actions-row { margin-top: .7rem; gap: .5rem; }

@media (max-width: 980px) {
  .checkout-compact .checkout-auth-grid { grid-template-columns: 1fr; }
}


/* B017 ultra-compact checkout fit pass */
.checkout-main.checkout-compact.wrap {
  max-width: 1220px;
  padding-top: .55rem;
  padding-bottom: 1rem;
}
.checkout-compact .checkout-card {
  padding: .72rem .85rem .85rem;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.checkout-compact .checkout-kicker {
  margin: 0 0 .12rem;
  font-size: .7rem;
  line-height: 1.1;
}
.checkout-compact h1 {
  margin: 0 0 .12rem;
  font-size: clamp(1.18rem, 1.7vw, 1.48rem);
  line-height: 1.05;
}
.checkout-compact .compact-intro {
  margin: 0 0 .45rem;
  font-size: .86rem;
  line-height: 1.25;
}
.checkout-fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .55fr);
  gap: .6rem;
  align-items: start;
}
.checkout-compact .checkout-subcard {
  padding: .55rem .65rem;
  border-radius: 12px;
}
.checkout-section-head {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .35rem;
}
.checkout-section-head span {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #061018;
  background: #8fffba;
  font-size: .82rem;
  font-weight: 900;
}
.checkout-compact .checkout-section-head h2 {
  margin: 0;
  font-size: .98rem;
  line-height: 1.1;
}
.checkout-compact .checkout-auth-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .55rem;
}
.checkout-auth-card {
  padding: .5rem;
  border: 1px solid rgba(31,185,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.checkout-compact .checkout-auth-card h3 {
  margin: 0 0 .35rem;
  font-size: .9rem;
  line-height: 1.1;
}
.checkout-compact .compact-form {
  display: grid;
  gap: .32rem;
}
.checkout-compact .grid-2.compact-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .35rem;
}
.checkout-compact .field-line label,
.checkout-compact .form-grid label,
.checkout-compact .promo-form label {
  display: block;
  margin: 0 0 .12rem;
  font-size: .74rem;
  line-height: 1.1;
  font-weight: 700;
}
.checkout-compact .input {
  width: 100%;
  min-height: 30px;
  height: 30px;
  padding: .34rem .48rem;
  border-radius: 9px;
  font-size: .82rem;
  line-height: 1.1;
}
.checkout-compact .btn {
  min-height: 30px;
  padding: .36rem .62rem;
  border-radius: 999px;
  font-size: .8rem;
  line-height: 1.1;
}
.checkout-compact .small,
.checkout-compact .tight-note {
  margin: .12rem 0 0;
  font-size: .72rem;
  line-height: 1.2;
}
.checkout-compact .alert {
  margin: .25rem 0 .4rem;
  padding: .38rem .52rem;
  border-radius: 10px;
  font-size: .8rem;
  line-height: 1.25;
}
.checkout-side-card .promo-row {
  gap: .35rem;
}
.checkout-side-card .promo-row .input {
  min-width: 0;
}
.checkout-side-summary.summary-box,
.checkout-side-card .summary-box {
  max-width: none;
  margin: .45rem 0 0;
}
.checkout-compact .checkout-summary dl,
.checkout-compact .summary-box dl {
  margin: .2rem 0 0;
  gap: .12rem;
}
.checkout-compact .checkout-summary dl div,
.checkout-compact .summary-box dl div {
  padding: .18rem 0;
  font-size: .78rem;
}
.checkout-compact .summary-total {
  font-size: .9rem;
}
.checkout-compact .side-actions {
  justify-content: stretch;
  margin-top: .55rem;
  gap: .35rem;
}
.checkout-compact .side-actions .inline-form,
.checkout-compact .side-actions .btn {
  width: 100%;
}
.checkout-compact .order-review-block {
  margin-top: .6rem;
}
.checkout-compact .cart-table-wrap {
  margin: .3rem 0 0;
  border-radius: 10px;
}
.checkout-compact .cart-table {
  min-width: 560px;
}
.checkout-compact .cart-table th,
.checkout-compact .cart-table td {
  padding: .34rem .42rem;
  font-size: .78rem;
  line-height: 1.15;
}
.checkout-compact .cart-table th {
  font-size: .68rem;
  letter-spacing: .035em;
}
.checkout-compact .quantity-form,
.checkout-compact .quantity-stepper {
  gap: 4px;
}
.checkout-compact .quantity-input {
  width: 40px;
  min-width: 40px;
  height: 28px;
  padding: 4px 2px;
  border-radius: 8px;
  font-size: .78rem;
}
.checkout-compact .quantity-button,
.checkout-compact .quantity-update {
  min-width: 26px;
  min-height: 26px;
  height: 28px;
  border-radius: 8px;
  font-size: .75rem;
}
.checkout-compact .quantity-update {
  padding: 0 6px;
}
.checkout-compact .icon-remove {
  width: 28px;
  height: 28px;
  font-size: 1rem;
}
.checkout-compact .payment-safety-note {
  margin: .35rem 0 0;
}

@media (max-width: 980px) {
  .checkout-fit-grid { grid-template-columns: 1fr; }
  .checkout-compact .checkout-auth-grid { grid-template-columns: 1fr !important; }
}

/* B018 900px checkout fit pass */
.checkout-main.checkout-compact.wrap {
  max-width: 1180px;
  padding-top: .35rem;
  padding-bottom: .45rem;
}
.checkout-compact .checkout-card {
  max-height: 900px;
  overflow-y: auto;
  padding: .45rem .6rem .55rem;
  border-radius: 12px;
}
.checkout-compact .checkout-kicker {
  font-size: .62rem;
  margin-bottom: .05rem;
}
.checkout-compact h1 {
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  margin: 0 0 .05rem;
}
.checkout-compact .compact-intro {
  margin: 0 0 .25rem;
  font-size: .76rem;
  line-height: 1.15;
}
.checkout-steps-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .25rem;
  margin: 0 0 .4rem;
  padding: 0;
  list-style: none;
}
.checkout-steps-inline li {
  border: 1px solid rgba(31,185,255,.16);
  border-radius: 9px;
  padding: .25rem .35rem;
  background: rgba(255,255,255,.025);
  color: #d9ecff;
  font-size: .68rem;
  line-height: 1.18;
}
.checkout-fit-grid {
  grid-template-columns: minmax(0, 1.72fr) minmax(250px, .5fr);
  gap: .42rem;
}
.checkout-compact .checkout-subcard {
  padding: .42rem .5rem;
  border-radius: 10px;
}
.checkout-section-head {
  gap: .3rem;
  margin-bottom: .22rem;
}
.checkout-section-head span {
  width: 1.08rem;
  height: 1.08rem;
  font-size: .68rem;
}
.checkout-compact .checkout-section-head h2 {
  font-size: .82rem;
  line-height: 1.05;
}
.checkout-compact .checkout-auth-grid {
  gap: .38rem;
}
.checkout-auth-card {
  padding: .36rem;
  border-radius: 10px;
}
.checkout-compact .checkout-auth-card h3 {
  margin-bottom: .22rem;
  font-size: .78rem;
}
.checkout-compact .compact-form {
  gap: .22rem;
}
.checkout-compact .grid-2.compact-two {
  gap: .25rem;
}
.checkout-compact .field-line label,
.checkout-compact .form-grid label,
.checkout-compact .promo-form label {
  margin-bottom: .08rem;
  font-size: .66rem;
  line-height: 1;
}
.checkout-compact .input {
  min-height: 24px;
  height: 24px;
  padding: .2rem .38rem;
  border-radius: 7px;
  font-size: .74rem;
}
.checkout-compact .btn {
  min-height: 25px;
  padding: .25rem .48rem;
  font-size: .72rem;
  line-height: 1;
}
.checkout-compact .small,
.checkout-compact .tight-note {
  font-size: .64rem;
  line-height: 1.1;
}
.checkout-compact .alert {
  margin: .18rem 0 .25rem;
  padding: .28rem .4rem;
  border-radius: 8px;
  font-size: .72rem;
  line-height: 1.15;
}
.checkout-side-card .promo-row {
  gap: .25rem;
}
.checkout-side-summary.summary-box,
.checkout-side-card .summary-box {
  margin-top: .28rem;
}
.checkout-compact .checkout-summary dl,
.checkout-compact .summary-box dl {
  margin-top: .12rem;
  gap: .06rem;
}
.checkout-compact .checkout-summary dl div,
.checkout-compact .summary-box dl div {
  padding: .12rem 0;
  font-size: .69rem;
}
.checkout-compact .summary-total {
  font-size: .78rem;
}
.checkout-compact .side-actions {
  margin-top: .34rem;
  gap: .26rem;
}
.checkout-compact .order-review-block {
  margin-top: .42rem;
}
.checkout-compact .cart-table-wrap {
  margin-top: .18rem;
  border-radius: 8px;
}
.checkout-compact .cart-table {
  min-width: 520px;
}
.checkout-compact .cart-table th,
.checkout-compact .cart-table td {
  padding: .24rem .32rem;
  font-size: .7rem;
  line-height: 1.08;
}
.checkout-compact .cart-table th {
  font-size: .6rem;
}
.checkout-compact .quantity-input {
  width: 34px;
  min-width: 34px;
  height: 23px;
  padding: 2px;
  border-radius: 6px;
  font-size: .68rem;
}
.checkout-compact .quantity-button,
.checkout-compact .quantity-update {
  min-width: 23px;
  min-height: 23px;
  height: 23px;
  border-radius: 6px;
  font-size: .66rem;
}
.checkout-compact .quantity-update {
  padding: 0 5px;
}
.checkout-compact .icon-remove {
  width: 24px;
  height: 24px;
  font-size: .9rem;
}
.checkout-compact .payment-safety-note {
  margin-top: .22rem;
}
@media (max-width: 980px) {
  .checkout-steps-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-fit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .checkout-steps-inline { grid-template-columns: 1fr; }
}


/* B020 checkout split layout and strict sizing */
.checkout-b020 {
  max-width: 960px;
  padding: .35rem 0 1rem;
}
.checkout-b020 .checkout-mini-head {
  max-width: 900px;
  margin: 0 auto .45rem;
  padding: .45rem .6rem;
  border: 1px solid rgba(31,185,255,.22);
  border-radius: 12px;
  background: rgba(7,17,31,.88);
}
.checkout-b020 .checkout-kicker { margin: 0 0 .08rem; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #8fffba; font-weight: 800; }
.checkout-b020 h1 { margin: 0 0 .16rem; font-size: 1.22rem; line-height: 1.04; }
.checkout-b020 .compact-intro { margin: 0 0 .32rem; font-size: .78rem; line-height: 1.18; }
.checkout-b020 .checkout-steps-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checkout-b020 .checkout-steps-mini li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .28rem;
  align-items: center;
  min-height: 34px;
  padding: .18rem .28rem;
  border: 1px solid rgba(31,185,255,.16);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  font-size: .66rem;
  line-height: 1.05;
}
.checkout-b020 .checkout-steps-mini span {
  grid-row: span 2;
  width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #8fffba;
  color: #061018;
  font-size: .62rem;
  font-weight: 900;
}
.checkout-b020 .checkout-steps-mini strong { font-size: .67rem; }
.checkout-b020 .checkout-steps-mini em { color: #bfe9ff; font-size: .6rem; font-style: normal; }
.checkout-b020 .checkout-alert { max-width: 900px; margin: .28rem auto; padding: .36rem .48rem; font-size: .75rem; border-radius: 9px; }
.checkout-b020 .checkout-account-box {
  max-width: 900px;
  height: 500px;
  margin: 0 auto .5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  padding: .55rem;
  border: 1px solid rgba(31,185,255,.24);
  border-radius: 14px;
  background: rgba(7,17,31,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.24);
  overflow: hidden;
}
.checkout-b020 .checkout-account-pane,
.checkout-b020 .checkout-panel {
  border: 1px solid rgba(31,185,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.026);
  padding: .55rem;
}
.checkout-b020 .checkout-account-pane { min-width: 0; overflow: auto; }
.checkout-b020 .checkout-pane-head { display: flex; align-items: center; gap: .32rem; margin: 0 0 .38rem; }
.checkout-b020 .checkout-pane-head span {
  min-width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #8fffba;
  color: #061018;
  font-size: .62rem;
  font-weight: 900;
}
.checkout-b020 .checkout-pane-head h2 { margin: 0; font-size: .9rem; line-height: 1.05; }
.checkout-b020 .checkout-mini-form { display: grid; gap: .24rem; }
.checkout-b020 label { margin: 0; font-size: .66rem; font-weight: 700; line-height: 1; }
.checkout-b020 .input {
  width: 100%;
  max-width: 100%;
  height: 26px;
  min-height: 26px;
  padding: .22rem .38rem;
  border-radius: 7px;
  font-size: .73rem;
  line-height: 1;
}
.checkout-b020 .btn {
  min-height: 27px;
  padding: .28rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  line-height: 1;
}
.checkout-b020 .checkout-name-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .32rem; }
.checkout-b020 .mini-link,
.checkout-b020 .mini-note,
.checkout-b020 .small { margin: .08rem 0 0; font-size: .63rem; line-height: 1.15; }
.checkout-b020 .alert { margin: .18rem 0; padding: .28rem .36rem; border-radius: 8px; font-size: .7rem; line-height: 1.15; }
.checkout-b020 .checkout-totals-panel,
.checkout-b020 .checkout-order-compact,
.checkout-b020 .checkout-empty {
  max-width: 900px;
  margin: 0 auto .5rem;
  padding: .55rem;
}
.checkout-b020 .checkout-totals-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: .55rem;
  align-items: start;
}
.checkout-b020 .promo-row { display: flex; gap: .35rem; align-items: center; }
.checkout-b020 .promo-row .input { flex: 1; min-width: 0; }
.checkout-b020 .summary-box { max-width: none; margin: 0; }
.checkout-b020 .summary-box dl { margin: 0; gap: .08rem; }
.checkout-b020 .summary-box dl div { padding: .14rem 0; font-size: .72rem; }
.checkout-b020 .summary-total { font-size: .84rem; }
.checkout-b020 .checkout-actions-row { margin-top: .34rem; gap: .32rem; justify-content: flex-end; }
.checkout-b020 .cart-table-wrap { margin: .2rem 0 0; border-radius: 8px; }
.checkout-b020 .cart-table { min-width: 560px; }
.checkout-b020 .cart-table th,
.checkout-b020 .cart-table td { padding: .25rem .34rem; font-size: .72rem; line-height: 1.1; }
.checkout-b020 .cart-table th { font-size: .61rem; }
.checkout-b020 .quantity-form { gap: 4px; }
.checkout-b020 .quantity-input { width: 34px; min-width: 34px; height: 23px; padding: 2px; border-radius: 6px; font-size: .68rem; }
.checkout-b020 .quantity-button,
.checkout-b020 .quantity-update { min-width: 23px; min-height: 23px; height: 23px; border-radius: 6px; font-size: .66rem; }
.checkout-b020 .quantity-update { padding: 0 5px; }
.checkout-b020 .icon-remove { width: 24px; height: 24px; font-size: .9rem; }
.checkout-b020 .payment-safety-note { margin: .25rem 0 0; }
@media (max-width: 820px) {
  .checkout-b020 .checkout-account-box { height: auto; min-height: 0; grid-template-columns: 1fr; overflow: visible; }
  .checkout-b020 .checkout-totals-grid { grid-template-columns: 1fr; }
  .checkout-b020 .checkout-steps-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .checkout-b020 .checkout-steps-mini { grid-template-columns: 1fr; }
  .checkout-b020 .checkout-name-row { grid-template-columns: 1fr; }
}

/* B022 checkout height/button cleanup */
.checkout-b020 .checkout-account-box {
  height: 325px;
}
.checkout-b020 .side-actions {
  justify-content: flex-end;
}
.checkout-b020 .side-actions .inline-form {
  width: auto;
}
.checkout-b020 .side-actions .btn-primary {
  min-width: 150px;
}
@media (max-width: 820px) {
  .checkout-b020 .checkout-account-box {
    height: auto;
  }
}

/* B026 promo-code input responsive fix */
.checkout-b020 .promo-row {
  flex-wrap: wrap;
}
.checkout-b020 .promo-row .input {
  flex: 1 1 190px;
  min-width: 190px;
}
.checkout-b020 .promo-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .checkout-b020 .promo-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .28rem;
    align-items: stretch;
  }
  .checkout-b020 .promo-row .input,
  .checkout-b020 .promo-row .btn {
    width: 100%;
    min-width: 0;
  }
}
