/* Scoped checkout and catalog allowance; no global page/theme changes. */
.ph8750-checkout{--sc-bg:#fffdf7;--sc-soft:#f8f3e8;--sc-ink:#493b2a;--sc-muted:#796a55;--sc-line:#dfd3be;--sc-accent:#936623;color:var(--sc-ink)}
html.theme--dark .ph8750-checkout{--sc-bg:#1e2530;--sc-soft:#283240;--sc-ink:#e4ebf4;--sc-muted:#b2bfd0;--sc-line:#465263;--sc-accent:#e5c47f;color-scheme:dark}
html body .ph8750-checkout .ph8620-checkout,html body .ph8750-checkout .ph8750-state{background:var(--sc-bg)!important;color:var(--sc-ink)!important;border-color:var(--sc-line)!important;min-width:0}
html body .ph8750-checkout :is(h2,h3,label,strong){color:var(--sc-ink)!important}html body .ph8750-checkout .ph8750-facts{margin:18px 0;padding:0}
html body .ph8750-checkout .ph8750-facts>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--sc-line);align-items:center}
.ph8750-facts dt{color:var(--sc-muted);font-size:12px;line-height:1.6}.ph8750-facts dd{margin:0;text-align:right;font-weight:700;line-height:1.6;font-size:13px;color:var(--sc-ink)}.ph8750-facts dd img{width:24px;height:24px;object-fit:contain;vertical-align:middle}
.ph8750-week-note{display:grid;gap:8px;margin-top:26px;padding:16px;border:1px solid var(--sc-line);border-radius:9px;color:var(--sc-ink);background:var(--sc-bg)}.ph8750-week-note b{font-size:25px}.ph8750-week-note small,.ph8750-help{font-size:11px;line-height:1.9;color:var(--sc-muted)!important}.ph8750-help{display:block;margin:10px 0 16px}
html body .ph8750-checkout .ph8750-quantity{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;margin-top:9px}
html body .ph8750-checkout .ph8750-quantity :is(button,input){min-width:0;margin:0;height:44px;border:1px solid var(--sc-line)!important;border-radius:8px;background:var(--sc-soft)!important;color:var(--sc-ink)!important;text-align:center;font:inherit;box-shadow:none!important}
.ph8750-quantity button{cursor:pointer;font-size:20px!important}.ph8750-checkout :is(button,a,input):focus-visible{outline:2px solid var(--sc-accent)!important;outline-offset:3px}.ph8750-checkout button:disabled{opacity:.5;cursor:not-allowed}
.ph8750-total{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:18px 0;margin:12px 0;border-top:1px solid var(--sc-line)}.ph8750-total span{font-size:12px;color:var(--sc-muted)}.ph8750-total strong{font-size:27px!important;font-variant-numeric:tabular-nums}.ph8750-total small{font-size:11px}.ph8750-wide{width:100%;min-height:45px}
html body .ph8750-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:26px;border:1px solid var(--sc-line);border-radius:16px;background:var(--sc-bg)!important;color:var(--sc-ink)!important;box-shadow:0 24px 90px #0005;z-index:10000}
.ph8750-dialog:not([open]){display:none}.ph8750-dialog[open]{animation:ph8750-enter .18s ease-out}.ph8750-dialog::backdrop{background:#10192566;backdrop-filter:blur(3px)}.ph8750-confirmation h3{font-size:22px;line-height:1.5;margin:10px 0}.ph8750-confirm-name{font-size:14px;font-weight:700;color:var(--sc-accent)!important}.ph8750-confirm-total{font-size:16px;background:var(--sc-soft);padding:15px 10px!important;border-radius:8px}.ph8750-confirm-total b{font-size:23px}.ph8750-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.ph8750-actions>*{flex:1;min-height:44px;text-align:center}
html body .ph8750-checkout .ph8750-notice{padding:13px 15px;border:1px solid var(--sc-line);border-left:3px solid var(--sc-accent);border-radius:8px;background:var(--sc-soft);color:var(--sc-ink);font-size:12px;line-height:1.9;margin:12px 0}.ph8750-state{padding:24px;border-radius:12px;line-height:1.9}.ph8750-state .ph8620-button{margin:10px 8px 0 0}
.ph8750-catalog-limit{display:grid;gap:4px;padding:9px 0 3px;font-size:10px;line-height:1.7;color:inherit}.ph8750-catalog-limit strong{font-size:11px}.ph8750-catalog-limit small{opacity:.8}.ph8750-catalog-limit.is-exhausted{color:#aa5353}
@keyframes ph8750-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:680px){html body .ph8750-checkout .ph8620-purchase-layout{grid-template-columns:minmax(0,1fr)}html body .ph8750-checkout .ph8620-checkout{padding:20px 16px}.ph8750-actions{flex-direction:column}.ph8750-facts dt{max-width:66%}.ph8750-dialog{padding:22px 18px!important}}
@media(prefers-reduced-motion:reduce){.ph8750-dialog[open]{animation:none}.ph8750-dialog::backdrop{backdrop-filter:none}}
