.product-config-overlay{padding:18px;background:#071d13a8;backdrop-filter:blur(6px);align-items:center;justify-content:center}
.reference-product-modal{width:min(480px,100%);max-height:94vh;padding:0!important;border-radius:30px!important;overflow:hidden!important;display:flex!important;flex-direction:column;background:#fff;box-shadow:0 28px 80px #071d1366;font-family:"Segoe UI",Inter,Arial,sans-serif;font-weight:500}
.reference-product-modal button,.reference-product-modal input,.reference-product-modal textarea{font-family:inherit}
.product-modal-scroll{position:relative;min-height:0;padding:24px;overflow-x:hidden;overflow-y:auto}
.product-modal-scroll>.sheet-close{position:absolute;z-index:3;top:18px;right:18px;display:grid;place-items:center}
.modal-product-heading{display:flex!important;align-items:center;gap:15px;margin:0 0 22px!important;padding-right:44px!important}
.modal-product-image{width:82px;height:82px;flex:0 0 82px;border-radius:20px;background:#f3f5f2;display:grid;place-items:center;overflow:hidden}
.modal-product-image img{width:100%;height:100%;object-fit:cover}
.modal-product-image span{font-size:30px;color:#087440}
.modal-product-heading h2{margin:3px 0!important;color:#075d38;font-size:22px;font-weight:700}
.modal-product-heading b{color:#087440;font-size:14px;font-weight:700}
.modal-product-heading small,.modal-section-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#89948e}
.modal-config-section{margin:0 0 18px;padding:0;border:0}
.modal-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.modal-section-title em{padding:3px 7px;border-radius:999px;background:#e7f6ed;color:#087440;font-size:8px;font-weight:700;font-style:normal}
.modal-section-title small{font-size:8px;font-weight:600;text-transform:none;letter-spacing:0}
.modal-size-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.modal-size-button,.modal-level-button{padding:12px;border:2px solid #edf0ed;border-radius:15px;background:#fff;color:#607067;cursor:pointer;transition:.18s;font-weight:600}
.modal-size-button{display:flex;justify-content:space-between;align-items:center;gap:8px}
.modal-size-button b{color:#087440;font-size:11px;font-weight:700}
.modal-size-button.selected,.modal-level-button.selected{border-color:#15935a;background:#edf9f2;color:#087440}
.modal-level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.modal-level-button{display:flex;flex-direction:column;align-items:center}
.modal-level-button small{margin-top:3px;color:#cf6b20;font-size:8px;font-weight:600}
.reference-product-modal .dynamic-option-group legend{font-weight:700}
.reference-product-modal .dynamic-option-values label span{font-weight:500}
.modal-topping-list{display:grid;gap:8px}
.modal-topping-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:2px solid #edf0ed;border-radius:16px;transition:.18s}
.modal-topping-row.selected{border-color:#15935a;background:#edf9f2}
.modal-topping-row>div:first-child b,.modal-topping-row>div:first-child small{display:block}
.modal-topping-row>div:first-child b{font-size:12px;font-weight:700}
.modal-topping-row>div:first-child small{margin-top:3px;color:#087440;font-size:9px;font-weight:600}
.topping-stepper{display:flex;align-items:center;gap:8px}
.topping-stepper button{width:30px;height:30px;border:0;border-radius:9px;background:#e5e9e6;color:#536158;cursor:pointer;font-weight:700}
.topping-stepper button:last-child{background:#087440;color:#fff}
.topping-stepper strong{width:18px;text-align:center;font-weight:700}
.modal-notes{margin-top:4px}
.modal-notes label{font-weight:700}
.reference-modal-footer{position:static!important;inset:auto!important;bottom:auto!important;flex:0 0 auto;width:100%!important;max-width:100%!important;margin:0!important;padding:14px 22px 16px!important;border-top:1px solid #edf0ed;background:#fafcfb;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px;overflow:hidden;box-sizing:border-box}
.reference-modal-footer>span{width:100%;margin:0!important;display:flex;justify-content:space-between;align-items:center;gap:14px;text-transform:uppercase;color:#8a958f;font-size:9px;font-weight:700;white-space:nowrap}
.reference-modal-footer>span b{margin-left:auto;color:#087440;font-size:18px;font-weight:700;white-space:nowrap}
.reference-modal-footer>button{display:flex;align-items:center;justify-content:center;width:100%!important;max-width:100%!important;min-height:48px;margin:0!important;padding:12px 16px!important;border:0!important;border-radius:14px!important;background:#087f4c!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:1.2;text-align:center;text-transform:uppercase;letter-spacing:.7px;box-sizing:border-box;overflow:hidden}
.reference-modal-footer>button:before{flex:0 0 auto}
.reference-modal-footer .redeem-product-button{background:#f2ad22!important;color:#362500!important}
.reference-modal-footer .modal-cancel{min-height:26px!important;border:0!important;background:transparent!important;color:#89948e!important;padding:4px!important;font-size:10px!important}
.reference-modal-footer .modal-cancel:before{display:none!important}
.modal-order-quantity{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0}.modal-order-quantity>span{color:#526158;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.7px}.order-qty-stepper{display:flex;align-items:center;gap:10px;padding:5px;border:1px solid #dfe7e2;border-radius:14px;background:#f7faf8}.order-qty-stepper button{width:34px;height:34px;border:0;border-radius:10px;background:#e5e9e6;color:#536158;cursor:pointer}.order-qty-stepper button:last-child{background:#087440;color:#fff}.order-qty-stepper strong{width:24px;text-align:center;color:#075d38;font-size:15px;font-weight:700}
.customer-product-photo{height:auto!important;aspect-ratio:1/1}.modal-size-button b{display:flex;align-items:flex-end;gap:5px}.modal-size-button b del{color:#9a9f9c;font-size:8px;font-weight:500}.modal-size-button b strong{color:#087440;font-size:11px}.dynamic-option-values .dynamic-none{border-style:dashed}.customer-qty .edit{border-color:#cce4d7!important;background:#edf8f1!important;color:#087440}.customer-cart-item .customer-qty{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:580px){.product-config-overlay{padding:0;align-items:flex-end}.reference-product-modal{width:100%;max-height:94vh;border-radius:28px 28px 0 0!important}.product-modal-scroll{padding:20px}.product-modal-scroll>.sheet-close{top:15px;right:15px}.modal-product-heading{padding-right:38px!important}.modal-size-grid{grid-template-columns:1fr 1fr}.reference-modal-footer{padding:12px 16px max(14px,env(safe-area-inset-bottom))!important}}
