.bu-pa-frontend {
	border: 1px solid rgba(15, 23, 42, 0.14);
	border-radius: 8px;
	margin: 18px 0;
	padding: 18px;
	background: #fff;
	color: #1f2937;
	flex: 1 1 100%;
}

.bu-pa-frontend-group + .bu-pa-frontend-group {
	border-top: 1px solid rgba(15, 23, 42, 0.1);
	margin-top: 18px;
	padding-top: 18px;
}

.bu-pa-frontend-group-title {
	font-size: 18px;
	line-height: 1.3;
	margin: 0 0 6px;
}

.bu-pa-frontend-group-description {
	color: #64748b;
	margin: 0 0 16px;
}

.bu-pa-frontend-field {
	margin-bottom: 16px;
}



.bu-pa-label-row {
	align-items: center;
	display: flex;
	gap: 8px;
	margin-bottom: 7px;
}

.bu-pa-frontend-label {
	display: block;
	font-weight: 700;
	margin: 0;
}

.bu-pa-help-tooltip {
	align-items: center;
	background: #111827;
	border-radius: 999px;
	color: #fff;
	cursor: help;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 800;
	height: 18px;
	justify-content: center;
	line-height: 1;
	position: relative;
	width: 18px;
}

.bu-pa-help-tooltip:focus {
	outline: 2px solid rgba(11, 102, 255, 0.35);
	outline-offset: 2px;
}

.bu-pa-help-tooltip-content {
	background: #111827;
	border-radius: 7px;
	bottom: calc(100% + 9px);
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	left: 50%;
	line-height: 1.45;
	max-width: min(260px, 78vw);
	opacity: 0;
	padding: 9px 10px;
	pointer-events: none;
	position: absolute;
	text-align: left;
	transform: translate(-50%, 4px);
	transition: opacity 0.16s ease, transform 0.16s ease;
	visibility: hidden;
	width: max-content;
	z-index: 20;
}

.bu-pa-help-tooltip-content::after {
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #111827;
	content: "";
	left: 50%;
	position: absolute;
	top: 100%;
	transform: translateX(-50%);
}

.bu-pa-help-tooltip:hover .bu-pa-help-tooltip-content,
.bu-pa-help-tooltip:focus .bu-pa-help-tooltip-content {
	opacity: 1;
	transform: translate(-50%, 0);
	visibility: visible;
}

.bu-pa-required {
	color: #be123c;
}

.bu-pa-frontend-field input[type="text"],
.bu-pa-frontend-field input[type="email"],
.bu-pa-frontend-field input[type="tel"],
.bu-pa-frontend-field input[type="url"],
.bu-pa-frontend-field input[type="number"],
.bu-pa-frontend-field input[type="date"],
.bu-pa-frontend-field input[type="time"],
.bu-pa-frontend-field input[type="file"],
.bu-pa-frontend-field textarea,
.bu-pa-frontend-field select {
	border: 1px solid rgba(15, 23, 42, 0.18);
	border-radius: 6px;
	box-shadow: none;
	max-width: 100%;
	padding: 10px 12px;
	width: 100%;
}

.bu-pa-frontend-field textarea {
	min-height: 92px;
}

.bu-pa-address-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bu-pa-address-control {
	display: grid;
	gap: 6px;
	margin: 0;
}

.bu-pa-address-control--wide {
	grid-column: 1 / -1;
}

