.hgpr-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:6px 0 10px;min-width:0}
.hgpr-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;box-sizing:border-box;padding:8px 10px;border:1px solid #6a0d1d;border-radius:9px;background:#6a0d1d;color:#fff8e9;font-family:inherit;font-size:13px;font-weight:600;line-height:1.7;text-align:center;text-decoration:none;cursor:pointer;white-space:normal}
.hgpr-actions .hgpr-button{font-size:12px;padding:7px 4px;font-family:inherit;color:#fff8e9}
.hgpr-actions [data-physical-side=sell]{background:#fffaf0;color:#6a0d1d}
.hgpr-button:disabled{opacity:.55;cursor:wait}.hgpr-button:focus-visible{outline:3px solid #daa437;outline-offset:3px}
.hgpr-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-width:540px;max-height:calc(100dvh - 28px);overflow:auto;padding:22px;border:1px solid #d5b875;border-radius:18px;background:#fffdf9;color:#3b2426;font-family:HGBrand,Vazirmatn,Tahoma,sans-serif;line-height:1.9}
.hgpr-dialog:not([open]){display:none}.hgpr-dialog::backdrop{background:#300b198f}.hgpr-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hgpr-dialog h2{color:#6a0d1d;font-size:21px;margin:0}.hgpr-dialog button[data-close]{min-width:44px;min-height:44px;border:1px solid #d6c3a9;border-radius:9px;background:#fff9ed;color:#6a0d1d;font-size:24px}
.hgpr-dialog label,.hgpr-proposal label{display:block;margin:10px 0}.hgpr-dialog input:not([type=checkbox]),.hgpr-dialog textarea,.hgpr-proposal input:not([type=checkbox]){box-sizing:border-box;width:100%;padding:12px;border:1px solid #d8c5a5;border-radius:10px;background:#fff;color:#302321;font:inherit;font-size:16px;min-height:46px}
.hgpr-dialog textarea{min-height:80px}.hgpr-dialog [type=checkbox],.hgpr-proposal [type=checkbox]{width:20px;height:20px;accent-color:#6a0d1d;vertical-align:middle;margin-inline-end:7px}.hgpr-preview{padding:14px;border:1px solid #e6d3ac;border-radius:12px;background:#fff6e3;margin:14px 0}.hgpr-preview strong{display:block;color:#6a0d1d;font-size:21px}
.hgpr-notice{color:#6a0d1d;min-height:1.8em}.hgpr-dialog>form>.hgpr-button{width:100%;font-family:inherit}.hgpr-history{padding:12px;border:1px solid #e1d3bc;border-radius:12px;margin:12px 0 18px}.hgpr-history summary{cursor:pointer;min-height:40px;font-weight:700;color:#6a0d1d}.hgpr-history article{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:10px 0;border-top:1px solid #e6d8c1}.hgpr-history small{display:block;color:#756247}
.hgpr-proposal{padding:18px;border:1px solid #d8bd83;border-radius:14px;background:#fff8e9;margin:14px 0;line-height:1.9;overflow-wrap:anywhere}.hgpr-proposal h3{margin:0;color:#6a0d1d;font-size:19px}.hgpr-proposal strong{display:block;color:#6a0d1d;font-size:21px}.hgpr-proposal small{display:block;color:#765f3e}.hgpr-proposal form{margin-top:14px}.hgpr-proposal form>.hgpr-button{font-family:inherit;width:100%}.hgpr-proposal [hidden],.hgpr-dialog [hidden]{display:none!important}
@media(max-width:420px){.hgpr-dialog{padding:16px}.hgpr-dialog h2{font-size:19px}.hgpr-proposal{padding:12px}.hgpr-proposal strong{font-size:19px}}
/* Product actions must retain their text colour inside page-specific link rules. */
body.hg-brand .hgpr-actions .hgpr-button{background:#6a0d1d!important;color:#fff8e9!important;-webkit-text-fill-color:currentColor}
body.hg-brand .hgpr-actions .hgpr-button[data-physical-side=sell]{background:#fffaf0!important;color:#6a0d1d!important}
body.hg-brand .hgh-product a.hgh-btn[href^="tel:"],body.hg-brand .hgpc-card .wp-block-button:not(.is-style-outline) a.wp-block-button__link[href^="tel:"],body.hg-brand .hgp-product-card a.hgp-product-call{color:#fff8e9!important;-webkit-text-fill-color:currentColor}
body.hg-brand .hgp-product-card a.hgp-product-call{background:#6a0d1d!important;border-color:#6a0d1d!important}
body.hg-brand .hgpr-actions .hgpr-button :is(span,strong,b,bdi,em,svg),body.hg-brand .hgh-product a.hgh-btn[href^="tel:"] .hgdc-sales-label,body.hg-brand .hgpc-card .wp-block-button:not(.is-style-outline) a[href^="tel:"] .hgdc-sales-label,body.hg-brand .hgp-product-card a.hgp-product-call .hgdc-sales-label{color:inherit!important;-webkit-text-fill-color:currentColor}
