/**
 * Smart Kiosk for WooCommerce - launcher button of the product page.
 *
 *
 * Copyright (C) 2026 Pixelorigin. GPLv2 or later (license.txt).
 */
.pxsk-launcher { margin: 16px 0; clear: both; }
.pxsk-launcher .pxsk-launcher__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--pxsk-l-radius, 22px);
  background: var(--pxsk-l-accent, #FF5A36);
  color: var(--pxsk-l-text, #FFFFFF);
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.005em;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.pxsk-launcher .pxsk-launcher__btn:hover { filter: brightness(1.05); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.pxsk-launcher .pxsk-launcher__btn:active { transform: scale(.97); }
.pxsk-launcher .pxsk-launcher__btn:focus-visible { outline: 3px solid var(--pxsk-l-accent, #FF5A36); outline-offset: 3px; }
.pxsk-launcher .pxsk-launcher__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pxsk-launcher .pxsk-launcher__arrow { margin-left: auto; transition: transform .2s ease; }
.pxsk-launcher .pxsk-launcher__btn:hover .pxsk-launcher__arrow { transform: translateX(4px); }

/* The kiosk takes over the native add to cart of the product (button and quantity). */
.pxsk-native-hidden [data-button-action="add-to-cart"],
.pxsk-native-hidden .add-to-cart,
.pxsk-native-hidden .product-quantity .qty,
.pxsk-native-hidden .product-quantity .add,
.pxsk-native-hidden .js-product-add-to-cart .product-quantity,
.pxsk-native-hidden .product-add-to-cart .control-label {
  display: none !important;
}

/* WooCommerce: the add to cart form of the product page is hidden as a whole. */
form.cart.pxsk-native-hidden {
  display: none !important;
}

/* Product lists: the native button is replaced by the kiosk one. */
.pxsk-list-hidden {
  display: none !important;
}
.pxsk-list-wrap {
  margin: 8px 0 4px;
  text-align: center;
}
.pxsk-list-btn {
  cursor: pointer;
}
.pxsk-list-btn--own {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--pxsk-accent, #FF5A36);
  color: var(--pxsk-accent-text, #FFFFFF) !important;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.pxsk-list-btn--own:hover {
  filter: brightness(.94);
}

/* Choices of the kiosk in the product lines of the cart and order pages. */
.pxsk-lines { margin: 6px 0 4px; padding: 0; list-style: none; font-size: .875rem; line-height: 1.35; }
.pxsk-lines li { margin: 0 0 2px; }
.pxsk-lines strong { font-weight: 600; }

/* Shop closed (DirectPrint compatibility): kiosk buttons greyed, click stopped with a notice. */
.pxsk-closed,
.js-pxsk-launcher .pxsk-closed {
	opacity: .45 !important;
	cursor: not-allowed !important;
	filter: grayscale(.6);
}
.pxsk-closed-notice {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 2147483000;
	max-width: 360px;
	padding: 14px 18px;
	border-radius: 10px;
	background: #1f2328;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .25s, transform .25s;
}
.pxsk-closed-notice.is-shown {
	opacity: 1;
	transform: none;
}
