/* Benkan pilot: this stylesheet is loaded only on price page 9965. */
.sgpl.sgpl .sgpl-purchase{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:67px;padding:12px 16px;border:1px solid #ef9d4b;border-radius:10px;background:#ef9d4b;color:#123f3b!important;font:700 16px/1.6 Vazirmatn,Tahoma,sans-serif!important;text-align:center}
.sgpl.sgpl .sgpl-purchase:hover{background:#ffc180;border-color:#ffc180}
.sgpl.sgpl .sgpl-purchase .sgpl-button-caption{display:block;margin-top:3px;font-size:10px;font-weight:400;line-height:1.7;color:#254b40}
.sgpl.sgpl .sgpl-purchase .sgpl-icon{width:24px;height:24px;flex-basis:24px}
html.sgpl-purchase-open,html.sgpl-purchase-open body{overflow:hidden!important;overscroll-behavior:none}
.sgpl-purchase-dialog,.sgpl-purchase-dialog *{box-sizing:border-box}
.sgpl-purchase-dialog{display:none;direction:rtl;width:min(1440px,calc(100% - 40px));height:calc(100vh - 40px);height:calc(100dvh - 40px);max-width:calc(100% - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:0;overflow:hidden;border:1px solid #cbdcd0;border-radius:16px;background:#f5f7f4;color:#123f3b;font-family:Vazirmatn,Tahoma,sans-serif}
.sgpl-purchase-dialog[open]{display:flex;flex-direction:column}
.sgpl-purchase-dialog::backdrop{background:#082a26d9;backdrop-filter:blur(3px)}
.sgpl-purchase-dialog .sgpl-purchase-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;min-height:65px;padding:10px 18px;border-bottom:1px solid #d7e1d8;background:#fff}
.sgpl-purchase-dialog #sgpl-purchase-title{font:700 15px/1.7 Vazirmatn,Tahoma,sans-serif;color:#123f3b;overflow-wrap:anywhere}
.sgpl-purchase-dialog .sgpl-purchase-tools{display:flex;align-items:center;gap:12px;flex-shrink:0}
.sgpl-purchase-dialog .sgpl-purchase-tools a{display:flex;align-items:center;min-height:44px;color:#007c76!important;font:500 12px/1.6 Vazirmatn,Tahoma,sans-serif;text-decoration:none}
.sgpl-purchase-dialog button{min-height:44px;padding:8px 15px;border:1px solid #123f3b;border-radius:8px;background:#123f3b;color:#fff;cursor:pointer;font:500 13px/1.6 Vazirmatn,Tahoma,sans-serif}
.sgpl-purchase-dialog button:hover{background:#006a64}
.sgpl-purchase-dialog :focus-visible{outline:3px solid #e7872c;outline-offset:3px}
.sgpl-purchase-dialog .sgpl-purchase-state{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:0 16px;background:#fff8ec}
.sgpl-purchase-dialog.sgpl-purchase-dialog .sgpl-purchase-state p{margin:10px 0!important;color:#62451f!important;font:400 12px/1.8 Vazirmatn,Tahoma,sans-serif!important;text-align:center}
.sgpl-purchase-dialog .sgpl-purchase-state button{min-height:36px;margin:8px 0;font-size:12px}
.sgpl-purchase-dialog [hidden]{display:none!important}
.sgpl-purchase-dialog iframe{display:block;flex:1;width:100%;min-width:0;min-height:0;height:100%;border:0;background:#f5f7f4}
@media(max-width:700px){
  .sgpl.sgpl .sgpl-purchase{min-height:61px;font-size:15px!important}
  .sgpl-purchase-dialog{width:100%;max-width:100%;height:100vh;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
  .sgpl-purchase-dialog .sgpl-purchase-bar{min-height:60px;gap:8px;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top))}
  .sgpl-purchase-dialog #sgpl-purchase-title{font-size:12px}
  .sgpl-purchase-dialog .sgpl-purchase-tools{gap:7px}
  .sgpl-purchase-dialog .sgpl-purchase-tools a{font-size:10px}
  .sgpl-purchase-dialog button{font-size:12px;padding:7px 10px}
}
@media print{.sgpl-purchase-dialog{display:none!important}}

/* Match the price-page identity around the compact quote workspace. */
.sgpl-purchase-dialog .sgpl-purchase-bar{background:#123f3b;border-bottom:2px solid #ef9d4b;min-height:58px;padding-block:7px}
.sgpl-purchase-dialog #sgpl-purchase-title{color:#fff;font-size:14px}
.sgpl-purchase-dialog .sgpl-purchase-tools a{color:#d5e5df!important}
.sgpl-purchase-dialog .sgpl-purchase-tools button{background:#f5f5e9;color:#123f3b;border-color:#f5f5e9}
.sgpl-purchase-dialog .sgpl-purchase-tools button:hover{background:#fff}
@media(max-width:700px){.sgpl-purchase-dialog #sgpl-purchase-title{font-size:12px}.sgpl-purchase-dialog .sgpl-purchase-bar{padding-inline:10px;padding-top:max(7px,env(safe-area-inset-top))}}
.sgpl-purchase-dialog .sgpl-purchase-views{display:flex;gap:4px;padding:3px;border:1px solid #779590;border-radius:10px}
.sgpl-purchase-dialog .sgpl-purchase-views button{background:transparent;color:#fff;border-color:transparent;padding:6px 12px}
.sgpl-purchase-dialog .sgpl-purchase-views button[aria-pressed="true"]{background:#ef9d4b;color:#123f3b}
.sgpl-purchase-dialog .sgpl-purchase-views button:hover{background:#2c5954;color:#fff}
@media(max-width:700px){
  .sgpl-purchase-dialog .sgpl-purchase-bar{flex-wrap:wrap;gap:6px}
  .sgpl-purchase-dialog #sgpl-purchase-title{width:100%}
  .sgpl-purchase-dialog .sgpl-purchase-tools{width:100%;justify-content:space-between}
  .sgpl-purchase-dialog .sgpl-purchase-views button{padding-inline:12px}
}
