/* v3.4.14: consolidated front-end finishing touches. All operational logic stays in plugins. */
/* One dashboard link: preserve logged-in identity and sign-out in the Microsoft account bar. */
body #sp-account-strip .sp-account-strip-actions a.sp-account-strip-primary[href*="customer-dashboard"] { display:none !important; }
/* Place the remaining Dashboard control directly before the Place an order CTA. */
body .site-header .sp-site-nav-actions { display:flex !important; align-items:center !important; gap:8px !important; }
body .site-header .sp-site-nav-actions a.sp-site-signin { display:inline-flex !important; align-items:center !important; justify-content:center !important; background:#09161e !important; color:#fff !important; border:1px solid #09161e !important; border-radius:999px !important; min-height:39px !important; padding:9px 15px !important; font-weight:650 !important; line-height:1.2 !important; white-space:nowrap !important; text-decoration:none !important; box-shadow:0 2px 6px rgba(9,22,30,.1) !important; }
body .site-header .sp-site-nav-actions a.sp-site-signin:hover,body .site-header .sp-site-nav-actions a.sp-site-signin:focus-visible { background:#193b50 !important; border-color:#193b50 !important; color:#fff !important; }
body .site-header .sp-site-nav-actions a.btn-header {white-space:nowrap !important;}
@media(max-width:980px){body .site-header .sp-site-nav-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;}body .site-header .sp-site-nav-actions a.sp-site-signin{width:100%!important}}
/* Selected-order details + timeline share the same row, filling the right side. */
@media(min-width:851px){
 body.page-customer-dashboard .sp-portal .sp-order-first > .sp-detail-grid,
 body.sp-customer-dashboard-refined .sp-portal .sp-order-first > .sp-detail-grid,
 body.page-customer-dashboard .sp-portal .sp-order-first > .sp-grid.sp-two.sp-detail-grid {
 display:grid !important; grid-template-columns:minmax(0,1.12fr) minmax(290px,.88fr) !important; column-gap:16px !important;align-items:start!important;max-width:none!important; width:100%!important; }
 body.page-customer-dashboard .sp-portal .sp-order-first > .sp-detail-grid > article:first-child {grid-column:1!important;grid-row:1!important;}
 body.page-customer-dashboard .sp-portal .sp-order-first > .sp-detail-grid > article.sp-timeline-card {grid-column:2!important;grid-row:1!important; margin-top:0!important;max-height:480px!important;overflow-y:auto!important;}
}
/* Cart spacing: the first selection starts near the navigation, panels are more horizontal. */
body.page-cart .spc-cart-theme-page > .section {padding-top:0!important;}
body.page-cart .spc-cart-theme-page .spc-wrap {padding-top:0!important;margin-top:0!important;}
body.page-cart .spc-cart-theme-page .spc-hero {padding:0 0 4px!important;margin:0 0 7px!important;}
body.page-cart .spc-cart-theme-page .spc-hero h1{font-size:clamp(28px,3.3vw,44px)!important;margin:4px 0!important;}
body.page-cart .spc-cart-theme-page section.spc-panel{padding:14px 20px!important;margin:8px 0!important;min-height:0!important;}
body.page-cart .spc-cart-theme-page section.spc-panel.spc-cart-item,body.page-cart .spc-cart-theme-page section.spc-panel.spc-next{align-items:center!important;gap:14px!important;}
body.page-cart .spc-cart-theme-page .spc-price{padding:9px 15px!important;min-width:145px!important;}
body.page-cart .spc-cart-theme-page .spc-steps{margin:8px 0!important;}
@media(max-width:850px){body.page-customer-dashboard .sp-portal .sp-order-first > .sp-detail-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;}body.page-customer-dashboard .sp-portal .sp-order-first > .sp-detail-grid > article.sp-timeline-card{grid-column:auto!important;grid-row:auto!important;}}
