/*
 * Groundwell shop.
 *
 * Palette is the brand's own: the sage the boxes are photographed on, kraft paper for
 * the card field, terracotta held back for the buying action alone so it means one thing.
 * Ink is a deep sage-black taken from the shadows in the product photography rather than
 * a neutral grey, so the page belongs to the same world as the pictures.
 */

.woocommerce ul.products,
.single-product .product {
	--gw-ink: #24302a;
	--gw-ink-soft: #5a6b60;
	--gw-surface: #e8ece5;
	--gw-card: #faf8f4;
	--gw-line: #cfd8cc;
	--gw-accent: #b6553a;
	--gw-accent-deep: #8f412c;

	--gw-display: "Fraunces", Georgia, "Times New Roman", serif;
	--gw-text: "Karla", "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------------- listing */

/*
 * Two products are a choice, not a catalogue. A grid built for many items makes a shop
 * of two look empty, so the pair is given room and scale instead.
 */
/*
 * `products-2` is Avada's column count, not a product count, so it is deliberately not
 * used to scope anything. Auto-fit keeps the layout correct whether the shop holds two
 * boxes or ten, and the generous minimum stops a third product shrinking the pair into
 * the thin catalogue cards this redesign exists to replace.
 */
.woocommerce ul.products,
.woocommerce ul.products.products-2,
.woocommerce ul.products.products-3,
.woocommerce ul.products.products-4 {
	display: grid;
	/*
	 * The maximum matters as much as the minimum. With `1fr` a track grows to fill the
	 * container, so two products became two 600px cards carrying 660px images. Capping the
	 * track keeps cards at a readable size and lets the row centre instead of stretching.
	 */
	grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
	justify-content: center;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}

/*
 * A hard bound on the card itself, independent of how the grid track resolves. The track
 * cap alone still let the card stretch at some widths, and a card is a card at every
 * viewport: it should never be wider than it is readable.
 */
.woocommerce ul.products li.product {
	width: 100%;
	max-width: 340px;
	justify-self: center;
	margin: 0;
	padding: 0;
	float: none;
	clear: none;
	position: relative;
	background: var(--gw-card);
	border: 1px solid var(--gw-line);
	border-radius: 2px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	font-family: var(--gw-text);
	transition: border-color 0.25s ease;
}

.woocommerce ul.products li.product:hover {
	border-color: var(--gw-ink-soft);
}

.woocommerce ul.products li.product .fusion-product-wrapper {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	border: 0;
	padding: 0;
	margin: 0;
	background: none;
	box-shadow: none;
}

/*
 * The photograph is the top of the card, not a picture placed inside one. It bleeds to
 * three edges, on the sage ground the boxes were shot against.
 */
.woocommerce ul.products li.product .product-images,
.woocommerce ul.products li.product .featured-image {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--gw-surface);
	border-radius: 0;
	overflow: hidden;
}

.woocommerce ul.products li.product .product-images img,
.woocommerce ul.products li.product .featured-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
	transform: scale(1.001);
	transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.woocommerce ul.products li.product:hover .featured-image img {
	transform: scale(1.035);
}

.woocommerce ul.products li.product .fusion-product-content,
.woocommerce ul.products li.product .product-details,
.woocommerce ul.products li.product .product-details-container {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	text-align: left;
}

.woocommerce ul.products li.product .fusion-product-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 0.75rem;
	padding: clamp(1.25rem, 2.5vw, 1.9rem);
}

.woocommerce ul.products li.product .product-title,
.woocommerce ul.products li.product .product-title a {
	font-family: var(--gw-display);
	font-optical-sizing: auto;
	font-weight: 500;
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
	line-height: 1.15;
	letter-spacing: -0.012em;
	color: var(--gw-ink);
	margin: 0;
	padding: 0;
	text-transform: none;
	text-decoration: none;
}

/* Price is content, not a badge stuck to the corner of a card. */
.woocommerce ul.products li.product .fusion-price-rating,
.woocommerce ul.products li.product .price {
	margin: 0;
	padding: 0;
	font-family: var(--gw-display);
	font-weight: 400;
	font-size: 1.05rem;
	color: var(--gw-ink-soft);
	background: none;
}

.woocommerce ul.products li.product .price .amount {
	color: var(--gw-ink-soft);
	font-weight: 400;
}

/* Template chrome: a rule drawn between two things that do not need separating. */
.woocommerce ul.products li.product .fusion-content-sep {
	display: none;
}

.woocommerce ul.products li.product .product-buttons {
	margin-top: auto;
	padding: 0;
	border: 0;
	background: none;
}

