/* Shared, compact FoldPro configuration and review; existing brand tokens. */
#foldproCheckout { color: var(--color-text-primary); background: var(--color-bg-primary); font-family: var(--font-body); border-radius: 8px; padding: 24px; text-align: left; }
#foldproCheckout [hidden] { display: none !important; }
#foldproCheckout h3 { font-family: var(--font-heading); font-size: 24px; margin: 0 0 8px; }
#foldproCheckout p { font-size: 14px; line-height: 1.6; margin: 8px 0; }
#foldproCheckout .fc-section { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
#foldproCheckout .fc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0; }
#foldproCheckout .fc-label { font-weight: 600; font-size: 15px; }
#foldproCheckout .fc-unit { display: block; color: var(--color-text-secondary); font-size: 13px; margin-top: 4px; }
#foldproCheckout .fc-stepper { display: flex; align-items: center; flex-shrink: 0; border: 1px solid var(--color-border); }
#foldproCheckout .fc-stepper button { width: 44px; height: 44px; background: var(--color-bg-secondary); border: 0; color: var(--color-text-primary); font-size: 20px; cursor: pointer; }
#foldproCheckout .fc-stepper input { width: 44px; height: 44px; padding: 0; text-align: center; border: 0; background: var(--color-bg-primary); color: var(--color-text-primary); font: inherit; appearance: textfield; }
#foldproCheckout input::-webkit-inner-spin-button { appearance: none; }
#foldproCheckout button:disabled { opacity: .45; cursor: not-allowed; }
#foldproCheckout .fc-capacity { padding: 8px 16px; background: var(--color-bg-secondary); font-size: 13px; }
#foldproCheckout .fc-freight { border-left: 3px solid var(--color-cta); padding: 8px 16px; margin: 16px 0; }
#foldproCheckout .fc-small { font-size: 12px; color: var(--color-text-secondary); }
#foldproCheckout .fc-total { font-weight: 700; font-size: 18px; }
#foldproCheckout .fc-button { min-height: 48px; width: 100%; margin-top: 16px; font-size: 17px; }
#foldproCheckout .fc-back { min-height: 44px; background: none; border: 0; color: var(--color-text-primary); text-decoration: underline; cursor: pointer; font: inherit; }
#foldproCheckout .fc-error { border: 1px solid var(--color-cta); padding: 16px; font-size: 14px; line-height: 1.6; }
#foldproCheckout .fc-line { display: flex; gap: 16px; justify-content: space-between; font-size: 14px; padding: 8px 0; }
#foldproCheckout .fc-line span:last-child { white-space: nowrap; }
#foldproCheckout .fc-preview { background: var(--color-bg-secondary); padding: 16px; }
#foldproCheckout :focus-visible { outline: 2px solid var(--color-cta); outline-offset: 2px; }
.vip-modal:has(#foldproCheckout), .modal-panel:has(#foldproCheckout) { max-width: 600px; }
@media(max-width:768px) { #foldproCheckout { padding: 16px; } }
@media(max-width:480px) { .modal-panel:has(#foldproCheckout), .vip-modal:has(#foldproCheckout) { padding: 48px 8px 16px; } #foldproCheckout .fc-row { gap: 8px; } }
/* Keep the complete dialog reachable on laptops as well as mobile. */
.modal-panel:has(#foldproCheckout) { max-height: 94svh; overflow-y: auto; }
.modal-panel:has(#foldproCheckout) .buy-heading { font-size: 36px; margin-bottom: 24px; }
.modal-panel:has(#foldproCheckout) .modal-close { width: 44px; height: 44px; }
