.xtwpa-product-options {
	display: grid;
	gap: 1.25rem;
	margin: 0 0 1.25rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.xtwpa-product-options--before_title,
.xtwpa-product-options--after_title,
.xtwpa-product-options--after_short_description,
.xtwpa-product-options--after_long_description {
	margin: 0.75rem 0 1.15rem;
}

.xtwpa-cart-sync {
	display: none !important;
}

.xtwpa-group {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1rem 1.1rem 1.15rem;
	margin: 0;
	min-inline-size: 0;
}

.xtwpa-group__title {
	padding: 0;
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 600;
}

.xtwpa-group__description {
	margin: 0 0 0.85rem;
	color: #475569;
	font-size: 0.925rem;
}

.xtwpa-field {
	margin: 0 0 0.9rem;
	overflow: visible;
	min-width: 0;
	max-width: 100%;
}

.xtwpa-field:last-child {
	margin-bottom: 0;
}

.xtwpa-field__head {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 0.35rem;
	overflow: visible;
}

.xtwpa-field__label,
.xtwpa-choice {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	margin-bottom: 0;
}
.xtwpa-field__price {
	margin-left: auto;
	font-weight: 600;
	white-space: nowrap;
}

.xtwpa-choice {
	font-weight: 500;
	margin: 0.25rem 0;
}

.xtwpa-field__description {
	margin: 0 0 0.4rem;
	color: #64748b;
	font-size: 0.875rem;
}

.xtwpa-field__required {
	color: #dc2626;
}

.xtwpa-field__help {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.2rem;
	height: 1.2rem;
	margin: 0 0 0 0.25rem;
	padding: 0;
	border: 1px solid rgba(0, 76, 254, 0.28);
	border-radius: 999px;
	background: #eff4ff;
	color: rgb(0, 76, 254);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	cursor: help;
	vertical-align: middle;
}

.xtwpa-field__help:hover,
.xtwpa-field__help:focus,
.xtwpa-field__help.is-open {
	background: rgb(0, 76, 254);
	border-color: rgb(0, 76, 254);
	color: #fff;
	outline: none;
}

.xtwpa-field__help-icon {
	pointer-events: none;
}

.xtwpa-field__help-tip {
	position: absolute;
	top: 50%;
	left: calc(100% + 10px);
	z-index: 40;
	width: max-content;
	max-width: min(18rem, 72vw);
	padding: 0.65rem 0.8rem;
	border: 0;
	border-radius: 8px;
	background: #374151;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.45;
	text-align: left;
	white-space: normal;
	transform: translateY(-50%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.xtwpa-field__help-tip::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -5px;
	width: 10px;
	height: 10px;
	background: #374151;
	border: 0;
	transform: translateY(-50%) rotate(45deg);
}

.xtwpa-field__help:hover .xtwpa-field__help-tip,
.xtwpa-field__help:focus .xtwpa-field__help-tip,
.xtwpa-field__help.is-open .xtwpa-field__help-tip {
	opacity: 1;
	visibility: visible;
}

.xtwpa-input {
	width: 100%;
	max-width: 100%;
	min-height: 42px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 0.5rem 0.75rem;
	background: #fff;
}

.xtwpa-input:focus {
	outline: 2px solid #2563eb;
	outline-offset: 1px;
	border-color: #2563eb;
}


.xtwpa-extras {
	border: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	max-height: none;
}

.xtwpa-extra {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.75rem;
	max-width: 100%;
	margin: 0;
	padding: 0.7rem 0.85rem;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	font-weight: 500;
	cursor: pointer;
	min-width: 0;
}


.xtwpa-extra:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
}

.xtwpa-extra:has(input:checked) {
	border-color: #2563eb;
	box-shadow: 0 0 0 1px #2563eb;
	background: #f8fbff;
}

.xtwpa-extra input {
	margin: 5px 0 0;
	flex: 0 0 auto;
}

.xtwpa-extra__media {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
}

.xtwpa-extra__img,
.xtwpa-extra__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.xtwpa-extra__copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.xtwpa-extra__label {
	flex: 0 0 auto;
	font-weight: 500;
	color: #111827;
	min-width: 0;
}

.xtwpa-extra__sku {
	font-size: 0.75rem;
	font-weight: 500;
	color: #64748b;
	letter-spacing: 0.01em;
}

.xtwpa-extra__desc {
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.35;
	color: #475569;
}

.xtwpa-extra__price {
	flex: 0 1 auto;
	margin-left: auto;
	align-self: center;
	color: #111827;
	font-weight: 600;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.xtwpa-cart-extras {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 100%;
	max-width: 36rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.xtwpa-cart-extra {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 0.55rem 0.7rem;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}

.xtwpa-cart-extra__img {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 8px;
	display: block;
	object-fit: cover;
	background: #fff;
	border: 1px solid #e5e7eb;
}

.xtwpa-cart-extra__chip {
	width: 1.35rem;
	height: 1.35rem;
	flex: 0 0 1.35rem;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	align-self: center;
}

.xtwpa-cart-extra--input,
.xtwpa-cart-extra--simple,
.xtwpa-cart-extra--number,
.xtwpa-cart-extra--toggle,
.xtwpa-cart-extra--swatch,
.xtwpa-cart-extra--image,
.xtwpa-cart-extra--option {
	background: #fff;
	align-items: center;
}

.xtwpa-cart-extra--input {
	padding-left: 0.85rem;
	border-left: 3px solid #94a3b8;
}

.xtwpa-cart-extra--number {
	padding-left: 0.85rem;
	border-left: 3px solid #0f766e;
}


.xtwpa-cart-extra--simple {
	border-left: 3px solid #cbd5e1;
}


.xtwpa-cart-extra--toggle {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.xtwpa-cart-extra--swatch {
	background: #fff;
	border-color: #e2e8f0;
	border-radius: 999px;
	padding: 0.4rem 0.75rem;
}

.xtwpa-cart-extra--image {
	background: #fff;
	border-color: #e2e8f0;
}

.xtwpa-cart-extra--option {
	background: #f8fafc;
}

.xtwpa-cart-extra--input .xtwpa-cart-extra__name,
.xtwpa-cart-extra--simple .xtwpa-cart-extra__name,
.xtwpa-cart-extra--number .xtwpa-cart-extra__name {
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
}

.xtwpa-cart-extra__caption {
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.xtwpa-cart-extra__hex {
	font-size: 0.75rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color: #64748b;
}

.xtwpa-cart-extra__img--swatch,
.xtwpa-cart-extra--swatch .xtwpa-cart-extra__chip {
	width: 1.75rem;
	height: 1.75rem;
	flex: 0 0 1.75rem;
	border-radius: 999px;
}

.xtwpa-cart-extra__img--tile {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 8px;
}

.xtwpa-cart-extra__text {
	color: #111827;
	font-size: 0.9375rem;
	line-height: 1.35;
	word-break: break-word;
}

.xtwpa-cart-extra__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.65rem;
	height: 1.35rem;
	padding: 0 0.3rem;
	border-radius: 6px;
	background: rgba(0, 76, 254, 0.1);
	color: rgb(0, 76, 254);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.xtwpa-cart-extra__mark--file {
	background: #f1f5f9;
	color: #334155;
}

.xtwpa-cart-extra__mark--check {
	background: #dcfce7;
	color: #15803d;
}

.xtwpa-cart-extra--product {
	background: #f8fafc;
}

.xtwpa-cart-extra__copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.xtwpa-cart-extra__name {
	flex: 0 0 auto;
	min-width: 0;
	color: #111827;
	font-size: 0.9375rem;
	line-height: 1.35;
}

.xtwpa-cart-extra__sku {
	font-size: 0.75rem;
	font-weight: 500;
	color: #64748b;
}

.xtwpa-cart-extra__desc {
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.35;
	color: #475569;
}

.xtwpa-cart-extra__price {
	flex: 0 0 auto;
	margin-left: auto;
	align-self: center;
	color: #111827;
	font-weight: 600;
	white-space: nowrap;
}

.xtwpa-cart-extra-remove {
	flex: 0 0 auto;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 999px;
	color: #6b7280;
	background: #fff;
	border: 1px solid #e5e7eb;
	text-decoration: none;
	font-size: 1.15rem;
	line-height: 1;
	font-weight: 500;
}

.xtwpa-cart-extra-remove:hover,
.xtwpa-cart-extra-remove:focus {
	color: #b42318;
	text-decoration: none;
}

.xtwpa-cart-extra-remove.is-busy {
	opacity: 0.55;
	pointer-events: none;
}

.product-name:has(> .xtwpa-cart-extras) dl.variation:has(.xtwpa-cart-extra),
td.product-name:has(.xtwpa-cart-extras) dl.variation:has(.xtwpa-cart-extra),
.mini_cart_item:has(> .xtwpa-cart-extras) dl.variation:has(.xtwpa-cart-extra),
.woocommerce-mini-cart-item:has(.xtwpa-cart-extras) dl.variation:has(.xtwpa-cart-extra) {
	display: none;
}

.woocommerce-cart-form .variation:has(.xtwpa-cart-extra),
.widget_shopping_cart .variation:has(.xtwpa-cart-extra),
.woocommerce-mini-cart .variation:has(.xtwpa-cart-extra) {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0.55rem 0 0;
	padding: 0;
	border: 0;
}

.woocommerce-cart-form .variation:has(.xtwpa-cart-extra) dt,
.widget_shopping_cart .variation:has(.xtwpa-cart-extra) dt,
.woocommerce-mini-cart .variation:has(.xtwpa-cart-extra) dt {
	display: none;
}

.woocommerce-cart-form .variation:has(.xtwpa-cart-extra) dd,
.widget_shopping_cart .variation:has(.xtwpa-cart-extra) dd,
.woocommerce-mini-cart .variation:has(.xtwpa-cart-extra) dd {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.65rem 0;
	border-top: 1px solid #e5e7eb;
	float: none;
}

.woocommerce-cart-form .variation:has(.xtwpa-cart-extra) dd p {
	margin: 0;
}

.wc-block-components-product-metadata:has(.xtwpa-cart-extras) .wc-block-components-product-details:has(.xtwpa-cart-extra),
.wc-block-components-product-metadata:has(.xtwpa-cart-extras) .wc-block-components-product-details:has(.xtwpa-cart-extras),
.wc-block-cart-item__product:has(.xtwpa-cart-extras) .wc-block-components-product-details:has(.xtwpa-cart-extra),
.wc-block-components-order-summary-item__description:has(.xtwpa-cart-extras) .wc-block-components-product-details:has(.xtwpa-cart-extra) {
	display: none !important;
}

.xtwpa-choices,
.xtwpa-swatches {
	border: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.85rem;
}

.xtwpa-swatch {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	min-width: 3.5rem;
	cursor: pointer;
}

.xtwpa-swatch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.xtwpa-swatch__chip,
.xtwpa-swatch__image {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	border: 2px solid #e2e8f0;
	overflow: hidden;
	display: block;
}

.xtwpa-swatch__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.xtwpa-swatch input:focus-visible + .xtwpa-swatch__chip,
.xtwpa-swatch input:focus-visible + .xtwpa-swatch__image,
.xtwpa-swatch input:checked + .xtwpa-swatch__chip,
.xtwpa-swatch input:checked + .xtwpa-swatch__image {
	border-color: #2563eb;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.xtwpa-swatch__label {
	font-size: 0.75rem;
	color: #334155;
	text-align: center;
}

.xtwpa-swatch__price {
	font-size: 0.6875rem;
	font-weight: 600;
	color: #111827;
	text-align: center;
}

.xtwpa-swatches--image .xtwpa-swatch__image {
	width: 3rem;
	height: 3rem;
	border-radius: 8px;
}

.xtwpa-field__heading {
	margin: 0;
	font-size: 1.1rem;
}

.xtwpa-field__divider {
	border: 0;
	border-top: 1px solid #e2e8f0;
	margin: 0.5rem 0;
}


@media (max-width: 600px) {
	.xtwpa-group {
		padding: 0.85rem;
	}
}

.xtwpa-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
}
.xtwpa-toggle__input {
	position: absolute;
	opacity: 0;
}
.xtwpa-toggle__track {
	width: 2.4rem;
	height: 1.25rem;
	border-radius: 999px;
	background: #cbd5e1;
	position: relative;
}
.xtwpa-toggle__track::after {
	content: "";
	position: absolute;
	top: 0.15rem;
	left: 0.15rem;
	width: 0.95rem;
	height: 0.95rem;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.15s ease;
}
.xtwpa-toggle__input:checked + .xtwpa-toggle__track {
	background: rgb(0, 76, 254);
}
.xtwpa-toggle__input:checked + .xtwpa-toggle__track::after {
	transform: translateX(1.1rem);
}
.xtwpa-toggle__input:focus-visible + .xtwpa-toggle__track {
	outline: 2px solid rgb(0, 76, 254);
	outline-offset: 2px;
}
.xtwpa-field__counter {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.45rem;
	margin: 0.4rem 0 0;
	line-height: 1;
}

.xtwpa-field__counter-meter {
	flex: 0 0 3.25rem;
	height: 4px;
	border-radius: 999px;
	background: #e8eef6;
	overflow: hidden;
}

.xtwpa-field__counter-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: rgb(0, 76, 254);
	transition: width 0.16s ease;
}

.xtwpa-field__counter-text {
	display: inline-flex;
	align-items: baseline;
	gap: 0.28rem;
	min-height: 1.35rem;
	padding: 0.22rem 0.55rem;
	border-radius: 999px;
	background: #f4f7fb;
	color: #64748b;
	font-size: 0.75rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

.xtwpa-field__counter-value {
	color: #0f172a;
	font-weight: 700;
}

.xtwpa-field__counter-sep,
.xtwpa-field__counter-max,
.xtwpa-field__counter-unit {
	font-weight: 500;
	color: #94a3b8;
}

.xtwpa-field__counter.is-empty .xtwpa-field__counter-value {
	color: #94a3b8;
	font-weight: 600;
}

.xtwpa-field__counter.is-near .xtwpa-field__counter-fill {
	background: #d97706;
}

.xtwpa-field__counter.is-near .xtwpa-field__counter-value {
	color: #b45309;
}

.xtwpa-field__counter.is-full .xtwpa-field__counter-fill {
	background: #dc2626;
}

.xtwpa-field__counter.is-full .xtwpa-field__counter-text {
	background: #fef2f2;
}

.xtwpa-field__counter.is-full .xtwpa-field__counter-value {
	color: #b91c1c;
}

.xtwpa-field__counter-unit--sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.xtwpa-field__counter-fill {
		transition: none;
	}
}
.xtwpa-group--collapsible {
	padding-top: 0.75rem;
}

.xtwpa-group--collapsible > legend.xtwpa-group__title {
	display: block;
	float: none;
	width: 100%;
	max-width: 100%;
	margin: 0 0 0.75rem;
	padding: 0;
}

.xtwpa-group--collapsible.is-collapsed {
	padding-bottom: 0.75rem;
}

.xtwpa-group--collapsible.is-collapsed > legend.xtwpa-group__title {
	margin-bottom: 0;
}

.xtwpa-group--collapsible.is-collapsed .xtwpa-field,
.xtwpa-group--collapsible.is-collapsed .xtwpa-group__description {
	display: none;
}

.xtwpa-group__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0.15rem 0.05rem;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.xtwpa-group__toggle-text {
	min-width: 0;
	flex: 1 1 auto;
}

.xtwpa-group__chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 1.85rem;
	width: 1.85rem;
	height: 1.85rem;
	border: 1px solid #d7e0ee;
	border-radius: 999px;
	background: #fff;
	color: rgb(0, 76, 254);
	transition: transform 0.18s ease, background 0.15s ease, border-color 0.15s ease;
}

.xtwpa-group--collapsible.is-collapsed .xtwpa-group__chevron {
	transform: rotate(-90deg);
}

.xtwpa-group__toggle:hover .xtwpa-group__chevron,
.xtwpa-group__toggle:focus .xtwpa-group__chevron {
	border-color: rgb(0, 76, 254);
	background: #eff4ff;
	outline: none;
}

.xtwpa-group__toggle:focus-visible {
	outline: 2px solid rgb(0, 76, 254);
	outline-offset: 3px;
	border-radius: 8px;
}
.xtwpa-is-hidden {
	display: none !important;
}

.xtwpa-sticky-price {
	position: sticky;
	bottom: 0;
	z-index: 20;
	pointer-events: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1rem;
	background: #0f172a;
	color: #fff;
	border-radius: 12px 12px 0 0;
}
.xtwpa-field.is-invalid .xtwpa-input,
.xtwpa-field.is-invalid .xtwpa-extra {
	outline: 2px solid #dc2626;
}
.xtwpa-cart-edit {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
}
.xtwpa-swatch.is-soldout,
.xtwpa-extra.is-soldout {
	opacity: 0.45;
	pointer-events: none;
}
.xtwpa-field__error {
	margin: 0.35rem 0 0;
	color: #dc2626;
	font-size: 0.8125rem;
}
.xtwpa-cart-extra__file {
	color: rgb(0, 76, 254);
	font-size: 0.85rem;
	text-decoration: underline;
}
@media (max-width: 782px) {
	.woocommerce div.product div.images,
	.woocommerce-product-gallery,
	.woocommerce-product-gallery__wrapper,
	.flex-viewport {
		max-width: 100%;
		overflow: hidden;
	}
	.woocommerce-product-gallery .zoomImg {
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
	}
}
body:has(.xtwpa-sticky-price) {
	padding-bottom: 4.5rem;
}
form.cart .single_add_to_cart_button {
	position: relative;
	z-index: 10001;
}
@media (max-width: 480px) {
	.wc-block-cart-items,
	.wc-block-cart-items__row,
	.wc-block-cart-item__product,
	.xtwpa-cart-extras,
	.xtwpa-cart-extra,
	.xtwpa-cart-extra__copy {
		min-width: 0;
		max-width: 100%;
	}
	.wc-block-cart-items__row {
		flex-wrap: wrap;
	}
	.xtwpa-cart-extra {
		flex-wrap: wrap;
	}
	.xtwpa-cart-extra__copy {
		order: 1;
		flex: 1 1 auto;
	}
	.xtwpa-cart-extra__name,
	.xtwpa-cart-extra__text,
	.xtwpa-cart-extra__caption {
		min-width: 0;
		overflow-wrap: break-word;
		word-break: normal;
	}
	.xtwpa-cart-extra-remove {
		order: 2;
		flex: 0 0 1.65rem;
	}
	.xtwpa-cart-extra__price {
		order: 3;
		flex: 1 0 100%;
		margin-left: 0;
		white-space: nowrap;
	}
}