.woocommerce ul.products li.product .product-buttons-container {
	display: flex;
	flex-direction: column;
	align-items: stretch; /* flex-start shrank the button to its label width */
	gap: 0.6rem;
	padding: 0;
	margin: 0;
	background: none;
}

/* The one accent on the page. */
.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button,
.woocommerce ul.products li.product .product-buttons-container a.button.product_type_simple {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	background: var(--gw-accent);
	border: 1px solid var(--gw-accent);
	border-radius: 2px;
	color: #fff;
	font-family: var(--gw-text);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	text-transform: none;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button:hover,
.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button:focus-visible {
	background: var(--gw-accent-deep);
	border-color: var(--gw-accent-deep);
	color: #fff;
}

/*
 * The theme's "Details" link is removed in PHP, so nothing here styles it. Two competing
 * actions on a card split attention, and the image and title already lead to the same
 * place.
 */

/* The plugin's icon labels sit over the photograph; the icon alone is the control. */
.woocommerce ul.products li.product .stw-wishlist-button-container {
	z-index: 3;
}

.woocommerce ul.products li.product .stw-text-label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------ product page */

/*
 * Avada renders the product title through its own title element, so WooCommerce's
 * `h1.product_title` never appears here. Targeting it would have left the heading in the
 * theme's default face while everything around it changed.
 */
.single-product .fusion-title-heading,
.single-product .fusion-title h1 {
	font-family: var(--gw-display);
	font-optical-sizing: auto;
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.1;
	color: var(--gw-ink);
	text-transform: none;
}

.single-product .product .price,
.single-product .product .price .amount {
	font-family: var(--gw-display);
	font-weight: 400;
	color: var(--gw-ink);
}

.single-product .product .single_add_to_cart_button,
.single-product .product button.single_add_to_cart_button {
	background: var(--gw-accent);
	border: 1px solid var(--gw-accent);
	border-radius: 2px;
	color: #fff;
	font-family: var(--gw-text);
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: none;
	min-height: 52px;
	padding: 0.85rem 1.75rem;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.single-product .product .single_add_to_cart_button:hover,
.single-product .product .single_add_to_cart_button:focus-visible {
	background: var(--gw-accent-deep);
	border-color: var(--gw-accent-deep);
}

.single-product .groundwell-reassurance {
	border-top-color: var(--gw-line);
	font-family: var(--gw-text);
}

.single-product .groundwell-reassurance__icon {
	color: var(--gw-accent);
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 780px) {
	/*
	 * Must match the specificity of the base rule above, which lists the column-count
	 * classes. Without that this override lost and cards stayed capped at 300px on a
	 * phone instead of using the width available.
	 */
	.woocommerce ul.products,
	.woocommerce ul.products.products-2,
	.woocommerce ul.products.products-3,
	.woocommerce ul.products.products-4 {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
	}

	/* Full width on a phone, where there is no room to spare. */
	.woocommerce ul.products li.product {
		max-width: none;
	}
}

/* --------------------------------------------------------------- a11y base */

.woocommerce ul.products li.product a:focus-visible,
.single-product .product a:focus-visible,
.single-product .product button:focus-visible {
	outline: 2px solid var(--gw-ink);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce ul.products li.product,
	.woocommerce ul.products li.product .featured-image img,
	.woocommerce ul.products li.product a {
		transition: none;
	}

	.woocommerce ul.products li.product:hover .featured-image img {
		transform: none;
	}
}

/*
 * Between 768px and 991px the theme forces the product list to a single column and clears
 * the card's max-width, so a card stretched to the full container: a 708px card carrying a
 * 786px image on a tablet. The bound is restored for that band, matching the theme's
 * specificity, and the card is centred rather than left hanging.
 */
@media (min-width: 768px) and (max-width: 991px) {
	.woocommerce ul.products li.product,
	.woocommerce ul.products.products-2 li.product,
	.woocommerce ul.products.products-3 li.product,
	.woocommerce ul.products.products-4 li.product {
		max-width: 340px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* ===================================================== product page structure */

/*
 * Measured before this change, at 1440px: a 506px decorative title bar repeating the
 * product name, a 150px gap, a text column wrapping at 241px beside a 624px image, a 16px
 * price, a 143px buy button, then 200px of nothing before the tabs. The product itself
 * started 786px down the page. Everything below is about hierarchy and space. Selectors
 * were taken from the rendered DOM, not from WooCommerce's defaults.
 */

.single-product .fusion-tb-page-title-bar {
	display: none;
}

/* Fusion writes container padding inline, so these need the override. */
.single-product .fusion-tb-content .fusion-fullwidth,
.single-product #content .fusion-fullwidth {
	padding-top: 32px !important;
	padding-bottom: 32px !important;
}

.single-product .fusion-tb-content .fusion-fullwidth:first-child,
.single-product #content .fusion-fullwidth:first-child {
	padding-top: 56px !important;
}

/* Decorative rules, each in its own container with 60px of padding either side. */
.single-product .fusion-column-wrapper > .fusion-separator.fusion-full-width-sep {
	display: none !important;
}

.single-product .fusion-fullwidth:has(.fusion-separator.fusion-full-width-sep) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* ---- product columns ---- */

/* The info column holds a nested row whose text column measured 241px wide. */
.single-product .fusion_builder_column_1_2 .fusion-layout-column {
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.single-product .fusion_builder_column_1_2 + .fusion_builder_column_1_2 > .fusion-column-wrapper {
	padding-left: clamp(24px, 4vw, 56px);
}

.single-product .fusion-title-heading {
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.1;
	margin: 0 0 8px;
	text-align: left;
}

.single-product .fusion-woo-price-tb p.price,
.single-product .fusion-woo-price-tb p.price .amount {
	font-family: var(--gw-display);
	font-size: 26px;
	font-weight: 500;
	color: var(--gw-ink);
	margin: 0 0 20px;
	display: block;
}

.single-product .fusion_builder_column_1_2 .fusion-text,
.single-product .fusion_builder_column_1_2 .fusion-text p {
	max-width: 52ch;
	font-family: var(--gw-text);
	font-size: 16px;
	line-height: 1.65;
	color: var(--gw-ink-soft);
	padding: 0;
}

.single-product .fusion_builder_column_1_2 .fusion-text p {
	margin: 0 0 1.25em;
}

/* ---- buying controls ---- */

.single-product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 8px 0 20px;
}

.single-product form.cart .quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--gw-line);
	border-radius: 2px;
	overflow: hidden;
	height: 52px;
}

