/* PrintKit Pricing product form. Kept plain so the theme's own styles carry through. */
.pk-form { display: grid; gap: 0.75rem; margin: 1rem 0; max-width: 36rem; }
.pk-form .pk-field, .pk-form .pk-group { margin: 0; display: grid; gap: 0.25rem; }
.pk-form fieldset.pk-group { border: 0; padding: 0; }
.pk-form legend, .pk-form label { font-weight: 600; }
.pk-form .pk-choice { font-weight: normal; display: flex; gap: 0.5rem; align-items: center; }
.pk-form select, .pk-form input[type="number"], .pk-form input[type="text"] { width: 100%; min-height: 2.75rem; padding: 0.4rem 0.6rem; font: inherit; }
.pk-form [hidden] { display: none !important; }
.pk-form .pk-price { font-size: 1.25rem; font-weight: 700; margin: 0.5rem 0; min-height: 1.6em; }
.pk-form .pk-price.pk-working { opacity: 0.5; }
.pk-form .pk-price.pk-refused { font-size: 1rem; font-weight: 600; color: #a00; }
.pk-form button[type="submit"] { min-height: 3rem; }
@media (prefers-color-scheme: dark) { .pk-form .pk-price.pk-refused { color: #ff8a80; } }

/* Every field the same width, and Turnaround lined up with the rest (finding 14) */
.pk-form select, .pk-form input[type="number"], .pk-form input[type="text"] { box-sizing: border-box; width: 100%; max-width: 100%; }
.pk-form fieldset.pk-group { margin: 0; padding: 0; min-width: 0; }
.pk-form fieldset.pk-group legend { padding: 0; margin-bottom: 0.25rem; }
.pk-form .pk-choice { padding: 0.15rem 0; }
.pk-form .pk-choice input { margin: 0; }
.pk-form button[type="submit"] { width: 100%; }

/* The (i) next to an option's name, and its explanation in a pop-up (PrintKit > Wording) */
.pk-form .pk-group__head { display: flex; align-items: center; gap: 0.4rem; }
/* WooCommerce puts 0.7em under labels on shop pages (woocommerce-blocktheme.css); centring the (i) counted that gap,
   so it sat low. The gap goes under the name and its (i) together instead: the (i) is centred on the name's text and
   the space above the drop-down is the same as every other option's. */
.woocommerce-page .pk-form .pk-group__head { margin-bottom: 0.7em; }
.woocommerce-page .pk-form .pk-group__head > label { margin-bottom: 0; }
.pk-form legend { display: flex; align-items: center; gap: 0.4rem; }
.pk-help { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: transparent; color: inherit; font: italic 700 0.8rem/1 Georgia, "Times New Roman", serif; cursor: pointer; opacity: 0.7; flex: none; }
.pk-help:hover, .pk-help:focus-visible { opacity: 1; }
.pk-help:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.pk-help__pop { box-sizing: border-box; width: min(32rem, calc(100vw - 2rem)); max-height: calc(100vh - 4rem); overflow: auto; padding: 1.25rem 1.25rem 1rem; border: 0; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); background: #fff; color: #1e1e1e; font-weight: normal; text-align: left; }
.pk-help__pop::backdrop { background: rgba(0, 0, 0, 0.35); }
.pk-help__title { display: block; margin: 0 0 0.6rem; font-size: 1.3em; font-weight: 700; line-height: 1.25; }
.pk-help__para { display: block; margin: 0 0 0.75rem; line-height: 1.5; }
.pk-help__close { display: block; margin: 0.25rem 0 0 auto; }
/* A turnaround with no days for the quantity chosen: greyed out, with a note (Carl, 21 October) */
.pk-form .pk-choice--off { color: #767676; }
.pk-form .pk-choice__off { font-size: 0.85em; font-style: italic; }
/* The form's button (or "Log in or create an account to order" when not logged in): never wider than a phone screen */
.pk-form .single_add_to_cart_button { max-width: 100%; box-sizing: border-box; white-space: normal; text-align: center; }
.pk-form a.single_add_to_cart_button { display: inline-block; text-decoration: none; }
.pk-form .pk-entry__choice { display: none; }

/* Under the quantity, on products where customers mix designs (Carl, 4 November) */
.pk-several-designs { margin: 0.25rem 0 1rem; padding: 0.6rem 0.8rem; border-left: 4px solid var(--wp--preset--color--accent-2, #42b0bf); background: var(--wp--preset--color--accent-7, #e6f5f7); font-size: 0.9em; }
.pk-another-design { margin-left: 0.5rem; }
