.hpg-panel{--hpg-purple:#6104a3;--hpg-line:#e4d9ee;margin:20px 0;padding:18px;border:1px solid var(--hpg-line);border-radius:16px;background:#fcf9ff;color:#30243a;clear:both;font-size:14px}.hpg-panel h3{font:600 19px/1.3 system-ui,sans-serif;margin:0 0 16px;color:#4a136e}.hpg-panel fieldset{margin:0 0 15px;padding:0;border:0;min-width:0}.hpg-panel legend,.hpg-label{display:block;font-weight:650;margin-bottom:7px}.hpg-panel small{font-weight:400;color:#6b5b76;font-size:12px}.hpg-choices{display:flex;flex-wrap:wrap;gap:8px}.hpg-choices legend{width:100%;margin-bottom:8px}.hpg-choices label{position:relative;display:inline-flex;cursor:pointer;margin:0}.hpg-choices input{position:absolute;opacity:0;inset:auto}.hpg-choices label>span{display:block;padding:9px 13px;border:1px solid var(--hpg-line);border-radius:9px;background:white;color:#4a136e}.hpg-choices input:checked+span{border-color:var(--hpg-purple);background:#eee1fa;box-shadow:inset 0 0 0 1px var(--hpg-purple)}.hpg-choices input:focus-visible+span{outline:3px solid #ad84cf;outline-offset:2px}.hpg-panel #hpg_message{width:100%;background:white;min-height:44px}.hpg-count{display:block;text-align:right;margin:4px 0 12px}.hpg-photo{margin:14px 0 0}.hpg-photo p{margin:4px 0 8px;color:#6b5b76;font-size:12px}.hpg-photo input[type=file]{width:100%;border:1px dashed #a57ac8;border-radius:10px;padding:12px;background:#f6effc;font-size:13px}.hpg-photo input::file-selector-button{background:#6104a3;border:0;border-radius:7px;color:white;padding:9px 13px;font-weight:600;margin-right:9px;cursor:pointer}.hpg-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.hpg-preview:empty{display:none}.hpg-thumb{position:relative;aspect-ratio:1;background:#eadcf4;border-radius:8px;overflow:hidden;display:flex;justify-content:center;align-items:center}.hpg-thumb img{height:100%;width:100%;object-fit:cover}.hpg-thumb .hpg-remove{position:absolute;top:3px;right:3px;padding:0;width:30px;height:30px;border-radius:50%;background:#fff;color:#4a136e;font-size:20px;line-height:1;box-shadow:0 1px 5px #33224444}.hpg-fallback{font-size:11px;color:#4a136e}.hpg-addons{margin-top:16px!important}.hpg-addons label{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--hpg-line);border-radius:8px;padding:10px;margin:6px 0;cursor:pointer}.hpg-addons label strong{margin-left:auto;white-space:nowrap;color:#6104a3}.hpg-addons small{display:block;margin-top:6px}body.woocommerce-checkout .woocommerce form .form-row label{font-weight:600;font-size:13px}body.woocommerce-checkout .woocommerce form .form-row input.input-text,body.woocommerce-checkout .woocommerce form .form-row input[type=date],body.woocommerce-checkout .woocommerce form .form-row select{min-height:44px;border-radius:9px;width:100%}body.woocommerce-checkout #hpg_same_field{background:#f4edf9;padding:12px;border-radius:10px}body.woocommerce-checkout #place_order{width:100%;min-height:48px}@media(max-width:600px){.hpg-panel{padding:13px;margin:14px 0}.hpg-panel h3{font-size:17px}.hpg-choices label>span{font-size:13px;padding:9px 11px}.hpg-preview{grid-template-columns:repeat(3,minmax(0,1fr))}body.woocommerce-checkout .woocommerce form .form-row-first,body.woocommerce-checkout .woocommerce form .form-row-last{width:100%;float:none}}

/* Compact product-specific controls; do not style required markers as buttons. */
.hpg-panel{padding:14px;margin:14px 0;border-radius:12px}.hpg-panel h3{margin:0 0 10px;font-size:17px}.hpg-row{display:grid;grid-template-columns:minmax(100px,34%) minmax(0,1fr);align-items:center;gap:8px;margin:0 0 8px}.hpg-row label{font-weight:600;font-size:13px;margin:0;line-height:1.3}.hpg-row select,.hpg-panel .hpg-row #hpg_message{width:100%;min-width:0;min-height:40px;height:40px;margin:0;padding:6px 9px;font-size:14px;border:1px solid #d9cbe6;border-radius:8px;background:white}.hpg-row .hpg-count{margin:2px 0 0;font-size:10px;line-height:1.2}.hpg-photo{margin-top:12px;padding-top:10px;border-top:1px solid #e4d9ee}.hpg-photo .hpg-label{margin:0 0 3px}.hpg-photo input[type=file]{padding:7px}.hpg-preview{grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:5px}.hpg-photo-status:empty{display:none}.woocommerce div.product form.cart .variations select{min-height:40px;width:100%;font-size:14px}.woocommerce div.product form.cart .variations th label{font-size:13px}.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{padding:4px 0}.woocommerce div.product form.cart .variations th{width:34%;text-align:left}.woocommerce div.product form.cart .variations .reset_variations{font-size:11px}.hpg-panel .hpg-addons legend{padding:0;background:transparent;border:0}.hpg-panel .hpg-remove{padding:0!important}@media(max-width:360px){.hpg-row{grid-template-columns:minmax(85px,33%) minmax(0,1fr);gap:5px}.hpg-row label{font-size:12px}}
.hpg-upgrades{margin-top:12px;border:1px solid #e1d3ec;border-radius:10px;background:white;padding:0 10px}.hpg-upgrades summary{cursor:pointer;padding:10px 0;color:#6104a3;font-weight:650;font-size:14px}.hpg-upgrades summary small{margin-left:5px;font-size:11px}.hpg-upgrades[open] summary{margin-bottom:8px;border-bottom:1px solid #ece4f2}.hpg-extra-group{margin:10px 0!important}.hpg-extra-group legend{font-size:13px;margin:0 0 5px}.hpg-extra{display:flex!important;align-items:center;gap:8px;padding:7px;margin:5px 0;border:1px solid #e7dfed;border-radius:8px;cursor:pointer;min-width:0;font-size:13px}.hpg-extra:has(input:checked){border-color:#9864bd;background:#f8f1fd}.hpg-extra input{flex:0 0 auto;margin:0!important}.hpg-extra-img{width:52px!important;height:52px!important;object-fit:cover;border-radius:5px;margin:0!important;flex-shrink:0}.hpg-extra-copy{flex:1;min-width:0}.hpg-extra-copy strong,.hpg-extra-copy small{display:block;line-height:1.3}.hpg-extra-price{margin-left:auto;white-space:nowrap;font-weight:650;color:#6104a3;font-size:12px}.hpg-led-row[hidden]{display:none!important}.hpg-extra-total{font-size:12px;color:#6104a3;font-weight:650;margin:8px 0}.hpg-panel input[hidden],.hpg-panel [hidden]{display:none!important}.hpg-panel .hpg-row label{display:block!important}.hpg-panel .hpg-row input:not([type=checkbox]):not([type=radio]){min-width:0}.hpg-panel .hpg-row select{max-width:100%}
.hpg-photo-picker .hpg-file-store[hidden],.hpg-photo-picker .hpg-file-next[hidden]{display:none!important}.hpg-photo-picker .hpg-photo-status{font-weight:600}.hpg-photo-picker .hpg-photo-error{color:#a51e32}.hpg-photo-picker .hpg-fallback{max-width:100%;overflow-wrap:anywhere;text-align:center;padding:4px}
/* v2.3 live configured product total */
.hpg-live-price{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;padding:8px 10px;background:#f5effa;border:1px solid #e5d8ee;border-radius:8px;color:#4a136e;line-height:1.3;clear:both}.hpg-live-price>div{min-width:0}.hpg-live-label{font-size:12px;font-weight:650;display:block}.hpg-live-breakdown{font-size:11px;color:#665a70;display:block}.hpg-live-amount{font-size:19px;white-space:nowrap}.cart:has(.hpg-live-price) .hpg-extra-total{display:none}
