/* TURBOHOST Checkout v4.28. Only native checkout/account and categories.
   No changes to theme header, cart calculations, payment or native controls. */
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.cart-body > .header-lined > h1 {
  font-family: 'TH-Poppins','Poppins',sans-serif;
  font-weight: 650;
  letter-spacing: -.45px;
  font-size: clamp(26px,2.5vw,35px);
  line-height: 1.25;
}
/* Existing/new account choices match homepage dark card palette. */
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.account-select-container {
  margin: 0 !important;
  gap: 12px;
  border: 0 !important;
  background: transparent !important;
}
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.account-select-container > [class*="col-"] {
  padding: 0 !important;
  margin: 0;
}
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.account-select-container div.account {
  box-sizing: border-box;
  margin: 0;
  padding: 15px 17px;
  border-radius: 30px !important;
  overflow: hidden;
  background: linear-gradient(180deg,rgba(18,42,102,.96),rgba(5,16,44,.98)) !important;
  border: 1px solid rgba(117,151,255,.22) !important;
  color: #f2f7ff;
  transition: border-color 140ms ease, background-color 140ms ease;
}
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.account-select-container div.account.active {
  border-color: #1062FE !important;
  background: linear-gradient(180deg,#193b7a 0%,#0a2352 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(16,98,254,.22);
}
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.account-select-container div.account :is(label,strong,span) {
  color: #f2f7ff;
}
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.account-select-container div.account label {
  cursor: pointer;
  width: 100%;
  margin: 0;
}
/* Align lock icon and secure message vertically; no overflowing oversized icon. */
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.checkout-security-msg {
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 12px;
  min-height: 58px;
  padding: 13px 17px !important;
  margin-top: 16px;
  border-radius: 30px !important;
  line-height: 1.45;
}
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.checkout-security-msg > i {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 19px !important;
  line-height: 1 !important;
  vertical-align: middle;
}
body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
.checkout-security-msg > .clearfix {display: none !important}
/* Secondary wizard controls stay in DOM and JS. The summary's native-proxy
   button is the only visible control when a valid 4/5 split is active. */
body.th48-checkout .th-whmcs-wizard.th428-summary-cta[data-th-current="4"]
> .th-checkout-controls,
body.th48-checkout .th-whmcs-wizard.th428-summary-cta[data-th-current="5"]
> .th-checkout-controls {
  display: none !important;
}
/* Responsive arrow-controlled strip. Original WHMCS category links unchanged. */
body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th-checkout-grid
> .th428-categories-frame {
  box-sizing: border-box;
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 32px minmax(0,1fr) 32px;
  align-items: center;
  column-gap: 3px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-bottom: 1px solid rgba(169,193,228,.30);
  margin: 0 0 17px;
}
body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th428-categories-frame
> .th-checkout-categories {
  box-sizing: border-box;
  grid-column: 2;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 0 7px;
  border: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th428-categories-frame
> .th-checkout-categories::-webkit-scrollbar {display:none}
body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th428-cat-arrow {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin: 0;
  padding: 0 0 3px;
  border: 1px solid rgba(133,179,255,.3);
  border-radius: 50%;
  background: rgba(18,42,102,.75);
  color: #e9f4ff;
  font: 500 25px/1 'TH-Inter','Inter',sans-serif;
  cursor: pointer;
  transition: background-color 140ms ease,border-color 140ms ease;
}
body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th428-cat-arrow:is(:hover,:focus-visible) {
  background: #1062FE;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th428-cat-arrow:focus-visible {
  outline: 2px solid #009AFF;
  outline-offset: 2px;
}
body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th428-cat-arrow:disabled {
  opacity: .28;
  cursor: default;
  background: rgba(18,42,102,.5);
}
body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th428-categories-frame:not(.th428-scrollable) {
  grid-template-columns: minmax(0,1fr);
}
body.th48-checkout .th-whmcs-wizard.th-checkout-v47
.th428-categories-frame:not(.th428-scrollable) > .th-checkout-categories {
  grid-column: 1;
}
body.th48-checkout .th-whmcs-wizard.th-checkout-v47
.th428-categories-frame:not(.th428-scrollable) > .th428-cat-arrow {
  display: none;
}
@media(max-width:920px) {
  body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th-checkout-grid
  > .th428-categories-frame {width:100%;max-width:100%;flex:0 0 auto}
}
@media(prefers-reduced-motion:reduce) {
  body.th48-checkout .th-whmcs-wizard.th-checkout-v47
  .th428-categories-frame > .th-checkout-categories {scroll-behavior:auto}
  body.th48-checkout .th-whmcs-wizard.th-checkout-v47 .th428-cat-arrow,
  body.th48-checkout .th-whmcs-wizard.th428-account-styled #order-standard_cart
  .account-select-container div.account {transition:none}
}
