/* ==========================================================================
   SPEC CRO Enhancements (Batch 1 - Homepage & Unified Product Cards)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header & Navigation: solid background, never obscured by hero imagery
   -------------------------------------------------------------------------- */
#bwp-header.header-v4 {
	position: relative;
	z-index: 999;
	background-color: #ffffff;
	border-bottom: 1px solid #e2e8f0;
}

#bwp-header .header-desktop .header-wrapper {
	background-color: #ffffff;
}

#bwp-header .bwp-navigation ul.menu > li > a {
	color: #14264e;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

#bwp-header .bwp-navigation ul.menu > li > a:hover,
#bwp-header .bwp-navigation ul.menu > li.current-menu-item > a {
	color: #2e54a3;
}

/* Mobile header contrast fix */
#bwp-header .header-mobile {
	background-color: #ffffff;
	border-bottom: 1px solid #e2e8f0;
}

#bwp-header .header-mobile .navbar-toggle,
#bwp-header .header-mobile .navbar-toggle i,
#bwp-header .header-mobile .navbar-toggle span {
	color: #14264e !important;
}

/* --------------------------------------------------------------------------
   2. Hero Section (Zova Labs-inspired Overlay & Responsive Architecture)
   -------------------------------------------------------------------------- */
.spec-hero {
	width: 100%;
	background-color: #071a2c;
	overflow: hidden;
}

.spec-hero__frame {
	position: relative;
	width: 100%;
	height: clamp(540px, 48vw, 760px);
	overflow: hidden;
	background-color: #071a2c;
}

.spec-hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.spec-hero__img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: 65% 40%;
	transform: translateY(-2.5%) scale(1.12);
	transform-origin: 82% 50%;
	display: block;
}

.spec-hero__scrim {
	position: absolute;
	pointer-events: none;
	z-index: 1;
}

.spec-hero__scrim--desktop {
	inset: 0 auto 0 0;
	width: 56%;
	background: linear-gradient(90deg, rgba(6, 20, 38, 0.88) 0%, rgba(6, 20, 38, 0.62) 60%, rgba(6, 20, 38, 0) 100%);
}

.spec-hero__scrim--mobile {
	display: none;
}

.spec-hero__content {
	position: absolute;
	z-index: 2;
	left: clamp(24px, 4vw, 96px);
	top: 50%;
	transform: translateY(-50%);
	width: min(44%, 600px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.spec-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #e2e8f0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.spec-hero__badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #60a5fa;
	flex-shrink: 0;
}

.spec-hero__title {
	margin: 4px 0 0;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(38px, 3.8vw, 60px);
	line-height: 1.03;
	font-weight: 400;
	color: #ffffff;
	letter-spacing: 0.015em;
}

.spec-hero__subtitle {
	margin: 0;
	font-size: clamp(16px, 1.35vw, 20px);
	line-height: 1.5;
	color: #f1f5f9;
	max-width: 540px;
}

.spec-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 2px;
}

.spec-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.spec-hero__btn--primary {
	background-color: #ffffff;
	color: #0b2244;
	border: 1px solid #ffffff;
}

.spec-hero__btn--primary:hover,
.spec-hero__btn--primary:focus-visible {
	background-color: #e2e8f0;
	color: #0b2244;
}

.spec-hero__btn--secondary {
	background-color: rgba(15, 23, 42, 0.35);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.45);
}

.spec-hero__btn--secondary:hover,
.spec-hero__btn--secondary:focus-visible {
	background-color: rgba(255, 255, 255, 0.16);
	color: #ffffff;
	border-color: #ffffff;
}

/* Inline 3-USP row on desktop (> 900px) */
.spec-hero__stats--inline {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, auto));
	align-items: center;
	width: 100%;
	margin-top: 8px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.spec-hero__stats--inline .spec-hero__stat {
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0 18px;
}

.spec-hero__stats--inline .spec-hero__stat:first-child {
	padding-left: 0;
}

.spec-hero__stats--inline .spec-hero__stat + .spec-hero__stat {
	border-left: 1px solid rgba(255, 255, 255, 0.22);
}

/* Mobile/Tablet USP bar below frame (hidden on desktop > 900px) */
.spec-hero__stats--bar {
	display: none;
}

/* Compact Desktop (901px - 1180px) */
@media (max-width: 1180px) and (min-width: 901px) {
	.spec-hero__content {
		width: min(46%, 480px);
		gap: 14px;
	}
	.spec-hero__btn {
		min-height: 46px;
		padding: 0 22px;
	}
	.spec-hero__stats--inline .spec-hero__stat {
		font-size: 13.5px;
		padding: 0 14px;
	}
}

/* Tablet (601px - 900px) */
@media (max-width: 900px) and (min-width: 601px) {
	.spec-hero__frame {
		height: clamp(400px, 52.8vw, 520px);
	}
	.spec-hero__img {
		object-position: 75% 50%;
	}
	.spec-hero__content {
		left: 20px;
		width: min(45%, 340px);
		gap: 10px;
	}
	.spec-hero__badge {
		font-size: 10px;
		padding: 4px 10px;
	}
	.spec-hero__title {
		font-size: clamp(26px, 3.8vw, 34px);
	}
	.spec-hero__subtitle {
		font-size: 14px;
		line-height: 1.45;
	}
	.spec-hero__actions {
		gap: 8px;
		flex-wrap: nowrap;
	}
	.spec-hero__btn {
		min-height: 44px;
		padding: 0 16px;
		font-size: 13px;
	}
	.spec-hero__stats--inline {
		display: none;
	}
	.spec-hero__stats--bar {
		display: flex;
		align-items: center;
		justify-content: space-around;
		min-height: 52px;
		background-color: #1c3262;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
		padding: 10px 16px;
	}
	.spec-hero__stats--bar .spec-hero__stat {
		flex: 1 1 0;
		text-align: center;
		color: #ffffff;
		font-size: 13.5px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}
	.spec-hero__stats--bar .spec-hero__stat + .spec-hero__stat {
		border-left: 1px solid rgba(255, 255, 255, 0.18);
	}
}

