/* Born To Banger — cart UX refinement (cart page + slide-in drawer). */

/* Keep the cart content aligned and readable at every viewport width. */
html body.btb-site main .btb-shop-cart {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin: 30px auto 64px;
  box-sizing: border-box;
}

html body.btb-site main .btb-shop-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 20px;
  align-items: start;
}

/* Item card: separate product identity, quantity controls and line total. */
html body.btb-site .btb-shop-cart-line {
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 13px;
  border-color: #E7E7EA;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.045);
}

html body.btb-site .btb-shop-cart-line-image {
  width: 88px;
  height: 88px;
  border: 1px solid #F1E6E9;
  border-radius: 11px;
  background: #FFFFFF;
}

html body.btb-site .btb-shop-cart-line-copy {
  gap: 7px;
}

html body.btb-site .btb-shop-cart-line-copy > a {
  display: block;
  line-height: 1.35;
}

html body.btb-site .btb-shop-cart-line-copy > a strong {
  color: #111111;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

html body.btb-site .btb-shop-cart-line-copy > small {
  color: #626776;
  font-size: 11px;
  line-height: 1.4;
}

html body.btb-site .btb-shop-cart-quantity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 1px;
}

html body.btb-site .btb-shop-cart-quantity button:not([data-cart-remove]) {
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #D9DCE3;
  border-radius: 9px;
  background: #FFFFFF;
  color: #171717;
  font-size: 17px;
  font-weight: 650;
  line-height: 1;
  touch-action: manipulation;
}

html body.btb-site .btb-shop-cart-quantity input {
  width: 48px;
  height: 38px;
  min-height: 38px;
  padding: 0 5px;
  border: 1px solid #D9DCE3;
  border-radius: 9px;
  background: #FFFFFF;
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

html body.btb-site .btb-shop-cart-quantity button[data-cart-remove] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 38px;
  margin: 0 0 0 2px;
  padding: 0 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #BD1234;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  touch-action: manipulation;
}

html body.btb-site .btb-shop-cart-line-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  min-width: 88px;
  text-align: right;
}

html body.btb-site .btb-shop-cart-line-total small {
  color: #707684;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: .035em;
  text-transform: uppercase;
}