.single-product form.cart .quantity input,
.single-product form.cart .quantity .qty {
	height: 100%;
	border: 0;
	width: 56px;
	text-align: center;
	font-family: var(--gw-text);
}

.single-product form.cart .quantity a,
.single-product form.cart .quantity button {
	height: 100%;
	width: 40px;
	border: 0;
	background: var(--gw-card);
}

.single-product .product .single_add_to_cart_button,
.single-product .product button.single_add_to_cart_button {
	flex: 1 1 220px;
	min-width: 220px;
	min-height: 52px;
	font-size: 15px;
}

/* Express payment is one Stripe element; given the full width it lays its buttons in a row. */
.single-product .fusion-woo-cart .wcpay-express-checkout-wrapper,
.single-product .fusion-woo-cart .wcpay-express-checkout-wrapper .StripeElement {
	width: 100%;
	max-width: 520px;
	margin: 0 0 20px;
}

/* ---- details ---- */

.single-product .woocommerce-tabs.wc-tabs-wrapper {
	display: block;
	max-width: 760px;
	margin: 0;
	padding: 0;
}

.single-product .woocommerce-tabs.wc-tabs-wrapper ul.wc-tabs {
	display: flex;
	gap: 28px;
	width: auto;
	float: none;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	border: 0;
	border-bottom: 1px solid var(--gw-line);
	background: none;
}

.single-product .woocommerce-tabs.wc-tabs-wrapper ul.wc-tabs > li {
	width: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	float: none;
	white-space: nowrap;
}

.single-product .woocommerce-tabs.wc-tabs-wrapper ul.wc-tabs > li > a {
	display: block;
	padding: 10px 0 12px;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	font-family: var(--gw-text);
	font-size: 15px;
	font-weight: 700;
	color: var(--gw-ink-soft);
}

.single-product .woocommerce-tabs.wc-tabs-wrapper ul.wc-tabs > li.active > a {
	color: var(--gw-ink);
	border-bottom-color: var(--gw-accent);
}

.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel {
	width: auto;
	max-width: none;
	float: none;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	font-family: var(--gw-text);
	font-size: 16px;
	line-height: 1.65;
	color: var(--gw-ink-soft);
}

.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel > h2:first-child {
	font-family: var(--gw-display);
	font-size: 22px;
	font-weight: 500;
	color: var(--gw-ink);
	margin: 0 0 12px;
	text-transform: none;
}

/* ---- related ---- */

.single-product .related > h2,
.single-product section.related > h2 {
	font-family: var(--gw-display);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--gw-ink);
	text-transform: none;
	margin: 0 0 24px;
}

