/* Scoped to the new list cart controls only. */
button.k1-list-quick-cart {
    padding: 12px 16px;
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    justify-content: center;
    cursor: pointer;
}
.k1-cart-confirm {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 420px;
    padding: 24px;
    border: 0;
    border-radius: 12px;
    color: inherit;
    background: var(--wp--preset--color--base, #fff);
    box-shadow: 0 12px 48px #0003;
    text-align: center;
    font: inherit;
}
.k1-cart-confirm::backdrop { background: #0006; }
.k1-cart-confirm h2 { margin: 0 0 12px; font-size: 1.35em; line-height: 1.4; }
.k1-cart-confirm p { margin: 0 0 20px; overflow-wrap: anywhere; }
.k1-cart-confirm button { width: 100%; min-height: 44px; cursor: pointer; }

.k1-return-navigation { margin-block: 12px 24px; }
.k1-return-to-list.wp-element-button {
    display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box; min-height: 44px; max-width: 100%;
    padding: 12px 18px; border-radius: 6px; white-space: nowrap; text-decoration: none;
}
.k1-list-spec-summary { margin: 6px 0 0; font-size: 0.9em; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }
.k1-spec-open { overflow: hidden; }
.k1-spec-picker {
    box-sizing: border-box; width: calc(100% - 24px); max-width: 480px;
    max-height: calc(100dvh - 24px); overflow-y: auto; padding: 24px;
    border: 0; border-radius: 12px; background: var(--wp--preset--color--base, #fff);
    color: inherit; font: inherit; box-shadow: 0 12px 48px #0003;
}
.k1-spec-picker::backdrop { background: #0006; }
.k1-spec-picker h2 { padding-right: 40px; margin: 0 0 16px; font-size: 1.25em; line-height: 1.4; }
.k1-spec-picker .k1-spec-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 28px; cursor: pointer; }
.k1-spec-picker form.cart { margin: 16px 0 0; }
.k1-spec-picker table.variations { width: 100%; margin: 0 0 16px; }
.k1-spec-picker table.variations th, .k1-spec-picker table.variations td { display: block; width: 100%; padding: 0 0 8px; }
.k1-spec-picker select { width: 100%; max-width: 100%; min-height: 44px; font: inherit; box-sizing: border-box; }
.k1-spec-picker .quantity { float: none !important; margin: 0 0 12px !important; }
.k1-spec-picker input.qty { min-height: 44px; width: 80px; box-sizing: border-box; font: inherit; }
.k1-spec-picker .single_add_to_cart_button { width: 100%; min-height: 44px; font: inherit; }
.k1-spec-picker .single_add_to_cart_button:disabled { opacity: 0.45; cursor: not-allowed; }
.k1-spec-status { margin: 12px 0 0; font-size: 0.9em; line-height: 1.5; }
button.k1-list-spec-picker { min-height: 44px; padding: 12px 16px; cursor: pointer; }