.bu-pa-address-label {
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.bu-pa-date-time-picker,
.bu-pa-custom-select {
	position: relative;
}

.bu-pa-native-date-time {
	height: 1px !important;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	width: 1px !important;
}

.bu-pa-date-time-trigger {
	align-items: center;
	background: #fff;
	border: 1px solid #d4d4d8;
	border-radius: 8px;
	color: #374151;
	cursor: pointer;
	display: grid;
	font-size: 15px;
	font-weight: 650;
	gap: 12px;
	grid-template-columns: 34px minmax(0, 1fr) 18px;
	min-height: 50px;
	padding: 0 15px;
	text-align: left;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
	width: 100%;
}

.bu-pa-date-time-trigger [data-bu-pa-date-time-text] {
	align-items: center;
	display: flex;
	line-height: 1.25;
	min-height: 34px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bu-pa-date-time-trigger:hover,
.bu-pa-date-time-picker.is-open .bu-pa-date-time-trigger {
	border-color: #60a5fa;
	box-shadow: 0 0 0 3px rgba(11, 102, 255, 0.1);
}

.bu-pa-date-time-trigger:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.bu-pa-date-time-icon {
	background: #eef5ff;
	border: 1px solid #bfdbfe;
	border-radius: 7px;
	flex: 0 0 34px;
	height: 34px;
	position: relative;
	width: 34px;
}

.bu-pa-date-time-icon::before,
.bu-pa-date-time-icon::after {
	content: "";
	position: absolute;
}

.bu-pa-date-time-icon::before {
	background: #0b66ff;
	border-radius: 2px;
	height: 4px;
	left: 8px;
	right: 8px;
	top: 9px;
}

.bu-pa-date-time-icon::after {
	border: 2px solid #0b66ff;
	border-radius: 2px;
	bottom: 8px;
	left: 9px;
	right: 9px;
	top: 16px;
}

.bu-pa-time-picker .bu-pa-date-time-icon::before {
	border: 2px solid #0b66ff;
	border-radius: 999px;
	background: transparent;
	height: 16px;
	left: 7px;
	right: 7px;
	top: 7px;
}

.bu-pa-time-picker .bu-pa-date-time-icon::after {
	background: #0b66ff;
	border: 0;
	border-radius: 999px;
	height: 8px;
	left: 17px;
	right: auto;
	top: 13px;
	width: 2px;
}

.bu-pa-date-time-arrow {
	align-items: center;
	align-self: center;
	display: inline-flex;
	height: 18px;
	justify-self: center;
	transition: transform 0.18s ease;
	width: 18px;
}

.bu-pa-date-time-arrow svg,
.bu-pa-calendar-nav svg {
	display: block;
	fill: none;
	height: 18px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
	width: 18px;
}

.bu-pa-date-time-picker.is-open .bu-pa-date-time-arrow {
	transform: rotate(180deg);
}

.bu-pa-date-time-panel {
	background: #fff;
	border: 1px solid #dbe3ee;
	border-radius: 8px;
	box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
	display: none;
	left: 0;
	margin-top: 8px;
	overflow: hidden;
	padding: 12px;
	position: absolute;
	right: 0;
	z-index: 40;
}

.bu-pa-date-time-picker.is-open .bu-pa-date-time-panel {
	display: block;
}

.bu-pa-calendar-header {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 34px minmax(0, 1fr) 34px;
	margin-bottom: 10px;
}

.bu-pa-calendar-header strong {
	color: #111827;
	font-size: 15px;
	text-align: center;
}

.bu-pa-calendar-header button,
.bu-pa-calendar-grid button,
.bu-pa-time-list button {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 7px;
	color: #374151;
	cursor: pointer;
	font-weight: 700;
	min-height: 34px;
	padding: 0;
	text-align: center;
	transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.bu-pa-calendar-header button {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: inline-flex;
	justify-content: center;
}

.bu-pa-calendar-header button:hover,
.bu-pa-calendar-grid button:hover,
.bu-pa-time-list button:hover {
	background: #eef5ff;
	color: #0b66ff;
}

.bu-pa-calendar-grid {
	background: #edf2f7;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	overflow: hidden;
}

.bu-pa-calendar-grid span {
	background: #f8fafc;
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
	padding: 8px 0;
	text-align: center;
}

.bu-pa-calendar-grid i {
	background: #fff;
	min-height: 34px;
}

.bu-pa-calendar-grid button {
	border: 0;
	border-radius: 0;
	min-height: 38px;
}

.bu-pa-calendar-grid button.is-today {
	box-shadow: inset 0 0 0 1px #93c5fd;
	color: #0b66ff;
}

.bu-pa-calendar-grid button.is-selected,
.bu-pa-time-list button.is-selected {
	background: #0b66ff;
	color: #fff;
}

.bu-pa-time-list {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-height: 260px;
	overflow: auto;
	padding-right: 2px;
}

.bu-pa-time-list button {
	min-height: 38px;
}

.bu-pa-custom-select select {
	height: 1px;
	opacity: 0;
	position: absolute;
	pointer-events: none;
	width: 1px;
}

.bu-pa-select-display {
	position: relative;
	z-index: 2;
}

.bu-pa-select-display {
	align-items: center;
	background: #fff;
	border: 1px solid #d4d4d8;
	border-radius: 8px;
	color: #3f3f46;
	cursor: pointer;
	display: flex;
	font-size: 15px;
	font-weight: 500;
	gap: 12px;
	justify-content: space-between;
	min-height: 50px;
	padding: 0 18px 0 15px;
	text-align: left;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
	width: 100%;
}

.bu-pa-select-display:hover,
.bu-pa-custom-select:focus-within .bu-pa-select-display {
	border-color: #9ca3af;
	box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.bu-pa-select-clear {
	color: #3f3f46;
	display: none;
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
	margin-left: auto;
	position: relative;
	z-index: 3;
}

.bu-pa-custom-select.has-value .bu-pa-select-clear {
	display: inline-flex;
}

.bu-pa-select-arrow {
	border-bottom: 1px solid #334155;
	border-right: 1px solid #334155;
	display: inline-flex;
	height: 9px;
	transform: rotate(45deg) translateY(-3px);
	width: 9px;
}

.bu-pa-select-menu {
	background: #fff;
	border: 1px solid #d4d4d8;
	border-radius: 8px;
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
	display: none;
	left: 0;
	margin-top: 8px;
	max-height: 280px;
	overflow: auto;
	padding: 8px;
	position: absolute;
	right: 0;
	z-index: 20;
}

.bu-pa-custom-select.is-open .bu-pa-select-menu {
	display: grid;
	gap: 4px;
}

.bu-pa-select-menu button {
	background: #fff;
	border: 0;
	border-radius: 6px;
	color: #374151;
	cursor: pointer;
	font-size: 17px;
	font-weight: 500;
	padding: 12px 14px;
	text-align: left;
	transition: background 0.16s ease, color 0.16s ease;
}

.bu-pa-select-menu button:hover,
.bu-pa-select-menu button.is-selected {
	background: #eef5ff;
	color: #0b66ff;
}

.bu-pa-choice-list {
	display: grid;
	gap: 0;
}

.bu-pa-choice {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 9px 0;
	position: relative;
	transition: color 0.18s ease;
}

.bu-pa-choice:hover {
	transform: none;
}

.bu-pa-choice input[type="checkbox"],
.bu-pa-choice input[type="radio"] {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: 0;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.bu-pa-choice-control {
	background: #fafafa;
	border: 2px solid #e5e7eb;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	box-sizing: border-box;
	flex: 0 0 20px;
	height: 20px;
	position: relative;
	transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
	width: 20px;
}

.bu-pa-field-type-radio .bu-pa-choice-control {
	border-radius: 50%;
}

.bu-pa-consent-choice {
	align-items: flex-start;
	padding-bottom: 4px;
	padding-top: 4px;
}

.bu-pa-consent-choice .bu-pa-choice-control {
	margin-top: 1px;
}

.bu-pa-consent-choice input:focus-visible + .bu-pa-choice-control {
	box-shadow: 0 0 0 4px rgba(11, 102, 255, 0.16);
	outline: 2px solid #0b66ff;
	outline-offset: 2px;
}

.bu-pa-consent-text {
	line-height: 1.5;
}

.bu-pa-consent-text a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.16s ease, text-decoration-color 0.16s ease;
}

.bu-pa-consent-text a:hover,
.bu-pa-consent-text a:focus-visible {
	color: #0b66ff;
	text-decoration-color: currentColor;
}

.bu-pa-choice-control::after {
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	content: "";
	height: 8px;
	left: 50%;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -55%) rotate(45deg) scale(0.7);
	transform-origin: center;
	transition: opacity 0.16s ease, transform 0.16s ease;
	width: 4px;
}

.bu-pa-field-type-radio .bu-pa-choice-control::after {
	background: #0b66ff;
	border: 0;
	border-radius: 50%;
	height: 8px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.7);
	width: 8px;
}

.bu-pa-choice-label {
	color: #374151;
	font-size: 16px;
	font-weight: 500;
	transition: color 0.16s ease;
}

.bu-pa-choice small {
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #374151;
	font-size: 15px;
	font-weight: 500;
	margin-left: auto;
	padding: 0;
	transition: color 0.16s ease;
}

.bu-pa-choice:has(input:checked) .bu-pa-choice-control {
	background: #0b66ff;
	border-color: #0b66ff;
	box-shadow: 0 4px 10px rgba(11, 102, 255, 0.24);
}

.bu-pa-field-type-radio .bu-pa-choice:has(input:checked) .bu-pa-choice-control {
	background: #fff;
	box-shadow: none;
}

.bu-pa-choice:has(input:checked) .bu-pa-choice-control::after {
	opacity: 1;
	transform: translate(-50%, -55%) rotate(45deg) scale(1);
}

.bu-pa-field-type-radio .bu-pa-choice:has(input:checked) .bu-pa-choice-control::after {
	transform: translate(-50%, -50%) scale(1);
}

.bu-pa-choice:has(input:checked) .bu-pa-choice-label,
.bu-pa-choice:has(input:checked) small {
	color: #0b66ff;
}

.bu-pa-choice:hover .bu-pa-choice-control {
	border-color: #93c5fd;
	box-shadow: 0 0 0 4px rgba(11, 102, 255, 0.08);
	transform: scale(1.08);
}

.bu-pa-choice:hover .bu-pa-choice-label,
.bu-pa-choice:hover small {
	color: #0b66ff;
}

.bu-pa-product-selector-list {
	display: grid;
	gap: 10px;
}

.bu-pa-product-selector-option {
	background: #fff;
	border: 1px solid #dbe3ee;
	border-radius: 8px;
	cursor: pointer;
	position: relative;
	padding: 12px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bu-pa-product-selector-option input {
	clip: rect(0 0 0 0);
	height: 1px;
	margin: 0;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.bu-pa-product-selector-layout-product_card {
	grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
}

.bu-pa-product-selector-layout-product_card .bu-pa-product-selector-option {
	display: grid;
	gap: 10px;
	padding: 10px;
}

.bu-pa-product-selector-image {
	background-color: #f1f5f9;
	background-position: center;
	background-size: cover;
	border: 1px solid #e5e7eb;
	border-radius: 7px;
	display: block;
	width: 100%;
}

.bu-pa-product-selector-layout-product_card .bu-pa-product-selector-image {
	aspect-ratio: 4 / 3;
}

.bu-pa-product-selector-image-placeholder::before {
	align-items: center;
	color: #94a3b8;
	content: "+";
	display: flex;
	font-size: 24px;
	font-weight: 700;
	height: 100%;
	justify-content: center;
	min-height: 72px;
}

.bu-pa-product-selector-check {
	align-items: center;
	background: #0b66ff;
	border: 2px solid #fff;
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(11, 102, 255, 0.22);
	color: #fff;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	opacity: 0;
	position: absolute;
	right: 18px;
	top: 18px;
	transform: scale(.8);
	transition: opacity 0.16s ease, transform 0.16s ease;
	width: 24px;
}

.bu-pa-product-selector-check::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	height: 8px;
	transform: translateY(-1px) rotate(45deg);
	width: 4px;
}

.bu-pa-product-selector-option:has(input:checked) .bu-pa-product-selector-check {
	opacity: 1;
	transform: scale(1);
}

.bu-pa-product-selector-layout-full_width {
	grid-template-columns: 1fr;
}

.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-option {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: 22px 54px minmax(0, 1fr) auto;
}

.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-image {
	aspect-ratio: 1;
	border-radius: 7px;
	height: 54px;
	width: 54px;
}

.bu-pa-product-selector-control {
	background: #fafafa;
	border: 2px solid #e5e7eb;
	border-radius: 6px;
	box-sizing: border-box;
	height: 22px;
	position: relative;
	width: 22px;
}

.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-option input[type="radio"] + .bu-pa-product-selector-control {
	border-radius: 50%;
}

.bu-pa-product-selector-control::after {
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	content: "";
	height: 8px;
	left: 50%;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -55%) rotate(45deg) scale(.7);
	width: 4px;
}

.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-option input[type="radio"] + .bu-pa-product-selector-control::after {
	background: #0b66ff;
	border: 0;
	border-radius: 50%;
	height: 8px;
	transform: translate(-50%, -50%) scale(.7);
	width: 8px;
}

.bu-pa-product-selector-label {
	color: #374151;
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.bu-pa-product-selector-copy small {
	color: #64748b;
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-top: 3px;
}

.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-price {
	margin-left: 16px;
	text-align: right;
	white-space: nowrap;
}

.bu-pa-product-selector-option:hover,
.bu-pa-product-selector-option:has(input:focus-visible) {
	border-color: #93c5fd;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.bu-pa-product-selector-option:has(input:checked) {
	border-color: #0b66ff;
	box-shadow: 0 0 0 2px #bfdbfe, 0 12px 26px rgba(11, 102, 255, 0.12);
}

.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-option:has(input:checked) .bu-pa-product-selector-control {
	background: #0b66ff;
	border-color: #0b66ff;
}

.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-option:has(input[type="radio"]:checked) .bu-pa-product-selector-control {
	background: #fff;
}

.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-option:has(input:checked) .bu-pa-product-selector-control::after {
	opacity: 1;
	transform: translate(-50%, -55%) rotate(45deg) scale(1);
}

.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-option:has(input[type="radio"]:checked) .bu-pa-product-selector-control::after {
	transform: translate(-50%, -50%) scale(1);
}

.bu-pa-product-selector-option:has(input:checked) .bu-pa-product-selector-label,
.bu-pa-product-selector-option:has(input:checked) small {
	color: #0b66ff;
}

.bu-pa-product-bundle-list {
	display: grid;
	gap: 10px;
}

.bu-pa-product-bundle-layout-card,
.bu-pa-product-bundle-layout-checkbox,
.bu-pa-product-bundle-layout-radio {
	grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
}

.bu-pa-product-bundle-option {
	background: #fff;
	border: 1px solid #dbe3ee;
	border-radius: 8px;
	cursor: pointer;
	display: grid;
	gap: 10px;
	padding: 10px;
	position: relative;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bu-pa-product-bundle-option input:not(.bu-pa-product-bundle-qty) {
	clip: rect(0 0 0 0);
	height: 1px;
	margin: 0;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.bu-pa-product-bundle-image {
	aspect-ratio: 4 / 3;
	background-color: #f1f5f9;
	background-position: center;
	background-size: cover;
	border: 1px solid #e5e7eb;
	border-radius: 7px;
	display: block;
	width: 100%;
}

.bu-pa-product-bundle-image-placeholder::before {
	align-items: center;
	color: #94a3b8;
	content: "+";
	display: flex;
	font-size: 24px;
	font-weight: 700;
	height: 100%;
	justify-content: center;
	min-height: 72px;
}

.bu-pa-product-bundle-check {
	align-items: center;
	background: #0b66ff;
	border: 2px solid #fff;
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(11, 102, 255, 0.22);
	color: #fff;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	opacity: 0;
	position: absolute;
	right: 18px;
	top: 18px;
	transform: scale(.8);
	transition: opacity 0.16s ease, transform 0.16s ease;
	width: 24px;
}

.bu-pa-product-bundle-check::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	height: 8px;
	transform: translateY(-1px) rotate(45deg);
	width: 4px;
}

.bu-pa-product-bundle-option:has(input:checked) .bu-pa-product-bundle-check {
	opacity: 1;
	transform: scale(1);
}

.bu-pa-product-bundle-label {
	color: #374151;
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.bu-pa-product-bundle-price,
.bu-pa-product-bundle-stock {
	color: #64748b;
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-top: 3px;
}

.bu-pa-product-bundle-stock {
	color: #b91c1c;
}

.bu-pa-product-bundle-qty {
	border: 1px solid #dbe3ee;
	border-radius: 6px;
	max-width: 90px;
	min-height: 34px;
	padding: 6px 8px;
}

.bu-pa-product-bundle-option:hover,
.bu-pa-product-bundle-option:has(input:focus-visible) {
	border-color: #93c5fd;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.bu-pa-product-bundle-option:has(input:checked) {
	border-color: #0b66ff;
	box-shadow: 0 0 0 2px #bfdbfe, 0 12px 26px rgba(11, 102, 255, 0.12);
}

.bu-pa-product-bundle-option:has(input:checked) .bu-pa-product-bundle-label,
.bu-pa-product-bundle-option:has(input:checked) small {
	color: #0b66ff;
}

.bu-pa-swatch-list {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.bu-pa-swatch {
	align-items: center;
	background: #fff;
	border: 1px solid #dbe3ee;
	border-radius: 8px;
	cursor: pointer;
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 10px;
	position: relative;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bu-pa-swatch:hover {
	border-color: #93c5fd;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.bu-pa-swatch input[type="radio"] {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: 0;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

div:not(.bu-pa-color-swatch-layout-circle, .bu-pa-color-swatch-layout-large_circle) > .bu-pa-swatch:has(input:focus-visible){
	box-shadow: 0 0 0 3px rgba(11, 102, 255, 0.18);
}

div:not(.bu-pa-color-swatch-layout-circle, .bu-pa-color-swatch-layout-large_circle) > .bu-pa-swatch:has(input:checked) {
	border-color: #0b66ff;
	box-shadow: 0 0 0 2px rgba(11, 102, 255, 0.18), 0 12px 26px rgba(11, 102, 255, 0.1);
}

.bu-pa-swatch-visual {
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 7px;
	display: block;
	overflow: hidden;
	position: relative;
}

.bu-pa-color-swatch-visual {
	aspect-ratio: 1;
	background: var(--bu-pa-swatch-color, #e5e7eb);
	max-width: 54px;
	width: 100%;
}

.bu-pa-image-swatch-visual {
	aspect-ratio: 4 / 3;
	background-color: #f8fafc;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
}

.bu-pa-swatch:has(input:checked) .bu-pa-swatch-visual::after {
	align-items: center;
	background: #0b66ff;
	border-radius: 999px;
	color: #fff;
	content: "\2713";
	display: flex;
	font-size: 12px;
	font-weight: 800;
	height: 22px;
	justify-content: center;
	position: absolute;
	right: 6px;
	top: 6px;
	width: 22px;
}

.bu-pa-swatch-copy {
	display: grid;
	gap: 2px;
}

.bu-pa-swatch-label {
	color: #374151;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
}

.bu-pa-swatch-description {
	color: #64748b;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
}

.bu-pa-swatch small {
	color: #64748b;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.2;
}

.bu-pa-swatch:has(input:checked) .bu-pa-swatch-label,
.bu-pa-swatch:has(input:checked) small {
	color: #0b66ff;
}

.bu-pa-color-swatch-list {
	--bu-pa-color-swatch-size: 40px;
	--bu-pa-color-swatch-radius: 999px;
}

.bu-pa-color-swatch-list .bu-pa-color-swatch-visual {
	border-radius: var(--bu-pa-color-swatch-radius);
	height: var(--bu-pa-color-swatch-size);
	max-width: none;
	width: var(--bu-pa-color-swatch-size);
}

.bu-pa-color-swatch-list .bu-pa-swatch:has(input:checked) .bu-pa-color-swatch-visual::after {
	background: rgba(15, 23, 42, 0.82);
	border: 2px solid #fff;
	font-size: 11px;
	height: 18px;
	left: 50%;
	right: auto;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 18px;
}

.bu-pa-color-swatch-layout-circle,
.bu-pa-color-swatch-layout-minimal,
.bu-pa-color-swatch-layout-large_circle {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	grid-template-columns: none;
}

.bu-pa-color-swatch-layout-circle .bu-pa-swatch,
.bu-pa-color-swatch-layout-minimal .bu-pa-swatch,
.bu-pa-color-swatch-layout-large_circle .bu-pa-swatch {
	background: transparent;
	border: 0;
	box-shadow: none;
	display: inline-flex;
	padding: 4px;
}

.bu-pa-conditional-hidden,
[data-bu-pa-conditional][hidden],
.bu-pa-color-swatch-layout-circle .bu-pa-swatch[data-bu-pa-overflow-swatch][hidden] {
	display: none !important;
}

.bu-pa-color-swatch-layout-circle .bu-pa-swatch:hover,
.bu-pa-color-swatch-layout-minimal .bu-pa-swatch:hover,
.bu-pa-color-swatch-layout-large_circle .bu-pa-swatch:hover {
	box-shadow: none;
	transform: none;
}

.bu-pa-color-swatch-layout-circle .bu-pa-swatch-overflow-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #374151;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	height: calc(var(--bu-pa-color-swatch-size) + 8px);
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 4px;
	width: calc(var(--bu-pa-color-swatch-size) + 8px);
}

.bu-pa-color-swatch-layout-circle .bu-pa-swatch-overflow-toggle span {
	align-items: center;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: var(--bu-pa-color-swatch-radius);
	box-shadow: inset 0 0 0 1px #fff, 0 0 0 3px #fff;
	display: inline-flex;
	height: var(--bu-pa-color-swatch-size);
	justify-content: center;
	min-width: var(--bu-pa-color-swatch-size);
	padding: 0 7px;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
	width: var(--bu-pa-color-swatch-size);
}

.bu-pa-color-swatch-layout-circle .bu-pa-swatch-overflow-toggle:hover span,
.bu-pa-color-swatch-layout-circle .bu-pa-swatch-overflow-toggle:focus-visible span {
	background: #eef5ff;
	border-color: #93c5fd;
	color: #0b66ff;
	transform: translateY(-1px);
}

.bu-pa-color-swatch-layout-circle .bu-pa-swatch-visual,
.bu-pa-color-swatch-layout-large_circle .bu-pa-swatch-visual,
.bu-pa-color-swatch-layout-minimal .bu-pa-swatch-visual {
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12), 0 0 0 3px #fff;
}

.bu-pa-color-swatch-layout-circle .bu-pa-swatch:has(input:checked) .bu-pa-swatch-visual::after,
.bu-pa-color-swatch-layout-large_circle .bu-pa-swatch:has(input:checked) .bu-pa-swatch-visual::after,
.bu-pa-color-swatch-layout-square .bu-pa-swatch:has(input:checked) .bu-pa-swatch-visual::after,
.bu-pa-color-swatch-layout-minimal .bu-pa-swatch:has(input:checked) .bu-pa-swatch-visual::after {
	content: none;
}

.bu-pa-color-swatch-layout-circle .bu-pa-swatch:has(input:checked) .bu-pa-swatch-visual,
.bu-pa-color-swatch-layout-large_circle .bu-pa-swatch:has(input:checked) .bu-pa-swatch-visual,
.bu-pa-color-swatch-layout-minimal .bu-pa-swatch:has(input:checked) .bu-pa-swatch-visual {
	box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px #0b66ff, 0 10px 22px rgba(11, 102, 255, 0.18);
}

.bu-pa-color-swatch-layout-large_circle {
	gap: 14px;
}

.bu-pa-color-swatch-layout-square {
	--bu-pa-color-swatch-radius: 10px;
	grid-template-columns: repeat(auto-fit, minmax(74px, max-content));
}

.bu-pa-color-swatch-layout-square .bu-pa-swatch {
	align-items: center;
	justify-items: center;
	min-width: calc(var(--bu-pa-color-swatch-size) + 24px);
	padding: 10px;
}

.bu-pa-color-swatch-layout-square .bu-pa-swatch:has(input:checked) .bu-pa-color-swatch-visual {
	box-shadow: 0 0 0 3px rgba(11, 102, 255, 0.18);
}

.bu-pa-color-swatch-layout-label {
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.bu-pa-color-swatch-layout-label .bu-pa-swatch {
	grid-template-columns: var(--bu-pa-color-swatch-size) minmax(0, 1fr);
	padding: 11px 12px;
}

.bu-pa-color-swatch-layout-label .bu-pa-swatch-copy {
	min-width: 0;
}

.bu-pa-color-swatch-layout-pill {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	grid-template-columns: none;
}

.bu-pa-color-swatch-layout-pill .bu-pa-swatch {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	gap: 9px;
	min-height: calc(var(--bu-pa-color-swatch-size) + 16px);
	padding: 7px 14px 7px 8px;
	width: auto;
}

.bu-pa-color-swatch-layout-pill .bu-pa-color-swatch-visual {
	flex: 0 0 auto;
}

.bu-pa-color-swatch-layout-pill .bu-pa-swatch-description,
.bu-pa-color-swatch-layout-pill .bu-pa-swatch small,
.bu-pa-color-swatch-layout-square .bu-pa-swatch-copy,
.bu-pa-color-swatch-layout-circle .bu-pa-swatch-copy,
.bu-pa-color-swatch-layout-minimal .bu-pa-swatch-copy,
.bu-pa-color-swatch-layout-large_circle .bu-pa-swatch-copy {
	display: none;
}

.bu-pa-color-swatch-layout-card {
	grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
}

.bu-pa-color-swatch-layout-card .bu-pa-swatch {
	align-items: start;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px;
}

.bu-pa-color-swatch-layout-card .bu-pa-color-swatch-visual {
	border-radius: 8px;
	height: 72px;
	width: 100%;
}

.bu-pa-color-swatch-layout-card .bu-pa-swatch-copy {
	gap: 4px;
}

.bu-pa-color-swatch-layout-minimal {
	gap: 8px;
}

.bu-pa-color-swatch-layout-minimal .bu-pa-swatch {
	padding: 2px;
}

.bu-pa-product-quantity-list {
	display: grid;
	gap: 10px;
}

.bu-pa-product-quantity-option {
	align-items: center;
	background: #fff;
	border: 1px solid #dbe3ee;
	border-radius: 8px;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) 92px;
	padding: 10px 12px;
}

.bu-pa-product-quantity-option label {
	display: grid;
	gap: 3px;
	margin: 0;
}

.bu-pa-product-quantity-label {
	color: #374151;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.25;
}

.bu-pa-product-quantity-option small {
	color: #64748b;
	font-size: 12px;
	font-weight: 650;
}

.bu-pa-product-quantity-option input[type="number"] {
	min-height: 38px;
	text-align: center;
}

.bu-pa-measurement-grid {
	display: grid;
	gap: var(--bu-pa-measurement-gap, 12px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bu-pa-measurement-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bu-pa-measurement-name {
	color: var(--bu-pa-measurement-label-color, #334155);
	font-size: var(--bu-pa-measurement-label-size, 13px);
	font-weight: var(--bu-pa-measurement-label-weight, 700);
	line-height: var(--bu-pa-measurement-label-line-height, 16px);
	text-transform: var(--bu-pa-measurement-label-transform, none);
}

.bu-pa-measurement-unit {
	color: var(--bu-pa-measurement-unit-color, #475569);
	font-size: var(--bu-pa-measurement-unit-size, 12px);
	font-weight: var(--bu-pa-measurement-unit-weight, 400);
	line-height: var(--bu-pa-measurement-unit-line-height, 20px);
	margin-left: auto;
	padding-left: 10px;
	text-transform: var(--bu-pa-measurement-unit-transform, none);
}

.bu-pa-measurement-input-wrap {
	align-items: center;
	background: var(--bu-pa-measurement-input-bg, #ffffff);
	border: var(--bu-pa-measurement-input-border-width, 1px) solid var(--bu-pa-measurement-input-border-color, rgba(203, 213, 225, 0.84));
	border-radius: var(--bu-pa-measurement-input-radius, 7px);
	display: flex;
	min-height: var(--bu-pa-measurement-input-min-height, 38px);
	padding: 0 12px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bu-pa-measurement-control:focus-within .bu-pa-measurement-input-wrap {
	border-color: var(--bu-pa-measurement-input-focus-border-color, rgba(37, 99, 235, 0.56));
	box-shadow: 0 0 0 2px var(--bu-pa-measurement-focus-ring-color, rgba(37, 99, 235, 0.12));
}

.bu-pa-measurement-control input[type="number"] {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--bu-pa-measurement-input-color, #0f172a);
	font-size: var(--bu-pa-measurement-input-size, 14px);
	font-weight: var(--bu-pa-measurement-input-weight, 400);
	line-height: var(--bu-pa-measurement-input-line-height, 20px);
	min-height: 38px;
	outline: 0;
	padding: 0;
	text-transform: var(--bu-pa-measurement-input-transform, none);
	width: 100%;
}

.bu-pa-measurement-control input[type="number"]::placeholder {
	color: var(--bu-pa-measurement-placeholder-color, #d1d5db);
	font-size: 14px;
	font-weight: 400;
}

.bu-pa-measurement-control input[type="number"]:focus {
	box-shadow: none;
	outline: 0;
}

.bu-pa-frontend-description,
.bu-pa-frontend-price-note {
	color: #64748b;
	font-size: 13px;
	margin: 7px 0 0;
}

.bu-pa-label-row + .bu-pa-frontend-description {
	margin: -1px 0 9px;
}

.bu-pa-frontend-heading {
	font-size: 16px;
	font-weight: 800;
	margin: 18px 0 10px;
}

.bu-pa-frontend-html {
	margin-bottom: 16px;
}

.bu-pa-totals {
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 8px;
	display: grid;
	gap: 0;
	margin-top: 18px;
	overflow: hidden;
}

.bu-pa-total-row {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 12px 14px;
}

.bu-pa-total-row + .bu-pa-total-row {
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.bu-pa-total-row span {
	color: #475569;
	font-weight: 650;
}

.bu-pa-total-row strong {
	color: #111827;
	font-weight: 800;
}

.bu-pa-grand-total {
	background: #eef5ff;
}

.bu-pa-price-matrix {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bu-pa-price-matrix-select span {
	color: #4b5563;
	font-size: 13px;
	font-weight: 650;
}

.bu-pa-price-matrix-select select {
	appearance: none;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	color: #111827;
	font-size: 14px;
	min-height: 44px;
	padding: 10px 36px 10px 12px;
	width: 100%;
}

.bu-pa-price-matrix-price {
	background: #eef5ff;
	border: 1px solid #cfe0ff;
	border-radius: 8px;
	color: #203f8f;
	font-size: 13px;
	font-weight: 750;
	grid-column: 1 / -1;
	margin: 0;
	padding: 9px 11px;
}

.bu-pa-grand-total span,
.bu-pa-grand-total strong {
	color: #203f8f;
}

.bu-pa-measurement-control,
.bu-pa-price-matrix-select {
	display: grid;
	gap: 6px;
}

.woocommerce-cart-form .variation,
.woocommerce-checkout-review-order .variation,
.wc-item-meta {
	clear: both;
	display: grid;
	gap: 2px;
	margin: 8px 0 0;
}

.woocommerce-cart-form .variation dt,
.woocommerce-cart-form .variation dd,
.woocommerce-checkout-review-order .variation dt,
.woocommerce-checkout-review-order .variation dd {
	display: block;
	float: none;
	line-height: 1.45;
	margin: 0;
	padding: 0;
}

.woocommerce-cart-form .variation dt,
.woocommerce-checkout-review-order .variation dt,
.wc-item-meta-label,
.wc-block-components-product-details__name {
	color: #111827;
	font-weight: 600;
	margin-top: 3px;
}

.woocommerce-cart-form .variation dd,
.woocommerce-checkout-review-order .variation dd,
.wc-item-meta p,
.wc-block-components-product-details__value {
	color: #5a5b5d;
	font-size: 14px;
	font-weight: 500;
}

.woocommerce-cart-form .variation dd p,
.woocommerce-checkout-review-order .variation dd p,
.wc-item-meta p {
	margin: 0;
}

.wc-item-meta li,
.wc-block-components-product-details li,
.wc-block-components-product-details__item {
	display: grid;
	gap: 2px;
	margin: 0 0 7px;
}

.wc-block-components-product-details {
	display: grid;
	gap: 6px;
	margin: 8px 0 0;
}

@media (max-width: 640px) {
	.bu-pa-address-grid {
		grid-template-columns: 1fr;
	}

	.bu-pa-price-matrix {
		grid-template-columns: 1fr;
	}

	.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-option {
		grid-template-columns: 22px 48px minmax(0, 1fr);
	}

	.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-image {
		height: 48px;
		width: 48px;
	}

	.bu-pa-product-selector-layout-full_width .bu-pa-product-selector-price {
		grid-column: 3;
		margin-left: 0;
		text-align: left;
	}
}