/* Mobile (<= 600px) - Zova Labs overlay style with dedicated portrait image */
@media (max-width: 600px) {
	.spec-hero__frame {
		height: clamp(670px, 180vw, 730px);
		min-height: 670px;
		aspect-ratio: auto;
		max-height: 730px;
		background: #071a2c;
	}
	.spec-hero__media {
		position: absolute;
		inset: 58px 0 0 0;
		width: 100%;
		height: auto;
	}
	.spec-hero__img {
		width: 100% !important;
		height: 100% !important;
		transform: none;
		object-fit: cover;
		object-position: center 50%;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.spec-hero__scrim--desktop {
		display: none;
	}
	.spec-hero__scrim--mobile {
		display: block;
		inset: 0 0 auto 0;
		height: 58%;
		background: linear-gradient(180deg, #071a2c 0%, #071a2c 14%, rgba(6, 20, 38, 0.72) 55%, rgba(6, 20, 38, 0) 100%);
	}
	.spec-hero__content {
		position: absolute;
		left: 16px;
		right: 16px;
		top: 32px;
		transform: none;
		width: auto;
		max-width: 440px;
		margin: 0 auto;
		padding: 0;
		align-items: center;
		text-align: center;
		gap: 16px;
	}
	.spec-hero__badge {
		font-size: 10px;
		padding: 4px 10px;
	}
	.spec-hero__title {
		margin-top: 6px;
		font-size: clamp(28px, 8vw, 34px);
	}
	.spec-hero__subtitle {
		font-size: 18px;
		line-height: 1.45;
		color: #f1f5f9;
	}
	.spec-hero__actions {
		width: 100%;
		flex-wrap: nowrap;
		gap: 10px;
	}
	.spec-hero__btn {
		flex: 1 1 0;
		min-height: 44px;
		padding: 0 12px;
		font-size: 14px;
	}
	.spec-hero__stats--inline {
		display: none;
	}
	.spec-hero__stats--bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 46px;
		background-color: #1c3262;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
		padding: 10px 8px;
		gap: 0;
	}
	.spec-hero__stats--bar .spec-hero__stat {
		flex: 1 1 0;
		text-align: center;
		color: #ffffff;
		font-size: 11.5px;
		font-weight: 700;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		line-height: 1.25;
		padding: 0 6px;
	}
	.spec-hero__stats--bar .spec-hero__stat + .spec-hero__stat {
		border-left: 1px solid rgba(255, 255, 255, 0.18);
	}
}

/* --------------------------------------------------------------------------
   3. Featured Products Section Heading & Carousel Fixes
   -------------------------------------------------------------------------- */
.spec-featured-heading .elementor-heading-title {
	font-family: "Bebas Neue", sans-serif;
	color: #2e54a3;
	font-size: 42px;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-align: center;
	margin: 0;
}

/* Hide redundant single-tab label on Latest Products since we render a proper H2 */
.home .bwp-filter-homepage .filter-order-by,
.home .bwp-filter-homepage .bwp-filter-orderby,
.elementor-widget-bwp_filter_homepage .filter-order-by,
.elementor-widget-bwp_filter_homepage .bwp-filter-orderby {
	display: none !important;
}

.spec-featured-carousel .swiper-slide,
.spec-featured-carousel .spec-fp-slide {
	height: auto;
	display: flex;
	box-sizing: border-box;
}

.spec-featured-carousel .swiper-slide > .e-con {
	padding: 0 !important;
}

.spec-featured-carousel .swiper-slide > .e-con,
.spec-featured-carousel .swiper-slide .elementor-widget-woocommerce-products,
.spec-featured-carousel .swiper-slide .elementor-widget-shortcode,
.spec-featured-carousel .swiper-slide .elementor-widget-container,
.spec-featured-carousel .swiper-slide .woocommerce,
.spec-featured-carousel .spec-fp-slide .woocommerce {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 100%;
	display: flex;
	flex-direction: column;
	margin: 0;
}

.spec-featured-carousel .swiper-slide ul.products,
.spec-featured-carousel .spec-fp-slide ul.products {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 100%;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

.spec-featured-carousel .swiper-slide ul.products > li.product,
.spec-featured-carousel .spec-fp-slide ul.products > li.product {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 100%;
	display: flex !important;
}

/* Keep carousel arrows outside cards without blocking wishlist icons */
.spec-featured-carousel {
	padding: 0 28px;
	--e-n-carousel-arrow-normal-color: #2e54a3;
	--e-n-carousel-arrow-hover-color: #1d3c78;
}

.spec-featured-carousel .elementor-swiper-button,
.spec-featured-fallback .spec-carousel-btn {
	position: absolute;
	width: 36px;
	height: 44px;
	top: 42% !important;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	cursor: pointer;
	color: #2e54a3 !important;
	opacity: 1 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: color 0.15s ease, transform 0.15s ease;
}

.spec-featured-carousel .elementor-swiper-button:hover,
.spec-featured-carousel .elementor-swiper-button:focus,
.spec-featured-fallback .spec-carousel-btn:hover,
.spec-featured-fallback .spec-carousel-btn:focus {
	color: #1d3c78 !important;
	opacity: 1 !important;
	outline: none;
}

.spec-featured-carousel .elementor-swiper-button svg {
	fill: #2e54a3 !important;
	color: #2e54a3 !important;
}

.spec-featured-carousel .elementor-swiper-button:hover svg,
.spec-featured-carousel .elementor-swiper-button:focus svg {
	fill: #1d3c78 !important;
	color: #1d3c78 !important;
}

.spec-featured-carousel .elementor-swiper-button-prev {
	left: -4px !important;
}

.spec-featured-carousel .elementor-swiper-button-next {
	right: -4px !important;
}

.spec-featured-fallback {
	position: relative;
	width: 100%;
}

.spec-featured-carousel .spec-featured-fallback {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.spec-featured-carousel .spec-featured-fallback .spec-carousel-btn--prev {
	left: -30px !important;
}

.spec-featured-carousel .spec-featured-fallback .spec-carousel-btn--next {
	right: -30px !important;
}

.spec-featured-fallback .spec-carousel-btn svg {
	fill: none !important;
	stroke: #2e54a3 !important;
	width: 22px !important;
	height: 22px !important;
}

.spec-featured-fallback .spec-carousel-btn:hover svg,
.spec-featured-fallback .spec-carousel-btn:focus svg {
	stroke: #1d3c78 !important;
}

.spec-fp-viewport {
	overflow: hidden;
	width: 100%;
}

.spec-fp-track {
	display: flex;
	align-items: stretch;
	gap: 14px;
	will-change: transform;
}

.spec-fp-slide {
	flex: 0 0 calc((100% - 42px) / 4);
	width: calc((100% - 42px) / 4);
	max-width: calc((100% - 42px) / 4);
	min-width: 0;
}

@media (max-width: 1024px) {
	.spec-fp-slide {
		flex: 0 0 calc((100% - 14px) / 2);
		width: calc((100% - 14px) / 2);
		max-width: calc((100% - 14px) / 2);
	}
}

@media (max-width: 600px) {
	.spec-fp-track {
		gap: 10px;
	}
	.spec-fp-slide {
		flex: 0 0 calc((100% - 10px) / 2);
		width: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
}

.spec-fp-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 22px;
}

.spec-fp-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.22);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.spec-fp-dot.is-active {
	background: #0f172a;
	transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   4. Unified Product Card (Homepage Featured, Latest Products, & Shop Grid)
   -------------------------------------------------------------------------- */
/* Not on Slick carousels (PDP Related / Recently Viewed, upsells): a flex parent makes .slick-list
   shrink to its content, so Slick measures the wrong width at load and cards come out narrow or
   collapsed until the window is resized. */
.products-list.grid:not(.slick-carousel) {
	display: flex;
	flex-wrap: wrap;
}

.bwp-filter-homepage .products-list.grid,
.main-archive-product .products-list.grid {
	margin-left: -5px !important;
	margin-right: -5px !important;
}

.bwp-filter-homepage .products-list.grid .item-product,
.bwp-filter-homepage .products-list.grid .item,
.main-archive-product .products-list.grid > li {
	padding-left: 5px !important;
	padding-right: 5px !important;
	margin-bottom: 14px !important;
	display: flex;
}

.products-list.grid > li,
.bwp-filter-homepage .products-list.grid .item-product {
	display: flex;
}

.products-entry.content-product1.product-wapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.products-entry.content-product1.product-wapper:hover {
	border-color: #94a3b8;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.products-entry.content-product1 .products-thumb {
	position: relative;
	background: #f8fafc;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-bottom: 1px solid #e2e8f0;
}

.products-entry.content-product1 .products-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

/* Hide redundant hover Add-to-Cart icon inside thumb since we show a full CTA below */
.products-entry.content-product1 .products-thumb .product-button .add_to_cart_button,
.products-entry.content-product1 .products-thumb .product-button .product_type_variable {
	display: none !important;
}

.products-entry.content-product1 .products-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 10px 14px 14px !important;
	text-align: left;
}

.products-entry.content-product1 .products-content .contents {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
	padding-top: 0 !important;
	margin-top: 0 !important;
	text-align: left;
}

.products-entry.content-product1 .products-content .product-title {
	font-size: 16px !important;
	line-height: 1.3 !important;
	min-height: 2.6em;
	max-height: 2.6em;
	margin: 0 0 6px !important;
	padding: 0 !important;
	text-align: left;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.products-entry.content-product1 .products-content .reviews-wrap:has(.rating.none) {
	display: none !important;
}

.products-entry.content-product1 .products-content .product-title a {
	color: #14264e;
	font-weight: 500;
}

.products-entry.content-product1 .products-content .product-title a:hover {
	color: #2e54a3;
}

.products-entry.content-product1 .products-content .price {
	font-size: 16px !important;
	line-height: 1.25 !important;
	font-weight: 400;
	color: #0f172a;
	margin: 0 0 8px !important;
	padding: 0 !important;
	text-align: left;
	display: block;
}

.products-entry.content-product1 .products-content .product-attribute {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 6px;
	min-height: 26px;
	margin: 0 0 6px !important;
	padding: 0 !important;
}

.products-entry.content-product1 .products-content .product-attribute .label.image-attribute span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: #1e3a78;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
}

.products-entry.content-product1 .products-content .product-attribute .label.image-attribute:hover span {
	background: #2e54a3;
	border-color: #2e54a3;
	color: #ffffff;
}

/* Primary Card CTA anchored at bottom */
.spec-card-cta-wrap {
	margin-top: auto;
	padding-top: 0;
}

.spec-card-cta-wrap .spec-card-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 10px 16px;
	background-color: #2e54a3;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	border-radius: 6px;
	border: none;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.spec-card-cta-wrap .spec-card-cta:hover,
.spec-card-cta-wrap .spec-card-cta:focus-visible {
	background-color: #1e3a78;
	color: #ffffff;
}

.spec-card-cta-wrap .spec-card-cta--oos {
	background-color: #64748b;
}

.spec-card-cta-wrap .spec-card-cta--oos:hover {
	background-color: #475569;
}

/* Hide WooCommerce's "View cart" link that appears after an AJAX add to cart:
   Gymex opens the side cart instead, and the link breaks the card layout.
   (The side cart's own "View cart" button uses .button.wc-forward and is not affected.) */
a.added_to_cart.wc-forward {
	display: none !important;
}

/* Gymex slider arrows (PDP gallery, Related / Recently Viewed carousels, any Gymex slick
   carousel) styled like the homepage Featured Products chevrons: thin navy chevron, no box. */
i.slick-arrow.fa-angle-left,
i.slick-arrow.fa-angle-right {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 36px !important;
	height: 44px !important;
	margin-top: -9.5px; /* Gymex centres a 25px icon; keep the same centre with a 44px hit area */
	padding: 0;
	font-size: 0 !important;
	line-height: 1;
	color: #2e54a3;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	z-index: 5;
	transition: color 0.15s ease;
}

i.slick-arrow.fa-angle-left::before,
i.slick-arrow.fa-angle-right::before {
	content: "" !important;
	display: block;
	width: 22px;
	height: 22px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

i.slick-arrow.fa-angle-right::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

i.slick-arrow.fa-angle-left::after,
i.slick-arrow.fa-angle-right::after {
	display: none !important;
}

i.slick-arrow.fa-angle-left:hover,
i.slick-arrow.fa-angle-right:hover {
	color: #1d3c78;
}

/* Gymex clones the PDP gallery arrows out to .scroll-image (_move_nav_slick) but Slick keeps
   re-adding its own inside the slider, so two sets overlapped. Show only the moved set. */
body.single-product .bwp-single-image .scroll-image > .image-additional > i.slick-arrow {
	display: none !important;
}

/* PDP Related / Recently Viewed carousels: equal-height cards like the shop and homepage grids,
   so the CTA sits at the bottom with the same spacing (Slick slides don't stretch by default). */
body.single-product .related .slick-track,
body.single-product .recent-view .slick-track {
	display: flex !important;
	align-items: stretch;
}

body.single-product .related .slick-track > .products-entry.slick-slide,
body.single-product .recent-view .slick-track > .products-entry.slick-slide {
	display: flex !important;
	flex-direction: column;
	height: auto !important;
	float: none !important;
}

body.single-product .related .products-entry .spec-card-cta-wrap,
body.single-product .recent-view .products-entry .spec-card-cta-wrap {
	margin-top: auto;
	padding-top: 14px;
}

/* WPBingo's filter CSS (bwp_ajax_filter.css) styles every `.loading span` as a 50px fixed spinner in the middle of the
   screen. Buttons get `.loading` during AJAX add to cart (Snippet #21 on the PDP, WooCommerce on cards), so the button
   label turned into a big ring over the page. Keep the label in the button (hidden while loading); Gymex's own small
   in-button spinner (::before) still shows. */
.button.loading > span,
button.loading > span {
	position: static !important;
	width: auto !important;
	height: auto !important;
	border: 0 !important;
	border-radius: 0 !important;
	animation: none !important;
	z-index: auto !important;
	visibility: hidden;
}

/* Add to Cart loading state = the wishlist button's spinner (20px ring, 2px border at 25%, one solid quarter,
   2s turn), in white for the navy buttons. Replaces Gymex's loading-cart.gif on the PDP button and card CTAs. */
@keyframes spec-ring-spin {
	to { transform: rotate(360deg); }
}

body .single_add_to_cart_button.button.loading,
body .spec-card-cta-wrap .spec-card-cta.loading {
	position: relative;
	color: transparent !important; /* card CTAs have no inner span; hide the label behind the ring */
}

body .single_add_to_cart_button.button.loading::before,
body .spec-card-cta-wrap .spec-card-cta.loading::before {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	width: 20px !important;
	height: 20px !important;
	margin: -10px 0 0 -10px !important;
	box-sizing: border-box;
	background: none !important;
	border: 2px solid rgba(255, 255, 255, 0.25);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: spec-ring-spin 2s linear infinite;
}

body .single_add_to_cart_button.button.loading::after,
body .spec-card-cta-wrap .spec-card-cta.loading::after {
	display: none !important;
}

/* Side cart (Gymex .cart-popup): buttons and quantity stepper in the site style.
   Check Out = navy primary (like "Proceed to checkout"), View Cart = navy outline (like "Apply coupon"). */
.cart-popup .buttons .button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	height: 52px !important;
	line-height: 1 !important;
	padding: 0 20px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cart-popup .buttons .button::before,
.cart-popup .buttons .button::after {
	display: none !important; /* Gymex hover sweep effects */
}

.cart-popup .buttons .button span {
	color: inherit !important;
}

.cart-popup .buttons .button.checkout {
	background: #2e54a3 !important;
	border: 1px solid #2e54a3 !important;
	color: #ffffff !important;
	box-shadow: 0 6px 16px rgba(46, 84, 163, 0.22);
}

.cart-popup .buttons .button.checkout:hover,
.cart-popup .buttons .button.checkout:focus-visible {
	background: #24468a !important;
	border-color: #24468a !important;
	color: #ffffff !important;
}

.cart-popup .buttons .button.view-cart {
	background: #ffffff !important;
	border: 1px solid #2e54a3 !important;
	color: #2e54a3 !important;
}

.cart-popup .buttons .button.view-cart:hover,
.cart-popup .buttons .button.view-cart:focus-visible {
	background: #2e54a3 !important;
	color: #ffffff !important;
}

.cart-popup .buttons .button:focus-visible {
	outline: 3px solid rgba(46, 84, 163, 0.35);
	outline-offset: 2px;
}

.cart-popup .quantity {
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	overflow: hidden;
	background: #ffffff;
}

/* Accessibility: visible focus outlines */
a:focus-visible,
button:focus-visible,
.spec-card-cta:focus-visible {
	outline: 2px solid #2e54a3;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.elementor-element-da530db,
	.home .e-con.e-parent:has(.spec-featured-carousel) {
		padding-left: 4px !important;
		padding-right: 4px !important;
	}
	.spec-featured-carousel {
		padding: 0 22px;
	}
	.spec-featured-carousel .elementor-swiper-button,
	.spec-featured-fallback .spec-carousel-btn {
		width: 28px;
		height: 44px;
		top: 40% !important;
	}
	.spec-featured-carousel .elementor-swiper-button-prev {
		left: 0 !important;
	}
	.spec-featured-carousel .elementor-swiper-button-next {
		right: 0 !important;
	}
	.spec-featured-carousel .spec-featured-fallback .spec-carousel-btn--prev {
		left: -22px !important;
	}
	.spec-featured-carousel .spec-featured-fallback .spec-carousel-btn--next {
		right: -22px !important;
	}
	.products-entry.content-product1 .products-content {
		padding: 6px 10px 10px !important;
	}
	.products-entry.content-product1 .products-content .product-title {
		font-size: 14px !important;
	}
	.products-entry.content-product1 .products-content .price {
		font-size: 13.5px !important;
	}
	/* Fit 1–3 dosage options on a single row so all 2-col mobile cards stay equal height */
	.spec-featured-carousel .products-entry.content-product1 .products-content .product-attribute,
	.bwp-filter-homepage .products-entry.content-product1 .products-content .product-attribute {
		display: flex !important;
		flex-wrap: nowrap;
		gap: 4px;
	}
	.spec-featured-carousel .products-entry.content-product1 .products-content .product-attribute .label.image-attribute,
	.bwp-filter-homepage .products-entry.content-product1 .products-content .product-attribute .label.image-attribute {
		flex: 1 1 0;
		min-width: 0;
	}
	.spec-featured-carousel .products-entry.content-product1 .products-content .product-attribute .label.image-attribute span,
	.bwp-filter-homepage .products-entry.content-product1 .products-content .product-attribute .label.image-attribute span {
		width: 100%;
		padding: 4px 2px;
		font-size: 11px;
		text-align: center;
		white-space: nowrap;
	}
	.spec-card-cta-wrap .spec-card-cta {
		font-size: 12px;
		padding: 8px 6px;
		letter-spacing: 0.02em;
		white-space: nowrap;
	}
}

/* --------------------------------------------------------------------------
   5. Shop Page Hero Spacing & Empty Theme Title Cleanup
   -------------------------------------------------------------------------- */
body.woocommerce-shop .page-title.bwp-title,
body.tax-product_cat .page-title.bwp-title,
body.tax-product_tag .page-title.bwp-title {
	display: none !important;
}

body.woocommerce-shop #bwp-main,
body.tax-product_cat #bwp-main,
body.tax-product_tag #bwp-main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.spec-shop-hero {
	background: linear-gradient(135deg, #071a2c 0%, #14264e 100%);
	color: #ffffff;
	margin-bottom: 28px;
	overflow: hidden;
}

.spec-shop-hero__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 32px 24px;
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	align-items: center;
	gap: 32px;
}

.spec-shop-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.spec-shop-hero__title {
	margin: 0;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(36px, 3.6vw, 54px);
	line-height: 1.03;
	font-weight: 400;
	color: #ffffff;
	letter-spacing: 0.015em;
}

.spec-shop-hero__subtitle {
	margin: 0;
	font-size: clamp(16px, 1.3vw, 19px);
	line-height: 1.5;
	color: #f1f5f9;
	max-width: 560px;
}

.spec-shop-hero__media {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.spec-shop-hero__img {
	width: 100%;
	max-width: 440px;
	height: auto !important;
	border-radius: 10px;
	object-fit: cover;
	display: block;
}

@media (max-width: 1180px) and (min-width: 901px) {
	.spec-shop-hero__inner {
		padding: 28px 20px;
		gap: 24px;
	}
	.spec-shop-hero__copy {
		gap: 12px;
	}
}

@media (max-width: 900px) and (min-width: 601px) {
	.spec-shop-hero__inner {
		grid-template-columns: 1.15fr 0.85fr;
		padding: 24px 20px;
		gap: 20px;
	}
	.spec-shop-hero__copy {
		gap: 10px;
	}
	.spec-shop-hero__title {
		font-size: clamp(28px, 3.8vw, 36px);
	}
	.spec-shop-hero__subtitle {
		font-size: 14px;
		line-height: 1.45;
	}
}

@media (max-width: 600px) {
	.spec-shop-hero {
		margin-bottom: 18px;
	}
	.spec-shop-hero__inner {
		grid-template-columns: 1fr;
		padding: 24px 16px 20px;
		gap: 16px;
	}
	.spec-shop-hero__copy {
		align-items: center;
		text-align: center;
		gap: 10px;
	}
	.spec-shop-hero__title {
		font-size: clamp(32px, 8.8vw, 38px);
	}
	.spec-shop-hero__subtitle {
		font-size: 16px;
		line-height: 1.45;
	}
	.spec-shop-hero__media {
		justify-content: center;
	}
	.spec-shop-hero__img {
		max-width: 100%;
	}
}

/* Reposition mobile/tablet wishlist button to top-right so it never collides with bottom-left purity pills */
@media (min-width: 1199px) {
	.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile,
	.products-entry.content-product1 .products-thumb .product-button-mobile {
		display: none !important;
	}
}

.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile,
.products-entry.content-product1 .products-thumb .product-button-mobile {
	position: absolute;
	top: 8px;
	bottom: auto;
	right: 8px;
	left: auto;
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile > *,
.products-entry.content-product1 .products-thumb .product-button-mobile > * {
	margin: 0 !important;
}

.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn {
	position: relative;
	width: 30px;
	height: 30px;
	line-height: 30px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #cbd5e1;
	color: #1e3a78;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Expanded ~44x44 touch hit area without enlarging visual icon over product image */
.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn::after,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn::after {
	content: "";
	position: absolute;
	inset: -7px;
}

.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn::before,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn::before {
	color: #1e3a78;
	font-size: 13px;
	line-height: 1;
}

.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn.woosw-adding::before,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn.woosw-adding::before {
	top: 0;
	border-color: rgba(30, 58, 120, 0.25);
	border-top-color: #1e3a78;
}

.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn:hover,
.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn:focus-visible,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn:hover,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn:focus-visible {
	background: #eff6ff;
	border-color: #2e54a3;
	color: #2e54a3;
}

.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn:hover::before,
.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn:focus-visible::before,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn:hover::before,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn:focus-visible::before {
	color: #2e54a3;
}

.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn.woosw-added,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn.woosw-added {
	background: #2e54a3;
	border-color: #2e54a3;
	color: #ffffff;
}

.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn.woosw-added::before,
.products-list.grid .product-wapper.content-product1 .products-thumb .product-button-mobile .woosw-btn.woosw-added:hover::before,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn.woosw-added::before,
.products-entry.content-product1 .products-thumb .product-button-mobile .woosw-btn.woosw-added:hover::before {
	color: #ffffff;
}

/* Purity Pill Badge pinned to bottom-left corner of .products-thumb */
.spec-card-purity {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 3;
	margin: 0;
	pointer-events: none;
}

.spec-card-purity__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	color: #065f46;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 999px;
}

.spec-card-purity__check {
	font-weight: 700;
	font-size: 13px;
	color: #059669;
}

@media (max-width: 600px) {
	/* 2-column mobile Shop grid matching Latest Products */
	.main-archive-product .products-list.grid {
		margin-left: -5px !important;
		margin-right: -5px !important;
	}
	.main-archive-product .products-list.grid > li {
		width: 50% !important;
		max-width: 50% !important;
		flex: 0 0 50% !important;
		padding-left: 5px !important;
		padding-right: 5px !important;
		margin-bottom: 14px !important;
	}
	/* Compact 2-col mobile cards (Shop, Featured & Latest) */
	.main-archive-product .products-entry.content-product1 .products-content .product-attribute,
	.spec-featured-carousel .products-entry.content-product1 .products-content .product-attribute,
	.bwp-filter-homepage .products-entry.content-product1 .products-content .product-attribute {
		display: flex !important;
		flex-wrap: nowrap;
		gap: 4px;
	}
	.main-archive-product .products-entry.content-product1 .products-content .product-attribute .label.image-attribute,
	.spec-featured-carousel .products-entry.content-product1 .products-content .product-attribute .label.image-attribute,
	.bwp-filter-homepage .products-entry.content-product1 .products-content .product-attribute .label.image-attribute {
		flex: 1 1 0;
		min-width: 0;
	}
	.main-archive-product .products-entry.content-product1 .products-content .product-attribute .label.image-attribute span,
	.spec-featured-carousel .products-entry.content-product1 .products-content .product-attribute .label.image-attribute span,
	.bwp-filter-homepage .products-entry.content-product1 .products-content .product-attribute .label.image-attribute span {
		width: 100%;
		padding: 4px 2px;
		font-size: 11px;
		text-align: center;
		white-space: nowrap;
	}
	.main-archive-product .spec-card-purity,
	.spec-featured-carousel .spec-card-purity,
	.bwp-filter-homepage .spec-card-purity {
		bottom: 10px;
		left: 10px;
		min-height: 0;
		display: flex;
		align-items: center;
	}
	.main-archive-product .spec-card-purity__badge,
	.spec-featured-carousel .spec-card-purity__badge,
	.bwp-filter-homepage .spec-card-purity__badge {
		padding: 3.5px 8px;
		font-size: 11px;
		gap: 4px;
	}
}

/* PDP Related / Recently Viewed: same compact 2-col mobile cards as Shop & Homepage */
@media (max-width: 600px) {
	body.single-product .related .products-entry.content-product1 .products-content .product-attribute,
	body.single-product .recent-view .products-entry.content-product1 .products-content .product-attribute {
		display: flex !important;
		flex-wrap: nowrap;
		gap: 4px;
	}
	body.single-product .related .products-entry.content-product1 .products-content .product-attribute .label.image-attribute,
	body.single-product .recent-view .products-entry.content-product1 .products-content .product-attribute .label.image-attribute {
		flex: 1 1 0;
		min-width: 0;
	}
	body.single-product .related .products-entry.content-product1 .products-content .product-attribute .label.image-attribute span,
	body.single-product .recent-view .products-entry.content-product1 .products-content .product-attribute .label.image-attribute span {
		width: 100%;
		padding: 4px 2px;
		font-size: 11px;
		text-align: center;
		white-space: nowrap;
	}
	body.single-product .related .spec-card-purity,
	body.single-product .recent-view .spec-card-purity {
		bottom: 10px;
		left: 10px;
		min-height: 0;
		display: flex;
		align-items: center;
	}
	body.single-product .related .spec-card-purity__badge,
	body.single-product .recent-view .spec-card-purity__badge {
		padding: 3.5px 8px;
		font-size: 11px;
		gap: 4px;
	}
	body.single-product .related .slick-track > .products-entry.slick-slide,
	body.single-product .recent-view .slick-track > .products-entry.slick-slide {
		margin-left: 5px;
		margin-right: 5px;
	}
	/* Gymex's 7.5px list padding let slices of the neighbouring cards peek in at the edges */
	body.single-product .related .content-product-list .slick-list,
	body.single-product .recent-view .content-product-list .slick-list {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	/* Side gutter for the arrows (like the homepage carousel) so they never sit on the product images */
	body.single-product .related .content-product-list,
	body.single-product .recent-view .content-product-list {
		padding-left: 22px;
		padding-right: 22px;
	}
	body.single-product .related .content-product-list > i.slick-arrow.fa-angle-left,
	body.single-product .recent-view .content-product-list > i.slick-arrow.fa-angle-left {
		left: -8px !important;
		width: 30px !important;
	}
	body.single-product .related .content-product-list > i.slick-arrow.fa-angle-right,
	body.single-product .recent-view .content-product-list > i.slick-arrow.fa-angle-right {
		right: -8px !important;
		left: auto !important;
		width: 30px !important;
	}
}

/* Remove empty 60px filter-title gap on mobile Shop */
.woocommerce-filter-title:empty {
	display: none !important;
}

/* --------------------------------------------------------------------------
   7. Product Page (PDP) P0 CRO Layout, Gallery Uniformity & Readability Scale
   -------------------------------------------------------------------------- */

/* Fluid container & smooth 2-column scaling (eliminates stepped Bootstrap jumps
   on window resize and keeps Gallery + Info side-by-side down to 768px like Zova) */
body.single-product .contents-detail > .container,
body.single-product .woocommerce-tabs .content-woocommerce-tabs {
	width: 100% !important;
	max-width: 1410px !important;
	padding-left: clamp(16px, 3vw, 36px) !important;
	padding-right: clamp(16px, 3vw, 36px) !important;
}

@media (min-width: 768px) and (max-width: 991px) {
	body.single-product .contents-detail .bwp-single-product > .row {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
	}
	body.single-product .contents-detail .bwp-single-product > .row > .bwp-single-image {
		flex: 0 0 52% !important;
		max-width: 52% !important;
		width: 52% !important;
		margin-bottom: 0 !important;
	}
	body.single-product .contents-detail .bwp-single-product > .row > .bwp-single-info {
		flex: 0 0 48% !important;
		max-width: 48% !important;
		width: 48% !important;
		padding-left: 24px !important;
	}
}

/* Uniform 1:1 gallery stage & fluid CSS-driven Slick overrides
   (eliminates Slick inline pixel lag on resize & portrait COA vertical voids) */
body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .slick-list,
body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .slick-track {
	width: 100% !important;
	height: auto !important;
}

/* Gymex sets .slick-list { margin: 0 -15px }, which shifted the main image ~15px left inside the frame. */
body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .slick-list {
	margin: 0 !important;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .img-thumbnail {
	background: #ffffff;
	border: none;
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	width: 100% !important;
	left: 0 !important;
	top: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 8px;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .img-thumbnail.slick-current {
	position: relative !important;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .img-thumbnail:not(.slick-current) {
	position: absolute !important;
	inset: 0 !important;
	pointer-events: none;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .img-thumbnail > a,
body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .img-thumbnail .image-zoom {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .img-thumbnail img {
	border: 0 !important; /* Gymex adds a faint 1px border: looked like a second frame inside the gallery frame */
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	margin: 0 auto;
}

/* Pure CSS Flexbox thumbnail strip (replaces Slick's hardcoded inline height/transform
   so thumbnails scale smoothly on resize and never stretch taller than the main image) */
body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-list {
	height: auto !important;
	overflow: visible !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-track {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
	width: 100% !important;
	height: auto !important;
	transform: none !important;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-slide {
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-cloned,
body.single-product .contents-detail .bwp-single-product .bwp-single-image .col-md-2 .slick-arrow {
	display: none !important;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-slide > .img-thumbnail-scroll {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	aspect-ratio: 1 / 1;
	padding: 4px;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	overflow: hidden;
	box-sizing: border-box;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-slide > .img-thumbnail-scroll img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	transform: none !important;
}

body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-slide.slick-current > .img-thumbnail-scroll,
body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-slide:hover > .img-thumbnail-scroll {
	border-color: #2e54a3 !important;
	box-shadow: inset 0 0 0 1px #2e54a3;
}

body.single-product .bwp-single-info .product_title {
	font-size: clamp(28px, 2.8vw, 40px) !important;
	line-height: 1.16 !important;
	font-weight: 700;
	color: #14264e !important;
	margin-bottom: 14px !important;
}

/* Trust / Benefit Chips directly under Title */
.spec-pdp-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
}

.spec-pdp-trust__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 13px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.25;
	color: #1e3a78;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	text-decoration: none;
}

.spec-pdp-trust__chip--purity {
	color: #065f46;
	background: #ecfdf5;
	border-color: #a7f3d0;
}

.spec-pdp-trust__chip--purity svg {
	color: #059669;
}

/* Key Specifications Card before Price */
.spec-pdp-specs {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px 16px;
	margin: 0 0 18px;
}

.spec-pdp-specs__heading {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #14264e;
	margin: 0 0 10px;
}

.spec-pdp-specs__list {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.spec-pdp-specs__row {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 10px;
	align-items: baseline;
	padding-top: 8px;
	border-top: 1px solid #e2e8f0;
}

.spec-pdp-specs__row:first-child {
	padding-top: 0;
	border-top: none;
}

.spec-pdp-specs__label {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: #475569;
}

.spec-pdp-specs__value {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.45;
	color: #0f172a;
	word-break: break-word;
}

/* Price Block: Simple static price OR active variable variation price */
body.single-product .entry-summary .price-single,
body.single-product .variations_form.cart .single_variation_wrap .woocommerce-variation.single_variation {
	margin: 0 0 16px !important;
	padding: 0 0 14px !important;
	border-bottom: 1px solid #e2e8f0;
}

body.single-product .entry-summary .price-single .price,
body.single-product .variations_form.cart .single_variation_wrap .woocommerce-variation-price .price {
	font-size: clamp(28px, 2.4vw, 34px) !important;
	line-height: 1.15 !important;
	font-weight: 700 !important;
	color: #14264e !important;
	letter-spacing: -0.01em;
	display: block;
}

body.single-product .variations_form.cart .reset_variations {
	display: none !important;
}

/* Clean Stock Bar */
body.single-product .bwp-single-info .percent_quantity_stock {
	margin-bottom: 16px;
}

body.single-product .bwp-single-info .percent_quantity_stock .quantity_stock {
	font-size: 14px;
	color: #334155;
	margin-bottom: 6px;
}

body.single-product .bwp-single-info .percent_quantity_stock .quantity_stock span {
	color: #1e3a78;
	font-weight: 700;
}

body.single-product .bwp-single-info .percent_quantity_stock .percent {
	height: 5px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}

body.single-product .bwp-single-info .percent_quantity_stock .percent .content {
	background: #2e54a3;
}

/* Dosage Swatches matching Card Pills with Zova-scale Tap Targets */
body.single-product .product-type-variable .variations_form.cart table.variations {
	margin-bottom: 14px !important;
}

body.single-product .product-type-variable .variations_form.cart table tr td label {
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #14264e;
	line-height: 1.4;
}

body.single-product .product-type-variable .variations_form.cart table tr td .selected-term-name {
	color: #2e54a3;
	font-weight: 700;
	font-size: 14px;
}

body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches {
	gap: 8px;
}

body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch-item-wrapper {
	margin: 0 !important;
}

body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch,
body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch.swatch-shape-circle {
	min-width: 68px;
	min-height: 44px;
	padding: 8px 18px !important;
	border-radius: 6px !important;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	box-shadow: none;
	color: #1e3a78;
	font-size: 15.5px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch:hover,
body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch.selected,
body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch.swatch-shape-circle:hover,
body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch.swatch-shape-circle.selected {
	background: #2e54a3;
	border-color: #2e54a3;
	color: #ffffff;
	box-shadow: none;
}

/* Quantity, Single Primary Add to Cart CTA, and PDP Wishlist Button */
body.single-product .bwp-single-info .quantity {
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	height: 52px;
	background: #ffffff;
	overflow: hidden;
}

body.single-product .bwp-single-info .quantity input {
	height: 50px;
	font-size: 15.5px;
	font-weight: 600;
	color: #14264e;
}

body.single-product .bwp-single-info .quantity button.plus,
body.single-product .bwp-single-info .quantity button.minus {
	height: 50px;
	font-size: 0 !important;
	color: #14264e;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.single-product .bwp-single-info .quantity button.plus i,
body.single-product .bwp-single-info .quantity button.minus i {
	display: none !important;
}

body.single-product .bwp-single-info .quantity button.plus::before,
body.single-product .bwp-single-info .quantity button.minus::before {
	top: 0 !important;
	line-height: 1;
	font-size: 16px;
}

body.single-product .bwp-single-info .single_add_to_cart_button.button {
	height: 52px !important;
	line-height: 52px !important;
	background: #2e54a3 !important;
	color: #ffffff !important;
	border-radius: 6px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	border: none !important;
	transition: background-color 0.2s ease !important;
}

body.single-product .bwp-single-info .single_add_to_cart_button.button:hover:not(.disabled),
body.single-product .bwp-single-info .single_add_to_cart_button.button:focus-visible:not(.disabled) {
	background: #1e3a78 !important;
}

body.single-product .bwp-single-info .woosw-wishlist .woosw-btn {
	width: 52px;
	height: 52px;
	line-height: 52px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #1e3a78;
}

body.single-product .bwp-single-info .woosw-wishlist .woosw-btn::before {
	color: #1e3a78;
}

body.single-product .bwp-single-info .woosw-wishlist .woosw-btn:hover,
body.single-product .bwp-single-info .woosw-wishlist .woosw-btn.woosw-added {
	background: #2e54a3;
	border-color: #2e54a3;
	color: #ffffff;
}

body.single-product .bwp-single-info .woosw-wishlist .woosw-btn:hover::before,
body.single-product .bwp-single-info .woosw-wishlist .woosw-btn.woosw-added::before {
	color: #ffffff;
}

/* First-order discount line under Add to Cart (1.5.1) */
.spec-pdp-offer {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0 0;
	padding: 10px 14px;
	background: #eef4fb;
	border: 1px solid #c7d7f0;
	border-radius: 8px;
	text-align: left;
}

.spec-pdp-offer__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	height: 28px;
	border-radius: 50%;
	background: #ffffff;
	color: #2e54a3;
}

.spec-pdp-offer__text {
	font-size: 14px;
	line-height: 1.45;
	color: #334155;
}

.spec-pdp-offer__text strong {
	font-weight: 700;
	color: #14264e;
}

/* Compact Payment-Seals Row */
body.single-product .bwp-single-info .safe-checkout {
	margin-top: 16px !important;
	padding: 10px 14px !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px;
	background: #f8fafc;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 10px;
	text-align: left;
}

body.single-product .bwp-single-info .safe-checkout .img-safe-checkout {
	margin-bottom: 0 !important;
	width: auto !important;
	flex: 0 0 auto;
	order: 2;
}

body.single-product .bwp-single-info .safe-checkout .img-safe-checkout img {
	max-height: 22px;
	width: auto;
	display: block;
}

body.single-product .bwp-single-info .safe-checkout .title-safe-checkout {
	order: 1;
	width: auto !important;
	flex: 0 1 auto;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #334155;
	white-space: nowrap;
}

body.single-product .bwp-single-info .safe-checkout .title-safe-checkout:empty::before {
	content: "Guaranteed Secure Checkout";
}

/* Shipping & Delivery Card */
body.single-product .bwp-single-info .product-shipping-delivers {
	margin-top: 12px !important;
	padding: 14px 16px !important;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #ffffff;
	text-align: left;
}

body.single-product .bwp-single-info .product-shipping-delivers li .content-info {
	align-items: flex-start;
	flex-wrap: nowrap;
	gap: 10px;
}

body.single-product .bwp-single-info .product-shipping-delivers li .content-info svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 2px 0 0 !important;
	fill: #2e54a3;
}

body.single-product .bwp-single-info .product-shipping-delivers .content,
body.single-product .bwp-single-info .product-shipping-delivers .content p {
	font-size: 14px;
	line-height: 1.55;
	color: #334155;
	margin: 0 0 4px !important;
}

body.single-product .bwp-single-info .product-shipping-delivers .content p:last-child {
	margin-bottom: 0 !important;
}

body.single-product .bwp-single-info .product-shipping-delivers a {
	color: #2e54a3;
	font-weight: 600;
}

/* Research Use Only Notice (rounded card matching Key Specs & Payment Seals) */
.spec-pdp-ruo {
	margin: 14px 0 0;
	padding: 14px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	text-align: left;
}

.spec-pdp-ruo__heading {
	font-size: 14px;
	font-weight: 700;
	color: #14264e;
	margin: 0 0 8px;
}

.spec-pdp-ruo__body,
.spec-pdp-ruo__ack {
	font-size: 13.5px;
	line-height: 1.6;
	color: #334155;
	margin: 0 0 8px;
}

.spec-pdp-ruo__ack {
	margin-bottom: 0;
}

/* Meta & View COAs button alignment */
body.single-product .bwp-single-info .product_meta {
	margin-top: 16px !important;
	padding-top: 14px;
	border-top: 1px solid #e2e8f0;
	font-size: 14px;
	color: #475569;
}

body.single-product .bwp-single-info a.button.alt.lightbox-trigger,
body.single-product .bwp-single-info .view-coa-btn {
	border-radius: 6px;
}

/* Description & Additional Information Tabs Readability & Table Polish */
body.single-product .woocommerce-tabs {
	margin-top: 32px;
}

body.single-product .woocommerce-tabs .content-ul-tab {
	margin-bottom: 28px;
}

body.single-product .woocommerce-tabs ul.tabs li a,
body.single-product .woocommerce-tabs .tab-title {
	font-size: 20px;
	font-weight: 600;
	color: #14264e;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel p,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel li {
	font-size: 16px;
	line-height: 1.7;
	color: #1e293b;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel h3,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel strong {
	color: #14264e;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes th,
body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes td {
	padding: 13px 16px;
	font-size: 15px;
	line-height: 1.5;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: top;
	text-align: left;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes tr:last-child th,
body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes tr:last-child td {
	border-bottom: none;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes th {
	width: 210px;
	background: #f8fafc;
	color: #14264e;
	font-weight: 600;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes td {
	color: #1e293b;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes td p {
	margin: 0;
	font-size: 15px;
}

@media (max-width: 991px) {
	body.single-product .contents-detail .bwp-single-product.scroll .woocommerce-product-gallery > .row {
		display: flex !important;
		flex-direction: column !important;
		margin: 0 !important;
	}
	body.single-product .contents-detail .bwp-single-product.scroll .woocommerce-product-gallery > .row > div.col-md-10 {
		order: 1;
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		padding: 0 !important;
	}
	body.single-product .contents-detail .bwp-single-product.scroll .woocommerce-product-gallery > .row > div.col-md-2 {
		order: 2;
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		padding: 0 !important;
		margin-top: 10px !important;
	}
	body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-track {
		flex-direction: row !important;
		justify-content: flex-start;
		gap: 8px;
	}
	body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-thumbnail .slick-slide {
		width: calc((100% - 24px) / 4) !important;
		max-width: 84px;
		flex: 0 0 calc((100% - 24px) / 4) !important;
		padding: 0 !important;
	}
	body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .img-thumbnail {
		max-height: 440px;
	}
	body.single-product .bwp-single-info .quantity input {
		width: 96px !important;
		padding: 0 32px !important;
	}
	body.single-product .bwp-single-info .single_add_to_cart_button.button {
		padding: 0 12px !important;
		font-size: 14px !important;
	}
	body.single-product .bwp-single-info .safe-checkout {
		padding: 8px 10px !important;
		gap: 6px;
	}
	body.single-product .bwp-single-info .safe-checkout .title-safe-checkout {
		font-size: 11.5px;
	}
	body.single-product .bwp-single-info .safe-checkout .img-safe-checkout img {
		max-height: 18px;
	}
}

@media (max-width: 767px) {
	body.single-product .contents-detail .bwp-single-product .bwp-single-image {
		margin-bottom: 18px;
	}
	body.single-product .contents-detail .bwp-single-product .bwp-single-image .image-additional .img-thumbnail {
		max-height: 290px;
		padding: 8px;
	}
	body.single-product .contents-detail .bwp-single-product .bwp-single-info {
		padding-left: 15px !important;
	}
	body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
	body.single-product .woocommerce-tabs .woocommerce-Tabs-panel p,
	body.single-product .woocommerce-tabs .woocommerce-Tabs-panel li {
		font-size: 15.5px;
	}
	body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes th {
		width: 125px;
		padding: 11px 12px;
		font-size: 14px;
	}
	body.single-product .woocommerce-tabs .woocommerce-product-attributes.shop_attributes td {
		padding: 11px 12px;
		font-size: 14px;
	}
}

@media (max-width: 600px) {
	body.single-product .bwp-single-info .product_title {
		font-size: 28px !important;
	}
	.spec-pdp-trust {
		gap: 6px;
	}
	.spec-pdp-trust__chip {
		font-size: 12.5px;
		padding: 5px 11px;
	}
	.spec-pdp-specs {
		padding: 12px 14px;
	}
	.spec-pdp-specs__row {
		grid-template-columns: 88px 1fr;
		gap: 8px;
	}
	.spec-pdp-specs__label {
		font-size: 13px;
	}
	.spec-pdp-specs__value {
		font-size: 14px;
	}
	body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch,
	body.single-product .product-type-variable .variations_form.cart table tr td.value .tawcvs-swatches .swatch.swatch-shape-circle {
		min-width: 60px;
		min-height: 44px;
		padding: 8px 14px !important;
		font-size: 15px;
	}
	body.single-product .bwp-single-info .safe-checkout {
		justify-content: space-between;
		padding: 9px 12px !important;
		gap: 8px;
		text-align: left;
	}
	body.single-product .bwp-single-info .safe-checkout .title-safe-checkout {
		font-size: 12.5px;
	}
	body.single-product .bwp-single-info .safe-checkout .img-safe-checkout img {
		max-height: 20px;
	}
}

/* --------------------------------------------------------------------------
   8. Cart Page P0 (1.5.0) — card layout matching SPEC Checkout
   Scoped to body.woocommerce-cart. No Elementor element IDs (rule 7).
   -------------------------------------------------------------------------- */
body.woocommerce-cart {
	--spec-blue: #2e54a3;
	--spec-blue-dark: #24468a;
	--spec-navy: #14264e;
	--spec-ink: #111827;
	--spec-text: #374151;
	--spec-soft: #6b7280;
	--spec-line: #e3e6ec;
	--spec-line-soft: #eef0f4;
	--spec-field-line: #d5d9e0;
	--spec-green: #15803d;
	--spec-card-pad: 24px;
}

/* Desktop/tablet keep the Elementor container's 50px side padding (matches the header); phones override it below. */

body.woocommerce-cart .woocommerce {
	font-family: Outfit, "Helvetica Neue", Arial, sans-serif;
	color: var(--spec-text);
}

/* Gymex Cart / Checkout / Order Tracking tabs: replaced by the H1 + trust row. */
body.woocommerce-cart .woocommerce-page-header {
	display: none;
}

/* Header: H1 + trust chips */
/* Same columns as the cart grid below, so the pills line up with the summary card. */
.spec-cart-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
	align-items: center;
	gap: 12px 24px;
	margin: 8px 0 24px;
}

.spec-cart-head__title {
	margin: 0;
	font-family: Outfit, "Helvetica Neue", Arial, sans-serif;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--spec-ink);
}

.spec-cart-trust {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spec-cart-trust__chip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 36px;
	margin: 0;
	padding: 6px 13px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.25;
	color: #1e3a78;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
}

.spec-cart-trust__chip svg {
	flex-shrink: 0;
	color: var(--spec-blue);
}

/* Two columns: items + sticky summary (one column below 992px) */
body.woocommerce-cart .woocommerce-cart-page.row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
	gap: 24px;
	align-items: start;
	margin: 0;
}

body.woocommerce-cart .woocommerce-cart-page.row > [class*="col-"] {
	width: 100%;
	max-width: none;
	flex: none;
	padding: 0;
	min-width: 0;
}

body.woocommerce-cart .cart-collaterals {
	position: sticky;
	top: 24px;
	width: 100%;
	max-width: none !important; /* Gymex caps it at 370px on wide screens */
	margin: 0;
	padding: 0;
	background: transparent !important; /* Gymex paints #f6f6f6 behind the cards */
}

/* Discount banner */
.spec-cart-offer {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	padding: 14px 18px;
	background: #eef4fb;
	border: 1px solid #c7d7f0;
	border-radius: 12px;
	color: var(--spec-navy);
}

.spec-cart-offer__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	height: 36px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--spec-blue);
}

.spec-cart-offer__copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
}

.spec-cart-offer__title {
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--spec-navy);
}

.spec-cart-offer__text {
	font-size: 13.5px;
	line-height: 1.45;
	color: #334155;
}

.spec-cart-offer__save {
	flex: 0 0 auto;
	padding: 6px 12px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #c7d7f0;
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--spec-green);
}

.spec-cart-offer__save .amount {
	color: inherit;
}

/* Items card (the table becomes a CSS grid so it can reflow cleanly) */
body.woocommerce-cart table.shop_table.cart {
	display: block;
	width: 100%;
	margin: 0;
	background: #ffffff;
	border: 1px solid var(--spec-line) !important;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
	overflow: hidden;
}

body.woocommerce-cart table.shop_table.cart thead,
body.woocommerce-cart table.shop_table.cart tbody {
	display: block;
	width: 100%;
}

body.woocommerce-cart table.shop_table.cart thead tr,
body.woocommerce-cart table.shop_table.cart tr.cart_item {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 100px 132px 100px 36px;
	align-items: center;
	gap: 16px;
	padding: 16px var(--spec-card-pad);
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--spec-line-soft);
}

body.woocommerce-cart table.shop_table.cart thead tr {
	padding-top: 14px;
	padding-bottom: 14px;
	background: #f8fafc;
	border-bottom-color: var(--spec-line);
}

body.woocommerce-cart table.shop_table.cart th,
body.woocommerce-cart table.shop_table.cart td {
	display: block !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent;
	text-align: left;
}

body.woocommerce-cart table.shop_table.cart th {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--spec-soft) !important;
}

body.woocommerce-cart table.shop_table.cart td::before {
	display: none !important;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
	display: flex !important;
	align-items: center;
	gap: 16px;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail > a {
	flex: 0 0 76px;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
	width: 76px !important;
	height: 76px !important;
	max-width: none;
	object-fit: contain;
	padding: 4px;
	background: #f8fafc;
	border: 1px solid var(--spec-line-soft);
	border-radius: 10px;
}

body.woocommerce-cart table.shop_table.cart .product-name {
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart table.shop_table.cart .product-name > a {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--spec-ink);
	text-decoration: none;
}

body.woocommerce-cart table.shop_table.cart .product-name > a:hover,
body.woocommerce-cart table.shop_table.cart .product-name > a:focus-visible {
	color: var(--spec-blue);
}

body.woocommerce-cart table.shop_table.cart .product-name dl.variation {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--spec-soft);
}

/* Desktop shows price / subtotal / remove in their own columns. */
body.woocommerce-cart table.shop_table.cart .product-name .price,
body.woocommerce-cart table.shop_table.cart .product-name .remove,
body.woocommerce-cart table.shop_table.cart td.product-quantity .subtotal {
	display: none !important;
}

body.woocommerce-cart table.shop_table.cart td.product-price,
body.woocommerce-cart table.shop_table.cart td.product-subtotal {
	font-size: 15px;
	font-weight: 600;
	color: var(--spec-ink);
}

body.woocommerce-cart table.shop_table.cart td.product-subtotal,
body.woocommerce-cart table.shop_table.cart th.product-subtotal {
	text-align: right;
}

/* Quantity stepper (same proportions as the PDP stepper) */
body.woocommerce-cart table.shop_table.cart .quantity {
	display: inline-flex !important;
	align-items: center;
	flex-wrap: nowrap !important;
	width: 120px !important;
	height: 44px;
	margin: 0;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	overflow: hidden;
}

body.woocommerce-cart table.shop_table.cart .quantity input.qty {
	flex: 1 1 auto;
	width: 40px !important;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: transparent;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	color: var(--spec-navy);
}

body.woocommerce-cart table.shop_table.cart .quantity button.plus,
body.woocommerce-cart table.shop_table.cart .quantity button.minus {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--spec-navy);
}

/* DOM order is plus, input, minus (Gymex floats them); show − qty +. */
body.woocommerce-cart table.shop_table.cart .quantity > * {
	float: none !important;
}

body.woocommerce-cart table.shop_table.cart .quantity button.minus {
	order: 1;
}

body.woocommerce-cart table.shop_table.cart .quantity input.qty {
	order: 2;
}

body.woocommerce-cart table.shop_table.cart .quantity button.plus {
	order: 3;
}

body.woocommerce-cart table.shop_table.cart .quantity button:hover,
body.woocommerce-cart table.shop_table.cart .quantity button:focus-visible {
	background: #f1f5f9;
}

/* Remove (×) */
body.woocommerce-cart table.shop_table.cart td.product-remove {
	text-align: right;
}

body.woocommerce-cart table.shop_table.cart a.remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 36px !important;
	height: 36px;
	border-radius: 50%;
	font-size: 22px !important;
	line-height: 1;
	color: var(--spec-soft) !important;
	background: transparent;
	border: 0;
	text-decoration: none;
}

/* Gymex adds an icon-font × in ::before on top of the text ×. */
body.woocommerce-cart table.shop_table.cart a.remove::before,
body.woocommerce-cart table.shop_table.cart a.remove::after {
	display: none !important;
}

body.woocommerce-cart table.shop_table.cart a.remove:hover,
body.woocommerce-cart table.shop_table.cart a.remove:focus-visible {
	color: #b91c1c !important;
	background: #fef2f2 !important;
}

/* Coupon + continue shopping row */
body.woocommerce-cart table.shop_table.cart tbody tr:last-child {
	display: block;
}

body.woocommerce-cart table.shop_table.cart td.actions {
	padding: 16px var(--spec-card-pad) !important;
	background: #ffffff;
}

body.woocommerce-cart table.shop_table.cart .bottom-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	margin: 0;
	padding: 0;
	border: 0;
}

body.woocommerce-cart table.shop_table.cart .coupon {
	display: flex;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: 8px;
	flex: 0 1 420px;
	margin: 0;
	padding: 0;
	border: 0;
}

body.woocommerce-cart table.shop_table.cart .coupon #coupon_code {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	height: 44px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--spec-field-line) !important;
	border-radius: 8px;
	background: #ffffff;
	font-size: 14.5px;
	color: var(--spec-ink);
}

body.woocommerce-cart table.shop_table.cart .coupon #coupon_code:focus {
	border-color: var(--spec-blue) !important;
	box-shadow: 0 0 0 3px rgba(46, 84, 163, 0.15);
	outline: none;
}

body.woocommerce-cart table.shop_table.cart .coupon button.button {
	flex: 0 0 auto;
	width: auto !important;
	height: 44px;
	margin: 0;
	padding: 0 18px;
	line-height: 42px;
	border: 1px solid var(--spec-blue) !important;
	border-radius: 8px;
	background: #ffffff !important;
	color: var(--spec-blue) !important;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

body.woocommerce-cart table.shop_table.cart .coupon button.button:hover,
body.woocommerce-cart table.shop_table.cart .coupon button.button:focus-visible {
	background: var(--spec-blue) !important;
	color: #ffffff !important;
}

body.woocommerce-cart table.shop_table.cart .bottom-cart h2 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14.5px;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
}

body.woocommerce-cart table.shop_table.cart .bottom-cart h2 a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	font-weight: 600;
	color: var(--spec-blue) !important;
	text-transform: none;
	letter-spacing: 0;
}

body.woocommerce-cart table.shop_table.cart .bottom-cart h2 a::before {
	content: "\2190";
	margin-right: 6px;
}

body.woocommerce-cart table.shop_table.cart .bottom-cart h2 a:hover {
	color: var(--spec-blue-dark) !important;
	text-decoration: underline;
}

/* Order summary card */
body.woocommerce-cart .cart_totals {
	width: 100% !important;
	float: none;
	margin: 0;
	padding: var(--spec-card-pad);
	background: #ffffff;
	border: 1px solid var(--spec-line);
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

body.woocommerce-cart .cart_totals > h2 {
	margin: 0 0 8px;
	padding: 0;
	background: transparent;
	border: 0;
	font-family: Outfit, "Helvetica Neue", Arial, sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--spec-ink);
}

body.woocommerce-cart .cart_totals .shop_table {
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: transparent;
}

body.woocommerce-cart .cart_totals .shop_table > div {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	border: 0;
	background: transparent;
}

body.woocommerce-cart .cart_totals .shop_table > div > .title,
body.woocommerce-cart .cart_totals .shop_table > div > h2 {
	flex: 0 1 auto;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	color: var(--spec-text);
}

body.woocommerce-cart .cart_totals .shop_table > div > div[data-title] {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	text-align: right;
	color: var(--spec-ink);
}

body.woocommerce-cart .cart_totals .shop_table > div > div[data-title] .amount {
	font-size: inherit !important;
	font-weight: inherit !important;
	color: inherit !important;
}

body.woocommerce-cart .cart_totals .shop_table > div > div[data-title]::before {
	display: none !important;
}

body.woocommerce-cart .cart_totals .cart-discount > div[data-title] {
	color: var(--spec-green) !important;
}

body.woocommerce-cart .cart_totals .woocommerce-remove-coupon {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--spec-soft) !important;
	text-decoration: underline;
}

