/*
 * Apex Lifting — Single Product template styles.
 * Enqueued ONLY on is_product() (see functions.php) and scoped under
 * .apex-product-page so it never leaks into the shop archive, cart, other
 * pages, or the parent GeneratePress/child theme styles.
 */

.apex-product-page * {
	box-sizing: border-box;
}

/* ---------- HERO BANNER ---------- */
.apex-product-page .apex-hero {
	/* Full-bleed breakout: escapes GeneratePress's content container
	   regardless of its width, without needing to touch theme markup. */
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;

	height: 150px;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
}

.apex-product-page .apex-hero__title {
	font-size: 52px;
	font-weight: 900;
	color: #fff;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
	margin: 0;
}

.apex-product-page .apex-breadcrumb {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, .9);
}

.apex-product-page .apex-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.apex-product-page .apex-breadcrumb a:hover {
	text-decoration: underline;
}

.apex-product-page .apex-breadcrumb__sep {
	color: #e85d04;
	font-size: 9px;
}

.apex-product-page .apex-breadcrumb__current {
	color: #bbb;
}

/* ---------- PRODUCT MAIN GRID ---------- */
.apex-product-page .apex-product-main {
	max-width: 1200px;
	margin: 56px auto 0;
	padding: 0 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

/* Reskin WooCommerce's native gallery to match the design. */
.apex-product-page .apex-gallery .woocommerce-product-gallery {
	max-width: 100%;
}

.apex-product-page .apex-gallery .woocommerce-product-gallery__wrapper {
	background: #f8f8f8;
	border-radius: 10px;
	overflow: hidden;
}

.apex-product-page .apex-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.apex-product-page .apex-gallery .flex-control-thumbs li {
	list-style: none;
	width: 72px;
	height: 72px;
}

.apex-product-page .apex-gallery .flex-control-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fafafa;
	border: 2px solid #eee;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color .2s;
}

.apex-product-page .apex-gallery .flex-control-thumbs img.flex-active {
	border-color: #e85d04;
}

/* ---------- INFO COLUMN ---------- */
.apex-product-page .apex-info__title {
	font-size: 34px;
	font-weight: 900;
	color: #1a1a1a;
	margin: 0 0 10px;
	line-height: 1.2;
}

.apex-product-page .apex-info__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 12px;
	color: #999;
	letter-spacing: .5px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.apex-product-page .apex-info__cat a {
	color: #e85d04;
	text-decoration: none;
}

.apex-product-page .apex-info__stock .stock {
	font-weight: 700;
}

.apex-product-page .apex-info__stock .in-stock {
	color: #2a8f4d;
}

.apex-product-page .apex-info__stock .out-of-stock {
	color: #c94d00;
}

.apex-product-page .apex-price {
	font-size: 22px;
	font-weight: 800;
	color: #1a1a1a;
	margin-bottom: 16px;
}

.apex-product-page .apex-price .apex-price-placeholder {
	font-size: 15px;
	font-weight: 700;
	color: #777;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.apex-product-page .apex-price ins {
	text-decoration: none;
}

/* Native WooCommerce add-to-cart form, restyled as an inline pill button. */
.apex-product-page form.cart {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.apex-product-page form.cart .quantity {
	margin: 0;
}

.apex-product-page form.cart input.qty {
	width: 64px;
	padding: 12px 10px;
	border: 1.5px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
}

.apex-product-page form.cart button.single_add_to_cart_button {
	background: #1a1a1a;
	color: #fff;
	border: none;
	border-radius: 30px;
	padding: 13px 30px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s;
}

.apex-product-page form.cart button.single_add_to_cart_button:hover {
	background: #333;
}

.apex-product-page .apex-why__label,
.apex-product-page .apex-short-desc__label,
.apex-product-page .apex-section-title {
	color: #e85d04;
}

.apex-product-page .apex-why__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.apex-product-page .apex-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.apex-product-page .apex-badge {
	border: 1.5px solid #333;
	border-radius: 20px;
	padding: 5px 16px;
	font-size: 12px;
	font-weight: 600;
	color: #333;
}

.apex-product-page .apex-short-desc {
	margin-bottom: 22px;
}

.apex-product-page .apex-short-desc__label {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 10px;
}

.apex-product-page .apex-short-desc p,
.apex-product-page .apex-short-desc li {
	font-size: 14px;
	color: #444;
	line-height: 1.6;
	margin-bottom: 6px;
}

.apex-product-page .apex-action-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
}

.apex-product-page .apex-btn {
	display: inline-block;
	background: #e85d04;
	color: #fff;
	border: none;
	border-radius: 30px;
	padding: 13px 28px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s;
}

.apex-product-page .apex-btn:hover {
	background: #c94d00;
	color: #fff;
}

.apex-product-page .apex-contact {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 18px;
}

.apex-product-page .apex-contact__item {
	font-size: 13px;
	color: #555;
}

.apex-product-page .apex-contact__item a {
	color: #555;
	text-decoration: none;
}

.apex-product-page .apex-contact__item a:hover {
	color: #e85d04;
}

.apex-product-page .apex-share {
	display: flex;
	align-items: center;
	gap: 12px;
}

.apex-product-page .apex-share__label {
	font-size: 12px;
	font-weight: 700;
	color: #333;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.apex-product-page .apex-share__icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e85d04;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

/* ---------- PLACEHOLDER (missing data) ---------- */
.apex-product-page .apex-placeholder {
	display: inline-block;
	font-style: italic;
	color: #999;
	background: #f4f4f4;
	border: 1px dashed #ddd;
	border-radius: 4px;
	padding: 2px 8px;
	font-size: 13px;
}

/* ---------- TECHNICAL SPECIFICATIONS ---------- */
.apex-product-page .apex-specs {
	background: #f7f7f7;
	padding: 20px 0 60px;
	margin-top: 20px;
}

.apex-product-page .apex-specs__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 40px 0;
}

