.jk-artistic {
	--jk-radius-sm: 8px;
	--jk-control-height: 44px;
	--jk-control-padding: 14px;
	--jk-control-surface: var(--jk-surface);
	--jk-control-disabled-surface: var(--jk-surface-rose);
	--jk-control-border: #a58294;
	--jk-control-text: var(--jk-ink);
	--jk-control-placeholder: #736872;
	--jk-control-accent: var(--jk-primary-dark);
	--jk-control-hover: var(--jk-action-hover);
	--jk-control-focus: var(--jk-control-accent);
	--jk-control-error: #8e3150;
	--jk-choice-size: 18px;
	--jk-button-fill: var(--jk-gradient-cta);
	--jk-button-text: var(--jk-on-rose);
	--jk-button-border: var(--jk-control-accent);
	--jk-button-hover-fill: var(--jk-gradient-cta-hover);
	--jk-button-hover-text: var(--jk-on-rose);
	--jk-button-hover-border: var(--jk-control-hover);
	--jk-button-shine: linear-gradient(110deg, transparent 39%, rgb(255 244 248 / 12%) 46%, rgb(255 244 248 / 22%) 50%, transparent 61%);
	--jk-button-hover-shadow: 0 6px 15px rgb(102 45 69 / 22%);
	--jk-button-transition: none;
	--jk-button-hover-transition: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.jk-artistic {
		--jk-button-transition: border-color 160ms ease, box-shadow 180ms ease;
		--jk-button-hover-transition: background-position 560ms cubic-bezier(.2, .55, .35, 1), var(--jk-button-transition);
	}
}

/* Native fields and the visible controls generated by WooCommerce's SelectWoo. */
body.jk-artistic :is(
	.woocommerce-cart-form table.cart .actions .coupon input.input-text,
	form input:not([type]),
	form input:is([type=text], [type=email], [type=password], [type=tel], [type=url], [type=search], [type=number], [type=date]):not(:where(.qty, .select2-search__field)),
	form textarea,
	form select:not(.select2-hidden-accessible),
	.select2-container :is(.select2-selection--single, .select2-selection--multiple),
	.select2-dropdown input.select2-search__field
) {
	box-sizing: border-box;
	min-block-size: var(--jk-control-height);
	max-inline-size: 100%;
	padding: 9px var(--jk-control-padding);
	border: 1px solid var(--jk-control-border);
	border-radius: var(--jk-radius-sm);
	background: var(--jk-control-surface);
	box-shadow: none;
	color: var(--jk-control-text);
	font: 400 16px/1.4 var(--jk-font);
}

body.jk-artistic form :is(input, textarea)::placeholder,
body.jk-artistic .select2-container .select2-selection__placeholder {
	color: var(--jk-control-placeholder);
	opacity: 1;
}

body.jk-artistic form textarea {
	resize: vertical;
}

body.jk-artistic :is(
	.wpforms-container .wpforms-form :is(.wpforms-field :is(input, textarea, select), button.wpforms-submit, button.wpforms-page-button),
	form input:not(.qty),
	form textarea,
	form select,
	form :is(button, input)[type=submit]:not(:where(.jk-store-search *)),
	.woocommerce .button,
	.elementor-button,
	.hustle-button-submit,
	.jk-button,
	.jk-store-button,
	.select2-selection--single,
	.select2-selection--multiple,
	input.select2-search__field
):focus-visible,
body.jk-artistic .select2-container--open :is(.select2-selection--single, .select2-selection--multiple) {
	outline: 2px solid var(--jk-control-focus);
	outline-offset: 2px;
}

body.jk-artistic form :is(input, textarea, select)[aria-invalid=true],
body.jk-artistic .woocommerce-invalid :is(.input-text, select, .select2-container),
body.jk-artistic .wpforms-field :is(input, textarea, select).wpforms-error {
	--jk-control-border: var(--jk-control-error);
	--jk-control-focus: var(--jk-control-error-focus, var(--jk-control-error));
}

body.jk-artistic form :is(input, textarea, select):disabled {
	--jk-control-surface: var(--jk-control-disabled-surface);
}

body.jk-artistic .select2-container .select2-selection--single {
	display: flex;
	block-size: auto;
	align-items: center;
}

body.jk-artistic .select2-container .select2-selection--single .select2-selection__rendered {
	padding-block: 0;
	padding-inline: 0 18px;
	color: inherit;
	line-height: inherit;
}

body.jk-artistic .select2-container .select2-selection--single .select2-selection__arrow {
	inset-block: 0;
	inset-inline-end: 9px;
	height: auto;
}

body.jk-artistic :is(form, .woocommerce-shipping-methods, .woocommerce-shipping-calculator) input:is([type=radio], [type=checkbox]) {
	appearance: auto;
	box-sizing: border-box;
	inline-size: var(--jk-choice-size);
	block-size: var(--jk-choice-size);
	flex: 0 0 var(--jk-choice-size);
	margin: 0 .5em 0 0;
	accent-color: var(--jk-choice-accent, var(--jk-control-accent));
	vertical-align: middle;
}

/* WPForms draws a second indicator over the native choice control. */
body.jk-artistic .wpforms-render-modern .wpforms-field input:is([type=radio], [type=checkbox])::before,
body.jk-artistic .wpforms-render-modern .wpforms-field input:is([type=radio], [type=checkbox])::after {
	content: none;
}