html body.btb-site .btb-shop-cart-line-total .btb-shop-cart-line-price {
  color: #111111;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

/* Summary: one distinct subtotal, a quiet shipping note and a full-width action. */
html body.btb-site .btb-shop-cart-summary {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid #E7E7EA;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055);
  box-sizing: border-box;
}

html body.btb-site .btb-shop-cart-summary h2 {
  margin: 0 0 17px;
  color: #111111;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

html body.btb-site .btb-shop-cart-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #ECEEF2;
  border-bottom: 1px solid #ECEEF2;
  color: #535B68;
  font-size: 13px;
}

html body.btb-site .btb-shop-cart-summary > div strong {
  color: #111111;
  font-size: 15px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

html body.btb-site .btb-shop-cart-summary > p {
  margin: 12px 0 16px;
  padding: 10px 11px;
  border-radius: 9px;
  background: #F7F7F9;
  color: #626776;
  font-size: 11px;
  line-height: 1.5;
}

html body.btb-site .btb-shop-cart-summary .btb-shop-checkout-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid #D71945;
  border-radius: 11px;
  background: #D71945;
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 5px 13px rgba(215, 25, 69, .15);
}

html body.btb-site .btb-shop-cart-summary .btb-shop-checkout-link:hover {
  border-color: #B9153A;
  background: #B9153A;
  color: #FFFFFF !important;
}

html body.btb-site .btb-shop-cart-summary .btb-shop-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 8px 0 0;
  padding: 7px 10px;
  color: #626776 !important;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

html body.btb-site .btb-shop-cart-summary .btb-shop-continue:hover {
  color: #BD1234 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Apply the same checkout hierarchy inside the slide-in cart drawer. */
html body.btb-site .btb-cart-drawer .btb-shop-cart-line {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
}

html body.btb-site .btb-cart-drawer .btb-shop-cart-line-image {
  width: 72px;
  height: 76px;
}

html body.btb-site .btb-cart-drawer .btb-shop-cart-line-total {
  grid-column: 2;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 7px;
  min-width: 0;
  margin-top: -2px;
  text-align: left;
}

html body.btb-site .btb-cart-drawer .btb-shop-cart-line-total .btb-shop-cart-line-price {
  font-size: 13px;
}

html body.btb-site .btb-cart-drawer .btb-shop-cart-summary {
  position: static;
  margin-top: 14px;
  padding: 17px;
}

html body.btb-site .btb-cart-drawer .btb-shop-cart-summary .btb-shop-checkout-link {
  width: 100%;
  min-height: 50px;
}

/* Phone layout: one clean product card followed by a compact summary. */
@media (max-width: 760px) {
  html body.btb-site main .btb-shop-cart {
    width: calc(100% - 28px);
    margin: 20px auto 42px;
  }

  html body.btb-site main .btb-shop-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  html body.btb-site main .btb-shop-cart-lines {
    gap: 10px;
  }

  html body.btb-site main .btb-shop-cart-line {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    gap: 9px 11px;
    padding: 11px;
    border-radius: 13px;
  }

  html body.btb-site main .btb-shop-cart-line-image {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 72px;
    height: 76px;
  }

  html body.btb-site main .btb-shop-cart-line-copy {
    grid-column: 2;
    grid-row: 1;
    gap: 5px;
  }

  html body.btb-site main .btb-shop-cart-line-copy > a strong {
    font-size: 12px;
    line-height: 1.35;
  }

  html body.btb-site main .btb-shop-cart-line-copy > small {
    font-size: 10px;
  }

  html body.btb-site main .btb-shop-cart-quantity {
    gap: 6px;
    margin-top: 2px;
  }

  html body.btb-site main .btb-shop-cart-quantity button:not([data-cart-remove]) {
    width: 38px;
    min-width: 38px;
    height: 40px;
  }

  html body.btb-site main .btb-shop-cart-quantity input {
    width: 46px;
    height: 40px;
    min-height: 40px;
    font-size: 13px;
  }

  html body.btb-site main .btb-shop-cart-quantity button[data-cart-remove] {
    min-height: 40px;
    min-width: 52px;
    margin-left: auto;
    padding-inline: 5px;
    font-size: 11px;
  }

  html body.btb-site main .btb-shop-cart-line-total {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
    margin-top: -3px;
    text-align: left;
  }

  html body.btb-site main .btb-shop-cart-line-total small {
    font-size: 9px;
  }

  html body.btb-site main .btb-shop-cart-line-total .btb-shop-cart-line-price {
    font-size: 13px;
  }

  html body.btb-site main .btb-shop-cart-summary {
    position: static;
    width: 100%;
    margin: 0;
    padding: 17px;
    border-radius: 15px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .045);
  }

  html body.btb-site main .btb-shop-cart-summary h2 {
    margin-bottom: 12px;
    font-size: 19px;
  }

  html body.btb-site main .btb-shop-cart-summary > div {
    padding: 11px 0;
    font-size: 12px;
  }

  html body.btb-site main .btb-shop-cart-summary > div strong {
    font-size: 14px;
  }

  html body.btb-site main .btb-shop-cart-summary > p {
    margin: 10px 0 13px;
    padding: 9px 10px;
    font-size: 10px;
    line-height: 1.45;
  }

  html body.btb-site main .btb-shop-cart-summary .btb-shop-checkout-link {
    min-height: 50px;
    border-radius: 11px;
    font-size: 13px;
  }

  html body.btb-site main .btb-shop-cart-summary .btb-shop-continue {
    min-height: 38px;
    margin-top: 6px;
    font-size: 11px;
  }
}

/* Narrow phones: preserve readable content without horizontal overflow. */
@media (max-width: 380px) {
  html body.btb-site main .btb-shop-cart-line {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px 9px;
    padding: 9px;
  }

  html body.btb-site main .btb-shop-cart-line-image {
    width: 64px;
    height: 68px;
  }

  html body.btb-site main .btb-shop-cart-quantity button:not([data-cart-remove]) {
    width: 36px;
    min-width: 36px;
    height: 38px;
  }

  html body.btb-site main .btb-shop-cart-quantity input {
    width: 42px;
    height: 38px;
    min-height: 38px;
  }
}

/* Dedicated mobile checkout refinement. Scoped to Secure Checkout (page 24). */
@media (max-width: 760px) {
  html body.btb-site main .btb-page-article.post-24 {
    width: calc(100% - 28px) !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  html body.btb-site main .btb-page-article.post-24 .btb-page-heading {
    margin: 0 0 18px !important;
    padding: 8px 0 0 !important;
  }

  html body.btb-site main .btb-page-article.post-24 .btb-page-heading h1 {
    margin: 0 0 9px !important;
    font-size: clamp(29px, 8vw, 34px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
  }

  html body.btb-site main .btb-page-article.post-24 .btb-page-heading .btb-detail-lead {
    max-width: 38ch !important;
    margin: 0 !important;
    color: #626776 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  html body.btb-site main .btb-page-article.post-24 > .btb-prose {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 13px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 34px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-fields,
  html body.btb-site main .post-24 .btb-shop-checkout-summary {
    min-width: 0 !important;
    padding: 16px !important;
    border: 1px solid #E7E7EA !important;
    border-radius: 15px !important;
    background: #FFFFFF !important;
    box-shadow: 0 5px 17px rgba(15, 23, 42, .045) !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-fields h2,
  html body.btb-site main .post-24 .btb-shop-checkout-summary h2 {
    margin: 0 0 14px !important;
    color: #111111 !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
  }

  /* Full-width essentials with City and State paired to reduce scroll length. */
  html body.btb-site main .post-24 .btb-shop-checkout-fields > .btb-shop-checkout-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 12px 10px !important;
  }

  /* Keep the first four primary fields full-width. Address 2 / City and State / PIN share rows. */
  html body.btb-site main .post-24 .btb-shop-checkout-fields > .btb-shop-checkout-grid > label:nth-child(-n+4) {
    grid-column: 1 / -1 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-fields > .btb-shop-checkout-grid > label > span {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 4px !important;
    min-height: 15px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-fields > .btb-shop-checkout-grid > label > span small {
    display: inline !important;
    margin: 0 !important;
    line-height: inherit !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-fields > .btb-shop-checkout-grid > label,
  html body.btb-site main .post-24 .btb-shop-business-billing-fields .btb-shop-checkout-grid > label {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    min-width: 0 !important;
    color: #242833 !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-fields input:not([type="checkbox"]),
  html body.btb-site main .post-24 .btb-shop-checkout-fields select,
  html body.btb-site main .post-24 .btb-shop-checkout-fields textarea {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 10px 12px !important;
    border: 1px solid #D9DCE3 !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    color: #111111 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-fields input:not([type="checkbox"]):focus,
  html body.btb-site main .post-24 .btb-shop-checkout-fields select:focus,
  html body.btb-site main .post-24 .btb-shop-checkout-fields textarea:focus {
    border-color: #D71945 !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(215, 25, 69, .11) !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-fields label small {
    color: #747987 !important;
    font-size: 10px !important;
    font-weight: 550 !important;
  }

  html body.btb-site main .post-24 .btb-shop-business-billing {
    margin-top: 14px !important;
    padding: 13px !important;
    border: 1px solid #F0DDE2 !important;
    border-radius: 12px !important;
    background: #FFF8F9 !important;
  }

  html body.btb-site main .post-24 .btb-shop-business-toggle {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    cursor: pointer !important;
  }

  html body.btb-site main .post-24 .btb-shop-business-toggle > input,
  html body.btb-site main .post-24 .btb-shop-create-account > input,
  html body.btb-site main .post-24 .btb-shop-terms > input {
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    accent-color: #D71945 !important;
  }

  html body.btb-site main .post-24 .btb-shop-business-toggle > span {
    display: grid !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  html body.btb-site main .post-24 .btb-shop-business-toggle strong {
    color: #111111 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  html body.btb-site main .post-24 .btb-shop-business-toggle small,
  html body.btb-site main .post-24 .btb-shop-business-note {
    color: #626776 !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
  }

  html body.btb-site main .post-24 .btb-shop-business-billing-fields {
    margin-top: 12px !important;
    padding-top: 12px !important;
  }

  html body.btb-site main .post-24 .btb-shop-signin-prompt {
    margin: 14px 0 0 !important;
    padding: 11px 12px !important;
    border-radius: 10px !important;
    background: #F7F7F9 !important;
    color: #626776 !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
  }

  html body.btb-site main .post-24 .btb-shop-signin-prompt a {
    color: #BD1234 !important;
    font-weight: 750 !important;
    text-underline-offset: 2px !important;
  }

  html body.btb-site main .post-24 .btb-shop-create-account,
  html body.btb-site main .post-24 .btb-shop-terms {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 9px !important;
    min-height: 0 !important;
    margin: 8px 0 0 !important;
    padding: 2px 0 !important;
    color: #424854 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 550 !important;
    cursor: pointer !important;
  }

  /* Keep the two consent rows close without reducing checkbox usability. */
  html body.btb-site main .post-24 .btb-shop-terms.btb-shop-marketing-consent {
    margin-top: 8px !important;
  }

  html body.btb-site main .post-24 .btb-shop-terms:not(.btb-shop-marketing-consent) {
    margin-top: 4px !important;
  }

  html body.btb-site main .post-24 .btb-shop-account-password {
    display: grid !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  html body.btb-site main .post-24 .btb-shop-account-password[hidden],
  html body.btb-site main .post-24 .btb-shop-business-billing-fields[hidden] {
    display: none !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-summary {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-line {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 12px !important;
    padding: 11px 0 !important;
    border-bottom: 1px solid #ECEEF2 !important;
    color: #454B57 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-line > span {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-line > strong {
    white-space: nowrap !important;
    color: #111111 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-totals {
    margin-top: 11px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-totals p {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 9px 0 !important;
    color: #454B57 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-totals p strong {
    color: #111111 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-align: right !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-totals p.total {
    margin-top: 8px !important;
    padding-top: 13px !important;
    border-top: 1px solid #E7E7EA !important;
    font-size: 14px !important;
    font-weight: 850 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-totals p.total strong {
    color: #BD1234 !important;
    font-size: 16px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-summary-note {
    margin: 12px 0 0 !important;
    padding: 10px 11px !important;
    border-radius: 9px !important;
    background: #F7F7F9 !important;
    color: #626776 !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
  }

  html body.btb-site main .post-24 #btb-shop-checkout-form {
    display: grid !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  html body.btb-site main .post-24 #btb-shop-checkout-form > button {
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 13px 16px !important;
    border: 1px solid #D71945 !important;
    border-radius: 12px !important;
    background: #D71945 !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
    box-shadow: 0 6px 16px rgba(215, 25, 69, .17) !important;
    touch-action: manipulation !important;
  }

  html body.btb-site main .post-24 #btb-shop-checkout-form > button:hover:not(:disabled) {
    border-color: #B9153A !important;
    background: #B9153A !important;
  }

  html body.btb-site main .post-24 #btb-shop-checkout-form > button:disabled {
    opacity: .58 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
  }

  html body.btb-site main .post-24 #btb-shop-checkout-form > small {
    margin: 0 !important;
    color: #747987 !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  html body.btb-site main .post-24 #btb-shop-checkout-error {
    margin: 0 !important;
    padding: 10px 11px !important;
    border-radius: 9px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 380px) {
  html body.btb-site main .btb-page-article.post-24 {
    width: calc(100% - 22px) !important;
  }
  html body.btb-site main .post-24 .btb-shop-checkout-fields,
  html body.btb-site main .post-24 .btb-shop-checkout-summary {
    padding: 13px !important;
  }
  html body.btb-site main .post-24 .btb-shop-checkout-fields > .btb-shop-checkout-grid {
    gap: 11px 8px !important;
  }
}

/* Fix checkout checkbox copy: one wrapping text block beside each checkbox. */
@media (max-width: 760px) {
  html body.btb-site main .post-24 .btb-shop-terms > span,
  html body.btb-site main .post-24 .btb-shop-create-account > span {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.55 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  html body.btb-site main .post-24 .btb-shop-terms > span a {
    display: inline !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
  }

  html body.btb-site main .post-24 .btb-shop-terms > input,
  html body.btb-site main .post-24 .btb-shop-create-account > input {
    align-self: flex-start !important;
    flex: 0 0 18px !important;
  }

  /* Keep item title, quantity and amount in their own clear visual roles. */
  html body.btb-site main .post-24 .btb-shop-checkout-line {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 8px 12px !important;
    padding: 12px 0 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-item-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    gap: 5px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-item-name {
    display: block !important;
    min-width: 0 !important;
    color: #242833 !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-item-qty {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    padding: 3px 7px !important;
    border-radius: 999px !important;
    background: #F2F3F5 !important;
    color: #626776 !important;
    font-size: 9px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-line > strong {
    align-self: start !important;
    padding-top: 1px !important;
    color: #111111 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.4 !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-totals p.total strong {
    max-width: 58% !important;
    text-align: right !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }
}

/* Tight consent-row spacing on phones, including 360px-width devices. */
@media (max-width: 480px) {
  html body.btb-site main .post-24 label.btb-shop-terms.btb-shop-marketing-consent,
  html body.btb-site main .post-24 label.btb-shop-terms:not(.btb-shop-marketing-consent) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    min-height: 0 !important;
    padding: 1px 0 !important;
  }

  html body.btb-site main .post-24 label.btb-shop-terms.btb-shop-marketing-consent {
    margin: 6px 0 0 !important;
  }

  html body.btb-site main .post-24 label.btb-shop-terms:not(.btb-shop-marketing-consent) {
    margin: 3px 0 0 !important;
  }

  html body.btb-site main .post-24 label.btb-shop-terms > input {
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 1px 0 0 !important;
  }

  html body.btb-site main .post-24 label.btb-shop-terms > span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 380px) {
  html body.btb-site main .post-24 label.btb-shop-terms.btb-shop-marketing-consent {
    margin-top: 5px !important;
  }

  html body.btb-site main .post-24 label.btb-shop-terms:not(.btb-shop-marketing-consent) {
    margin-top: 2px !important;
  }
}

/* GST row: dedicated heading/amount line and a full-width component breakdown. */
html body.btb-site main .post-24 .btb-shop-checkout-totals p.btb-shop-checkout-tax-row {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 11px 0 !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-tax-topline {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-tax-topline [data-btb-checkout-tax-label] {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: #454B57 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-tax-topline [data-btb-checkout-tax] {
  display: block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-tax-row [data-btb-checkout-tax-detail] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 5px 0 0 !important;
  padding: 0 !important;
  color: #747987 !important;
  font-size: 10px !important;
  font-weight: 550 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

@media (max-width: 760px) {
  html body.btb-site main .post-24 .btb-shop-checkout-tax-topline [data-btb-checkout-tax-label] {
    font-size: 11px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-tax-topline [data-btb-checkout-tax] {
    font-size: 12px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-tax-row [data-btb-checkout-tax-detail] {
    font-size: 10px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-fields select[name="state"] {
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 10px 34px 10px 12px !important;
    border: 1px solid #D9DCE3 !important;
    border-radius: 10px !important;
    background-color: #FFFFFF !important;
    color: #111111 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
}


/* Checkout order summary: stable grid layout for item lines and GST rows. */
html body.btb-site main .post-24 .btb-shop-checkout-line {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: start !important;
  column-gap: 12px !important;
  row-gap: 6px !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-line .btb-shop-checkout-item-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: start !important;
  align-content: start !important;
  gap: 5px !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-item-name {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  color: #343A46 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-item-qty {
  display: inline-flex !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #F1F2F5 !important;
  color: #626776 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-line > strong {
  display: block !important;
  min-width: max-content !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

/* Use the tax row itself as a 2-column grid. The amount can never be pushed
   into the breakdown, and the component detail always occupies its own row. */
html body.btb-site main .post-24 .btb-shop-checkout-totals p.btb-shop-checkout-tax-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
  column-gap: 10px !important;
  row-gap: 5px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 12px 0 !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-tax-topline {
  display: contents !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-tax-row [data-btb-checkout-tax-label] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: block !important;
  min-width: 0 !important;
  color: #454B57 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-tax-row [data-btb-checkout-tax] {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  justify-self: end !important;
  align-self: start !important;
  width: auto !important;
  min-width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.45 !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-tax-row [data-btb-checkout-tax-detail] {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #747987 !important;
  font-size: 10px !important;
  font-weight: 550 !important;
  line-height: 1.6 !important;
  text-align: left !important;
  white-space: pre-line !important;
  overflow-wrap: break-word !important;
}

/* Explain a genuine store setup blocker without disguising the disabled payment action. */
html body.btb-site main .post-24 .btb-shop-checkout-summary-note.is-warning {
  padding: 12px 13px !important;
  border: 1px solid #F5D28A !important;
  border-left: 3px solid #D97706 !important;
  border-radius: 10px !important;
  background: #FFF8E8 !important;
  color: #78430D !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-help-link {
  display: inline-flex !important;
  width: max-content !important;
  margin-top: 8px !important;
  color: #A34B00 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

html body.btb-site main .post-24 .btb-shop-checkout-help-link[hidden] {
  display: none !important;
}

html body.btb-site main .post-24 #btb-shop-checkout-form > button:disabled {
  border: 1px solid #D7DBE2 !important;
  background: #ECEFF3 !important;
  color: #626B78 !important;
  -webkit-text-fill-color: #626B78 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

@media (max-width: 420px) {
  html body.btb-site main .post-24 .btb-shop-checkout-line {
    column-gap: 8px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-tax-row {
    column-gap: 8px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-tax-row [data-btb-checkout-tax-label] {
    font-size: 11px !important;
  }

  html body.btb-site main .post-24 .btb-shop-checkout-tax-row [data-btb-checkout-tax] {
    font-size: 12px !important;
  }
}
