.pcr-sheet,.pcr-sheet *{box-sizing:border-box}.pcr-sheet[hidden]{display:none!important}body.pcr-sheet-open{position:fixed!important;right:0;left:0;width:100%;overflow:hidden!important}.pcr-sheet{position:fixed;inset:0;z-index:999999;display:flex;align-items:flex-end;justify-content:center;background:color-mix(in srgb,var(--pcr-backdrop) calc(var(--pcr-backdrop-opacity)*100%),transparent);-webkit-backdrop-filter:blur(var(--pcr-blur));backdrop-filter:blur(var(--pcr-blur));opacity:0;transition:opacity 240ms ease}.pcr-sheet.is-open{opacity:1}.pcr-sheet.is-closing{opacity:0}.pcr-sheet__panel{position:relative;display:flex;flex-direction:column;width:100%;max-height:var(--pcr-max-height);margin:0;border-radius:var(--pcr-sheet-radius) var(--pcr-sheet-radius) 0 0;background:var(--pcr-sheet-bg);color:var(--pcr-text);box-shadow:0 -20px 60px rgba(0,0,0,.24);overflow:hidden;transform:translateY(100%);transition:transform 400ms cubic-bezier(.22,.72,.25,1);will-change:transform}.pcr-sheet.is-open .pcr-sheet__panel{transform:translateY(0)}.pcr-sheet.is-closing .pcr-sheet__panel{transform:translateY(100%);transition-duration:240ms}.pcr-sheet.is-dragging .pcr-sheet__panel{transition:none}.pcr-sheet__drag-zone{display:flex;flex:0 0 28px;align-items:center;justify-content:center;width:100%;touch-action:none;cursor:grab}.pcr-sheet__grabber{width:46px;height:5px;border-radius:99px;background:#d5d7db}.pcr-sheet__header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:2px max(20px,calc((100% - var(--pcr-max-width))/2)) 14px;border-bottom:1px solid color-mix(in srgb,var(--pcr-text) 10%,transparent)}.pcr-sheet__header h2{margin:0;color:var(--pcr-text);font:inherit;font-size:clamp(19px,2vw,25px);font-weight:800;line-height:1.5}.pcr-sheet__product-name{margin:2px 0 0;color:color-mix(in srgb,var(--pcr-text) 65%,transparent);font-size:13px}.pcr-sheet__close{position:relative;flex:0 0 40px;width:40px;height:40px;margin:0;padding:0!important;border:0;border-radius:50%;background:transparent!important;color:var(--pcr-text)!important;cursor:pointer}.pcr-sheet__close:hover{background:color-mix(in srgb,var(--pcr-text) 7%,transparent)!important}.pcr-sheet__close span:before,.pcr-sheet__close span:after{content:"";position:absolute;top:50%;left:50%;width:21px;height:2px;border-radius:2px;background:currentColor}.pcr-sheet__close span:before{transform:translate(-50%,-50%) rotate(45deg)}.pcr-sheet__close span:after{transform:translate(-50%,-50%) rotate(-45deg)}.pcr-sheet__body{width:100%;padding:24px max(20px,calc((100% - var(--pcr-max-width))/2)) max(24px,env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.pcr-form{display:flex;flex-direction:column;gap:17px;width:100%;max-width:var(--pcr-max-width);margin:auto}.pcr-label{display:block;margin:0 0 -8px;color:var(--pcr-text);font-size:16px;font-weight:700}.pcr-price-field{position:relative}.pcr-form input[type=text],.pcr-form input[type=url],.pcr-price-field input{width:100%;height:58px;margin:0;padding:0 16px;border:1px solid var(--pcr-border);border-radius:var(--pcr-field-radius);background:#fff;color:var(--pcr-text);font:inherit;font-size:16px;outline:0;box-shadow:none}.pcr-form input:focus{border-color:var(--pcr-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--pcr-accent) 16%,transparent)}.pcr-price-field input{padding-left:78px}.pcr-price-field>span{position:absolute;left:16px;top:50%;color:#999;transform:translateY(-50%)}.pcr-switch-row{display:flex;align-items:center;gap:12px;margin:2px 0;cursor:pointer;font-size:16px;font-weight:500}.pcr-switch-row input{position:absolute;opacity:0;pointer-events:none}.pcr-switch{position:relative;width:57px;height:31px;border:1px solid #9ca3af;border-radius:99px;background:#f4f5f6;transition:background 180ms,border-color 180ms}.pcr-switch:after{content:"";position:absolute;top:3px;right:3px;width:23px;height:23px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.3);transition:transform 180ms}.pcr-switch-row input:checked+.pcr-switch{border-color:var(--pcr-accent);background:var(--pcr-accent)}.pcr-switch-row input:checked+.pcr-switch:after{transform:translateX(-26px)}.pcr-switch-row input:focus-visible+.pcr-switch{outline:3px solid color-mix(in srgb,var(--pcr-accent) 30%,transparent);outline-offset:2px}.pcr-store-field{display:flex;flex-direction:column;gap:16px}.pcr-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:10px 25px;border:0!important;border-radius:var(--pcr-button-radius);background:var(--pcr-accent)!important;color:var(--pcr-button-text)!important;font:inherit;font-size:16px;font-weight:700;text-decoration:none!important;cursor:pointer;transition:filter 160ms,transform 160ms}.pcr-button:hover{color:var(--pcr-button-text)!important;filter:brightness(1.08);transform:translateY(-1px)}.pcr-button:disabled{opacity:.65;cursor:wait}.pcr-form__submit{align-self:flex-end;min-width:135px}.pcr-form__message{min-height:0;margin:-3px 0;font-size:14px;font-weight:600}.pcr-form__message.is-error{color:#b42318}.pcr-form__message.is-success{padding:11px 13px;border-radius:8px;background:#e9f8ec;color:#176b2c}.pcr-sheet__guest{width:min(100%,560px);margin:auto;padding:12px 0 22px;text-align:center}.pcr-sheet__guest p{margin:0 0 22px;font-size:17px;line-height:1.9}.pcr-hp{position:absolute!important;right:-99999px!important;width:1px!important;height:1px!important;opacity:0!important}.pcr-sheet .is-hidden{display:none!important}.color-request-trigger{cursor:pointer;-webkit-tap-highlight-color:transparent}
@media(max-width:767px){.pcr-sheet__panel{border-radius:min(var(--pcr-sheet-radius),24px) min(var(--pcr-sheet-radius),24px) 0 0}.pcr-sheet__header{padding:0 16px 11px}.pcr-sheet__body{padding:20px 16px max(20px,env(safe-area-inset-bottom))}.pcr-form{gap:16px}.pcr-form input[type=text],.pcr-form input[type=url],.pcr-price-field input{height:55px}.pcr-form__submit{width:100%}}
@media(prefers-reduced-motion:reduce){.pcr-sheet,.pcr-sheet__panel,.pcr-switch,.pcr-switch:after,.pcr-button{transition-duration:1ms!important}}
.pcr-sheet{background:var(--pcr-backdrop-overlay)}
.pcr-sheet__panel{font-family:var(--pcr-font);font-size:var(--pcr-body-size);font-weight:var(--pcr-font-weight)}
.pcr-sheet__header h2{font-size:var(--pcr-title-size);font-weight:var(--pcr-title-weight)}
.pcr-form input[type=text],.pcr-form input[type=url],.pcr-price-field input{font-size:var(--pcr-field-size)}
.pcr-price-field input{padding-left:16px}
.pcr-button{font-size:var(--pcr-button-size)}
.pcr-sheet__duplicate{width:min(100%,560px);margin:auto;padding:12px 0 22px;text-align:center}
.pcr-sheet__duplicate p{margin:12px 0 22px;font-size:var(--pcr-body-size);line-height:1.9}
.pcr-sheet__success-icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:#e5f7e9;color:#17833c;font-size:30px;font-weight:800}
.pcr-sheet.is-checking .pcr-sheet__body:before{content:"در حال بررسی…";display:block;padding:32px;text-align:center;color:color-mix(in srgb,var(--pcr-text) 65%,transparent)}
@media(min-width:768px){.pcr-sheet{align-items:center;padding:24px}.pcr-sheet__panel{width:min(calc(100% - 48px),calc(var(--pcr-max-width) + 80px));max-height:min(var(--pcr-max-height),calc(100dvh - 48px));border-radius:var(--pcr-sheet-radius);box-shadow:0 24px 80px rgba(0,0,0,.3);transform:translateY(18px) scale(.97);transition:transform 300ms cubic-bezier(.22,.72,.25,1)}.pcr-sheet.is-open .pcr-sheet__panel{transform:translateY(0) scale(1)}.pcr-sheet.is-closing .pcr-sheet__panel{transform:translateY(12px) scale(.97);transition-duration:200ms}.pcr-sheet__drag-zone{display:none}.pcr-sheet__header{padding:20px 28px 15px}.pcr-sheet__body{padding:24px 28px 28px}}
@supports not (background:color-mix(in srgb,#000 50%,transparent)){.pcr-sheet{background:var(--pcr-backdrop-overlay)}.pcr-sheet__header{border-bottom-color:#eee}.pcr-form input:focus{box-shadow:0 0 0 3px rgba(39,54,173,.16)}}

.pcr-trigger{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:40px;padding:10px 12px;border:0;border-radius:10px;background:#FFEFE6;color:#F16319;font-family:inherit;font-size:13px;font-weight:400;line-height:20px;cursor:pointer;direction:rtl}.pcr-trigger svg{width:14px;height:14px;flex:none}.pcr-trigger:focus-visible{outline:2px solid #F16319;outline-offset:3px}

/* Native top-layer dialog covers sticky Elementor headers regardless of z-index. */
dialog.pcr-sheet{width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:0;color:var(--pcr-text);z-index:2147483647;outline:none}
dialog.pcr-sheet::backdrop{background:transparent}
@media(min-width:768px){dialog.pcr-sheet{padding:24px}}
.pcr-form__submit:focus-visible,.pcr-sheet__close:focus-visible{outline:2px solid var(--pcr-accent);outline-offset:3px}

.pcr-sheet{opacity:1!important;transition:none!important;overflow:hidden!important;overscroll-behavior:none}.pcr-sheet__panel{opacity:1!important;background:#fff!important;flex-shrink:0;backface-visibility:hidden}.pcr-sheet.is-closing{opacity:1!important}

.pcr-trigger,.pcr-trigger:hover,.pcr-trigger:focus,.pcr-trigger:active{background:var(--pcr-trigger-bg,#FFEFE6)!important;color:var(--pcr-trigger-color,#F16319)!important;transform:none!important;filter:none!important;transition:none!important;animation:none!important}

dialog.pcr-sheet{overflow:clip!important;overflow-anchor:none}.pcr-sheet__panel{overflow-anchor:none}
