/* SUMA commerce: clear prices, generous touch targets, light brand palette. */
.commercePage .content {padding-top:2.75rem}
.commerceHeading {max-width:48rem;margin:0 0 2rem}
.commerceHeading .eyebrow {color:var(--brand-text,var(--brand));font-size:.8rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.commerceHeading h1 {font-family:var(--font-display,system-ui,sans-serif);font-size:clamp(2.45rem,5vw,4.25rem);font-weight:800;letter-spacing:-.045em;line-height:1.08;margin:.8rem 0 1rem;color:var(--ink)}
.commerceHeading>p {font-size:1.15rem;line-height:1.65;max-width:43rem;color:var(--text);margin:0 0 2rem}
.commerceTabs {display:flex;gap:1.8rem;border-bottom:1px solid var(--line);margin-bottom:2rem}
.commerceTabs>a {display:flex;align-items:center;gap:.6rem;padding:.8rem .1rem 1rem;border-bottom:3px solid transparent;margin-bottom:-1px;color:var(--muted);text-decoration:none;font-size:1rem;font-weight:700;min-height:3.5rem}
.commerceTabs>a[aria-current=page] {border-color:var(--brand);color:var(--brand-text,var(--brand))}
.commerceCount {display:inline-flex;min-width:1.65rem;height:1.65rem;padding:0 .4rem;align-items:center;justify-content:center;background:var(--soft);border-radius:999px;font-size:.85rem;color:var(--brand-text,var(--brand));font-variant-numeric:tabular-nums}
.commerceMessage:empty {display:none}
.commerceMessage {margin:0 0 1.3rem}
.commerceMessage,.commerceOrderStatus {scroll-margin-top:6.5rem}
.commerceMessage:focus,.commerceOrderStatus:focus {outline:none}
.commerceMessage .notice {margin:0}
.commerceLayout {display:grid;grid-template-columns:minmax(0,1.65fr) minmax(18.5rem,1fr);gap:1.75rem;align-items:start}
.commerceList,.commerceOrders {display:grid;gap:1rem;min-width:0}
.commerceListHeading {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.3rem}
.commerceListHeading h2 {font-size:1.25rem;line-height:1.35;margin:0;font-weight:750;color:var(--ink)}
.commerceTextLink {border:0;background:none;padding:.5rem 0;color:var(--brand-text,var(--brand));font:inherit;font-size:.95rem;font-weight:700;text-decoration:underline;text-underline-offset:.2em;cursor:pointer;min-height:2.75rem;text-align:left}
.commerceTextLink:disabled {opacity:.55;cursor:wait}
.commerceItem {border:1px solid var(--line);border-radius:18px;background:var(--surface,#fff);padding:1.4rem;min-width:0}
.commerceItemTop {display:flex;justify-content:space-between;align-items:flex-start;gap:.8rem}
.commerceItemMain {min-width:0;flex:1}
.commerceItemDate {font-size:.875rem;font-weight:650;color:var(--brand-text,var(--brand));margin:0 0 .4rem;line-height:1.6}
.commerceItem h2,.commerceItem h3 {font-family:var(--font-display,system-ui,sans-serif);font-size:1.4rem;line-height:1.28;letter-spacing:-.02em;font-weight:750;margin:.25rem 0 .65rem;overflow-wrap:anywhere;color:var(--ink)}
.commerceItemPlace {font-size:.95rem;color:var(--muted);margin:0;overflow-wrap:anywhere;line-height:1.6}
.commerceRemove {flex:none;background:none;border:1px solid var(--line);border-radius:50%;width:2.75rem;height:2.75rem;display:grid;place-items:center;cursor:pointer;color:var(--muted);font-size:1.45rem;line-height:1}
.commerceRemove:hover {color:var(--danger);border-color:var(--danger);background:var(--surface)}
.commerceRemove:disabled {opacity:.5;cursor:wait}
.commerceItemPrice {display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding-top:1rem;margin-top:1.15rem;font-size:.95rem;color:var(--text)}
.commerceItemPrice strong {font-size:1.2rem;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.commerceExtras {margin:.8rem 0 0;font-size:.875rem;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.commerceExtras b {font-weight:650}
.commercePriceNote {margin:.5rem 0 0;font-size:.875rem;line-height:1.6;color:var(--text);overflow-wrap:anywhere}
.commerceEligibility {margin:.9rem 0 0;border-radius:9px;background:var(--soft);color:var(--text);padding:.7rem .85rem;font-size:.9rem;line-height:1.6}
.commerceItem.isUnavailable {border-color:var(--control-line,var(--line))}
.commerceGone {border:1px solid var(--control-line,var(--line));border-radius:18px;background:var(--soft);padding:1.4rem;margin:0 0 1.5rem;min-width:0}
.commerceGone h2 {font-size:1.25rem;line-height:1.35;margin:0 0 .7rem;font-weight:750;color:var(--ink)}
.commerceGoneList {list-style:none;margin:0 0 .9rem;padding:0;display:grid;gap:.6rem}
.commerceGoneList li {display:grid;gap:.15rem;overflow-wrap:anywhere}
.commerceGoneList strong {color:var(--ink);font-size:1.05rem;line-height:1.4}
.commerceGoneList span {color:var(--text);font-size:.95rem;line-height:1.5}
.commerceGone p {margin:0 0 1.1rem;color:var(--text);font-size:1rem;line-height:1.6}
.commerceGone a {color:var(--brand-text,var(--brand));font-weight:700;text-underline-offset:.2em}
.commerceGone .btn {min-height:3rem;background:var(--surface,#fff)}
.commerceSummary {position:sticky;top:6.5rem;border:1px solid var(--line);border-radius:20px;padding:1.6rem;background:var(--surface,#fff);box-shadow:0 12px 30px rgba(25,24,45,.035);min-width:0}
.commerceSummary h2 {font-family:var(--font-display,system-ui,sans-serif);font-size:1.45rem;letter-spacing:-.025em;font-weight:750;margin:0 0 1.2rem;color:var(--ink)}
.commerceSummary dl {margin:0}
.commerceSummary dl>div {display:flex;justify-content:space-between;gap:1rem;font-size:.95rem;color:var(--text);margin:.6rem 0}
.commerceSummary dd {margin:0;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.commerceSummary .commerceTotal {border-top:1px solid var(--line);margin:1.25rem 0 0;padding:1.25rem 0 .25rem;font-size:1.1rem;font-weight:750;color:var(--ink);align-items:baseline}
.commerceTotal dd {font-size:1.75rem;letter-spacing:-.03em}
.commerceCurrency {font-size:.8rem;color:var(--muted);margin:.2rem 0 1rem;text-align:right}
.commerceSummary .btn {width:100%;margin-top:.4rem;min-height:3.4rem;text-align:center;justify-content:center;white-space:normal;line-height:1.4}
.commerceFineprint {font-size:.875rem;color:var(--muted);line-height:1.65;margin:1rem 0 0;overflow-wrap:anywhere}
.commerceSummary .commerceFineprint:first-of-type {padding-bottom:1rem;margin-top:1rem}
.commerceIntegration {font-size:.95rem;line-height:1.6;padding:.9rem 1rem;border-radius:10px;background:var(--soft);color:var(--text);margin:1rem 0}
.commerceNotYet {font-size:1rem;line-height:1.55;padding:.85rem 1rem;border-radius:10px;border:1px solid var(--line);border-left:4px solid var(--brand);background:var(--surface,#fff);color:var(--text);margin:1rem 0}
.commerceNotYet strong {display:block;color:var(--ink);font-weight:750}
.commerceBack {margin-top:1.25rem;display:inline-flex}
.commerceLoading,.commerceEmpty {border:1px solid var(--line);border-radius:20px;background:var(--surface,#fff);padding:3rem 2rem}
.commerceLoading {display:flex;align-items:center;justify-content:center;gap:1rem;color:var(--muted);min-height:12rem}
.commerceSpinner {width:1.4rem;height:1.4rem;border:2px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:commerceSpin .8s linear infinite;flex:none}
@keyframes commerceSpin {to{transform:rotate(360deg)}}
.commerceEmpty {text-align:center}
.commerceEmptySymbol {display:grid;place-items:center;width:3.75rem;height:3.75rem;margin:0 auto 1.3rem;border-radius:18px;background:var(--soft);color:var(--brand);font-size:1.7rem;font-weight:600}
.commerceEmpty h2 {font-family:var(--font-display,system-ui,sans-serif);font-size:clamp(1.7rem,3vw,2.25rem);letter-spacing:-.03em;font-weight:750;line-height:1.25;margin:0 0 1rem;color:var(--ink)}
.commerceEmpty p {color:var(--text);font-size:1rem;line-height:1.7;max-width:35rem;margin:0 auto 1.5rem}
.commerceEmpty .btn {margin:.3rem}
.commerceOrderStatus {border:1px solid var(--line);border-radius:20px;background:var(--surface,#fff);padding:1.8rem;margin-bottom:1.5rem;min-width:0}
.commerceStatusBadge {display:inline-flex;align-items:center;border-radius:999px;padding:.4rem .8rem;font-size:.8rem;line-height:1.4;font-weight:750;background:var(--soft);color:var(--brand-text,var(--brand))}
.commerceStatusBadge.isConfirmed {color:var(--success);background:#eef7f2}
.commerceStatusBadge.isAttention {color:var(--danger);background:#fff2f4}
.commerceOrderStatus h2 {font-family:var(--font-display,system-ui,sans-serif);font-size:clamp(1.7rem,3vw,2.25rem);letter-spacing:-.03em;line-height:1.2;font-weight:750;margin:1rem 0;color:var(--ink)}
.commerceOrderStatus>p {max-width:43rem;font-size:1.05rem;line-height:1.7;color:var(--text);margin:.8rem 0}
.commerceOrderStatus .commerceFineprint {font-size:.875rem;color:var(--muted)}
.commerceOrderActions {display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;margin-top:1.3rem}
.commerceOrderMeta {display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0;font-size:.9rem;color:var(--muted)}
.commerceOrderListCard {border:1px solid var(--line);border-radius:18px;padding:1.4rem;background:var(--surface,#fff);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center}
.commerceOrderListCard h2 {font-family:var(--font-display,system-ui,sans-serif);font-size:1.25rem;font-weight:750;line-height:1.35;margin:.7rem 0 .5rem;overflow-wrap:anywhere;color:var(--ink)}
.commerceOrderListCard p {font-size:.875rem;line-height:1.6;margin:.4rem 0;color:var(--muted)}
.commerceOrderListPrice {text-align:right;white-space:nowrap;font-weight:750;color:var(--ink)}
.commerceOrderListPrice .btn {margin-top:.8rem;font-size:.9rem;min-height:2.9rem}
.commerceOrderRowFooter {display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;margin-top:1rem}
.commerceOrderRowFooter .btn {min-height:2.8rem;font-size:.9rem}
.commercePage :is(button,a):focus-visible,.sumaRecommendations :is(button,a):focus-visible {outline:3px solid var(--focus-ring,var(--brand));outline-offset:4px}
.commercePage button:disabled,.sumaRecommendations button:disabled {cursor:not-allowed}
.commercePage [hidden],.sumaRecommendations [hidden] {display:none!important}
#commerceCancelDialog {max-width:min(38rem,calc(100vw - 2rem));width:100%;box-sizing:border-box}
#commerceCancelDialog h2 {font-size:1.5rem;line-height:1.3;overflow-wrap:anywhere}
#commerceCancelDialog .actions {flex-wrap:wrap}
#commerceCancelDialog .actions .btn {white-space:normal;text-align:center}

/* Profile recommendations share the cart styles; events remain real agenda data. */
.sumaRecommendations {margin-top:2.5rem;padding-top:2.5rem;border-top:1px solid var(--line);min-width:0}
.recommendationsHeading {display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.4rem}
.recommendationsHeading h2 {font-family:var(--font-display,system-ui,sans-serif);font-size:clamp(1.8rem,3vw,2.5rem);font-weight:750;letter-spacing:-.035em;line-height:1.2;color:var(--ink);margin:.4rem 0 .7rem}
.recommendationsHeading .eyebrow {color:var(--brand-text,var(--brand));font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.recommendationsHeading p {font-size:1rem;line-height:1.65;margin:0;max-width:41rem;color:var(--text)}
.recommendationsHeading>a {flex:none;color:var(--brand-text,var(--brand));font-size:.95rem;font-weight:700;min-height:2.75rem;display:inline-flex;align-items:center;text-underline-offset:.2em}
.recommendationsGrid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.recommendationCard {display:flex;flex-direction:column;background:var(--surface,#fff);border:1px solid var(--line);border-radius:18px;overflow:hidden;min-width:0}
.recommendationReason {background:var(--soft);color:var(--brand-text,var(--brand));padding:.7rem 1.2rem;font-size:.8rem;line-height:1.5;font-weight:650;min-height:2.7rem}
.recommendationBody {padding:1.25rem;display:flex;flex-direction:column;flex:1;min-width:0}
.recommendationCard h3 {font-family:var(--font-display,system-ui,sans-serif);font-size:1.4rem;letter-spacing:-.02em;line-height:1.3;font-weight:750;margin:.4rem 0 .7rem;color:var(--ink);overflow-wrap:anywhere}
.recommendationDescription {font-size:.95rem;line-height:1.65;color:var(--text);margin:.7rem 0 1rem;overflow-wrap:anywhere}
.recommendationPrice {display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid var(--line);padding-top:1rem;margin-top:auto;font-size:.9rem;color:var(--muted)}
.recommendationPrice strong {font-size:1.15rem;color:var(--ink);white-space:nowrap}
.recommendationCard .commerceExtras {font-size:.825rem}
.recommendationActions {display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;margin-top:1.2rem}
.recommendationActions .btn {width:100%;min-height:3rem;justify-content:center;text-align:center;white-space:normal}
.recommendationActions .btn.isAdded {background:var(--soft);color:var(--brand-text,var(--brand));border-color:var(--line)}
.recommendationsMessage:empty {display:none}
.recommendationsMessage {margin-bottom:1rem}
.recommendationsFooter {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:1.25rem}
.recommendationsFooter p {font-size:.875rem;line-height:1.6;color:var(--muted);margin:0;max-width:35rem}
.recommendationsFooter .btn {min-height:3rem}

@media(max-width:900px){
  .commerceLayout {grid-template-columns:minmax(0,1fr) minmax(17rem,.8fr);gap:1rem}
  .commerceSummary {padding:1.25rem}
  .commerceItem {padding:1.2rem}
  .commerceTotal dd {font-size:1.5rem}
}
@media(max-width:720px){
  .commercePage .content {padding-top:2rem;padding-bottom:4rem}
  .commerceHeading>p {font-size:1.05rem}
  .commerceLayout {grid-template-columns:minmax(0,1fr)}
  .commerceSummary {position:static;margin-top:.5rem}
  .commerceTabs {margin-bottom:1.5rem}
  .commerceOrderStatus {padding:1.35rem}
  .commerceOrderActions {align-items:stretch}
  .commerceOrderActions .btn {flex:1 1 100%;justify-content:center;text-align:center}
  .recommendationsHeading {align-items:flex-start;flex-direction:column;gap:.3rem}
  .recommendationsGrid {grid-template-columns:minmax(0,1fr)}
  .sumaRecommendations {margin-top:2rem;padding-top:2rem}
}
@media(max-width:420px){
  .commerceHeading h1 {font-size:2.4rem}
  .commerceItem {padding:1.1rem}
  .commerceItem h2,.commerceItem h3 {font-size:1.3rem}
  .commerceGone {padding:1.1rem}
  .commerceGone .btn {width:100%;justify-content:center;text-align:center}
  .commerceItemPrice {gap:.5rem;font-size:.85rem}
  .commerceItemPrice strong {font-size:1.1rem}
  .commerceEmpty {padding:2rem 1.2rem}
  .commerceListHeading {flex-wrap:wrap;gap:.2rem}
  .commerceOrderListCard {grid-template-columns:minmax(0,1fr)}
  .commerceOrderListPrice {display:flex;justify-content:space-between;align-items:center;gap:.75rem;text-align:left}
  .commerceOrderListPrice .btn {margin-top:0}
  .recommendationBody {padding:1.15rem}
}
@media(prefers-reduced-motion:reduce){.commerceSpinner {animation:none}}