/* Shipping row: one free method + ETA (no radio, no address calculator) */
body.woocommerce-cart .cart_totals #shipping_method,
body.woocommerce-cart .cart_totals #shipping_method li {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}

body.woocommerce-cart .cart_totals #shipping_method label {
	margin: 0;
	padding: 0;
	font-weight: 600;
	color: var(--spec-green);
}

body.woocommerce-cart .cart_totals #shipping_method input[type="hidden"] + label::before,
body.woocommerce-cart .cart_totals #shipping_method input[type="hidden"] + label::after {
	display: none;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
	display: none;
}

body.woocommerce-cart .spec-co-eta {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--spec-soft);
}

body.woocommerce-cart .spec-co-eta > span {
	display: block;
}

body.woocommerce-cart .spec-co-eta__arrival {
	color: var(--spec-green);
	font-weight: 500;
}

body.woocommerce-cart .cart_totals .order-total {
	margin-top: 6px !important;
	padding-top: 14px !important;
	border-top: 1px solid var(--spec-line) !important;
}

body.woocommerce-cart .cart_totals .order-total > .title,
body.woocommerce-cart .cart_totals .order-total > div[data-title] {
	font-size: 19px !important;
	font-weight: 700 !important;
	color: var(--spec-ink) !important;
}

body.woocommerce-cart .cart_totals .order-total small {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--spec-soft);
}

