/* Pro Cart – ویجت‌های «متغیرهای محصول» و «دکمه‌ی افزودن به سبد (تکی)» + پاپ‌آپ گزینه‌ها */

.pcart-vars .woocommerce-variation-add-to-cart { display: none !important; }
.pcart-vars form.cart { margin: 0; }

.pcart-atb__form { display: flex; align-items: stretch; gap: 10px; margin: 0; }
.pcart-atb__form .single_add_to_cart_button.disabled { opacity: .6; cursor: pointer; }

.pcart-vpop[hidden] { display: none; }
.pcart-vpop { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .5); overflow-y: auto; }
.pcart-vpop__box { position: relative; box-sizing: border-box; width: 420px; max-width: 100%; max-height: 100%; overflow-y: auto; padding: 20px; border-radius: 12px; background: #fff; }
.pcart-vpop__close { position: absolute; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; color: inherit; cursor: pointer; }
.pcart-vpop__title { margin: 0 0 6px; padding-inline-end: 36px; font-size: 16px; font-weight: 700; }
.pcart-vpop__name { margin: 0 0 12px; font-size: 14px; }
.pcart-vpop .pcart-atc form.cart { margin: 0; }

html.pcart-vpop-open { overflow: hidden; }
.elementor-editor-active .pcart-preview-vpop-yes .pcart-vpop { display: flex !important; position: static; padding: 0; background: none; }
