/* --------------------------------------------------------------------------
   Single product (WooCommerce) — wyciągnięte z 3 inline <style> w:
   - woocommerce/single-product/price.php
   - woocommerce/single-product/product-image.php
   - woocommerce/single-product/short-description.php
   Enqueue warunkowy w inc/optimize-assets.php przy is_product().
-------------------------------------------------------------------------- */

/* --- single-product layout (z price.php) --- */

body.single-product {
	background-image: url(/wp-content/uploads/2025/08/Screenshot_2-1.png);
	background-size: contain;
	background-position: 0 -32px;
	background-repeat: no-repeat;
}

.single-product-product-content {
	max-width: 960px;
	margin: 0 auto;
	position: relative;
	overflow-x: visible;
	padding: 165px 0 60px;
	font-family: "Wix Madefor Text", serif;
	display: flex;
}

.single-product:has(.woocommerce-product-gallery__image--placeholder) .summary.entry-summary {
	padding-left: 0 !important;
	width: 100%;
	clear: none;
	max-width: 400px;
	margin-left: 95px;
	margin-top: 0;
}

article.product > .entry-header {
	display: none;
}

.product-title-block h1 {
	color: #231F20;
	font-size: 20px;
	font-family: "Wix Madefor Text", serif;
	font-weight: 500;
	min-height: 50px;
	margin: 0px 0 20px;
	line-height: 1.2;
}

article.product .summary.entry-summary {
	width: 445px;
	margin-top: 33px;
	padding-left: 65px;
}

/* Galeria: bez fade-in przy ładowaniu (WC domyślnie opacity:0 → 1) */
.single-product .woocommerce-product-gallery {
	opacity: 1 !important;
	transition: none !important;
}

.woocommerce-product-gallery__wrapper {
	pointer-events: none;
	width: 100%;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	display: none;
}

.product-category-singl-page a {
	color: #2F3285;
	font-size: 13px;
	text-decoration: none;
}

article.product p.price {
	margin: 0;
	line-height: 1.3;
	color: #2f3285 !important;
	font-size: 15px !important;
	font-weight: 600;
}

article.product small.woocommerce-price-suffix {
	color: #6d6e71;
	font-size: 13px;
	font-weight: 500;
	display: none;
}

.woocommerce div.product form.cart {
	display: none;
}

.single-product .woocommerce-tabs.wc-tabs-wrapper,
.single-product aside#secondary,
article.product .product_meta,
article.product .woocommerce-product-details__short-description {
	display: none;
}

.woocommerce-product-details-button-block {
	padding-top: 40px;
}

.woocommerce-product-details-button-block .blue-button a {
	min-width: 290px;
}

.product-text-after-button {
	color: #a7a9ac;
	font-size: 12px;
	padding-top: 15px;
	line-height: 1.3;
}

.woocommerce-product-description {
	padding-top: 90px;
	font-size: 15px;
	color: #231f20;
	font-weight: 400;
	line-height: 1.4;
	padding-right: 50px;
}

.single-product .pomoc-slider-home-big-title {
	font-family: "Playfair Display", serif;
	font-size: 35px !important;
}

article.product .sklep-text-home-page {
	padding-bottom: 100px;
}

article.product .product-category-singl-page {
	position: absolute;
	top: -65px;
	left: -85px;
}

article.product .prezent-slider-home-page {
	padding-top: 0;
	padding-bottom: 0px;
}

span.price-vat {
	color: #6d6e71;
	font-size: 13px;
	font-weight: 500;
}

.blue-button div {
	width: 320px;
}

@media only screen and (max-width: 680px) {

	.single-product-product-content {
		flex-direction: column;
		padding: 105px 0 60px;
	}

	.woocommerce div.product div.images.woocommerce-product-gallery {
		padding: 64px 20px 20px;
		width: 100%;
		margin: 0 auto;
		max-width: 490px;
	}

	.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder {
		border: 1px solid #f2f2f2;
		width: 100%;
		height: auto;
		border-radius: 25px;
		background: #e9e8e8;
		display: flex;
		justify-content: center;
		align-items: center;
		overflow: hidden;
	}

	article.product .product-category-singl-page {
		position: absolute;
		left: 30px;
		top: -15px;
	}

	.single-product .entry-content {
		margin: 0;
	}

	.single-product:has(.woocommerce-product-gallery__image--placeholder) .summary.entry-summary {
		padding-left: 0 !important;
		width: 100%;
		clear: none;
		max-width: 100%;
		margin-left: 0;
		margin-top: 0;
		padding: 25px 25px 15px !important;
	}

	.product-title-block h1 {
		font-size: 24px;
		text-align: center;
	}

	article.product p.price {
		font-size: 24px !important;
		text-align: center;
	}

	span.price-vat {
		font-size: 15px;
	}

	.blue-button div {
		margin: 0 auto;
	}

	.product-text-after-button {
		font-size: 14px;
		text-align: center;
	}

	.woocommerce-product-description {
		padding-top: 65px;
		font-size: 15px;
		text-align: center;
	}

}

/* --- single-product gallery placeholder (z product-image.php) --- */

nav.navigation.post-navigation,
.related.products {
	display: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder {
	border: 1px solid #f2f2f2;
	width: 470px;
	height: 700px;
	border-radius: 25px;
	background: #e9e8e8;
	display: flex;
	justify-content: center;
	align-items: center;
}

.single-product:has(.woocommerce-product-gallery__image--placeholder) .summary.entry-summary {
	padding-left: 25px !important;
}

/* --- description toggle (z short-description.php) --- */

.description-toggle {
	margin-top: 12px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	color: #2F3285;
	font-size: 13px;
	font-weight: 600;
}

.description-toggle:hover {
	text-decoration: underline;
}