.apex-product-page .apex-section-title {
	font-size: 30px;
	font-weight: 900;
	color: #1a1a1a;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 30px;
}

.apex-product-page .apex-section-title::before {
	content: '';
	display: block;
	width: 6px;
	height: 38px;
	background: #e85d04;
	border-radius: 3px;
	flex-shrink: 0;
}

/* Style ANY table inside the specs section, whether it comes from real
   WooCommerce attributes or from HTML embedded in the product description. */
.apex-product-page .apex-specs table,
.apex-product-page .apex-description-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	background: #fff;
}

.apex-product-page .apex-specs .tbl-wrap,
.apex-product-page .apex-description-content {
	overflow-x: auto;
}

.apex-product-page .apex-specs th,
.apex-product-page .apex-description-content th {
	background: #1a1a1a;
	color: #fff;
	padding: 13px 14px;
	text-align: center;
	font-weight: 700;
	white-space: nowrap;
}

.apex-product-page .apex-specs td,
.apex-product-page .apex-description-content td {
	padding: 11px 14px;
	text-align: center;
	border-bottom: 1px solid #eee;
	color: #444;
	white-space: nowrap;
}

.apex-product-page .apex-specs tr:nth-child(even) td,
.apex-product-page .apex-description-content tr:nth-child(even) td {
	background: #f9f9f9;
}

.apex-product-page .apex-description-content ul {
	padding-left: 20px;
	margin-bottom: 20px;
}

.apex-product-page .apex-description-content li {
	font-size: 14px;
	color: #444;
	line-height: 1.6;
	margin-bottom: 6px;
}

/* ---------- FEATURES & BENEFITS ---------- */
.apex-product-page .apex-features {
	max-width: 1200px;
	margin: 50px auto;
	padding: 0 40px;
}

.apex-product-page .apex-feat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 10px;
}

.apex-product-page .apex-feat-card {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.apex-product-page .apex-feat-card img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

/* ---------- RELATED PRODUCTS ---------- */
.apex-product-page .apex-related {
	background: #f7f7f7;
	padding: 60px 40px;
}

.apex-product-page .apex-related__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.apex-product-page .apex-related .related.products ul.products,
.apex-product-page .apex-related .related.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 36px;
}

.apex-product-page .apex-related .related.products .product {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
	transition: transform .2s, box-shadow .2s;
	list-style: none;
	padding: 0;
}

.apex-product-page .apex-related .related.products .product:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.apex-product-page .apex-related .related.products img {
	width: 100%;
	height: 200px;
	object-fit: contain;
	padding: 10px;
	background: #fafafa;
}

.apex-product-page .apex-related .related.products .woocommerce-loop-product__title {
	padding: 12px 14px 0;
	font-size: 13px;
	font-weight: 700;
	color: #222;
	line-height: 1.4;
}

.apex-product-page .apex-related .related.products .price {
	padding: 4px 14px 14px;
	color: #e85d04;
	font-size: 12px;
	font-weight: 600;
}

/* ---------- FAQ ---------- */
.apex-product-page .apex-faq {
	max-width: 980px;
	margin: 0 auto;
	padding: 60px 40px;
}

.apex-product-page .apex-faq__item {
	border-bottom: 1px solid #eee;
	padding: 18px 0;
}

.apex-product-page .apex-faq__q {
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.apex-product-page .apex-faq__q::-webkit-details-marker {
	display: none;
}

.apex-product-page .apex-faq__q::after {
	content: '+';
	font-size: 22px;
	color: #e85d04;
	font-weight: 400;
	margin-left: 12px;
}

.apex-product-page .apex-faq__item[open] .apex-faq__q::after {
	content: '\2212';
}

.apex-product-page .apex-faq__a {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	margin-top: 12px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
	.apex-product-page .apex-product-main {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 0 24px;
	}

	.apex-product-page .apex-specs__inner,
	.apex-product-page .apex-features,
	.apex-product-page .apex-faq {
		padding-left: 24px;
		padding-right: 24px;
	}

	.apex-product-page .apex-hero__title {
		font-size: 34px;
	}

	.apex-product-page .apex-feat-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.apex-product-page .apex-related .related.products,
	.apex-product-page .apex-related .related.products ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.apex-product-page .apex-hero {
		height: 220px;
	}

	.apex-product-page .apex-hero__title {
		font-size: 24px;
		letter-spacing: 1px;
	}

	.apex-product-page .apex-product-main,
	.apex-product-page .apex-specs__inner,
	.apex-product-page .apex-features,
	.apex-product-page .apex-related,
	.apex-product-page .apex-faq {
		padding-left: 16px;
		padding-right: 16px;
	}

	.apex-product-page .apex-feat-grid,
	.apex-product-page .apex-related .related.products,
	.apex-product-page .apex-related .related.products ul.products {
		grid-template-columns: 1fr;
	}

	.apex-product-page .apex-gallery .flex-control-thumbs {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.apex-product-page .apex-action-btns {
		flex-direction: column;
	}

	.apex-product-page .apex-btn {
		text-align: center;
	}
}



.entry-content:not(:first-child){
    margin-top: 0em !important;
}

.separate-containers .inside-article{
    padding: 0px !important;
}


.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    width: 100% !important;
}
