/* Standard Cart visual bridge. All product, tax, currency and gateway logic stays in WHMCS. */
body.hyrca-theme #order-standard_cart .cart-sidebar:not(:has(*)){display:none}
body.hyrca-theme #order-standard_cart .cart-sidebar:not(:has(*)) + .cart-body{width:100%;float:none}
body.hyrca-theme #order-standard_cart{color:var(--hy-text);background:transparent;direction:rtl;text-align:right;font-family:var(--hy-font)}
body.hyrca-theme #order-standard_cart .header-lined h1{color:var(--hy-text);border-color:var(--hy-border);font-size:30px}
body.hyrca-theme #order-standard_cart .cart-body{background:transparent;color:var(--hy-text);padding-top:0}
body.hyrca-theme #order-standard_cart .products .product,body.hyrca-theme #order-standard_cart .product-info,body.hyrca-theme #order-standard_cart .view-cart-items,body.hyrca-theme #order-standard_cart .domain-selection-options .option,body.hyrca-theme #order-standard_cart .domain-checker-container,body.hyrca-theme #order-standard_cart .panel,body.hyrca-theme #order-standard_cart .well{background:var(--hy-surface);border:1px solid var(--hy-border);color:var(--hy-text);border-radius:12px;box-shadow:none}
body.hyrca-theme #order-standard_cart .products .product header{background:#eef1e6;color:var(--hy-text);border:0;border-radius:11px 11px 0 0;padding:20px}
body.hyrca-theme #order-standard_cart .products .product header span{color:var(--hy-text);font-size:20px}
body.hyrca-theme #order-standard_cart .products .product .product-desc{color:var(--hy-muted);line-height:2;padding:23px}
body.hyrca-theme #order-standard_cart .products .product footer{background:transparent;border-top:1px solid var(--hy-border);padding:20px}
body.hyrca-theme #order-standard_cart .products .product .product-pricing{color:var(--hy-accent)}
body.hyrca-theme #order-standard_cart .products .product .product-pricing .price{color:var(--hy-accent);font-size:29px}
body.hyrca-theme #order-standard_cart .order-summary{background:#fffefa;border:1px solid #c9d5bc;border-radius:13px;box-shadow:none;color:var(--hy-text)}
body.hyrca-theme #order-standard_cart .order-summary h2{background:transparent;color:var(--hy-text);border-bottom:1px solid #d6decd;padding:20px;font-size:20px}
body.hyrca-theme #order-standard_cart .summary-container{background:transparent;color:var(--hy-text);border-radius:0;padding:22px}
body.hyrca-theme #order-standard_cart .summary-container .subtotal,body.hyrca-theme #order-standard_cart .summary-container .recurring-charges{border-color:#d6decd}
body.hyrca-theme #order-standard_cart .summary-container .total-due-today{border-color:#bfcfaf;color:var(--hy-accent)}
body.hyrca-theme #order-standard_cart .view-cart-items-header{background:#e7ebdc;color:#34482c;border-radius:11px 11px 0 0;padding:16px}
body.hyrca-theme #order-standard_cart .view-cart-items .item,body.hyrca-theme #order-standard_cart .view-cart-items .item:nth-child(even){background:transparent;color:var(--hy-text);border-color:var(--hy-border);padding:24px}
body.hyrca-theme #order-standard_cart .view-cart-items .item-title{color:var(--hy-text)}
body.hyrca-theme #order-standard_cart .view-cart-items .item-group{color:var(--hy-muted)}
body.hyrca-theme #order-standard_cart .domain-selection-options .option-selected{background:#eef3e5;border-color:#879c70}
body.hyrca-theme #order-standard_cart .domain-checker-bg{background:radial-gradient(ellipse at left top,#e7ebdc,transparent 70%);padding:35px;border-radius:12px}
body.hyrca-theme #order-standard_cart .domain-checker-container p{color:var(--hy-muted)}
body.hyrca-theme #order-standard_cart .domain-lookup-result{background:#fffefa;color:var(--hy-text);border-color:var(--hy-border)}
body.hyrca-theme #order-standard_cart .domain-lookup-result .domain-available{color:#31573e}
body.hyrca-theme #order-standard_cart .domain-lookup-result .domain-unavailable{color:#a3392b}
body.hyrca-theme #order-standard_cart .suggested-domains .panel-heading,body.hyrca-theme #order-standard_cart .suggested-domains .panel-footer{background:#eef1e6;border-color:var(--hy-border);color:var(--hy-text)}
body.hyrca-theme #order-standard_cart .spotlight-tld{background:#fffefa;border:1px solid #ced9c3;border-radius:10px;color:var(--hy-text)}
body.hyrca-theme #order-standard_cart .spotlight-tld .price{color:var(--hy-accent)}
body.hyrca-theme #order-standard_cart .sub-heading,body.hyrca-theme #order-standard_cart .sub-heading-borderless{border-color:var(--hy-border)}
body.hyrca-theme #order-standard_cart .sub-heading span,body.hyrca-theme #order-standard_cart .sub-heading-borderless span{background:var(--hy-bg);color:var(--hy-text);font-size:18px}
body.hyrca-theme #order-standard_cart label,body.hyrca-theme #order-standard_cart .field-label{color:#374b3b}
body.hyrca-theme #order-standard_cart .form-control,body.hyrca-theme #order-standard_cart .field{background:#ffffff;color:var(--hy-text);border:1px solid #899981;min-height:46px;border-radius:6px}
body.hyrca-theme #order-standard_cart .field::placeholder{color:#63705b}
body.hyrca-theme #order-standard_cart .field:focus,body.hyrca-theme #order-standard_cart .form-control:focus{border-color:var(--hy-accent);box-shadow:0 0 0 3px #31573e18}
body.hyrca-theme #order-standard_cart .btn-primary,body.hyrca-theme #order-standard_cart .btn-success{background:var(--hy-accent);border-color:var(--hy-accent);color:#ffffff;min-height:44px;border-radius:7px}
body.hyrca-theme #order-standard_cart .btn-default{background:#f1f3e9;color:var(--hy-accent);border-color:#a5b495;min-height:44px}
body.hyrca-theme #order-standard_cart .btn-link{color:var(--hy-accent)}
body.hyrca-theme #order-standard_cart .account-select-container,body.hyrca-theme #order-standard_cart .account-select-container div.account,body.hyrca-theme #order-standard_cart .cc-input-container{background:var(--hy-surface);color:var(--hy-text);border-color:var(--hy-border)}
body.hyrca-theme #order-standard_cart .account-select-container div.account.active{background:#e7ebdc;border-color:#90a57b}
@media(max-width:767px){body.hyrca-theme #order-standard_cart .cart-body,body.hyrca-theme #order-standard_cart .cart-sidebar{float:none;width:100%;padding-inline:0}body.hyrca-theme #order-standard_cart .domain-checker-bg{padding:22px 15px}body.hyrca-theme #order-standard_cart .order-summary{margin-top:25px;position:static!important}body.hyrca-theme #order-standard_cart .products .product .product-desc{padding:20px}}
body.hyrca-theme #order-standard_cart .products .product header{background:#eef1e6!important;color:var(--hy-text)!important}
body.hyrca-theme #order-standard_cart .products .product,body.hyrca-theme #order-standard_cart .order-summary{box-shadow:var(--hy-shadow)}
body.hyrca-theme #order-standard_cart .order-summary h2{background:#e7ebdc;border-radius:12px 12px 0 0;margin:0}
/* The parent's .amt uses 2.3em: size the amount itself, not its parent. */
body.hyrca-theme #order-standard_cart .order-summary{min-width:0;container-type:inline-size}
body.hyrca-theme #order-standard_cart .summary-container{min-width:0;max-width:100%}
body.hyrca-theme #order-standard_cart .order-summary .total-due-today{min-width:0;max-width:100%;font-size:14px;font-weight:500;line-height:1.8}
body.hyrca-theme #order-standard_cart .order-summary .total-due-today .amt{display:block;max-width:100%;font-size:clamp(20px,2vw,28px);font-size:clamp(20px,10cqi,28px);font-weight:700;line-height:1.5;white-space:normal;overflow-wrap:anywhere;word-break:normal}
body.hyrca-theme #order-standard_cart .order-summary .total-due-today .amt *{font-size:inherit;white-space:normal}
body.hyrca-theme #order-standard_cart .order-summary .total-due-today > span:not(.amt){margin-top:8px;font-size:13px;font-weight:500;line-height:1.8;white-space:normal}
body.hyrca-theme #order-standard_cart .summary-container .clearfix{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
body.hyrca-theme #order-standard_cart .summary-container .clearfix::before,
body.hyrca-theme #order-standard_cart .summary-container .clearfix::after{display:none}
body.hyrca-theme #order-standard_cart .summary-container .clearfix > span{float:none!important;min-width:0;max-width:65%;white-space:normal;overflow-wrap:anywhere}
/* Keep destructive actions distinct, with the original WHMCS click handler. */
body.hyrca-theme #order-standard_cart .empty-cart{display:flex;justify-content:flex-end;clear:both;margin:14px 0 20px;line-height:1.7}
body.hyrca-theme #order-standard_cart #btnEmptyCart{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:10px 14px;border:1px solid #e2c9bc;border-radius:12px;background:#f8eee8;color:#873b2c;font:600 13px/1.7 var(--hy-font);text-decoration:none;white-space:normal;cursor:pointer}
body.hyrca-theme #order-standard_cart #btnEmptyCart:hover{background:#f0ddd2;border-color:#d6b09f;color:#742d20;text-decoration:none}
body.hyrca-theme #order-standard_cart #btnEmptyCart :is(i,span){color:inherit}
body.hyrca-theme #order-standard_cart .view-cart-tabs{margin-top:0;border:1px solid #e4ddcf;border-radius:18px;background:#fffdf8;overflow:hidden}
body.hyrca-theme #order-standard_cart .view-cart-tabs .nav-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:10px;border:0;border-bottom:1px solid #e4ddcf;background:#f7f2e7}
body.hyrca-theme #order-standard_cart .view-cart-tabs .nav-item{margin:0;float:none}
body.hyrca-theme #order-standard_cart .view-cart-tabs .nav-link{display:flex;align-items:center;min-height:44px;margin:0;padding:8px 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:#535d55}
body.hyrca-theme #order-standard_cart .view-cart-tabs .nav-link.active{background:#fffdf8;border-color:#e4ddcf;color:#234332;font-weight:600}
body.hyrca-theme #order-standard_cart .view-cart-tabs .tab-content{padding:20px;border:0;background:#fffdf8}
body.hyrca-theme #order-standard_cart #applyPromo .prepend-icon{position:relative}
body.hyrca-theme #order-standard_cart #applyPromo .field-icon{position:absolute;inset-inline-start:0;inset-inline-end:auto;top:0;display:flex;align-items:center;justify-content:center;width:40px;height:48px;margin:0;color:#7a6a4d;pointer-events:none}
body.hyrca-theme #order-standard_cart #inputPromotionCode{padding-inline-start:44px;padding-inline-end:14px;min-height:48px}
body.hyrca-theme #order-standard_cart .order-summary .btn-checkout{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;white-space:normal}
body.hyrca-theme #order-standard_cart #totalDueToday.alert{font-size:clamp(18px,2vw,24px);line-height:1.8;white-space:normal;overflow-wrap:anywhere}
body.hyrca-theme #order-standard_cart .view-cart-items :is(.item-price,.item-title,.item-domain){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.hyrca-theme #order-standard_cart .view-cart-items .item-price > span:first-child{font-size:clamp(16px,2vw,22px);line-height:1.6}
/* Native VPS prefix inputs still submit; only their presentation is hidden. */
body.hyrca-theme #order-standard_cart [data-hyrca-ns-default] { display:none!important; }
/* Standard Cart gives description/footer 60%/40% widths; these are stacked cards. */
body.hyrca-theme #order-standard_cart .products .product { padding:0; }
body.hyrca-theme #order-standard_cart .products .product header { margin:0; }
body.hyrca-theme #order-standard_cart .products .product .product-desc,
body.hyrca-theme #order-standard_cart .products .product footer { float:none; width:100%; min-width:0; }
body.hyrca-theme #order-standard_cart .cart-body,
body.hyrca-theme #order-standard_cart .secondary-cart-body { min-width:0; }
body.hyrca-theme #order-standard_cart .products .product .product-pricing .price { display:inline; overflow-wrap:anywhere; }
@media(max-width:767px) {
  /* Parent cart columns already lose their side padding on phones. */
  body.hyrca-theme #order-standard_cart > .row:has(> .cart-body) { margin-inline:0; }
}
