/* Pythonorder: the same quiet surfaces and blue accents as the client navigation.
   WHMCS IDs and display states remain owned by the existing order scripts. */
.ph-order-experience {
    --dark-blue: var(--ph-ink);
    --blue: var(--ph-primary-action);
    --green: var(--ph-success);
    min-width: 0;
    max-width: 100%;
    color: var(--ph-ink);
    font-size: 14px;
    line-height: 1.9;
}
.ph-order-experience *, .ph-order-experience *::before, .ph-order-experience *::after { box-sizing: border-box; }
.ph-order-experience :is(h1, h2, h3, h4, p, label, .product-name, .item-title, .itemtitle) { overflow-wrap: anywhere; }
.ph-order-experience :is(h1, h2, h3, h4) { color: var(--ph-ink); line-height: 1.7 !important; }
.ph-order-experience #order-standard_cart { min-width: 0; color: var(--ph-ink); font-size: 14px; }
.ph-order-experience #order-standard_cart :is(.cart-body, .secondary-cart-body, .secondary-cart-sidebar) { min-width: 0; max-width: 100%; }
.ph-order-experience #order-standard_cart > .row { margin-inline: 0; }
.ph-order-experience #order-standard_cart .cart-body { width: 100%; float: none; padding: 0; }
.ph-order-experience #order-standard_cart .row { display: flex; flex-wrap: wrap; }
.ph-order-experience #order-standard_cart .row::before, .ph-order-experience #order-standard_cart .row::after { display: none; }
.ph-order-experience #order-standard_cart .row > * { min-width: 0; }
.ph-order-experience .whiteboard,
.ph-order-experience #order-standard_cart :is(.product, .domain-renewal, .service-renewal) {
    height: auto;
    min-width: 0;
    padding: 26px;
    margin: 0 0 20px;
    border: 1px solid var(--ph-line);
    border-radius: 20px;
    background: var(--ph-surface);
    color: var(--ph-ink);
    box-shadow: 0 4px 24px rgba(30, 52, 95, .025);
}
.ph-order-experience .whiteboard > h2,
.ph-order-experience #order-standard_cart .header-lined h1 {
    margin: 0 0 24px;
    padding: 0;
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 700;
    text-align: start;
}
.ph-order-experience .whiteboard > h2::before,
.ph-order-experience .whiteboard > h2::after,
.ph-order-experience #order-standard_cart .header-lined h1::after { display: none; }
.ph-order-experience #order-standard_cart .header-lined { border: 0; margin: 0 0 20px; padding: 0; }
.ph-order-experience :is(.ph-order-intro, .ph-order-hint, .field-help-text, .help-block, .product-group, .orderreceived) { color: var(--ph-muted); font-size: 13px; line-height: 1.9; opacity: 1; }
.ph-order-experience .ph-order-intro { margin-bottom: 26px; text-align: start; }
.ph-order-experience .ph-order-hint { padding: 16px; margin: 24px 0 0; border-radius: 12px; background: var(--ph-surface-alt); }
.ph-order-experience .ph-order-hint strong { color: var(--ph-ink); }

/* A compact progress trail that does not depend on absolute positioning. */
.ph-order-experience .Breadcrumb { width: 100%; margin: 0 0 24px; padding: 14px; gap: 6px; border: 1px solid var(--ph-line); border-radius: 16px; background: var(--ph-surface); counter-reset: ph-order-step; }
.ph-order-experience .Breadcrumb::before { display: none; }
.ph-order-experience .Breadcrumb > :is(a, div) { gap: 8px; min-width: 0; counter-increment: ph-order-step; color: var(--ph-muted); }
.ph-order-experience .Breadcrumb span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 0; border-radius: 9px; background: var(--ph-surface-alt); color: var(--ph-muted); }
.ph-order-experience .Breadcrumb span::before { content: counter(ph-order-step); font-size: 12px; font-weight: 600; }
.ph-order-experience .Breadcrumb p { position: static; width: auto; margin: 0; transform: none; color: inherit; font-size: 12px; line-height: 1.7; }
.ph-order-experience .Breadcrumb .active { color: var(--ph-primary); }
.ph-order-experience .Breadcrumb .active span { background: var(--ph-primary-soft); color: var(--ph-primary); }

