/*
 * FileFriend single-product presentation layer.
 * Kept separate so it loads after the shared WooCommerce styles.
 */

body.single-product main.site-main {
	background:
		radial-gradient(circle at 9% 12%, rgba(91, 95, 239, 0.12), transparent 24%),
		radial-gradient(circle at 92% 42%, rgba(33, 179, 218, 0.08), transparent 22%),
		linear-gradient(180deg, #f7f9fc 0%, #fff 50%, #f5f7fa 100%) !important;
	max-width: 100% !important;
	padding: 122px clamp(22px, 5vw, 88px) 100px !important;
}

body.single-product main.site-main > .woocommerce {
	margin: 0 auto;
	max-width: 1240px;
}

body.single-product .woocommerce .woocommerce-breadcrumb {
	background: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid rgba(13, 27, 42, 0.09) !important;
	color: #667281 !important;
	display: inline-flex !important;
	flex-wrap: wrap;
	font-size: 13px !important;
	line-height: 1.5;
	margin: 0 0 22px !important;
	padding: 11px 15px !important;
}

body.single-product .woocommerce div.product {
	background: #fff !important;
	border: 1px solid rgba(13, 27, 42, 0.09) !important;
	box-shadow: 0 30px 86px rgba(13, 27, 42, 0.12) !important;
	display: grid !important;
	gap: 56px 30px !important;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
	padding: clamp(24px, 3vw, 42px) !important;
}

body.single-product .woocommerce div.product::before,
body.single-product .woocommerce div.product::after {
	content: none !important;
	display: none !important;
}

body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product div.summary {
	float: none !important;
	margin: 0 !important;
	width: auto !important;
}

body.single-product .woocommerce-product-gallery__wrapper {
	background:
		radial-gradient(circle at 50% 44%, #fff 0%, #fff 48%, #eef2f8 100%) !important;
	border: 1px solid rgba(13, 27, 42, 0.1) !important;
	box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.72);
	padding: clamp(12px, 1.8vw, 22px) !important;
}

body.single-product .woocommerce div.product div.images img {
	background: transparent !important;
	border: 0 !important;
	object-fit: contain;
	padding: 8px !important;
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	background: #fff !important;
	border: 1px solid rgba(13, 27, 42, 0.12) !important;
	box-shadow: 0 10px 24px rgba(13, 27, 42, 0.12) !important;
	right: 16px !important;
	top: 16px !important;
}

body.single-product .woocommerce div.product .summary {
	align-self: stretch !important;
	background:
		linear-gradient(145deg, rgba(238, 240, 255, 0.9) 0%, rgba(255, 255, 255, 0.98) 54%, #fff 100%) !important;
	border: 1px solid rgba(91, 95, 239, 0.18) !important;
	border-left: 4px solid #5b5fef !important;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	padding: clamp(26px, 2.7vw, 38px) !important;
}

body.single-product .woocommerce div.product .summary::before {
	color: #5b5fef;
	content: "Cleaning essential";
	display: block;
	font-family: var(--ff-heading);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin-bottom: 15px;
	text-transform: uppercase;
}

body.single-product .woocommerce div.product .product_title {
	color: #101820 !important;
	font-size: clamp(30px, 2.2vw, 38px) !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em !important;
	line-height: 1.11 !important;
	margin: 0 0 21px !important;
	overflow-wrap: anywhere;
}

body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price {
	align-items: baseline;
	border-bottom: 1px solid rgba(13, 27, 42, 0.11) !important;
	color: #5b5fef !important;
	display: flex;
	flex-wrap: wrap;
	font-size: 29px !important;
	gap: 10px;
	line-height: 1.15;
	margin: 0 0 22px !important;
	padding-bottom: 22px !important;
}

body.single-product .woocommerce div.product p.price del,
body.single-product .woocommerce div.product span.price del {
	color: #8994a0 !important;
	font-size: 17px !important;
	opacity: 1 !important;
}

body.single-product .woocommerce div.product p.price ins,
body.single-product .woocommerce div.product span.price ins {
	color: #5b5fef !important;
	text-decoration: none !important;
}

body.single-product .woocommerce div.product form.cart {
	align-items: stretch !important;
	border-bottom: 1px solid rgba(13, 27, 42, 0.11);
	display: flex !important;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 20px !important;
	padding: 0 0 22px !important;
	width: 100%;
}

body.single-product .woocommerce div.product form.cart div.quantity {
	float: none !important;
	margin: 0 !important;
}

body.single-product .woocommerce div.product form.cart .qty {
	background: #fff !important;
	border: 1px solid rgba(13, 27, 42, 0.22) !important;
	height: 54px !important;
	min-width: 68px;
}

body.single-product .woocommerce div.product .single_add_to_cart_button {
	background: #5b5fef !important;
	border: 1px solid #5b5fef !important;
	box-shadow: 0 14px 30px rgba(91, 95, 239, 0.25) !important;
	color: #fff !important;
	flex: 1 1 220px;
	height: 54px !important;
	margin: 0 !important;
}

body.single-product .woocommerce div.product .single_add_to_cart_button:hover,
body.single-product .woocommerce div.product .single_add_to_cart_button:focus-visible {
	background: #4549d8 !important;
	border-color: #4549d8 !important;
	transform: translateY(-2px);
}

body.single-product .woocommerce div.product .product_meta {
	background: #fff !important;
	border: 1px solid rgba(13, 27, 42, 0.09) !important;
	color: #5f6b77 !important;
	font-size: 13px !important;
	margin: 0 !important;
	padding: 13px 16px !important;
}

body.single-product .woocommerce span.onsale {
	background: #5b5fef !important;
	box-shadow: 0 12px 26px rgba(91, 95, 239, 0.28) !important;
	color: #fff !important;
	left: 18px !important;
	right: auto !important;
	top: 18px !important;
	z-index: 8;
}

body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .related,
body.single-product .woocommerce div.product .upsells {
	grid-column: 1 / -1 !important;
	margin: 0 !important;
	width: 100% !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs {
	border-top: 1px solid rgba(13, 27, 42, 0.11);
	padding-top: 46px;
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel {
	background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%) !important;
	border: 1px solid rgba(13, 27, 42, 0.11) !important;
	color: #354252 !important;
	line-height: 1.75;
	padding: clamp(24px, 3vw, 38px) !important;
}

@media (max-width: 900px) {
	body.single-product main.site-main {
		padding: 104px 22px 80px !important;
	}

	body.single-product .woocommerce div.product {
		gap: 30px !important;
		grid-template-columns: 1fr !important;
	}

	body.single-product .woocommerce div.product .woocommerce-tabs,
	body.single-product .woocommerce div.product .related,
	body.single-product .woocommerce div.product .upsells {
		grid-column: 1 !important;
	}
}

@media (max-width: 600px) {
	body.single-product main.site-main {
		padding: 92px 14px 64px !important;
	}

	body.single-product .woocommerce div.product {
		padding: 17px !important;
	}

	body.single-product .woocommerce div.product .summary {
		padding: 23px 18px !important;
	}

	body.single-product .woocommerce div.product .product_title {
		font-size: 30px !important;
	}

	body.single-product .woocommerce div.product form.cart {
		flex-direction: column;
	}

	body.single-product .woocommerce div.product form.cart .quantity,
	body.single-product .woocommerce div.product form.cart .qty,
	body.single-product .woocommerce div.product .single_add_to_cart_button {
		width: 100% !important;
	}
}

/* Correct WooCommerce body targeting: body owns the .woocommerce class. */
body.single-product.woocommerce main.site-main {
	padding: 112px clamp(22px, 4vw, 64px) 96px !important;
}

body.single-product.woocommerce .woocommerce-breadcrumb {
	background: transparent !important;
	border: 0 !important;
	display: block !important;
	margin: 0 auto 22px !important;
	max-width: 1180px;
	padding: 0 !important;
}

body.single-product.woocommerce div.product {
	background: #fff !important;
	border: 1px solid rgba(13, 27, 42, 0.09) !important;
	box-shadow: 0 26px 72px rgba(13, 27, 42, 0.11) !important;
	display: grid !important;
	gap: 48px 30px !important;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
	margin: 0 auto !important;
	max-width: 1180px;
	padding: clamp(22px, 2.6vw, 34px) !important;
	width: 100% !important;
}

body.single-product.woocommerce div.product div.images,
body.single-product.woocommerce div.product div.summary {
	float: none !important;
	margin: 0 !important;
	width: auto !important;
}

body.single-product.woocommerce .woocommerce-product-gallery__wrapper {
	background: radial-gradient(circle at 50% 44%, #fff 0%, #fff 48%, #eef2f8 100%) !important;
	border: 1px solid rgba(13, 27, 42, 0.1) !important;
	padding: 16px !important;
}

body.single-product.woocommerce div.product div.images img {
	background: transparent !important;
	border: 0 !important;
	height: auto !important;
	max-height: 500px;
	object-fit: contain;
	padding: 6px !important;
}

body.single-product.woocommerce div.product .summary {
	align-self: stretch !important;
	background: #fff !important;
	border: 0 !important;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	padding: clamp(12px, 1.5vw, 22px) !important;
}

body.single-product.woocommerce div.product .summary::before {
	color: #5b5fef;
	content: "Cleaning essential";
	display: block;
	font-family: var(--ff-heading);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin-bottom: 14px;
	text-transform: uppercase;
}

body.single-product.woocommerce div.product .product_title {
	font-size: clamp(28px, 2vw, 36px) !important;
	letter-spacing: -0.03em !important;
	line-height: 1.12 !important;
	margin: 0 0 20px !important;
}

body.single-product.woocommerce div.product p.price,
body.single-product.woocommerce div.product span.price {
	border-bottom: 0 !important;
	display: flex;
	font-size: 27px !important;
	gap: 9px;
	margin: 0 0 24px !important;
	padding-bottom: 0 !important;
}

body.single-product.woocommerce div.product form.cart {
	border-bottom: 0 !important;
	display: flex !important;
	gap: 11px;
	margin: 0 0 24px !important;
	padding: 0 !important;
	width: 100%;
}

body.single-product.woocommerce div.product .product_meta {
	background: transparent !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product.woocommerce div.product .product_meta a,
body.single-product.woocommerce div.product .product_meta a:visited {
	color: #5b5fef !important;
	font-weight: 700;
}

body.single-product.woocommerce div.product .product_meta a:hover,
body.single-product.woocommerce div.product .product_meta a:focus-visible {
	color: #101820 !important;
}

body.single-product.woocommerce span.onsale {
	background: #5b5fef !important;
	color: #fff !important;
	left: 16px !important;
	right: auto !important;
	top: 16px !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs,
body.single-product.woocommerce div.product .related,
body.single-product.woocommerce div.product .upsells {
	grid-column: 1 / -1 !important;
	margin: 0 !important;
	width: 100% !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs .panel {
	background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%) !important;
	border: 1px solid rgba(13, 27, 42, 0.11) !important;
	padding: clamp(22px, 2.6vw, 34px) !important;
}

@media (max-width: 900px) {
	body.single-product.woocommerce main.site-main {
		padding: 96px 20px 76px !important;
	}

	body.single-product.woocommerce div.product {
		gap: 28px !important;
		grid-template-columns: 1fr !important;
	}

	body.single-product.woocommerce div.product .woocommerce-tabs,
	body.single-product.woocommerce div.product .related,
	body.single-product.woocommerce div.product .upsells {
		grid-column: 1 !important;
	}
}

@media (max-width: 600px) {
	body.single-product.woocommerce main.site-main {
		padding: 84px 12px 60px !important;
	}

	body.single-product.woocommerce div.product {
		padding: 15px !important;
	}

	body.single-product.woocommerce div.product .summary {
		padding: 22px 17px !important;
	}

	body.single-product.woocommerce div.product .product_title {
		font-size: 28px !important;
	}
}
