/* CloudYork Six commerce: native WHMCS markup only. Gateway contents are excluded. */
html.cy-commerce #main-body { background: #f5f6fa; padding: 28px 0 40px !important; }
html.cy-commerce #order-standard_cart { padding: 0 !important; color: #001233; font-family: 'DM Sans', 'Open Sans', sans-serif; font-size: 14px; }
html.cy-commerce #order-standard_cart .cart-body > .header-lined { margin-bottom: 24px; }
html.cy-commerce #order-standard_cart .header-lined h1 { margin: 0 0 12px; padding: 0 0 16px; border-bottom: 1px solid #dde3ef; color: #001233; font: 500 28px/1.25 'DM Sans', sans-serif; }
html.cy-commerce #order-standard_cart .header-lined p { color: #647089; margin: 0; font-size: 14px; line-height: 1.6; }
html.cy-commerce #order-standard_cart .cart-sidebar .panel,
html.cy-commerce #order-standard_cart .sidebar-collapsed .panel { border: 1px solid #dde3ef; background: #fff; border-radius: 0; box-shadow: none; margin-bottom: 18px; }
html.cy-commerce #order-standard_cart .cart-sidebar .panel-heading,
html.cy-commerce #order-standard_cart .sidebar-collapsed .panel-heading { padding: 12px 16px; background: #f5f6fa; color: #001233; border-radius: 0; border-color: #dde3ef; }
html.cy-commerce #order-standard_cart .cart-sidebar .panel-title,
html.cy-commerce #order-standard_cart .sidebar-collapsed .panel-title { color: #001233; font: 500 14px/1.5 'DM Sans', sans-serif; }
html.cy-commerce #order-standard_cart .cart-sidebar .list-group-item { padding: 11px 14px; border-color: #dde3ef; border-left: 3px solid transparent; border-radius: 0; color: #34415b; font-size: 14px; }
html.cy-commerce #order-standard_cart .cart-sidebar .list-group-item.active,
html.cy-commerce #order-standard_cart .cart-sidebar .list-group-item.active:hover,
html.cy-commerce #order-standard_cart .cart-sidebar .list-group-item.active:focus { background: #f3efff; color: #673de6; border-color: #dde3ef; border-left: 3px solid #673de6; }
html.cy-commerce #order-standard_cart .cart-sidebar a.list-group-item:hover,
html.cy-commerce #order-standard_cart .cart-sidebar a.list-group-item:focus { background: #f3efff; color: #673de6; }
html.cy-commerce #order-standard_cart .cart-sidebar .panel-body { padding: 16px; }
html.cy-commerce #order-standard_cart .cart-sidebar select { border: 1px solid #dde3ef; border-radius: 0; height: 40px; color: #001233; }
html.cy-commerce #order-standard_cart .cart-body .btn:where(:not(#paymentGatewayInput *, .StripeElement *, iframe *)) { border-radius: 0; font-family: inherit; font-weight: 500; box-shadow: none; background-image: none; }
html.cy-commerce #order-standard_cart .cart-body .btn-primary:where(:not(#paymentGatewayInput *)) { background: #673de6; border-color: #673de6; color: #fff; padding: 11px 20px; }
html.cy-commerce #order-standard_cart .cart-body .btn-primary:hover:where(:not(#paymentGatewayInput *)),
html.cy-commerce #order-standard_cart .cart-body .btn-primary:focus:where(:not(#paymentGatewayInput *)) { background: #542dc7; border-color: #542dc7; }
html.cy-commerce #order-standard_cart .cart-body .btn-default { color: #673de6; border-color: #dde3ef; background: #fff; padding: 10px 18px; }
html.cy-commerce #order-standard_cart .cart-body .btn-default:hover { background: #f3efff; border-color: #673de6; }
html.cy-commerce #order-standard_cart :is(a,button,input,select,textarea):focus-visible:where(:not(#paymentGatewayInput *, .StripeElement *)) { outline: 2px dotted #673de6; outline-offset: 3px; }
/* Specific empty states retain their original text, links and permission conditions. */
html.cy-commerce #order-standard_cart :is(#no-domains,#noAddons,.cy-empty-state) { margin: 0 0 18px; padding: 38px 24px; border: 1px solid #dde3ef; border-top: 3px solid #673de6; border-radius: 0; background: #fff; color: #34415b; font-size: 15px; line-height: 1.7; text-align: center; }
html.cy-commerce #order-standard_cart :is(#no-domains,#noAddons) + p { margin: 0; padding: 0 0 24px; }
/* Native transfer form: maintain names, ids, validation, CAPTCHA and submit action. */
html.cy-commerce #order-standard_cart .cart-body:has(#frmDomainTransfer) > .text-center { text-align: left; margin: 0 0 20px; }
html.cy-commerce #order-standard_cart .cart-body:has(#frmDomainTransfer) > .text-center h2 { font-size: 21px; font-weight: 500; margin: 0 0 8px; color: #001233; }
html.cy-commerce #order-standard_cart .cart-body:has(#frmDomainTransfer) > .text-center p { color: #647089; font-size: 14px; }
html.cy-commerce #frmDomainTransfer > .row > .col-sm-8 { width: 100%; max-width: 720px; margin-left: 0; }
html.cy-commerce #frmDomainTransfer .panel { border: 1px solid #dde3ef; border-radius: 0; box-shadow: none; }
html.cy-commerce #frmDomainTransfer .panel-heading { padding: 18px 24px; background: #fff; border-bottom: 1px solid #dde3ef; }
html.cy-commerce #frmDomainTransfer .panel-title { font: 500 17px/1.5 'DM Sans', sans-serif; color: #001233; }
html.cy-commerce #frmDomainTransfer .panel-body { padding: 24px; }
html.cy-commerce #frmDomainTransfer .form-group { margin-bottom: 20px; }
html.cy-commerce #frmDomainTransfer label { color: #34415b; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
html.cy-commerce #frmDomainTransfer .form-control { height: 44px; border: 1px solid #dde3ef; border-radius: 0; box-shadow: none; color: #001233; }
html.cy-commerce #frmDomainTransfer .form-control:focus { border-color: #673de6; }
html.cy-commerce #frmDomainTransfer .panel-footer { padding: 18px 24px; border-radius: 0; border-color: #dde3ef; background: #f5f6fa; }
/* Checkout outer form only; gateway injected controls and iframe contents keep native styles. */
html.cy-commerce #frmCheckout { background: #fff; border: 1px solid #dde3ef; padding: 24px; }
html.cy-commerce #order-standard_cart .sub-heading { margin: 30px 0 22px; border-color: #dde3ef; text-align: left; }
html.cy-commerce #order-standard_cart .sub-heading span { color: #001233; background: #fff; padding-left: 0; padding-right: 16px; font: 500 17px/1.5 'DM Sans', sans-serif; }
html.cy-commerce #frmCheckout .form-group { margin-bottom: 20px; }
html.cy-commerce #frmCheckout .field:where(:not(#paymentGatewayInput *, .has-error *, .StripeElement *)) { border: 1px solid #dde3ef; border-radius: 0; box-shadow: none; color: #001233; min-height: 42px; }
html.cy-commerce #frmCheckout .field:focus:where(:not(#paymentGatewayInput *, .has-error *, .StripeElement *)) { border-color: #673de6; }
html.cy-commerce #totalDueToday { padding: 18px 20px; background: #f3efff; color: #001233; border: 1px solid #dde3ef; border-left: 3px solid #673de6; border-radius: 0; text-align: left; font-size: 16px; }
html.cy-commerce #paymentGatewaysContainer > p { color: #34415b; font-size: 14px; margin: 22px 0 14px; }
html.cy-commerce #paymentGatewaysContainer > .text-center { display: flex; flex-wrap: wrap; gap: 12px; text-align: left; }
html.cy-commerce #paymentGatewaysContainer .radio-inline { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px; min-height: 60px; flex: 1 1 220px; border: 1px solid #dde3ef; background: #fff; color: #34415b; font-size: 14px; }
html.cy-commerce #paymentGatewaysContainer .radio-inline:has(input.is-credit-card),
html.cy-commerce #paymentGatewaysContainer .radio-inline:has(input[value^="stripe"]) { border-color: #b9a4f4; color: #001233; font-weight: 500; }
html.cy-commerce #paymentGatewaysContainer .radio-inline:has(input:checked) { background: #f3efff; border-color: #673de6; }
html.cy-commerce #paymentGatewaysContainer .radio-inline input[type=radio] { position: static; margin: 0; accent-color: #673de6; }
html.cy-commerce #creditCardInputFields { padding: 20px; border: 1px solid #dde3ef; border-radius: 0; background: #fff; margin: 18px 0 24px; }
html.cy-commerce #frmCheckout textarea[name=notes] { padding: 14px; min-height: 120px; resize: vertical; line-height: 1.6; }
html.cy-commerce #frmCheckout .checkbox-inline:has(#accepttos) { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 12px 0; font-size: 13px; line-height: 1.7; text-align: left; }
html.cy-commerce #accepttos { accent-color: #673de6; position: static; margin: 0; }
html.cy-commerce #btnCompleteOrder { min-height: 48px; padding: 13px 28px; min-width: 220px; font-size: 16px; margin-top: 8px; }
html.cy-commerce #order-standard_cart .checkout-security-msg { background: #f5f6fa; color: #647089; border: 1px solid #dde3ef; border-radius: 0; padding: 18px 20px; font-size: 12px; line-height: 1.7; }
html.cy-commerce #order-standard_cart .checkout-security-msg i { color: #673de6; }
@media (max-width: 767px) {
  html.cy-commerce #main-body { padding: 20px 0 28px !important; }
  html.cy-commerce #order-standard_cart .header-lined h1 { font-size: 25px; }
  html.cy-commerce #frmCheckout { padding: 18px; }
  html.cy-commerce #frmDomainTransfer .panel-body, html.cy-commerce #frmDomainTransfer .panel-heading, html.cy-commerce #frmDomainTransfer .panel-footer { padding: 18px; }
  html.cy-commerce #btnCompleteOrder { width: 100%; min-width: 0; }
}

html.cy-commerce #order-standard_cart .checkout-security-msg i { float: none; margin: 0 10px 0 0; font-size: 16px; vertical-align: middle; }
html.cy-commerce #frmCheckout label:where(:not(#paymentGatewayInput *, .has-error *)) { color: #34415b; font-weight: 500; }

html.cy-commerce #order-standard_cart .cy-transfer-description { color: #586579; font-size:14px; line-height:1.7; max-width:720px; margin:0; }
html.cy-commerce #frmDomainTransfer label a { color:var(--cy-purple); }

/* Suppress the inherited generic extension claim even before the display-only script runs. */
html.cy-commerce .cart-body:has(#frmDomainTransfer) > .text-center > h2, html.cy-commerce .cart-body:has(#frmDomainTransfer) > .text-center > p:not(.cy-transfer-description), html.cy-commerce #frmDomainTransfer + p.small { display:none; }
