.fulton-purchase-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.fulton-purchase-section {
	width: 100%;
}

.fulton-purchase-section--is-hidden {
	display: none;
}

.fulton-replaced-product-summary {
	display: none !important;
}

.fulton-purchase-section--variations table.variations {
	margin-bottom: 0;
}

.fulton-purchase-section--description > :first-child {
	margin-top: 0;
}

.fulton-purchase-section--description > :last-child {
	margin-bottom: 0;
}

.fulton-purchase-section--details {
	align-items: center;
	border: 2px solid var(--bricks-color-cddxvk, #000);
	border-radius: 25px;
	justify-self: center;
	max-width: 960px;
	width: min(100%, 960px);
}

.fulton-purchase-section--details .fulton-purchase-title {
	margin-bottom: 0;
	text-transform: uppercase;
}

.fulton-purchase-section--details .fulton-purchase-price {
	margin-bottom: 50px;
}

.fulton-purchase-section--actions {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 2.5rem;
}

.fulton-purchase-section__primary-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	width: 100%;
}

.fulton-purchase-section--actions .quantity {
	background: #f5f5f5;
}

.fulton-purchase-section--actions .quantity .qty {
	min-width: 150px;
}

.fulton-purchase-section--actions .single_add_to_cart_button {
	background-color: var(--bricks-color-ggmvao, #fff);
	border: 2px solid var(--bricks-color-cddxvk, #000);
	border-radius: 50px;
	color: var(--bricks-color-cddxvk, #000);
	letter-spacing: 1px;
	margin-left: 25px;
	padding-bottom: 10px;
	padding-top: 10px;
	text-transform: uppercase;
}

.fulton-purchase-section--payments {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	margin-top: 0.75rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 380px;
	text-align: center;
	width: 100%;
}

.fulton-purchase-section--payments .ppc-button-wrapper,
.fulton-purchase-section--payments .ppcp-button-apm,
.fulton-purchase-section--payments .wcpay-express-checkout-wrapper,
.fulton-purchase-section--payments #wcpay-express-checkout-element,
.fulton-purchase-section--payments [id^="ppc-button-"] {
	margin-left: auto;
	margin-right: auto;
	max-width: 380px;
	width: 100%;
}

.fulton-purchase-section--payments .wcpay-express-checkout-wrapper {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	min-height: 48px;
	padding: 0;
}

.fulton-purchase-section--payments #wcpay-express-checkout-element.is-ready,
.fulton-purchase-section--payments #wcpay-express-checkout-element.is-ready .__PrivateStripeElement,
.fulton-purchase-section--payments #wcpay-express-checkout-element.is-ready iframe {
	min-height: 48px !important;
}

.fulton-purchase-section--payments .ppc-button-wrapper {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.fulton-purchase-title {
	margin: 0;
}

.fulton-purchase-section--title {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-align: center;
}

.fulton-purchase-price {
	font-size: 30px;
	margin: 0;
	text-align: center;
	width: 100%;
}

.single-product .fulton-purchase-price .woocommerce-Price-amount,
.single-product .fulton-purchase-price .woocommerce-Price-currencySymbol {
	font-size: 30px !important;
}

.fulton-align--left {
	align-items: flex-start;
	text-align: left;
}

.fulton-align--center {
	align-items: center;
	text-align: center;
}

.fulton-align--right {
	align-items: flex-end;
	text-align: right;
}

.fulton-align--center .fulton-purchase-section--actions {
	justify-content: center;
}

.fulton-align--right .fulton-purchase-section--actions {
	justify-content: flex-end;
}

.fulton-layout--compact-horizontal-controls .fulton-purchase-section--actions {
	align-items: stretch;
}

.fulton-layout--compact-horizontal-controls .quantity input.qty {
	height: 100%;
}

.fulton-product-purchase-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	grid-template-areas:
		"gallery gallery"
		"gallery-thumbs swatches"
		"details details"
		"actions actions";
	column-gap: clamp(1rem, 3vw, 2.5rem);
	row-gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: start;
	width: 100%;
}

.fulton-product-gallery-area {
	display: flex;
	align-items: center;
	flex-direction: column;
	grid-area: gallery;
	justify-self: stretch;
	width: 100%;
}

.fulton-product-gallery-area .woo-variation-product-gallery,
.fulton-product-gallery-area .woo-variation-gallery-wrapper,
.fulton-product-gallery-area .woo-variation-gallery-container,
.fulton-product-gallery-area .woo-variation-gallery-slider-wrapper,
.fulton-product-gallery-area .woo-variation-gallery-slider,
.fulton-product-gallery-area .wvg-single-gallery-image-container {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: min(500px, 100%) !important;
	width: min(500px, 100%) !important;
}

.fulton-product-gallery-area .wvg-single-gallery-image-container img,
.fulton-product-gallery-area .wvg-gallery-image img {
	height: auto;
	object-fit: contain;
	width: 100%;
}

.fulton-product-gallery-area .woo-variation-gallery-thumbnail-wrapper {
	display: none !important;
}

.cart.fulton-layout--swatches-next-to-gallery {
	display: contents !important;
}

.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations {
	align-self: start;
	grid-area: swatches;
	justify-self: end;
	max-width: 380px;
	text-align: right;
	width: 100%;
}

.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--gallery-thumbnails {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0.5rem;
	grid-area: gallery-thumbs;
	justify-self: start;
	max-width: 380px;
	padding-left: 0.25rem;
	width: 100%;
}

.fulton-layout--swatches-next-to-gallery .fulton-gallery-thumbnails__label,
.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations th label {
	color: #aaa3a8;
	display: block;
	font-size: 1.9rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 1.5rem;
	text-decoration: none;
	text-transform: none;
	width: 100%;

}

.fulton-layout--swatches-next-to-gallery .fulton-gallery-thumbnails__label {
	flex: 0 0 100%;
}

.fulton-layout--swatches-next-to-gallery .fulton-gallery-thumbnail {
	display: block;
	height: 60px;
	width: 60px;
}

.fulton-layout--swatches-next-to-gallery .fulton-gallery-thumbnail__image {
	display: block;
	height: 60px;
	object-fit: contain;
	width: 60px;
}

.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations,
.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations tbody,
.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations tr,
.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations th,
.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations td {
	display: block;
	height: auto !important;
	margin: 0 !important;
	width: 100%;
}

.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations th,
.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations td {
	padding-left: 0;
	padding-right: 0;
	text-align: right;
}

.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations .swatch-control {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	height: auto !important;
	justify-content: flex-end;
	min-height: 80px;
	overflow: visible !important;
	width: 100% !important;
}

.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations .swatch-wrapper {
	float: none !important;
	margin: 0;
}

.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--details {
	grid-area: details;
}

.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--single-variation,
.fulton-layout--swatches-next-to-gallery > .fulton-purchase-section--actions {
	grid-area: actions;
	justify-self: center;
}

.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--details .fulton-purchase-section--description,
.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--details .fulton-purchase-section--messages {
	grid-area: auto;
}

@media (max-width: 767px) {
	.fulton-product-purchase-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-areas:
			"gallery"
			"swatches"
			"details"
			"actions" !important;
		justify-items: center;
		overflow-x: clip;
		row-gap: clamp(1rem, 5vw, 1.5rem);
	}

	.fulton-product-gallery-area {
		justify-self: center;
		max-width: min(320px, calc(100vw - 2rem));
		padding-left: 0;
		padding-right: 0;
		width: min(320px, calc(100vw - 2rem));
	}

	.fulton-product-gallery-area .woo-variation-product-gallery,
	.fulton-product-gallery-area .woo-variation-gallery-wrapper,
	.fulton-product-gallery-area .woo-variation-gallery-container,
	.fulton-product-gallery-area .woo-variation-gallery-slider-wrapper,
	.fulton-product-gallery-area .woo-variation-gallery-slider,
	.fulton-product-gallery-area .wvg-single-gallery-image-container {
		max-width: 100% !important;
		width: 100% !important;
	}

	.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--gallery-thumbnails {
		display: none;
	}

	.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations {
		grid-area: swatches;
		justify-self: center;
		max-width: min(100%, 360px);
		padding-left: 1rem;
		padding-right: 1rem;
		text-align: center;
		width: 100%;
	}

	.fulton-layout--swatches-next-to-gallery .fulton-gallery-thumbnails__label,
	.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations th label {
		font-size: clamp(1.25rem, 6vw, 1.6rem);
		margin-bottom: 0.75rem;
		text-align: center;
	}

	.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations th,
	.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations table.variations td {
		text-align: center;
	}

	.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations .swatch-control {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-left: auto;
		margin-right: auto;
		min-height: 0;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		padding: 0 0.25rem 0.5rem;
		scroll-padding-left: 0.25rem;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations .swatch-control::-webkit-scrollbar {
		display: none;
	}

	.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--variations .swatch-wrapper {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}

	.fulton-product-gallery-area .woo-variation-gallery-thumbnail-wrapper {
		margin-left: auto;
		position: static;
	}

	.fulton-purchase-section--details {
		align-items: stretch;
		border: 0;
		border-radius: 0;
		box-sizing: border-box;
		justify-self: center;
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		overflow: visible;
		padding: 0 1.25rem !important;
		text-align: left;
		width: 100%;
	}

	.fulton-purchase-section--details .fulton-purchase-title {
		display: block;
		font-size: clamp(1.375rem, 6vw, 1.75rem);
		line-height: 1.1;
		margin-bottom: 0.75rem;
		max-width: 100%;
		overflow: visible;
		overflow-wrap: normal;
		text-align: center;
		white-space: normal;
		width: 100%;
		word-break: normal;
	}

	.fulton-purchase-section--details .fulton-purchase-section--description {
		font-size: 1rem;
		line-height: 1.55;
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		text-align: left;
		width: 100%;
		-webkit-overflow-scrolling: touch;
	}

	.fulton-purchase-section--details .fulton-purchase-section--description p {
		margin-bottom: 1rem;
	}

	.fulton-purchase-section--details .fulton-purchase-section--description table {
		max-width: none;
		width: max-content;
	}

	.fulton-purchase-section--details .fulton-purchase-section--description img,
	.fulton-purchase-section--details .fulton-purchase-section--description iframe {
		max-width: 100%;
	}

	.fulton-layout--swatches-next-to-gallery .fulton-purchase-section--single-variation,
	.fulton-layout--swatches-next-to-gallery > .fulton-purchase-section--actions {
		justify-self: center;
		max-width: min(100%, 360px);
		width: 100%;
	}

	.fulton-purchase-section--actions {
		align-items: center;
		margin-top: 0;
	}

	.fulton-purchase-section__primary-actions {
		align-items: center;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
		max-width: 320px;
		width: 100%;
	}

	.fulton-purchase-section--actions .quantity,
	.fulton-purchase-section--actions .quantity .qty,
	.fulton-purchase-section--actions .single_add_to_cart_button {
		box-sizing: border-box;
		margin-left: 0;
		max-width: 100%;
		width: 100%;
	}

	.fulton-purchase-section--actions .quantity .qty {
		min-width: 0;
		text-align: center;
	}

	.fulton-purchase-section--payments {
		margin-top: 0.5rem;
		max-width: min(100%, 320px);
		overflow: hidden;
	}

	.fulton-purchase-section--payments .ppc-button-wrapper,
	.fulton-purchase-section--payments .ppcp-button-apm,
	.fulton-purchase-section--payments .wcpay-express-checkout-wrapper,
	.fulton-purchase-section--payments #wcpay-express-checkout-element,
	.fulton-purchase-section--payments [id^="ppc-button-"] {
		max-width: 100%;
	}

	.sub-page-hero-padding-tb.brxe-container {
		padding-bottom: 45px !important;
	}

	.product-gallery-block + .brxe-section,
	.fulton-product-purchase-grid + .brxe-section,
	#brx-content > .brxe-section:has(.fulton-product-purchase-grid) + .brxe-section {
		padding-top: clamp(1.5rem, 8vw, 3rem) !important;
	}

	#brx-content > .brxe-section:has(.fulton-replaced-product-summary) {
		display: none;
	}

	.brxe-product-related ul.products,
	.brxe-product-related ul.products.columns-4 {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1.5rem !important;
	}

	.brxe-product-related ul.products li.product {
		float: none !important;
		margin: 0 !important;
		max-width: 100% !important;
		text-align: center;
		width: 100% !important;
	}

	.brxe-product-related ul.products li.product .woocommerce-LoopProduct-link {
		display: flex;
		align-items: center;
		flex-direction: column;
		text-align: center;
		width: 100%;
	}

	.brxe-product-related ul.products li.product .woocommerce-LoopProduct-link img,
	.brxe-product-related ul.products li.product img.attachment-woocommerce_thumbnail {
		display: block;
		height: auto;
		margin-left: auto;
		margin-right: auto;
		max-width: min(100%, 320px);
		object-fit: contain;
		width: 100% !important;
	}

	.brxe-product-related ul.products li.product .woocommerce-loop-product__title,
	.brxe-product-related ul.products li.product .price {
		display: block;
		text-align: center;
		width: 100%;
	}

	.brxe-product-related ul.products li.product .button,
	.brxe-product-related ul.products li.product .add_to_cart_button {
		box-sizing: border-box;
		min-height: 44px;
		white-space: nowrap;
		width: 100%;
	}
}

