ul.products li.product {
	position: relative;
}

#woocommerce ul.products li.product > .button.add_to_cart_button,
#woocommerce ul.products li.product > .button.product_type_variable {
	display: none !important;
}

.product-image-container {
	position: relative;
}

.odqa-trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 20;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #000;
	background: rgba(255, 255, 255, 0.92);
	color: #000;
	cursor: pointer;
	border-radius: 999px;
	box-shadow: 0 5px 16px rgba(0, 0, 0, .12);
	opacity: 0;
	pointer-events: none;
	transform: translateY(4px);
	-webkit-appearance: none;
	appearance: none;
	transition: background 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.product-image-container .odqa-trigger {
	top: auto;
	right: 12px;
	bottom: 12px;
}

ul.products li.product:hover .odqa-trigger,
.product-image-container:hover .odqa-trigger,
.odqa-trigger:focus-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.odqa-trigger:hover,
.odqa-trigger.is-loading,
.odqa-trigger.is-added {
	background: #000;
	color: #fff;
}

.odqa-trigger svg {
	display: block;
	width: 18px;
	height: 18px;
	margin: 11px auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.odqa-trigger-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.odqa-trigger.is-loading {
	opacity: .55;
	pointer-events: none;
}

.odqa-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
}

.odqa-alert {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 100001;
	max-width: calc(100vw - 44px);
	padding: 14px 18px;
	background: #000;
	color: #fff;
	font-family: 'gothambook', Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.odqa-alert.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.odqa-modal.is-open {
	display: block;
}

.odqa-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, .72);
}

.odqa-modal-panel {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(680px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow: auto;
	transform: translate(-50%, -50%);
	background: #fff;
	border: 1px solid #000;
	box-sizing: border-box;
}

.odqa-modal-content {
	padding: 28px;
}

.odqa-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	width: 28px;
	height: 28px;
	border: none;
	background: transparent;
	color: #000;
	font-size: 22px;
	line-height: 28px;
	cursor: pointer;
}

.odqa-product {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 30px;
}

.odqa-product-image img {
	display: block;
	width: 100%;
	height: auto;
}

.odqa-product-summary h2,
.odqa-label {
	font-family: 'gothambook', Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #000;
	margin: 0 0 14px;
}

.odqa-product-price {
	margin: 0 0 18px;
	font-family: 'gothambook', Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #000;
}

.odqa-field {
	margin: 0 0 18px;
}

.odqa-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.odqa-option {
	min-width: 42px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid #ccc;
	background: #fff;
	color: #000;
	font-family: 'gothambook', Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 34px;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

.odqa-option:hover,
.odqa-option.is-selected {
	border-color: #000;
}

.odqa-qty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	width: 160px;
	height: 44px;
	margin: 4px 0 16px;
	border: 1px solid #000;
	box-sizing: border-box;
}

.odqa-qty-btn {
	border: none;
	background: transparent;
	color: #000;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
}

.odqa-qty-input {
	width: 38px;
	border: none !important;
	background: transparent !important;
	text-align: center;
	font-family: 'gothambook', Helvetica, Arial, sans-serif;
	font-size: 13px;
	-moz-appearance: textfield;
	appearance: textfield;
}

.odqa-qty-input::-webkit-outer-spin-button,
.odqa-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.odqa-submit {
	display: block;
	width: 100%;
	height: 46px;
	border: 1px solid #000;
	background: #000;
	color: #fff;
	font-family: 'gothambook', Helvetica, Arial, sans-serif;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

.odqa-submit:hover:not(:disabled) {
	background: #fff;
	color: #000;
}

.odqa-submit:disabled {
	opacity: .35;
	cursor: default;
}

.odqa-feedback,
.odqa-loading {
	margin: 14px 0 0;
	font-family: 'gothambook', Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #000;
}

body.odqa-modal-open {
	overflow: hidden;
}

@media screen and (max-width: 600px) {
	.odqa-modal-panel {
		width: calc(100vw - 20px);
	}

	.odqa-modal-content {
		padding: 24px 18px;
	}

	.odqa-product {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.odqa-product-image {
		max-width: 180px;
	}
}