/* Proceed to checkout */
body.woocommerce-cart .wc-proceed-to-checkout {
	margin: 16px 0 0;
	padding: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 20px;
	line-height: 1;
	border: 0;
	border-radius: 8px;
	background: var(--spec-blue) !important;
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 6px 16px rgba(46, 84, 163, 0.22);
	transition: background 0.15s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus-visible {
	background: var(--spec-blue-dark) !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus-visible {
	outline: 3px solid rgba(46, 84, 163, 0.35);
	outline-offset: 2px;
}

/* Payment logos */
.spec-cart-pay {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
}

.spec-cart-pay__title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #334155;
}

.spec-cart-pay__title svg {
	color: var(--spec-green);
}

.spec-cart-pay__logos {
	display: block;
	width: auto !important;
	max-width: 100%;
	height: 40px !important;
	object-fit: contain;
}

/* Research-use confirmation (replaces Snippet #7) */
.spec-cart-ruo {
	margin-top: 16px;
	padding: 18px 20px;
	background: #f8fafc;
	border: 1px solid var(--spec-line);
	border-radius: 14px;
	text-align: left;
}

.spec-cart-ruo__heading {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--spec-navy);
}

.spec-cart-ruo__body {
	margin: 0 0 8px;
	font-size: 13.5px;
	line-height: 1.6;
	color: #334155;
}

