/* Cart surfaces: all native totals, hooks, item controls and form names stay intact. */
.ph-cart-redesign #order-standard_cart.viewcartt > .left { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:20px; align-items:start; }
.ph-cart-redesign #order-standard_cart .left > .top { display:flex!important; flex-direction:column; gap:16px; grid-column:2; grid-row:1; position:sticky; top:94px; margin:0; }
.ph-cart-redesign #order-standard_cart .left > .whiteboard { grid-column:1; grid-row:1; padding:24px; border-radius:16px; }
.ph-cart-redesign #order-standard_cart .left:has(> .ph-cart-alerts > .alert) > :is(.top,.whiteboard) { grid-row:2; }
.ph-cart-redesign #order-standard_cart .top-right,
.ph-cart-redesign #order-standard_cart .top-left { position:static; padding:20px; border-radius:16px; margin:0; }
.ph-cart-redesign .ph-cart-section-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid var(--ph-line); }
.ph-cart-redesign .ph-cart-section-top .ph-flow-heading { margin:0; padding:0; border:0; }
.ph-cart-redesign .ph-flow-heading h2 { font-size:16px; }
.ph-cart-redesign .ph-flow-heading p { font-size:10px; margin:3px 0 0; }
.ph-cart-redesign .ph-flow-icon { flex:0 0 36px; width:36px; height:36px; border-radius:11px; }
.ph-cart-redesign .ph-flow-icon i { width:18px; height:18px; font-size:18px; }
.ph-cart-redesign .ph-cart-items-count { position:static!important; flex-shrink:0; width:auto; height:auto; padding:4px 9px; border:1px solid var(--ph-line); border-radius:8px; color:var(--ph-muted); font-size:10px; background:var(--ph-surface-alt); }
.ph-cart-redesign .ph-cart-toolbar { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 18px; }
.ph-cart-redesign .ph-cart-toolbar a { padding:6px 10px; border:1px solid var(--ph-line); border-radius:8px; font-size:10px; color:var(--ph-muted); background:var(--ph-surface); text-decoration:none; }
.ph-cart-redesign .ph-cart-toolbar a:hover { border-color:var(--ph-primary); color:var(--ph-primary); }
.ph-cart-redesign .ph-cart-toolbar i { width:14px; height:14px; font-size:14px; }
/* Each item reads as an identity, details, and a compact price footer. */
.ph-cart-redesign #order-standard_cart .view-cart-items { display:flex; flex-direction:column; gap:14px; }
.ph-cart-redesign #order-standard_cart .view-cart-items .item,
.ph-cart-redesign #order-standard_cart .view-cart-items .item:first-child { position:relative; display:flex; flex-wrap:wrap; align-items:start; gap:16px; padding:20px!important; margin:0; border:1px solid var(--ph-line)!important; border-radius:14px; background:var(--ph-surface)!important; }
.ph-cart-redesign #order-standard_cart .iteminfo { display:flex; flex-direction:column; position:relative; flex:1 1 100%; padding:0 48px 0 0; gap:8px; min-width:0; }
.ph-cart-redesign #order-standard_cart .iteminfo > .ph-cart-item-icon { position:absolute; right:0; top:2px; display:grid!important; place-items:center; width:34px; height:34px; margin:0; padding:0; border:0; border-radius:10px; background:var(--ph-primary-soft); color:var(--ph-primary); }
.ph-cart-redesign #order-standard_cart .ph-cart-item-icon > i { display:grid; place-items:center; width:18px; height:18px; margin:0; padding:0; font-size:18px; line-height:1; }
.ph-cart-redesign #order-standard_cart .itemtitle { display:flex!important; flex-direction:column!important; align-items:start; gap:4px; padding-inline-end:70px; margin:0; font-size:10px; color:var(--ph-muted); font-weight:400; }
.ph-cart-redesign .itemtitle strong { font-size:15px; font-weight:600; color:var(--ph-ink); }
.ph-cart-redesign #order-standard_cart .iteminfo .ph-cart-item-kind { padding:0; margin:0; border:0; background:transparent; color:var(--ph-muted); font-size:10px; }
.ph-cart-redesign .ph-cart-item-actions { position:absolute; z-index:1; left:18px; top:20px; display:flex!important; align-items:center; gap:6px; }
.ph-cart-redesign .ph-cart-item-actions :is(a,button) { display:grid; place-items:center; width:29px; height:29px; min-height:29px; padding:0; margin:0; border:0; border-radius:8px; background:var(--ph-surface-alt); color:var(--ph-muted); }
.ph-cart-redesign .ph-cart-item-actions i { width:15px; height:15px; font-size:15px; }
.ph-cart-redesign .ph-cart-item-actions a:hover { color:var(--ph-primary); background:var(--ph-primary-soft); }
.ph-cart-redesign .ph-cart-item-actions button:hover { color:var(--ph-danger); }
.ph-cart-redesign #order-standard_cart .itemdomain { font-size:16px; font-weight:600; color:var(--ph-ink); line-height:1.8; margin:0; }
.ph-cart-redesign #order-standard_cart .ph-cart-domain .itemdomain { width:100%; text-align:right; padding-inline-start:70px; }
.ph-cart-redesign #order-standard_cart .ph-cart-product .itemdomain { font-size:11px; font-weight:400; color:var(--ph-muted); }
.ph-cart-redesign :is(.ph-cart-resource-list,.ph-cart-addon-list) { display:flex; flex-wrap:wrap; gap:6px; margin:4px 0 0; }
.ph-cart-redesign .ph-cart-addon-list:empty { display:none; }
.ph-cart-redesign #order-standard_cart .iteminfo small { padding:3px 7px; font-size:10px; border:0; border-radius:5px; background:var(--ph-surface-alt); color:var(--ph-muted); }
.ph-cart-redesign #order-standard_cart .itemprice { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 16px; flex:1 1 100%; width:100%; border-top:1px solid var(--ph-line); padding:14px 0 0; margin:0; font-size:14px; }
.ph-cart-redesign .ph-cart-item-price-value { grid-column:2; grid-row:1; color:var(--ph-ink); font-size:14px; font-weight:600; text-align:left; }
.ph-cart-redesign #order-standard_cart .itemprice > :is(.cycle,.domainproide) { grid-column:1; grid-row:1; justify-self:start; color:var(--ph-muted); font-size:11px; font-weight:400; }
.ph-cart-redesign #order-standard_cart .domainproide > button { min-height:30px; padding:4px 10px; border:1px solid var(--ph-line); border-radius:7px; background:var(--ph-surface-alt); color:var(--ph-ink); font-size:11px; }
.ph-cart-redesign #order-standard_cart .itemqty { display:flex; gap:8px; align-items:center; flex:1 1 100%; }
.ph-cart-redesign #order-standard_cart .itemqty input { width:58px; min-height:34px; font-size:11px; }
.ph-cart-redesign #order-standard_cart .itemqty button { min-height:34px; font-size:10px; padding:5px 8px; }
.ph-cart-redesign #order-standard_cart .summary-container > div { padding:8px 0; gap:10px; }
.ph-cart-redesign #order-standard_cart .summary-container > div:has(> #recurring):not(:has(> #recurring > span:not([style*="display:none"]):not([style*="display: none"]))) { display:none; }
.ph-cart-redesign #order-standard_cart .summary-container > div > span { font-size:11px!important; line-height:1.9; color:var(--ph-muted)!important; }
.ph-cart-redesign #order-standard_cart .summary-container > div > span:last-child { color:var(--ph-ink)!important; font-weight:500; }
.ph-cart-redesign #order-standard_cart .summary-container > div > span:last-child { text-align:end; }
.ph-cart-redesign #order-standard_cart #recurring,
.ph-cart-redesign #order-standard_cart #recurring .cost { color:var(--ph-ink)!important; }
.ph-cart-redesign #order-standard_cart #recurring .cyc { color:var(--ph-muted)!important; }
.ph-cart-redesign #order-standard_cart .summary-container > .pay-cart { display:flex; flex-direction:column; gap:14px; margin-top:14px; padding-top:16px; }
.ph-cart-redesign #order-standard_cart .pay-cart .total-due-today { display:flex; flex-direction:column; align-items:flex-start; gap:6px; width:100%; padding:14px; border:1px solid var(--ph-line); border-radius:11px; background:var(--ph-surface-alt); }
.ph-cart-redesign #order-standard_cart .pay-cart .total-due-today::before { display:none; }
.ph-cart-redesign #order-standard_cart .ph-cart-total-label { color:var(--ph-muted)!important; font-size:10px; font-weight:400; }
.ph-cart-redesign #order-standard_cart .pay-cart .total-due-today .amt { color:var(--ph-ink)!important; font-size:19px!important; letter-spacing:-.4px; font-weight:600; }
.ph-cart-redesign #order-standard_cart .pay-cart .btn-checkout { display:flex; width:100%; min-height:44px; padding:11px 14px; justify-content:center; align-items:center; gap:10px; border:0; border-radius:9px; background:var(--ph-primary-action)!important; color:#fff!important; font-size:12px; font-weight:500; line-height:1.6; margin:0; text-decoration:none; box-shadow:none; }
.ph-cart-redesign #order-standard_cart .pay-cart .btn-checkout span { color:inherit!important; font-size:inherit; }
.ph-cart-redesign .btn-checkout i { width:17px; height:17px; font-size:17px; }
.ph-cart-redesign .ph-cart-checkout-note { margin:0; color:var(--ph-muted); font-size:9px; text-align:center; line-height:1.9; }
.ph-cart-redesign #order-standard_cart .top-left .ph-flow-heading { margin-bottom:16px; }
.ph-cart-redesign #applyPromo form > div { gap:8px; }
.ph-cart-redesign #order-standard_cart #inputPromotionCode { min-height:40px; text-align:left; padding:9px 12px; border-radius:9px; font-size:11px; }
.ph-cart-redesign #applyPromo button { min-height:40px; padding:8px 12px; border-radius:9px; font-size:10px; }
.ph-cart-redesign .view-cart-promotion-code { padding:12px; font-size:13px; text-align:center; }
.ph-cart-redesign #order-standard_cart .removepromo { margin-top:10px; min-height:30px; padding:5px 9px; font-size:10px; }
.ph-cart-redesign.is-empty #order-standard_cart.viewcartt > .left { display:block; }
.ph-cart-redesign.is-empty #order-standard_cart .left > .top { display:none!important; }
.ph-cart-redesign.is-empty .ph-cart-alerts:has(.alert) { margin-bottom:18px; }
.ph-cart-redesign.is-empty .view-cart-empty { padding:44px 20px 50px; }
.ph-cart-redesign.is-empty .ph-empty-symbol { position:relative; width:80px; height:80px; margin-bottom:24px; border-radius:25px; }
.ph-cart-redesign.is-empty .ph-empty-symbol > i { width:36px; height:36px; font-size:36px; }
.ph-cart-redesign .ph-cart-empty-plus { position:absolute; bottom:-4px; left:-6px; display:grid; place-items:center; width:28px; height:28px; border:4px solid var(--ph-surface); border-radius:10px; background:var(--ph-primary-action); color:#fff; font-size:18px; font-weight:400; }
.ph-cart-redesign.is-empty .view-cart-empty h3 { margin:0 0 12px; font-size:20px; font-weight:700; }
.ph-cart-redesign.is-empty .view-cart-empty p { margin:0 auto 24px; max-width:400px; color:var(--ph-muted); font-size:12px; line-height:2; }
.ph-cart-redesign .ph-cart-empty-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; }
.ph-cart-redesign .ph-cart-empty-actions .btn { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:44px; border-radius:10px; padding:10px 16px; font-size:12px; }
.ph-cart-redesign .ph-cart-empty-domain { display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border:1px solid var(--ph-line); border-radius:10px; color:var(--ph-ink); font-size:12px; text-decoration:none; }
.ph-cart-redesign .ph-cart-empty-actions i { width:17px; height:17px; font-size:17px; }
@media(max-width:1000px) {
    .ph-cart-redesign #order-standard_cart.viewcartt > .left { display:flex; flex-direction:column; }
    .ph-cart-redesign #order-standard_cart .left > .whiteboard { order:1; width:100%; }
    .ph-cart-redesign #order-standard_cart .left > .top { order:2; position:static; width:100%; display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; }
    .ph-cart-redesign #order-standard_cart .top-right { order:2; width:100%; }
    .ph-cart-redesign #order-standard_cart .top-left { order:1; width:100%; }
    .ph-cart-redesign.is-empty #order-standard_cart .left > .top { display:none!important; }
}
@media(max-width:640px) {
    .ph-cart-redesign #order-standard_cart .left > .top { display:flex!important; }
    .ph-cart-redesign #order-standard_cart .left > .whiteboard { padding:18px; }
    .ph-cart-redesign .ph-cart-section-top { align-items:flex-start; }
    .ph-cart-redesign .ph-flow-heading h2 { font-size:15px; }
    .ph-cart-redesign #order-standard_cart .view-cart-items .item,.ph-cart-redesign #order-standard_cart .view-cart-items .item:first-child { padding:14px!important; }
    .ph-cart-redesign #order-standard_cart .iteminfo { padding-right:42px; }
    .ph-cart-redesign #order-standard_cart .itemprice { width:100%; margin:0; font-size:13px; }
    .ph-cart-redesign .ph-cart-item-actions { left:14px; top:14px; }
    .ph-cart-redesign .ph-cart-item-price-value { font-size:13px; }
    .ph-cart-redesign #order-standard_cart .itemdomain { font-size:14px; }
    .ph-cart-redesign .itemtitle strong { font-size:13px; }
    .ph-cart-redesign.is-empty .view-cart-empty { padding:30px 0 34px; }
    .ph-cart-redesign.is-empty .view-cart-empty h3 { font-size:18px; }
    .ph-cart-redesign.is-empty .view-cart-empty p { font-size:11px; }
    .ph-cart-redesign .ph-cart-empty-actions { flex-direction:column; align-items:stretch; max-width:240px; margin:auto; gap:10px; }
    .ph-cart-redesign .ph-cart-empty-domain { justify-content:center; }
    .ph-cart-redesign.is-empty #order-standard_cart .left > .top { display:none!important; }
}
