/* Modal styling with scroll */
#wcrp-overlay { position: fixed; inset: 0; z-index: 9999; display: none; font: inherit; }
#wcrp-overlay.wcrp-visible { display: block; overflow-y: auto; }
.wcrp-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.wcrp-modal { position: relative; max-width: 760px; margin: 5vh auto; background: var(--wcrp-bg, #fff); border-radius: 10px; padding: 24px; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.12); max-height: 90vh; overflow: auto; }
.wcrp-close { position:absolute; right: 12px; top: 8px; font-size: 22px; background: transparent; border: 0; cursor: pointer; line-height: 1; }
.wcrp-hidden { display: none; }
.wcrp-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 12px; max-height: 60vh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.wcrp-card { border: 1px solid var(--wcrp-border, #e5e7eb); border-radius: 8px; padding: 12px; display:flex; flex-direction:column; gap:8px; background: #fff; }
.wcrp-card img { width: 100%; height: 120px; object-fit: contain; }
.wcrp-card h4 { margin: 0; font-size: 14px; }
.wcrp-card .price { font-weight:600; }
.wcrp-card button { width: 100%; }
.wcrp-install { display:flex; gap: 16px; margin: 12px 0; }
.wcrp-custom label { display:block; margin: 8px 0; }
.wcrp-submit { margin-top: 8px; }
.wcrp-modal .button { font: inherit; }
.wcrp-required-note { opacity: .85; font-size: .925em; }
.wcrp-pricing-note { margin-top: 8px; font-size: .9em; opacity: .9; }
.wcrp-extra { margin: 12px 0 16px; }
.wcrp-extra img { max-width: 100%; height: auto; display: block; }
@media (max-width: 480px){ .wcrp-modal { margin: 2vh 8px; max-height: 96vh; } }