.spec-cart-ruo__list {
	margin: 0;
	padding-left: 18px !important;
	list-style: disc !important;
}

.spec-cart-ruo__list li {
	display: list-item !important;
	list-style: disc !important;
	margin: 0 0 4px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #334155;
}

/* Narrow desktop: price moves under the product name, freeing a column. */
@media (min-width: 768px) and (max-width: 1279px) {
	body.woocommerce-cart table.shop_table.cart thead tr,
	body.woocommerce-cart table.shop_table.cart tr.cart_item {
		grid-template-columns: minmax(0, 1fr) 124px 96px 36px;
	}

	body.woocommerce-cart table.shop_table.cart th.product-price,
	body.woocommerce-cart table.shop_table.cart td.product-price {
		display: none !important;
	}

	body.woocommerce-cart table.shop_table.cart .product-name .price {
		display: block !important;
		margin: 4px 0 0;
		font-size: 14px;
		font-weight: 500;
		color: var(--spec-soft);
	}
}

/* Tablet: one column like SPEC Checkout, summary no longer sticky */
@media (max-width: 1024px) {
	.spec-cart-head {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-cart .woocommerce-cart-page.row {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-cart .cart-collaterals {
		position: static;
	}
}

/* Phone: items as stacked cards */
@media (max-width: 767px) {
	body.woocommerce-cart {
		--spec-card-pad: 16px;
	}

	body.woocommerce-cart .e-con:has(.elementor-widget-wc-elements .woocommerce-cart-form) {
		--padding-left: 16px;
		--padding-right: 16px;
	}

	.spec-cart-head {
		margin: 4px 0 18px;
	}

	.spec-cart-head__title {
		font-size: 28px;
	}

	.spec-cart-trust {
		gap: 6px;
	}

	.spec-cart-trust__chip {
		padding: 5px 10px;
		font-size: 12.5px;
	}

	.spec-cart-offer {
		flex-wrap: wrap;
		align-items: flex-start;
		padding: 14px;
	}

	.spec-cart-offer__copy {
		flex-basis: calc(100% - 48px);
	}

	.spec-cart-offer__save {
		margin-left: 48px;
	}

	body.woocommerce-cart table.shop_table.cart thead {
		display: none;
	}

	body.woocommerce-cart table.shop_table.cart tr.cart_item {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	body.woocommerce-cart table.shop_table.cart td.product-price,
	body.woocommerce-cart table.shop_table.cart td.product-subtotal,
	body.woocommerce-cart table.shop_table.cart td.product-remove {
		display: none !important;
	}

	body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
		align-items: flex-start;
		gap: 14px;
	}

	body.woocommerce-cart table.shop_table.cart td.product-thumbnail > a {
		flex-basis: 72px;
	}

	body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
		width: 72px !important;
		height: 72px !important;
	}

	body.woocommerce-cart table.shop_table.cart .product-name {
		position: relative;
		flex: 1 1 auto;
		padding-right: 40px !important;
	}

	body.woocommerce-cart table.shop_table.cart .product-name .price {
		display: block !important;
		margin: 4px 0 0;
		font-size: 14px;
		font-weight: 500;
		color: var(--spec-soft);
	}

	body.woocommerce-cart table.shop_table.cart .product-name .remove {
		display: inline-flex !important;
		position: absolute;
		top: -6px;
		right: -6px;
	}

	body.woocommerce-cart table.shop_table.cart td.product-quantity {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		padding-left: 86px !important;
	}

	body.woocommerce-cart table.shop_table.cart td.product-quantity .subtotal {
		display: block !important;
		margin: 0;
		font-size: 16px;
		font-weight: 700;
		color: var(--spec-ink);
	}

	body.woocommerce-cart table.shop_table.cart .bottom-cart {
		flex-direction: column;
		align-items: stretch;
	}

	body.woocommerce-cart table.shop_table.cart .coupon {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
		margin: 0 !important;
	}
	/* Input takes the leftover width and may shrink (its built-in size kept the row too wide at 360px) */
	body.woocommerce-cart table.shop_table.cart .coupon #coupon_code {
		flex: 1 1 0;
		width: 0 !important;
		min-width: 0;
	}
	body.woocommerce-cart table.shop_table.cart .coupon button.button {
		padding: 0 14px;
		font-size: 13px;
		letter-spacing: 0.02em;
	}

	body.woocommerce-cart table.shop_table.cart .bottom-cart h2 {
		text-align: center;
	}

	body.woocommerce-cart table.shop_table.cart .bottom-cart h2 a {
		justify-content: center;
	}

	.spec-cart-pay__logos {
		height: 34px !important;
	}
}