body.jk-artistic :is(.wpforms-form label.wpforms-field-label-inline a[href], .woocommerce .woocommerce-privacy-policy-link, .woocommerce .woocommerce-terms-and-conditions-link) {
	color: var(--jk-primary-dark);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

body.jk-artistic :is(.wpforms-form label.wpforms-field-label-inline a[href], .woocommerce .woocommerce-privacy-policy-link, .woocommerce .woocommerce-terms-and-conditions-link):is(:hover, :focus-visible) {
	color: var(--jk-action-hover);
	text-decoration-thickness: .13em;
}

/* Shared action styles, including buttons supplied by the integrations in the theme. */
body.jk-artistic:not(.jk-artistic-preview) :is(
	.jk-button,
	.jk-store-button,
	.hustle-form .hustle-button-submit,
	.woocommerce :is(button.button, a.button, input.button),
	ul.products li.product > a.button,
	form :is(button, input)[type=submit]:not(:where(.jk-store-search *, [hidden])),
	.wpforms-container .wpforms-form button:is(.wpforms-submit, .wpforms-page-button),
	.elementor :is(a, button).elementor-button
):not([hidden]) {
	box-sizing: border-box;
	display: inline-flex;
	block-size: auto;
	min-block-size: var(--jk-button-height, var(--jk-control-height));
	align-items: center;
	justify-content: center;
	padding: var(--jk-button-padding-block, 9px) var(--jk-button-padding-inline, var(--jk-control-padding));
	border: 1px solid var(--jk-button-border);
	border-radius: var(--jk-radius-sm);
	background: var(--jk-button-shine) right center / 300% 100% no-repeat, var(--jk-button-fill);
	box-shadow: none;
	color: var(--jk-button-text);
	font: var(--jk-button-weight, 500) var(--jk-button-size, 14px)/1.3 var(--jk-font);
	text-align: center;
	text-decoration: none;
	white-space: var(--jk-button-white-space, normal);
	cursor: pointer;
	transition: var(--jk-button-transition);
}

body.jk-artistic:not(.jk-artistic-preview) :is(
	.jk-button,
	.jk-store-button,
	.hustle-form .hustle-button-submit,
	.woocommerce :is(button.button, a.button, input.button),
	ul.products li.product > a.button,
	form :is(button, input)[type=submit]:not(:where(.jk-store-search *, [hidden])),
	.wpforms-container .wpforms-form button:is(.wpforms-submit, .wpforms-page-button),
	.elementor :is(a, button).elementor-button
):not(:where([hidden], :disabled, .disabled, [aria-disabled=true])):is(:hover, :focus-visible) {
	border-color: var(--jk-button-hover-border);
	background: var(--jk-button-shine) left center / 300% 100% no-repeat, var(--jk-button-hover-fill);
	box-shadow: var(--jk-button-hover-shadow);
	color: var(--jk-button-hover-text);
	transition: var(--jk-button-hover-transition);
}

body.jk-artistic .wpforms-container .wpforms-form button.wpforms-submit:focus-visible::after {
	content: none;
}

body.jk-artistic :is(.jk-button, .jk-store-button, .hustle-button-submit, .woocommerce .button, form [type=submit]):is(:disabled, .disabled, [aria-disabled=true]) {
	opacity: .5;
	cursor: default;
}

.jk-artistic :is(
	.jk-button--outline, .jk-store-button-outline, .button[name=apply_coupon], .button[name=update_cart],
	:is(.elementor-7791, .elementor-element-b0911c0, .elementor-element-2cb0674, .elementor-element-8284a67, .elementor-element-171a07a, .elementor-element-eeb7b5b) .elementor-button
) {
	--jk-button-fill: var(--jk-control-surface);
	--jk-button-text: var(--jk-control-accent);
	--jk-button-hover-fill: var(--jk-surface-rose);
	--jk-button-hover-text: var(--jk-control-hover);
	--jk-button-hover-shadow: var(--jk-shadow-sm);
}

.jk-artistic .jk-button--inverse {
	--jk-button-fill: #fff;
	--jk-button-border: #fff;
	--jk-button-text: var(--jk-control-hover);
	--jk-button-hover-fill: var(--jk-rose-light);
	--jk-button-hover-border: var(--jk-rose-light);
	--jk-button-hover-text: var(--jk-control-hover);
	--jk-button-hover-shadow: none;
}

.jk-artistic ul.products li.product > :is(.button, .wc-buy-now-btn) {
	--jk-button-size: 12.5px;
	--jk-button-padding-inline: clamp(5px, 1vw, 12px);
}

.jk-artistic .jk-store-search {
	--jk-control-height: 40px;
	--jk-control-padding: 9px;
	--jk-control-surface: transparent;
	--jk-control-border: transparent;
}

/* Hustle generates important declarations for its embedded opt-in controls. */
.jk-artistic .hustle-ui .hustle-form .hustle-button-submit {
	border-radius: var(--jk-radius-sm) !important;
	background: var(--jk-button-shine) right center / 300% 100% no-repeat, var(--jk-button-fill) !important;
}

.jk-artistic .hustle-ui .hustle-form .hustle-button-submit:is(:hover, :focus-visible) {
	background: var(--jk-button-shine) left center / 300% 100% no-repeat, var(--jk-button-hover-fill) !important;
}