.single-product .related ul.products {
	justify-content: start;
}

.single-product .related li.product,
.single-product .related li.product .fusion-product-wrapper,
.single-product .related li.product .product-images,
.single-product .related li.product .featured-image {
	width: 100% !important;
	max-width: 300px;
}

/* ---- mobile ---- */

@media (max-width: 800px) {
	.single-product .fusion_builder_column_1_2 + .fusion_builder_column_1_2 > .fusion-column-wrapper {
		padding-left: 0;
		margin-top: 24px;
	}

	.single-product .fusion-tb-content .fusion-fullwidth:first-child,
	.single-product #content .fusion-fullwidth:first-child {
		padding-top: 24px !important;
	}

	.single-product .product .single_add_to_cart_button {
		flex-basis: 100%;
	}

	.single-product .woocommerce-tabs.wc-tabs-wrapper ul.wc-tabs {
		gap: 20px;
	}
}

/* ---- corrections measured against the rendered page ---- */

/* Avada's vertical tab layout: panel offset 240px, padded 40px, fixed at 520px. */
.single-product .fusion-woo-tabs-tb .woocommerce-tabs .woocommerce-Tabs-panel,
.single-product .fusion-woo-tabs-tb .woocommerce-tabs .panel {
	margin-left: 0 !important;
	padding-left: 0 !important;
	width: 100% !important;
	max-width: 68ch;
	clear: both;
}

/*
 * The theme's loop button draws its cart icon as an absolutely positioned ::before, which
 * lands on top of the label as soon as the label wraps. The icon is removed and the button
 * takes the card's full width, as on the recommended page.
 */
body.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button,
body.woocommerce ul.products li.product .product-buttons-container a.button.product_type_simple,
.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button {
	width: 100% !important;
	padding-left: 1.25rem !important;
	padding-right: 1.25rem !important;
	min-height: 48px;
	line-height: 1.2;
	white-space: nowrap;
}

body.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button::before,
.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button::before,
.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button::after {
	display: none !important;
	content: none !important;
}

.woocommerce ul.products li.product .product-buttons-container {
	padding: 0 !important;
}

/* Related: one bounded card at every width, never a full-width image with a stranded heart. */
.single-product .related li.product {
	margin-left: 0;
	margin-right: auto;
}

@media (max-width: 767px) {
	.single-product .related li.product {
		max-width: 300px !important;
		margin-left: auto;
	}
}

.single-product .fusion-fullwidth:has(.related) {
	padding-top: 16px !important;
}

.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button,
body.woocommerce ul.products li.product .product-buttons-container a.add_to_cart_button {
	float: none !important;
	flex: 1 1 100%;
}

/* Shop page heading, added by the child theme because the layout renders none. */
.woocommerce .gw-shop-header {
	max-width: 720px;
	margin: 0 auto clamp(28px, 4vw, 48px);
	text-align: center;
}

.woocommerce .gw-shop-header h1 {
	font-family: var(--gw-display, "Fraunces", Georgia, serif);
	font-optical-sizing: auto;
	font-weight: 500;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--gw-ink, #24302a);
	margin: 0 0 12px;
	text-transform: none;
}

.woocommerce .gw-shop-header p {
	font-family: var(--gw-text, "Karla", sans-serif);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gw-ink-soft, #5a6b60);
	margin: 0;
}

/* The theme caps loop buttons at 49% so two fit side by side; there is only one now. */
.woocommerce ul.products li.product .product-buttons a.add_to_cart_button,
.woocommerce ul.products li.product .product-buttons a:first-child {
	max-width: 100% !important;
}

/* ---- spacing, anchored on #content so these outrank the base container rule ---- */

/* Each decorative rule sits in its own container; the whole container goes. */
.single-product #content .fusion-fullwidth:has(.fusion-separator.fusion-full-width-sep),
.single-product .fusion-tb-content .fusion-fullwidth:has(.fusion-separator.fusion-full-width-sep) {
	display: none !important;
}

.single-product #content .fusion-fullwidth:has(.woocommerce-product-gallery),
.single-product .fusion-tb-content .fusion-fullwidth:has(.woocommerce-product-gallery) {
	padding-bottom: 8px !important;
}

.single-product #content .fusion-fullwidth:has(.woocommerce-tabs),
.single-product .fusion-tb-content .fusion-fullwidth:has(.woocommerce-tabs) {
	padding-top: 24px !important;
	padding-bottom: 8px !important;
}

.single-product #content .fusion-fullwidth:has(.fusion-woo-related-tb),
.single-product .fusion-tb-content .fusion-fullwidth:has(.fusion-woo-related-tb) {
	padding-top: 16px !important;
}

