/* OPIF THEME — Single Product */
.opif-theme .opif-single-product-page,
.opif-theme div.product {
	box-sizing: border-box;
}

.opif-theme .opif-single-product-page {
	max-width: 1320px;
	margin: 0 auto;
	padding: 24px 20px 64px;
}

.opif-theme .opif-single-product-page > .product {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 6px 24px rgba(0,0,0,.04);
}

.opif-theme .opif-single-product-page .product-gallery-summary {
	gap: 44px;
}

.opif-theme .opif-single-product-page .summary.entry-summary {
	padding: 4px 0;
}

.opif-theme .opif-single-product-page .product_title {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.15;
	margin: 0 0 12px;
	font-weight: 700;
}

.opif-theme .opif-single-product-page .price {
	font-size: 24px;
	font-weight: 700;
}

.opif-theme .opif-single-product-page .single_add_to_cart_button {
	min-height: 50px;
	border-radius: 8px;
	font-weight: 700;
}

.opif-theme .opif-single-product-page .woocommerce-tabs {
	margin-top: 34px;
	padding-top: 30px;
	border-top: 1px solid #ededed;
}

/* Related products are deliberately separated from the main product card. */
.opif-theme .opif-related-products-section,
.opif-theme .related.products {
	clear: both;
	margin-top: 48px;
	padding-top: 34px;
	border-top: 1px solid #e9e9e9;
}

.opif-theme .related.products > h2 {
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.2;
	margin: 0 0 24px;
	font-weight: 700;
}

.opif-theme .related.products ul.products {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.opif-theme .opif-single-product-page {
		padding: 12px 12px 40px;
	}

	.opif-theme .opif-single-product-page > .product {
		padding: 16px;
		border-radius: 12px;
	}

	.opif-theme .opif-single-product-page .product-gallery-summary {
		gap: 20px;
	}

	.opif-theme .related.products {
		margin-top: 32px;
		padding-top: 24px;
	}
}