/* Normalize legacy fields without changing names, plugin wrappers, or hidden inputs. */
.ph-order-experience :is(.form-control, .field, .inputEppcode, .RegisterDomainSearch > input, .myNewUserSignup input),
.ph-order-experience #order-standard_cart :is(.form-control, .field) {
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    height: auto;
    padding: 10px 14px !important;
    border: 1px solid var(--ph-line) !important;
    border-radius: 11px;
    background: var(--ph-surface-alt) !important;
    color: var(--ph-ink) !important;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    box-shadow: none;
}
.ph-order-experience #order-standard_cart :is(input, select, textarea):focus,
.ph-order-experience :is(.myNewUserSignup input, .RegisterDomainSearch > input):focus { border-color: var(--ph-primary) !important; outline: 3px solid var(--ph-primary-soft); outline-offset: 1px; }
.ph-order-experience :is(input, textarea)::placeholder { color: var(--ph-muted); opacity: 1; font-size: 13px; letter-spacing: 0; }
.ph-order-experience :is(input[type=email], input[type=tel], #inputDomain, #inputTransferDomain, #inputAuthCode, .inputEppcode, .nameserversdom input) { direction: ltr; text-align: start; }
.ph-order-experience #order-standard_cart label { display: block; width: auto; height: auto; margin: 0 0 8px !important; padding: 0; border: 0; border-radius: 0; color: var(--ph-ink) !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.8; text-align: start; cursor: default; }
.ph-order-experience #order-standard_cart :is(label.radio, label.radio-inline, label.checkbox-inline, .nowIP label:last-child, .panel-addon label) { display: flex; align-items: center; justify-content: flex-start; gap: 9px; cursor: pointer; }
.ph-order-experience #order-standard_cart :is(.iradio_square-blue, .icheckbox_square-blue) { position: relative !important; inset: auto !important; flex: 0 0 22px; visibility: visible; z-index: auto; }
.ph-order-experience input:is([type=checkbox], [type=radio]) { width: 18px; height: 18px; min-height: 0; flex: 0 0 18px; margin: 0; accent-color: var(--ph-primary-action); }
.ph-order-experience #order-standard_cart .prepend-icon .field-icon { position: absolute; display: grid; place-items: center; width: 42px; height: 46px; margin: 0 !important; color: var(--ph-muted) !important; }
.ph-order-experience #order-standard_cart .prepend-icon .field { padding-inline-start: 44px !important; }
.ph-order-experience #order-standard_cart .input-group { display: flex; align-items: stretch; min-width: 0; }
.ph-order-experience #order-standard_cart .input-group .form-control { flex: 1; width: 1%; }
.ph-order-experience #order-standard_cart :is(.input-group-addon, .input-group-text) { border-color: var(--ph-line); background: var(--ph-surface-alt); color: var(--ph-muted); font-size: 13px; }
.ph-order-experience #order-standard_cart .input-group-addon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: auto; padding: 10px 12px; }
.ph-order-experience #order-standard_cart .input-group-addon .input-group-text { border: 0; background: transparent; }
.ph-order-experience .domainInputGroup .input-group { direction: ltr; }
.ph-order-experience #order-standard_cart textarea.form-control { min-height: 116px; resize: vertical; }
.ph-order-experience #order-standard_cart :is(input, select, textarea):disabled { background: var(--ph-surface-alt) !important; color: var(--ph-muted) !important; opacity: .7; }
.ph-order-experience #order-standard_cart .field-error-msg { color: var(--ph-danger); }
.ph-order-experience #order-standard_cart .field-help-text { color: var(--ph-muted) !important; }

.ph-order-experience :is(.btn, .chooseProduct, .btnDomainContinue, .submitdns, .cantiniu, #btnCompleteOrder, #btnCompleteProductConfig, #applyPromo button) {
    min-height: 44px;
    height: auto;
    max-width: 100%;
    padding: 10px 18px;
    border: 1px solid var(--ph-line);
    border-radius: 11px;
    background: var(--ph-surface-alt);
    color: var(--ph-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    white-space: normal;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .18s, border-color .18s, color .18s;
}
.ph-order-experience :is(.chooseProduct, .cantiniu, #btnCompleteProductConfig) { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.ph-order-experience :is(.btn-primary, .btn-success, .chooseProduct, .btnDomainContinue, .submitdns, .cantiniu, #btnCompleteOrder, #btnCompleteProductConfig, #applyPromo button, .btn-add-to-cart),
.ph-order-experience #order-standard_cart :is(.btn-primary, .btn-success, .btn-add-to-cart) { background: var(--ph-primary-action) !important; border-color: var(--ph-primary-action) !important; color: #fff !important; }
.ph-order-experience :is(.btn-primary, .btn-success, .chooseProduct, .btnDomainContinue, .submitdns, .cantiniu, #btnCompleteOrder, #btnCompleteProductConfig, #applyPromo button, .btn-add-to-cart):hover { filter: brightness(.96); gap: 9px; }
.ph-order-experience :is(a, button):focus-visible { outline: 3px solid var(--ph-primary); outline-offset: 3px; }
.ph-order-experience :is(button, .btn):disabled, .ph-order-experience .btn.disabled { opacity: .55; cursor: not-allowed; }
.ph-order-experience #order-standard_cart .btn-link { border-color: transparent; background: transparent; color: var(--ph-primary); }
.ph-order-experience #order-standard_cart .alert { border: 1px solid var(--ph-line); border-radius: 13px; padding: 16px 18px; background: var(--ph-surface-alt); color: var(--ph-ink); font-size: 13px; line-height: 1.9; }
.ph-order-experience #order-standard_cart .alert-danger, .ph-order-experience .alert-danger { color: var(--ph-danger); border-color: var(--ph-danger); background: var(--ph-surface); }
.ph-order-experience #order-standard_cart .alert-warning, .ph-order-experience .alert-warning { color: var(--ph-warning); border-color: var(--ph-line); background: var(--ph-surface-alt); }
.ph-order-experience #order-standard_cart .alert-success, .ph-order-experience .alert-success { color: var(--ph-success); border-color: var(--ph-line); background: var(--ph-surface-alt); }
.ph-order-experience #order-standard_cart .alert-info, .ph-order-experience .alert-info { color: var(--ph-primary); border-color: var(--ph-line); background: var(--ph-primary-soft); }

/* Product tiles and domain choices. */
.ph-order-experience #order-standard_cart #products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
.ph-order-experience #products > .whiteboard { display: flex; flex-direction: column; gap: 12px; margin: 0 !important; text-align: start; }
.ph-order-experience #products > .whiteboard::before { display: none; }
.ph-order-experience #products > .whiteboard h2 { margin: 0; }
.ph-order-experience #products .product-pricing { width: auto; float: none; margin: 12px 0 16px; color: var(--ph-muted); }
.ph-order-experience #products .product-pricing .price { display: block; text-align: start; color: var(--ph-ink); font-size: 26px; font-weight: 700; }
.ph-order-experience #products .product-pricing p { margin: 6px 0; }
.ph-order-experience #products .pricepriode { float: none; color: var(--ph-muted); font-size: 12px; }
.ph-order-experience #products .chooseProduct { width: 100%; margin-top: auto; }
.ph-order-experience #products .qty { align-self: flex-start; padding: 3px 9px; border-radius: 7px; background: var(--ph-primary-soft); color: var(--ph-primary); font-size: 11px; }
.ph-order-experience #order-standard_cart .domain-selection-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.ph-order-experience #order-standard_cart .domain-selection-options > label { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 60px; width: 100%; margin: 0 !important; padding: 14px 16px; border: 1px solid var(--ph-line); border-radius: 12px; background: var(--ph-surface-alt); font-weight: 400 !important; cursor: pointer; }
.ph-order-experience #order-standard_cart .domain-selection-options > label:is(.active, :has(input:checked), :has(.checked)) { border-color: var(--ph-primary); background: var(--ph-primary-soft); color: var(--ph-primary) !important; }
.ph-order-experience #order-standard_cart .domain-input-group.clearfix { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px !important; padding: 0; }
.ph-order-experience .domainInputGroup { grid-template-columns: minmax(0, 2fr) minmax(90px, 1fr) minmax(90px, 1fr); gap: 12px; }
.ph-order-experience :is(.domainfield, .cartdomain) { display: grid; grid-template-columns: minmax(0, 3fr) minmax(100px, 1fr); gap: 12px; align-items: center; }
.ph-order-experience #order-standard_cart #frmProductDomain select, .ph-order-experience #order-standard_cart #frmProductDomain #owndomaintld { border: 1px solid var(--ph-line) !important; }
.ph-order-experience .forblur :is(#owndomaintld, #owndomainsld, .input-group) { filter: none; opacity: .45; }
.ph-order-experience .RegisterDomainSearch { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 10px; width: 100%; max-width: none; height: auto; padding: 0; margin: 0 0 28px; border: 0; }
.ph-order-experience .RegisterDomainSearch > input { width: 100%; min-height: 48px; text-align: start; }
.ph-order-experience .RegisterDomainSearch > button { width: auto; min-width: 118px; }
.ph-order-experience .RegisterDomainSearch > :is(.col-md-8, .captcha-container) { grid-column: 1 / -1; float: none; width: 100%; margin: 0; }
.ph-order-experience .domain-pricing { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; height: auto; max-height: 450px; margin: 28px 0 0; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.ph-order-experience .domain-pricing .tldprice { gap: 8px; min-height: 105px; height: auto; padding: 18px 12px; border: 1px solid var(--ph-line); border-radius: 12px; background: var(--ph-surface-alt); }
.ph-order-experience .domain-pricing strong { position: static; width: auto; max-width: 100%; transform: none; background: none; -webkit-text-fill-color: currentColor; color: var(--ph-ink); font-size: 20px; overflow-wrap: anywhere; }
.ph-order-experience .domain-pricing span { color: var(--ph-muted); font-size: 13px; font-weight: 400; }
.ph-order-experience :is(.domainTlds, .spotlight-tlds-container) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ph-order-experience .spotlight-tld-container { width: auto; float: none; padding: 0; }
.ph-order-experience .spotlight-tld { height: auto !important; min-height: 132px; padding: 14px 10px !important; border: 1px solid var(--ph-line) !important; border-radius: 13px !important; background: var(--ph-surface-alt); color: var(--ph-ink) !important; }
.ph-order-experience .spotlight-tld .tldname { padding: 0 0 8px; font-size: 19px; font-weight: 600; }
.ph-order-experience .spotlight-tld .btn:not(.domain-contact-support) { width: 100%; min-height: 38px; white-space: normal; }
.ph-order-experience #order-standard_cart .domain-checker-result-headline { gap: 8px; flex-wrap: wrap; margin: 16px 0 !important; color: var(--ph-ink); font-size: 16px !important; line-height: 1.8; opacity: 1; }
.ph-order-experience #order-standard_cart .domain-checker-available { color: var(--ph-success); }
.ph-order-experience #order-standard_cart .domain-checker-unavailable { color: var(--ph-danger); }
.ph-order-experience #order-standard_cart #searchDomainInfo .domain-lookup-result .btn { width: auto !important; max-width: 100%; border-style: solid; }
.ph-order-experience #order-standard_cart #searchDomainInfo .domain-lookup-result .btn span { color: inherit; font-weight: 500; }
.ph-order-experience #frmDomainTransfer { width: 100%; max-width: 720px; margin: 0; }
.ph-order-experience .ph-transfer-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ph-order-experience #frmDomainTransfer .btn-transfer { margin: 24px 0; }
.ph-order-experience .default-captcha > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.ph-order-experience .default-captcha .form-control { width: 130px; }
.ph-order-experience .recaptcha-container { max-width: 100%; overflow: auto; }

/* Configuration and all summaries, including AJAX replacements. */
.ph-order-experience #frmConfigureProduct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); align-items: start; gap: 20px; }
.ph-order-experience #frmConfigureProduct > .configProduct { grid-column: 1; grid-row: 1; margin: 0; }
.ph-order-experience #frmConfigureProduct > .secondary-cart-sidebar { grid-column: 2; grid-row: 1; width: auto; height: auto; position: sticky; top: 108px; margin: 0; padding: 22px; border: 1px solid var(--ph-line); border-radius: 18px; background: var(--ph-surface); color: var(--ph-ink); }
.ph-order-experience .firstGridConfig { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ph-order-experience .configProduct .confiGrid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ph-order-experience #productConfigurableOptions { padding: 0; }
.ph-order-experience #order-standard_cart #productConfigurableOptions label { width: auto !important; position: static; text-align: start; justify-content: flex-start; }
.ph-order-experience #order-standard_cart .firstGridConfig .nowIP label:last-child { width: 100% !important; min-height: 46px; height: auto !important; padding: 11px 14px; border: 1px solid var(--ph-line) !important; border-radius: 11px; background: var(--ph-surface-alt); }
.ph-order-experience #order-standard_cart .sub-heading { border-top-color: var(--ph-line); margin: 30px 0 22px; text-align: start; }
.ph-order-experience #order-standard_cart .sub-heading span { padding: 0 12px; background: var(--ph-surface); color: var(--ph-ink); font-size: 15px; font-weight: 600; }
.ph-order-experience #order-standard_cart .panel-addon { overflow: hidden; border: 1px solid var(--ph-line); border-radius: 14px; background: var(--ph-surface-alt); color: var(--ph-ink); box-shadow: none; }
.ph-order-experience #order-standard_cart .panel-addon .panel-body, .ph-order-experience #order-standard_cart .panel-addon .card-body { background: transparent; color: var(--ph-muted); padding: 18px; font-size: 13px; }
.ph-order-experience #order-standard_cart .panel-addon :is(.panel-price, .panel-add) { border-color: var(--ph-line); padding: 12px 16px; background: transparent; color: var(--ph-ink); font-size: 13px; }
.ph-order-experience #order-standard_cart .panel-addon-selected { border-color: var(--ph-primary); background: var(--ph-primary-soft); }
.ph-order-experience #order-standard_cart .panel-addon-selected .panel-add { background: var(--ph-primary-soft); color: var(--ph-primary); }
.ph-order-experience .nameserversdom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; height: auto; }
.ph-order-experience #order-standard_cart .eppcode { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ph-order-experience #order-standard_cart .eppicon { display: none; }
.ph-order-experience .ph-hosting-status { display: inline-block; color: var(--ph-success); font-size: 12px; }
.ph-order-experience .ph-hosting-status-missing { color: var(--ph-warning); }
.ph-order-experience #order-standard_cart .irnic { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; max-width: 100%; height: auto; }
.ph-order-experience #order-standard_cart .irnic .form-control { width: 100%; min-width: 0; }
.ph-order-experience #orderSummary { position: relative; min-width: 0; color: var(--ph-ink); }
.ph-order-experience :is(.order-summary, #order-standard_cart .order-summary) { margin: 0 !important; padding: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--ph-ink); }
.ph-order-experience #orderSummary :is(h2, h3) { margin: 0 0 18px; color: var(--ph-ink); font-size: 16px; font-weight: 600; }
.ph-order-experience #orderSummary .summary-container { min-width: 0; padding: 0; background: transparent; color: var(--ph-ink); font-size: 13px; }
.ph-order-experience #orderSummary .product-name { position: static; display: block; margin: 0 0 4px; color: var(--ph-ink); font-size: 14px; font-weight: 600; opacity: 1; }
.ph-order-experience #orderSummary .product-group { display: block; color: var(--ph-muted); font-size: 12px; }
.ph-order-experience #frmConfigureProduct :is(.myconfigoptions, .summary-totals) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0; margin: 18px 0; font-size: 12px; text-align: start; }
.ph-order-experience #frmConfigureProduct :is(.myconfigoptions, .summary-totals) > div,
.ph-order-experience .viewcartt .summary-container > div { display: flex; justify-content: space-between; align-items: start; gap: 14px; text-align: start; }
.ph-order-experience #orderSummary :is(.myconfigoptions, .summary-totals) > div > span { min-width: 0; overflow-wrap: anywhere; }
.ph-order-experience #orderSummary :is(.myconfigoptions, .summary-totals) > div > span:last-child { flex: 0 0 auto; max-width: 55%; font-weight: 500; text-align: end; }
.ph-order-experience #orderSummary .ph-summary-divider { margin: 18px 0; border: 0; border-top: 1px solid var(--ph-line); opacity: 1; }
.ph-order-experience #orderSummary .total-due-today { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--ph-line); text-align: start; }
.ph-order-experience #orderSummary .total-due-today .amt { position: static; display: block; margin: 0; color: var(--ph-ink); font-size: 22px !important; font-weight: 700; overflow-wrap: anywhere; }
.ph-order-experience #orderSummary .total-due-today span:last-child { display: block; color: var(--ph-muted); font-size: 12px; }
.ph-order-experience #btnCompleteProductConfig { float: none; width: 100%; margin: 18px 0 0; }
.ph-order-experience #orderSummaryLoader, .ph-order-experience #order-standard_cart .order-summary .loader { position: absolute !important; inset: 0 !important; width: 100%; height: 100% !important; padding: 0 !important; transform: none; background: var(--ph-surface-alt); color: var(--ph-primary) !important; border-radius: 12px; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: .96; }
.ph-order-experience #orderSummaryLoader i { font-size: 26px; }
.ph-order-experience #order-standard_cart .order-summary .recurring-charges { color: var(--ph-muted) !important; }
.ph-order-experience .order-summary .summary-totals { margin-top: 18px; padding: 16px 0; border-color: var(--ph-line); }
.ph-order-experience .order-summary .clearfix { margin-bottom: 10px; overflow-wrap: anywhere; }
.ph-order-experience .irs-line, .ph-order-experience .irs-line-left, .ph-order-experience .irs-line-mid, .ph-order-experience .irs-line-right { background: var(--ph-line) !important; }
.ph-order-experience .irs :is(.irs-min, .irs-max, .irs-grid-text) { background: var(--ph-surface-alt) !important; color: var(--ph-muted) !important; }
.ph-order-experience .irs :is(.irs-bar, .irs-bar-edge, .irs-single) { background: var(--ph-primary-action) !important; border-color: var(--ph-primary-action) !important; color: #fff !important; }

/* Cart, checkout, renewal and final states. */
.ph-order-experience #order-standard_cart.viewcartt > .left { width: 100%; min-width: 0; }
.ph-order-experience .viewcartt .top { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 20px; height: auto; margin: 0 0 20px; }
.ph-order-experience .viewcartt :is(.top-right, .top-left) { width: auto; min-width: 0; height: auto; padding: 24px; border: 1px solid var(--ph-line); border-radius: 18px; background: var(--ph-surface); color: var(--ph-ink); }
.ph-order-experience .viewcartt #promoheight { width: 100%; height: auto; padding: 0; }
.ph-order-experience #promoheight h4 { margin: 0 0 16px; color: var(--ph-ink); font-size: 15px; }
.ph-order-experience #applyPromo form > div { gap: 10px; }
.ph-order-experience #order-standard_cart .view-cart-promotion-code { border: 1px solid var(--ph-line) !important; border-radius: 11px; background: var(--ph-surface-alt); color: var(--ph-success); overflow-wrap: anywhere; }
.ph-order-experience .viewcartt .pay-cart { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--ph-line); }
.ph-order-experience .viewcartt .pay-cart .total-due-today { padding: 0; margin: 0 !important; border: 0; }
.ph-order-experience .viewcartt .summary-container > div > span { float: none; color: var(--ph-muted); opacity: 1; font-size: 13px !important; }
.ph-order-experience .viewcartt .summary-container > div > span:last-child { color: var(--ph-ink); }
.ph-order-experience .viewcartt #recurring { display: grid; gap: 8px; min-width: 0; }
.ph-order-experience .viewcartt #recurring > span { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.ph-order-experience #order-standard_cart .view-cart-items { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.ph-order-experience #order-standard_cart .view-cart-items .item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; height: auto; background: transparent; border: 0; border-bottom: 1px solid var(--ph-line); border-radius: 0; color: var(--ph-ink); }
.ph-order-experience .view-cart-items .item > .row { flex: 1 1 100%; }
.ph-order-experience .view-cart-items .item:last-child { border-bottom: 0 !important; }
.ph-order-experience .viewcartt .iteminfo { flex: 1 1 220px; min-width: 0; gap: 7px; }
.ph-order-experience .viewcartt :is(.itemtitle, .item-title) { color: var(--ph-ink); font-size: 14px; font-weight: 600; line-height: 1.9; }
.ph-order-experience .viewcartt .itemtitle > :is(button, a) { display: inline-grid; place-items: center; width: 34px; height: 34px; margin: 0 4px; border: 0; border-radius: 9px; background: var(--ph-surface-alt); color: var(--ph-muted); font-size: 16px; vertical-align: middle; }
.ph-order-experience .viewcartt .itemtitle > button:hover { color: var(--ph-danger); }
.ph-order-experience .viewcartt :is(.itemdomain, .item-domain, .item small, .item-group, .cycle) { color: var(--ph-muted); opacity: 1; font-size: 12px; overflow-wrap: anywhere; }
.ph-order-experience .viewcartt :is(.itemprice, .item-price) { min-width: 0; max-width: 100%; padding: 0; margin: 0; color: var(--ph-ink); font-size: 15px; font-weight: 600; text-align: end; }
.ph-order-experience .viewcartt .itemprice::before { display: none; }
.ph-order-experience .viewcartt .itemqty { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ph-order-experience .viewcartt .itemqty input { width: 76px; }
.ph-order-experience .viewcartt .itemqty button { min-height: 38px; }
.ph-order-experience #frmCheckout { max-width: 900px; margin: 0 auto; }
.ph-order-experience .myNewUserSignup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.ph-order-experience .myNewUserSignup > div { min-width: 0; height: auto; }
.ph-order-experience .myNewUserSignup > div > i { color: var(--ph-muted); font-size: 18px; }
.ph-order-experience .myNewUserSignup input { width: 100%; min-height: 48px; padding: 10px 14px !important; padding-right: 44px !important; }
.ph-order-experience .myNewUserSignup .intl-tel-input, .ph-order-experience .myNewUserSignup .iti { width: 100%; }
.ph-order-experience .myNewUserSignup .intl-tel-input input, .ph-order-experience .myNewUserSignup .iti input { padding-left: 92px !important; }
.ph-order-experience .myNewUserSignup .generate-password { color: var(--ph-primary); }
.ph-order-experience #frmCheckout #totalDueToday { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 28px 0; padding: 18px 20px; border: 1px solid var(--ph-line); border-radius: 13px; background: var(--ph-primary-soft); color: var(--ph-ink); }
.ph-order-experience #totalCartPrice { font-size: 21px; font-weight: 700; }
.ph-order-experience #order-standard_cart .account-select-container { display: grid; gap: 10px; }
.ph-order-experience #order-standard_cart .account-select-container .account { border: 1px solid var(--ph-line); border-radius: 12px; background: var(--ph-surface-alt); color: var(--ph-ink); }
.ph-order-experience #order-standard_cart .account-select-container .account.active { border-color: var(--ph-primary); background: var(--ph-primary-soft); }
.ph-order-experience #order-standard_cart .account-select-container .account label { min-height: 52px; padding: 14px; margin: 0 !important; }
.ph-order-experience #order-standard_cart .account-select-container .account .address { color: var(--ph-ink); overflow-wrap: anywhere; }
.ph-order-experience #order-standard_cart .ph-payment-options { margin: 26px 0; }
.ph-order-experience .ph-payment-options h3 { margin: 0 0 14px; font-size: 15px; }
.ph-order-experience #order-standard_cart .ph-payment-option { display: inline-flex; min-height: 48px; margin: 0 0 10px 10px !important; padding: 12px 16px; border: 1px solid var(--ph-line); border-radius: 11px; background: var(--ph-surface-alt); }
.ph-order-experience #order-standard_cart .ph-payment-option:has(:checked), .ph-order-experience #order-standard_cart .ph-payment-option:has(.checked) { border-color: var(--ph-primary); background: var(--ph-primary-soft); }
.ph-order-experience #order-standard_cart .creditoptions { display: grid; gap: 10px; }
.ph-order-experience #order-standard_cart .ph-order-terms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0; font-size: 13px; }
.ph-order-experience #btnCompleteOrder { position: static; width: auto; min-width: 220px; margin: 18px auto 0; }
.ph-order-experience #order-standard_cart :is(.domain-renewal, .service-renewal) h3 { font-size: 18px; margin: 0 0 8px; }
.ph-order-experience #order-standard_cart .service-renewal h4 { font-size: 14px; color: var(--ph-muted); }
.ph-order-experience #order-standard_cart :is(.domain-renewal, .service-renewal) p { color: var(--ph-muted); font-size: 12px; }
.ph-order-experience #order-standard_cart .label { display: inline-block; max-width: 100%; padding: 5px 9px; border-radius: 7px; background: var(--ph-surface-alt); color: var(--ph-muted); font-size: 11px; font-weight: 500; white-space: normal; line-height: 1.7; }
.ph-order-experience #order-standard_cart .label-success { color: var(--ph-success); }
.ph-order-experience #order-standard_cart .label-warning { color: var(--ph-warning); }
.ph-order-experience #order-standard_cart .label-danger { color: var(--ph-danger); }
.ph-order-experience #order-standard_cart .label-info { background: var(--ph-primary-soft); color: var(--ph-primary); }
.ph-order-experience:is(.ph-order-domain-renewals, .ph-order-service-renewals) #order-standard_cart .cart-body > .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 280px); gap: 20px; margin-inline: 0; align-items: start; }
.ph-order-experience:is(.ph-order-domain-renewals, .ph-order-service-renewals) #scrollingPanelContainer { border: 1px solid var(--ph-line); border-radius: 16px; background: var(--ph-surface); padding: 22px !important; margin: 0 0 20px; }
.ph-order-experience .confrimticket { padding: 32px; text-align: start; }
.ph-order-experience .confrimticket h4 { margin: 0 0 18px; padding: 18px; border: 1px solid var(--ph-line); border-radius: 13px; background: var(--ph-primary-soft); color: var(--ph-ink); font-size: 17px; }
.ph-order-experience .confrimticket .orderconfirmation span { color: var(--ph-primary); }
.ph-order-experience .confrimticket .cantiniu { margin: 22px 0 0; }
.ph-order-experience #order-standard_cart .error-heading { font-size: 16px; }
.ph-order-experience #validationContent { height: min(700px, 75dvh); }
.ph-order-experience #order-standard_cart .product :is(header, footer, .product-desc, .product-pricing) { width: 100%; float: none; padding: 0; background: transparent; color: var(--ph-ink); }
.ph-order-experience #order-standard_cart .product header { border: 0; margin: 0 0 16px; font-size: 17px; }
.ph-order-experience #order-standard_cart .product .product-desc { min-height: 0; color: var(--ph-muted); }
.ph-order-experience #order-standard_cart .product footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 18px; }
.ph-order-experience #order-standard_cart .product .product-pricing { width: auto; margin: 0; }
.ph-order-experience #order-standard_cart .product .price { color: var(--ph-ink); font-size: 17px; font-weight: 600; }
.ph-order-experience .modal-content { border: 1px solid var(--ph-line); border-radius: 18px; background: var(--ph-surface); color: var(--ph-ink); box-shadow: 0 18px 70px rgba(0, 0, 0, .16); }
.ph-order-experience :is(.modal-header, .modal-footer) { border-color: var(--ph-line); padding: 18px 22px; }
.ph-order-experience .modal-body { padding: 22px; color: var(--ph-muted); }
.ph-order-experience .modal-body h4 { color: var(--ph-ink) !important; }
.ph-order-experience .ph-remove-title { margin: 12px 0 16px; font-size: 17px; }
.ph-order-experience .ph-remove-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ph-order-experience .modal .close { position: static; width: 34px; height: 34px; min-height: 34px; padding: 0; border: 0; border-radius: 9px; background: var(--ph-surface-alt); color: var(--ph-muted); font-size: 20px; opacity: 1; }
.ph-order-experience .modal .close .fa-3x { font-size: 20px; }
.ph-order-experience .product-recommendation { border-color: var(--ph-line) !important; border-radius: 13px; background: var(--ph-surface); color: var(--ph-ink); }
.ph-order-experience .product-recommendation :is(.header, .body) { background: var(--ph-surface-alt); color: var(--ph-ink); }
.ph-order-experience .product-recommendation :is(.price, .expander) { color: var(--ph-primary) !important; }
.ph-order-experience .product-recommendation :is(.btn-add, .arrow) { background: var(--ph-primary-action) !important; color: #fff; }
.ph-order-experience #order-standard_cart .mc-promo { border: 1px solid var(--ph-line); border-radius: 13px; background: var(--ph-surface); color: var(--ph-ink); overflow: hidden; }
.ph-order-experience #order-standard_cart .mc-promo .header { height: auto; min-height: 80px; background: var(--ph-surface); padding: 10px; }
.ph-order-experience #order-standard_cart .mc-promo .body { border-top: 1px solid var(--ph-line); background: var(--ph-surface-alt); color: var(--ph-muted); }
.ph-order-experience #order-standard_cart .mc-promo .cta { max-width: 100%; }
.ph-order-experience #order-standard_cart .mc-promo .btn-add { background: var(--ph-primary-action); color: #fff; }
.ph-order-experience #order-standard_cart :is(.view-cart-gateway-checkout, .view-cart-tabs .tab-content, .panel-taxes, .addon-promo-container) { background: var(--ph-surface-alt); border-color: var(--ph-line); border-radius: 12px; color: var(--ph-ink); }
.ph-order-experience #order-standard_cart .existing-cc-grid { grid-template-columns: 24px 30px minmax(90px, 1fr) minmax(80px, 1fr) minmax(70px, auto); max-width: 100%; overflow-x: auto; }

@media (max-width: 1100px) {
    .ph-order-experience #frmConfigureProduct { grid-template-columns: minmax(0, 1fr); }
    .ph-order-experience #frmConfigureProduct > .configProduct { grid-column: 1; grid-row: 1; }
    .ph-order-experience #frmConfigureProduct > .secondary-cart-sidebar { grid-column: 1; grid-row: 2; position: relative; top: auto; }
    .ph-order-experience .viewcartt .top { grid-template-columns: minmax(0, 1fr); }
    .ph-order-experience:is(.ph-order-domain-renewals, .ph-order-service-renewals) #order-standard_cart .cart-body > .row { grid-template-columns: minmax(0, 1fr); }
    .ph-order-experience .domain-pricing, .ph-order-experience :is(.domainTlds, .spotlight-tlds-container) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .ph-order-experience .whiteboard, .ph-order-experience #order-standard_cart :is(.product, .domain-renewal, .service-renewal), .ph-order-experience .viewcartt :is(.top-right, .top-left) { padding: 18px; border-radius: 16px; }
    .ph-order-experience .Breadcrumb { padding: 12px 5px; gap: 2px; border-radius: 13px; }
    .ph-order-experience .Breadcrumb > :is(a, div) { flex-direction: column; gap: 5px; }
    .ph-order-experience .Breadcrumb p { font-size: 10px; }
    .ph-order-experience #order-standard_cart #products,
    .ph-order-experience #order-standard_cart .domain-selection-options,
    .ph-order-experience :is(.firstGridConfig, .ph-transfer-fields, .myNewUserSignup, .nameserversdom, .domainInputGroup, .domainfield, .cartdomain) { grid-template-columns: minmax(0, 1fr); }
    .ph-order-experience .domain-pricing, .ph-order-experience :is(.domainTlds, .spotlight-tlds-container) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ph-order-experience .RegisterDomainSearch { grid-template-columns: minmax(0, 1fr); }
    .ph-order-experience .viewcartt .pay-cart { grid-template-columns: minmax(0, 1fr); }
    .ph-order-experience .viewcartt .pay-cart .btn-checkout { width: 100%; }
    .ph-order-experience .viewcartt :is(.itemprice, .item-price) { text-align: start; }
    .ph-order-experience #order-standard_cart .domain-renewal > .float-right,
    .ph-order-experience #order-standard_cart .service-renewal > .float-right { float: none !important; margin-bottom: 10px; }
    .ph-order-experience #order-standard_cart .domain-renewals-filter { width: 100%; }
    .ph-order-experience #btnCompleteOrder { width: 100%; min-width: 0; }
    .ph-order-experience #order-standard_cart .account-select-container > .col-sm-12 { padding: 0; }
    .ph-order-experience #order-standard_cart .ph-payment-option { display: flex; width: 100%; margin-inline: 0 !important; }
    .ph-order-experience #orderSummary :is(.myconfigoptions, .summary-totals) > div > span:last-child { max-width: 60%; }
    .ph-order-experience #order-standard_cart .form-horizontal .control-label { text-align: start; }
    .ph-order-experience .modal-dialog { margin: 12px; }
    .ph-order-experience .modal-body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .ph-order-experience :is(.btn, button, a) { transition: none; }
}
