/* Shared CTA reference: the two buttons in the current home hero.
 * Important presentation properties supersede page-specific declarations,
 * Gutenberg color utilities and WPRently's important button styling.
 * Only action CTAs are selected: drawer close, quantity, calendar and nav
 * controls retain their native styles and behavior. */
:is(body, .editor-styles-wrapper) :is(
	.wp-block-button__link,
	.woocommerce .button,
	.single_add_to_cart_button,
	.wc-block-components-product-button__button,
	.wc-block-mini-cart__shopping-button,
	.wc-block-mini-cart__footer-cart,
	.wc-block-mini-cart__footer-checkout,
	.wc-block-cart__submit-button,
	.wc-block-components-checkout-place-order-button,
	.wc-block-components-checkout-return-to-cart-button,
	.skki-legal form button[type="submit"],
	.skki-legal form input[type="submit"],
	.skki-wprently-catalog .rbfw-book-now-btn,
	body.single-rbfw_item .rbfw-book-now-btn
) {
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 1 auto !important;
	gap: .35rem !important;
	width: max-content !important;
	min-width: 170px !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 54px !important;
	padding: .9rem 1.25rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	clip-path: polygon(12% 0, 100% 0, 100% 66%, 88% 100%, 0 100%, 0 34%) !important;
	background: var(--wp--preset--color--lime) !important;
	color: var(--wp--preset--color--night) !important;
	font-family: var(--wp--preset--font-family--overused-grotesk) !important;
	font-size: var(--wp--preset--font-size--skki-body) !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: normal !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	transform: none !important;
	transition: background-color 180ms ease !important;
}
:is(body, .editor-styles-wrapper) :is(
	.wp-block-button__link, .woocommerce .button, .single_add_to_cart_button,
	.wc-block-components-product-button__button, .wc-block-mini-cart__shopping-button,
	.wc-block-mini-cart__footer-cart, .wc-block-mini-cart__footer-checkout,
	.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button,
	.wc-block-components-checkout-return-to-cart-button,
	.skki-legal form button[type="submit"], .skki-legal form input[type="submit"],
	.skki-wprently-catalog .rbfw-book-now-btn, body.single-rbfw_item .rbfw-book-now-btn
):not(:disabled):not(.disabled):hover { background: var(--wp--preset--color--lime-dark) !important; }
:is(body, .editor-styles-wrapper) :is(
	.wp-block-button__link, .woocommerce .button, .single_add_to_cart_button,
	.wc-block-components-product-button__button, .wc-block-mini-cart__shopping-button,
	.wc-block-mini-cart__footer-cart, .wc-block-mini-cart__footer-checkout,
	.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button,
	.wc-block-components-checkout-return-to-cart-button,
	.skki-legal form button[type="submit"],
	.skki-wprently-catalog .rbfw-book-now-btn, body.single-rbfw_item .rbfw-book-now-btn
):not(input):not(.loading)::after {
	content: "" !important;
	display: block !important;
	position: static !important;
	flex: 0 0 16px !important;
	width: 16px !important;
	height: 12px !important;
	margin: 0 !important;
	background: currentColor !important;
	mask: url("../images/ui/cta-arrows.svg") center / contain no-repeat !important;
	-webkit-mask: url("../images/ui/cta-arrows.svg") center / contain no-repeat !important;
	transform: none !important;
}
/* Secondary CTAs use a full SVG outline, including the diagonal corners. */
:is(body, .editor-styles-wrapper) :is(
	.is-style-outline .wp-block-button__link,
	.skki-home-hero__actions .skki-home-cta--glass .wp-block-button__link,
	.wc-block-mini-cart__footer-cart,
	.wc-block-components-checkout-return-to-cart-button,
	.woocommerce .button.is-style-outline
) {
	background: color-mix(in srgb, var(--wp--preset--color--night) 90%, transparent) !important;
	color: var(--wp--preset--color--lime) !important;
	position: relative;
	box-shadow: none !important;
}
:is(body, .editor-styles-wrapper) :is(
	.is-style-outline .wp-block-button__link,
	.wc-block-mini-cart__footer-cart,
	.wc-block-components-checkout-return-to-cart-button,
	.woocommerce .button.is-style-outline
)::before {
	content: '' !important; position: absolute; inset: 0; pointer-events: none;
	background: var(--wp--preset--color--lime);
	mask: url('../images/ui/cta-outline.svg') center / 100% 100% no-repeat;
	-webkit-mask: url('../images/ui/cta-outline.svg') center / 100% 100% no-repeat;
}
:is(body, .editor-styles-wrapper) :is(
	.is-style-outline .wp-block-button__link,
	.skki-home-hero__actions .skki-home-cta--glass .wp-block-button__link,
	.wc-block-mini-cart__footer-cart,
	.wc-block-components-checkout-return-to-cart-button,
	.woocommerce .button.is-style-outline
):not(:disabled):not(.disabled):hover { background: var(--wp--preset--color--charcoal) !important; }
/* The mini-cart's native layout stretches its button: explicitly keep it compact. */
:is(body, .editor-styles-wrapper) .wc-block-mini-cart__drawer .wp-block-button .wc-block-mini-cart__shopping-button { width: 170px !important; min-width: 0 !important; margin-inline: auto; }
.wc-block-mini-cart__drawer .wc-block-mini-cart__shopping-button .wc-block-components-button__text { flex: 0 1 auto; }
.skki-distributor-closing__button { border: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.skki-distributor-benefit__actions .wp-block-button__link span[aria-hidden="true"] { display: none; }
:is(body, .editor-styles-wrapper) :is(
	.wp-block-button__link, .woocommerce .button, .single_add_to_cart_button,
	.wc-block-components-product-button__button, .wc-block-mini-cart__shopping-button,
	.wc-block-mini-cart__footer-cart, .wc-block-mini-cart__footer-checkout,
	.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button,
	.wc-block-components-checkout-return-to-cart-button,
	.skki-wprently-catalog .rbfw-book-now-btn, body.single-rbfw_item .rbfw-book-now-btn
):is(:disabled, .disabled, [aria-disabled="true"]) { opacity: .5 !important; cursor: not-allowed; }
:is(body, .editor-styles-wrapper) :is(.skki-wprently-catalog .rbfw-book-now-btn, body.single-rbfw_item .rbfw-book-now-btn):disabled {
	background: var(--wp--preset--color--charcoal) !important;
	color: var(--wp--preset--color--snow) !important;
}
:is(body, .editor-styles-wrapper) .wp-block-button:has(.wp-block-button__link:focus-visible),
.wc-block-mini-cart__drawer .wp-block-button:has(.wc-block-mini-cart__shopping-button:focus-visible) { outline: 2px solid var(--wp--preset--color--lime); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
	:is(body, .editor-styles-wrapper) :is(.wp-block-button__link, .woocommerce .button, .wc-block-mini-cart__shopping-button) { transition: none !important; }
}
/* Dark/lime home secondary: paint the full outline, including diagonals. */
:is(body, .editor-styles-wrapper) .skki-home .skki-home-hero__actions .wp-block-button.skki-home-cta--glass .wp-block-button__link,
:is(body, .editor-styles-wrapper) .skki-home .skki-home-hero__actions .wp-block-button.skki-home-cta--glass .wp-block-button__link:is(:hover, :focus-visible) {
	position: relative;
	background: color-mix(in srgb, var(--wp--preset--color--night) 90%, transparent) !important;
	clip-path: polygon(12% 0,100% 0,100% 66%,88% 100%,0 100%,0 34%) !important;
	box-shadow: none !important;
	color: var(--wp--preset--color--lime) !important;
}
:is(body, .editor-styles-wrapper) .skki-home .skki-home-hero__actions .wp-block-button.skki-home-cta--glass .wp-block-button__link::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: var(--wp--preset--color--lime);
	mask: url('../images/ui/cta-outline.svg') center / 100% 100% no-repeat;
	-webkit-mask: url('../images/ui/cta-outline.svg') center / 100% 100% no-repeat;
}
@media (max-width: 767px) {
	:is(body, .editor-styles-wrapper) .skki-home .skki-home-hero__actions .wp-block-button .wp-block-button__link { width: 100% !important; min-width: 0 !important; }
}
