/* Shared customer-order progress. Existing styles.css owns brand tokens. */

:root { --pot-layer: 1100; --pot-good: #24633f; --pot-good-bg: #eaf5ed; --pot-warning: #805022; --pot-focus: var(--pink-dark); }
.pot-floating { position: fixed; left: 20px; bottom: 22px; z-index: var(--pot-layer); width: min(350px, calc(100vw - 40px)); font-family: 'Nunito', sans-serif; color: var(--text); }
.pot-summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 11px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer; font-size: 14px; font-weight: 900; list-style: none; }
.pot-summary::-webkit-details-marker { display: none; }
.pot-summary-symbol { color: var(--pink-dark); font-size: 23px; line-height: 1; }
.pot-summary-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pot-summary-arrow { font-size: 18px; transition: transform .2s; }
.pot-floating[open] .pot-summary-arrow { transform: rotate(180deg); }
.pot-floating[open] .pot-summary { border-radius: 0 0 var(--radius) var(--radius); }
.pot-card { background: var(--white); padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.pot-floating .pot-card { position: absolute; left: 0; right: 0; bottom: 100%; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; box-shadow: var(--shadow); max-height: calc(100dvh - 180px); overflow-y: auto; overscroll-behavior: contain; }
.pot-head { display: flex; gap: 8px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; margin-bottom: 7px; }
.pot-kicker { color: var(--pink-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.pot-fresh { color: var(--text-muted); font-size: 11px; }
.pot-title { color: var(--brown); font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 23px; line-height: 1.25; margin: 0 0 7px; overflow-wrap: anywhere; }
.pot-note,.pot-payment,.pot-health { font-size: 13px; line-height: 1.5; margin: 0; }
.pot-payment { margin-top: 8px; color: var(--pot-warning); }
.pot-eta { margin: 12px 0 0; padding: 9px 11px; border-radius: var(--radius-sm); background: var(--cream); color: var(--brown); font-size: 13px; font-weight: 800; }
.pot-steps { margin: 18px 0 15px; padding: 0; display: grid; gap: 11px; list-style: none; }
.pot-step { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 13px; font-weight: 700; }
.pot-step-mark { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--cream-dark); border: 1px solid var(--cream-dark); border-radius: 50%; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.pot-step.is-current { color: var(--pink-dark); font-weight: 900; }
.pot-step.is-current .pot-step-mark { background: var(--pink-pale); border: 2px solid var(--pink-dark); color: var(--pink-dark); }
.pot-step.is-done .pot-step-mark { background: var(--pot-good-bg); color: var(--pot-good); border-color: var(--pot-good-bg); }
.pot-health { color: var(--text-muted); min-height: 39px; }
.pot-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pot-link,.pot-refresh { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 900; cursor: pointer; }
.pot-link { color: var(--white); background: var(--pink-dark); flex: 1; }
.pot-refresh { border: 1px solid var(--border); background: var(--white); color: var(--brown); min-width: 100px; }
.pot-link:hover { background: var(--brown); }
.pot-refresh:hover:not([aria-disabled="true"]),.pot-summary:hover { background: var(--pink-pale); }
.pot-refresh[aria-disabled="true"] { cursor: wait; opacity: .65; }
.pot-notify { display: block; font-size: 13px; color: var(--pink-dark); margin-top: 12px; padding: 5px 0; text-decoration: underline; font-weight: 800; }
.pot-forget { display: block; min-height: 38px; color: var(--text-muted); font-size: 11px; text-decoration: underline; margin-top: 5px; cursor: pointer; }
.pot-inline { margin: 0 auto 24px; width: 100%; max-width: 760px; scroll-margin-top: calc(var(--header-h) + 16px); }
.pot-inline .pot-steps { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; padding: 8px 0; }
.pot-inline .pot-step { flex-direction: column; text-align: center; align-items: center; gap: 8px; }
.pot-inline .pot-step-mark { flex-basis: 32px; width: 32px; height: 32px; }
.pot-inline .pot-link { flex: 0 1 240px; }
body.ca-order-page .ca-main--auth { padding-top: calc(var(--header-h) + 20px); }
body.ca-order-page .ca-container--auth { max-width: 808px; margin: 0 auto; }
.pot-notification-help { margin: 0 auto 22px; max-width: 760px; padding: 20px; border-radius: var(--radius); background: var(--cream); color: var(--text); scroll-margin-top: 90px; }
.pot-notification-help h2 { font-size: 18px; color: var(--brown); margin-bottom: 9px; }
.pot-notification-help p { font-size: 14px; margin-top: 7px; }
.pot-notification-help a { color: var(--pink-dark); text-decoration: underline; }
.pot-floating :focus-visible,.pot-inline :focus-visible { outline: 3px solid var(--pot-focus); outline-offset: 3px; }
.pot-floating a:active,.pot-floating button:active { transform: translateY(1px); }
.pot-floating[data-state="ready"] .pot-summary-symbol,.pot-floating[data-state="complete"] .pot-summary-symbol { color: var(--pot-good); }
body.dark .pot-card,body.dark .pot-summary,body.dark .pot-refresh { background: var(--cream); }
@media(max-width:768px) { .pot-floating { left: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); width: min(320px, calc(100vw - 24px)); } .pot-floating .pot-card { max-height: calc(100dvh - 230px); } .pot-summary { min-height: 44px; padding: 8px 13px; } .pot-inline { padding: 18px; } }
@media(max-width:600px) { .pot-inline .pot-steps { grid-template-columns: 1fr; padding: 0; } .pot-inline .pot-step { flex-direction: row; text-align: left; } .pot-inline .pot-link { flex: 1; } }
@media(prefers-reduced-motion:reduce) { .pot-floating * { transition: none !important; animation: none !important; } }
@media(forced-colors:active) { .pot-card,.pot-summary,.pot-step-mark { border-color: CanvasText; } .pot-step.is-current .pot-step-mark { border-width: 3px; } }
@media print { .pot-floating { display: none; } }

.pot-checkout-hint { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