.single-product .fusion-woo-related-tb {
	margin-top: 16px !important;
}

.single-product .fusion-woo-related-tb h3,
.single-product .fusion-woo-related-tb .title-heading-left {
	font-family: var(--gw-display);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--gw-ink);
	text-transform: none;
	margin: 0 0 20px;
}

/* Gallery wishlist: same corner heart as the cards, not a labelled pill. */
.single-product .stw-wishlist-button-placement-top_image_right {
	top: 14px !important;
	right: 14px !important;
}

.single-product .stw-wishlist-button-placement-top_image_right .save-to-wishlist-button {
	width: 44px;
	height: 44px;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--gw-card) !important;
	border: 1px solid var(--gw-line) !important;
	box-shadow: 0 2px 8px rgba(36, 48, 42, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.single-product .stw-wishlist-button-placement-top_image_right .stw-text-label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.single-product .stw-wishlist-button-placement-top_image_right .stw-icon {
	width: 20px;
	height: 20px;
	color: var(--gw-ink-soft);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6px;
}

.single-product .stw-wishlist-button-placement-top_image_right .stw-active .stw-icon {
	color: var(--gw-accent);
	fill: var(--gw-accent);
}

/* Products listing: the heading was flush against the header. */
.post-type-archive-product #content > .fusion-fullwidth:first-child,
.woocommerce.archive #content,
.woocommerce.post-type-archive-product #main {
	padding-top: clamp(40px, 5vw, 64px) !important;
}

/* The related heading's font is written inline by the theme. */
.single-product .fusion-woo-related-tb h3.title-heading-left {
	font-family: var(--gw-display) !important;
	font-size: clamp(24px, 2.4vw, 30px) !important;
	font-weight: 500 !important;
}

/* Archive heading: the theme's own container already carries top padding. */
.post-type-archive-product #content > .fusion-fullwidth:first-child,
.woocommerce.archive #content,
.woocommerce.post-type-archive-product #main {
	padding-top: 24px !important; /* two of these selectors match and stack */
}

/*
 * The theme's tab script places the panel beside the list after the page scrolls, using
 * a padding variable rather than a margin, which is why margin alone did not hold. The
 * layout is pinned to a single column with the properties any placement method uses.
 */
.single-product .fusion-woo-tabs-tb .woocommerce-tabs.wc-tabs-wrapper {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	--awb-content-padding-top: 0;
	--awb-content-padding-bottom: 0;
	--awb-content-padding-left: 0;
	--awb-content-padding-right: 0;
}

.single-product .fusion-woo-tabs-tb .woocommerce-tabs.wc-tabs-wrapper > ul.wc-tabs,
.single-product .fusion-woo-tabs-tb .woocommerce-tabs.wc-tabs-wrapper > .woocommerce-Tabs-panel {
	position: static !important;
	float: none !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 68ch;
	margin: 0 !important;
	left: auto !important;
	transform: none !important;
}

.single-product .fusion-woo-tabs-tb .woocommerce-tabs.wc-tabs-wrapper > ul.wc-tabs {
	margin-bottom: 20px !important;
}

.single-product .fusion-woo-tabs-tb .woocommerce-tabs.wc-tabs-wrapper > .woocommerce-Tabs-panel {
	padding: 0 !important;
}

/* Tab content: left-aligned with the list, no inherited indents. */
.single-product .fusion-woo-tabs-tb .woocommerce-tabs.wc-tabs-wrapper > ul.wc-tabs {
	justify-content: flex-start !important;
}

.single-product .fusion-woo-tabs-tb .woocommerce-Tabs-panel > * {
	margin-left: 0 !important;
	padding-left: 0 !important;
	text-align: left !important;
}

/*
 * The theme's tab rules are anchored on #wrapper with !important, and an id outranks any
 * number of classes. These carry the same anchor so they can actually win.
 */
body.single-product #wrapper .woocommerce-tabs .tabs,
body.single-product #wrapper .woocommerce-tabs > .tabs {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	float: none !important;
}

body.single-product #wrapper .woocommerce-tabs .panel,
body.single-product #wrapper .woocommerce-tabs .woocommerce-Tabs-panel {
	padding: 0 !important;
	margin-left: 0 !important;
	width: 100% !important;
	float: none !important;
}

body.single-product #wrapper .woocommerce-tabs .panel > *,
body.single-product #wrapper .woocommerce-tabs .panel > * > * {
	margin-left: 0 !important;
	padding-left: 0 !important;
}
