/* Serhat Hosting Classic — cart appearance only. Both standard_cart and serhat_cart
   use #order-standard_cart. Theme switch is controlled by serhat-classic-mode.js. */
html[data-serhat-theme="dark"] #order-standard_cart {
 --sh-cart-bg:#142133; --sh-cart-panel:#19283c; --sh-cart-raised:#20354e;
 --sh-cart-border:#365478; --sh-cart-text:#eaf2ff; --sh-cart-muted:#b5c7df;
 --sh-cart-accent:#8dc5ff; --sh-cart-header:linear-gradient(115deg,#203650,#24476b,#1a304a,#203650);
 color:var(--sh-cart-text)!important;
}
html[data-serhat-theme="dark"] #order-standard_cart .header-lined h1,
html[data-serhat-theme="dark"] #order-standard_cart .header-lined h2 {color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .header-lined,
html[data-serhat-theme="dark"] #order-standard_cart .sub-heading,
html[data-serhat-theme="dark"] #order-standard_cart .sub-heading-borderless {border-color:var(--sh-cart-border)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .header-lined p,
html[data-serhat-theme="dark"] #order-standard_cart .secondary-cart-body>p,
html[data-serhat-theme="dark"] #order-standard_cart .text-muted {color:var(--sh-cart-muted)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .sub-heading span,
html[data-serhat-theme="dark"] #order-standard_cart .sub-heading-borderless span,
html[data-serhat-theme="dark"] #order-standard_cart .secondary-cart-body > .sub-heading span {background:#192b43!important;color:var(--sh-cart-accent)!important;border-color:var(--sh-cart-border)!important;}
/* 1. Product titles, including the actual native header element. */
html[data-serhat-theme="dark"] #order-standard_cart .products .product header {
 background:var(--sh-cart-header)!important;background-size:250% 100%!important;
 border-bottom:1px solid var(--sh-cart-border)!important;border-radius:15px 15px 0 0!important;
 color:var(--sh-cart-text)!important;animation:shCartHeaderDrift 8s ease-in-out infinite;
}
html[data-serhat-theme="dark"] #order-standard_cart .products .product header span {color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .products .product header .qty {color:var(--sh-cart-muted)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .products .product footer {background:transparent!important;color:var(--sh-cart-muted)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .products .product .product-desc {color:var(--sh-cart-muted)!important;overflow-wrap:anywhere;}
html[data-serhat-theme="dark"] #order-standard_cart .products .product::before {pointer-events:none;z-index:1;}
/* 2. Domain choice cards. Keep WHMCS/iCheck behavior untouched. */
html[data-serhat-theme="dark"] #order-standard_cart .domain-selection-options .option {
 background:var(--sh-cart-panel)!important;border:1px solid var(--sh-cart-border)!important;
 border-radius:12px!important;margin-bottom:8px!important;color:var(--sh-cart-muted)!important;
 transition:background .2s,border-color .2s,box-shadow .2s;
}
html[data-serhat-theme="dark"] #order-standard_cart .domain-selection-options .option label {color:var(--sh-cart-text)!important;overflow-wrap:anywhere;}
html[data-serhat-theme="dark"] #order-standard_cart .domain-selection-options .option:hover,
html[data-serhat-theme="dark"] #order-standard_cart .domain-selection-options .option:focus-within {border-color:#649ee1!important;}
html[data-serhat-theme="dark"] #order-standard_cart .domain-selection-options .option-selected,
html[data-serhat-theme="dark"] #order-standard_cart .domain-selection-options .option:has(input[name="domainoption"]:checked) {
 background:linear-gradient(110deg,#203d5b,#19283c)!important;border-color:#4c91dd!important;
 box-shadow:inset 3px 0 #63b3ff,0 4px 18px #0d172a55!important;
}
/* 3. Configuration cards including late template inline !important declarations. */
html[data-serhat-theme="dark"] #order-standard_cart .product-info,
html[data-serhat-theme="dark"] #order-standard_cart .field-container,
html[data-serhat-theme="dark"] #order-standard_cart .field-container:has(#inputBillingcycle) {
 background:linear-gradient(135deg,#1d3048,#19283c)!important;border-color:var(--sh-cart-border)!important;
 color:var(--sh-cart-muted)!important;box-shadow:0 8px 22px #0a142444!important;
}
html[data-serhat-theme="dark"] #order-standard_cart .product-info .product-title {color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .product-info p,
html[data-serhat-theme="dark"] #order-standard_cart .product-info p:last-child,
html[data-serhat-theme="dark"] #order-standard_cart .form-group label {color:var(--sh-cart-muted)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .field-container:has(#inputBillingcycle) label {color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .field-container:has(#inputBillingcycle) label:before {background:#24496e!important;color:#9fd4ff!important;}
html[data-serhat-theme="dark"] #order-standard_cart .field-container:has(#inputBillingcycle):before {background:linear-gradient(180deg,#408dff,#73d2ff,#408dff)!important;background-size:100% 200%!important;animation:shCartRailDrift 5s ease infinite;}
html[data-serhat-theme="dark"] #order-standard_cart #inputBillingcycle,
html[data-serhat-theme="dark"] #order-standard_cart .form-control,
html[data-serhat-theme="dark"] #order-standard_cart select.form-control,
html[data-serhat-theme="dark"] #order-standard_cart .input-group-text {background-color:#111e30!important;color:var(--sh-cart-text)!important;border-color:var(--sh-cart-border)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .form-control::placeholder {color:var(--sh-cart-muted)!important;opacity:1;}
html[data-serhat-theme="dark"] #order-standard_cart .form-control:focus,
html[data-serhat-theme="dark"] #order-standard_cart #inputBillingcycle:focus {border-color:#75b6ff!important;box-shadow:0 0 0 3px #4b9cff35!important;}
/* Custom OS/extra option selectors from the supplied orderform. */
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-picker,
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-choices,
html[data-serhat-theme="dark"] #order-standard_cart .sh-extra-choices,
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-toggle,
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-choice,
html[data-serhat-theme="dark"] #order-standard_cart .sh-extra-choice {background:#19283c!important;border-color:var(--sh-cart-border)!important;color:var(--sh-cart-text)!important;box-shadow:none!important;}
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-head,
html[data-serhat-theme="dark"] #order-standard_cart .sh-extra-head-toggle {background:var(--sh-cart-header)!important;border-color:var(--sh-cart-border)!important;color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-group {border-color:var(--sh-cart-border)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-toggle:hover,
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-toggle[aria-expanded="true"],
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-choice.is-selected,
html[data-serhat-theme="dark"] #order-standard_cart .sh-extra-choice.is-selected,
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-choice:hover,
html[data-serhat-theme="dark"] #order-standard_cart .sh-extra-choice:hover {background:#244362!important;border-color:#619dde!important;color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-free,
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-choice-price {background:#163b35!important;color:#9aecd1!important;border-color:#347564!important;}
html[data-serhat-theme="dark"] #order-standard_cart .sh-os-chevron {color:var(--sh-cart-accent)!important;}
/* 4. Both forms of the order summary (configuration and view cart). */
html[data-serhat-theme="dark"] #order-standard_cart .order-summary,
html[data-serhat-theme="dark"] #order-standard_cart #orderSummary,
html[data-serhat-theme="dark"] #order-standard_cart #orderSummary .order-summary {
 background:#19283c!important;border:1px solid var(--sh-cart-border)!important;border-radius:16px!important;
 box-shadow:0 10px 30px #08142555!important;overflow:hidden;color:var(--sh-cart-text)!important;
}
html[data-serhat-theme="dark"] #order-standard_cart #orderSummary .order-summary:before,
html[data-serhat-theme="dark"] #order-standard_cart .order-summary#orderSummary:before {content:"";display:block;height:4px!important;background:linear-gradient(90deg,#397ce9,#7ad4ff,#4187ed,#397ce9)!important;background-size:250% 100%!important;animation:shCartHeaderDrift 6s ease infinite;}
html[data-serhat-theme="dark"] #order-standard_cart .order-summary h2,
html[data-serhat-theme="dark"] #order-standard_cart #orderSummary h2 {background:var(--sh-cart-header)!important;color:var(--sh-cart-text)!important;border-color:var(--sh-cart-border)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #orderSummary h2:before {background:#294b70!important;color:var(--sh-cart-accent)!important;box-shadow:none!important;}
html[data-serhat-theme="dark"] #order-standard_cart .summary-container,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal {background:#19283c!important;color:var(--sh-cart-text)!important;border-color:var(--sh-cart-border)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .product-name,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .product-title,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal strong,
html[data-serhat-theme="dark"] #order-standard_cart .order-summary .product-name {color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .product-group,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .text-muted,
html[data-serhat-theme="dark"] #order-standard_cart .order-summary .product-group,
html[data-serhat-theme="dark"] #order-standard_cart .order-summary .recurring-charges {color:var(--sh-cart-muted)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .summary-totals,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .producttotals,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal hr,
html[data-serhat-theme="dark"] #order-standard_cart .order-summary .subtotal,
html[data-serhat-theme="dark"] #order-standard_cart .order-summary .bordered-totals {border-color:var(--sh-cart-border)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .product-info {background:transparent!important;box-shadow:none!important;}
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .product-configurable-options .clearfix,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .configurable-options .clearfix,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .product-addons .clearfix,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .addons .clearfix,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .product-addon,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .product-configurable-option,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .configurable-option,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .summary-option {background:#20354e!important;border-color:var(--sh-cart-border)!important;color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #producttotal :is(.product-configurable-options,.configurable-options,.product-addons,.addons) .clearfix>span {color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #producttotal :is(.product-configurable-options,.configurable-options,.product-addons,.addons) .clearfix:before,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal :is(.product-addon,.product-configurable-option,.configurable-option,.summary-option):before {background:#284d72!important;color:var(--sh-cart-accent)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .order-summary .total-due-today,
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .total-due-today {background:linear-gradient(120deg,#203c5b,#1b304a)!important;border:1px solid #3e6592!important;border-radius:12px!important;padding:12px!important;color:var(--sh-cart-text)!important;box-shadow:none!important;}
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .total-due-today span,
html[data-serhat-theme="dark"] #order-standard_cart .order-summary .total-due-today span {color:var(--sh-cart-muted)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #producttotal .total-due-today .amt,
html[data-serhat-theme="dark"] #order-standard_cart .order-summary .total-due-today .amt {color:#a6d5ff!important;font-weight:750!important;overflow-wrap:anywhere;}
html[data-serhat-theme="dark"] #order-standard_cart .order-summary .btn-continue-shopping {color:var(--sh-cart-accent)!important;}
/* 5. Review cart and promotional forms. */
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items-header {background:var(--sh-cart-header)!important;color:var(--sh-cart-text)!important;border:1px solid var(--sh-cart-border)!important;border-radius:12px 12px 0 0!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items {border-color:var(--sh-cart-border)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items .item,
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items .item:nth-child(even) {background:#19283c!important;color:var(--sh-cart-text)!important;border:1px solid var(--sh-cart-border)!important;border-top:0!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items .item:nth-child(even) {background:#1d3047!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items .item-title {color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items .item-group,
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items .item-price .cycle {color:var(--sh-cart-muted)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items .item-domain,
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items .item-price,
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-items .item-price span:not(.cycle) {color:var(--sh-cart-accent)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .btn-remove-from-cart {color:#ffacb8!important;}
html[data-serhat-theme="dark"] #order-standard_cart .btn-remove-from-cart:hover {color:#ff718c!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-tabs .tab-content,
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-tabs .promo,
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-promotion-code,
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-gateway-checkout {background:#19283c!important;color:var(--sh-cart-text)!important;border-color:var(--sh-cart-border)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-tabs .tab-content {border:1px solid var(--sh-cart-border)!important;border-radius:0 12px 12px 12px!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-tabs .nav-tabs {border-color:var(--sh-cart-border)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
html[data-serhat-theme="dark"] #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"] {background:#20354e!important;color:var(--sh-cart-accent)!important;border-color:var(--sh-cart-border)!important;}
/* 6. Checkout account and credit selection. No changes to input values or behavior. */
html[data-serhat-theme="dark"] #order-standard_cart .account-select-container {border-color:transparent!important;}
html[data-serhat-theme="dark"] #order-standard_cart .account-select-container div.account,
html[data-serhat-theme="dark"] #order-standard_cart .account-select-container div.account:not(.border-bottom) {
 background:#19283c!important;border:1px solid var(--sh-cart-border)!important;border-radius:10px!important;margin-bottom:6px;color:var(--sh-cart-text)!important;transition:background .2s,border-color .2s;
}
html[data-serhat-theme="dark"] #order-standard_cart .account-select-container div.account.active {background:linear-gradient(115deg,#244263,#19283c)!important;border-color:#4c91dd!important;box-shadow:inset 3px 0 #63b3ff!important;}
html[data-serhat-theme="dark"] #order-standard_cart .account-select-container div.account label,
html[data-serhat-theme="dark"] #order-standard_cart .account-select-container div.account strong {color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart .account-select-container div.account .small {color:var(--sh-cart-muted)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #applyCreditContainer,
html[data-serhat-theme="dark"] #order-standard_cart .cc-input-container {background:linear-gradient(125deg,#1c3049,#19283c)!important;border:1px solid var(--sh-cart-border)!important;border-radius:12px!important;color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #applyCreditContainer p,
html[data-serhat-theme="dark"] #order-standard_cart #applyCreditContainer label,
html[data-serhat-theme="dark"] #order-standard_cart #applyCreditContainer span {color:var(--sh-cart-text)!important;}
html[data-serhat-theme="dark"] #order-standard_cart #applyCreditContainer label {display:block;padding:10px 12px!important;border-radius:8px;border:1px solid transparent;margin:4px 0;transition:background .2s,border-color .2s;overflow-wrap:anywhere;}
html[data-serhat-theme="dark"] #order-standard_cart #applyCreditContainer label:has(input:checked) {background:#254461!important;border-color:#4b81b7!important;}
html[data-serhat-theme="dark"] #order-standard_cart input[type=radio],
html[data-serhat-theme="dark"] #order-standard_cart input[type=checkbox] {accent-color:#4e9bf5;}
/* Animated blue CTAs with accessible reduced-motion and no payment logic changes. */
html[data-serhat-theme="dark"] #order-standard_cart :is(.btn-checkout,#btnCompleteProductConfig,#btnCompleteOrder,.domain-selection-options .btn-primary,.view-cart-tabs .btn-block) {
 background:linear-gradient(120deg,#215dbb,#2678d3)!important;color:#fff!important;border-color:#4a88d4!important;
 border-radius:10px!important;box-shadow:0 6px 18px #1253a344!important;transition:box-shadow .2s,filter .2s,transform .2s;
}
html[data-serhat-theme="dark"] #order-standard_cart :is(.btn-checkout,#btnCompleteProductConfig,#btnCompleteOrder,.domain-selection-options .btn-primary,.view-cart-tabs .btn-block):not(:disabled):hover {filter:brightness(1.12);box-shadow:0 8px 24px #2678d366!important;}
html[data-serhat-theme="dark"] #order-standard_cart :is(button,a,input,select):focus-visible {outline:2px solid #9dd0ff;outline-offset:2px;}
@keyframes shCartHeaderDrift {0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes shCartRailDrift {0%,100%{background-position:0% 0%}50%{background-position:0% 100%}}
@media(max-width:767px){
 html[data-serhat-theme="dark"] #order-standard_cart .domain-selection-options .option {padding:10px!important;}
 html[data-serhat-theme="dark"] #order-standard_cart .secondary-cart-body,
 html[data-serhat-theme="dark"] #order-standard_cart .secondary-cart-sidebar {min-width:0;}
 html[data-serhat-theme="dark"] #order-standard_cart .order-summary .total-due-today .amt {font-size:clamp(19px,6vw,28px)!important;}
 html[data-serhat-theme="dark"] #order-standard_cart #applyCreditContainer {padding:10px!important;}
 html[data-serhat-theme="dark"] #order-standard_cart .account-select-container .address {overflow-wrap:anywhere;}
}
@media(prefers-reduced-motion:reduce){
 html[data-serhat-theme="dark"] #order-standard_cart *,
 html[data-serhat-theme="dark"] #order-standard_cart *:before,
 html[data-serhat-theme="dark"] #order-standard_cart *:after {animation:none!important;transition:none!important;}
}
