/* MY2LK single-product UI polish — compact, modern, conversion-focused. */

body.single-product #main {
	padding-top: 24px !important;
	padding-bottom: 38px !important;
	background: #f7faf8;
}
body.single-product .my2lk-frame--woocommerce { width: 100%; }

/* Desktop product layout: image + summary + compact related-products rail. */
@media (min-width: 1100px) {
	body.single-product .product {
		display: grid !important;
		grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr) 300px !important;
		grid-template-areas:
			"gallery summary related"
			"tabs tabs related" !important;
		gap: 22px 26px !important;
		align-items: start !important;
	}
	body.single-product .product > .images,
	body.single-product .product > .summary,
	body.single-product .product > .woocommerce-tabs,
	body.single-product .product > .related.products {
		float: none !important;
		position: static !important;
		left: auto !important;
		right: auto !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		transform: none !important;
	}
	body.single-product .product > .images { grid-area: gallery; margin: 0 !important; }
	body.single-product .product > .summary { grid-area: summary; margin: 0 !important; }
	body.single-product .product > .woocommerce-tabs { grid-area: tabs; margin: 0 !important; }
	body.single-product .product > .related.products {
		grid-area: related;
		margin: 0 !important;
		padding: 16px !important;
		border: 1px solid var(--my2lk-line) !important;
		border-radius: 14px !important;
		background: #fff !important;
		box-shadow: 0 7px 22px rgba(18, 56, 42, .035);
	}
	body.single-product .woocommerce-product-gallery,
	body.single-product .woocommerce-product-gallery__wrapper,
	body.single-product .woocommerce-product-gallery__image,
	body.single-product .woocommerce-product-gallery__image a {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

body.single-product .product > .images,
body.single-product .product > .summary { margin-bottom: 24px !important; }
body.single-product .product > .images {
	box-sizing: border-box;
	padding: clamp(10px, 1.4vw, 16px);
	border: 1px solid var(--my2lk-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(18, 56, 42, .045);
}
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a { display: block; }
body.single-product .woocommerce-product-gallery__image img {
	width: 100% !important;
	max-width: 100% !important;
	max-height: 440px;
	object-fit: contain;
	border-radius: 10px;
	background: #fff;
}
body.single-product .summary { box-sizing: border-box; padding-top: 0; }
body.single-product .summary .product_title {
	max-width: 720px;
	margin: 0 0 12px !important;
	color: var(--my2lk-ink) !important;
	font-size: clamp(32px, 3.4vw, 48px) !important;
	font-weight: 800 !important;
	line-height: 1.05 !important;
	letter-spacing: -.03em !important;
}
body.single-product .summary .price {
	display: inline-flex;
	align-items: baseline;
	margin: 0 12px 14px 0 !important;
	color: var(--my2lk-green) !important;
	font-size: clamp(28px, 2.6vw, 36px) !important;
	font-weight: 800 !important;
	line-height: 1.08 !important;
}
body.single-product .summary .stock {
	display: inline-flex;
	margin: 0 0 14px !important;
	color: var(--my2lk-muted) !important;
	font-size: 13px !important;
	font-weight: 700;
}
body.single-product .summary .woocommerce-product-details__short-description {
	max-width: 680px;
	margin: 0 0 14px !important;
	color: var(--my2lk-ink);
	font-size: 15px;
	line-height: 1.5;
}
body.single-product .summary .woocommerce-product-details__short-description p { margin: 0 !important; }
body.single-product .my2lk-fulfilment-panel {
	box-sizing: border-box;
	max-width: 680px;
	margin: 0 0 14px !important;
	padding: 12px 15px !important;
	border-width: 1px 1px 1px 4px !important;
	border-radius: 11px !important;
	box-shadow: none !important;
}
body.single-product .my2lk-fulfilment-panel strong {
	display: block;
	margin-bottom: 2px;
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
}
body.single-product .my2lk-fulfilment-panel span,
body.single-product .my2lk-fulfilment-panel small {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.4;
}
body.single-product form.cart {
	display: flex !important;
	align-items: stretch !important;
	gap: 10px !important;
	max-width: 680px;
	margin: 0 0 16px !important;
	padding: 0 !important;
}
body.single-product form.cart .quantity {
	display: inline-flex !important;
	min-height: 46px;
	margin: 0 !important;
	border: 1px solid var(--my2lk-line);
	border-radius: 9px;
	overflow: hidden;
	background: #fff;
}
body.single-product form.cart .quantity input,
body.single-product form.cart .quantity .minus,
body.single-product form.cart .quantity .plus {
	min-height: 44px !important;
	border: 0 !important;
	background: #fff !important;
}
body.single-product form.cart .single_add_to_cart_button {
	min-width: 180px;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 10px 22px !important;
	border: 0 !important;
	border-radius: 9px !important;
	color: #fff !important;
	background: var(--my2lk-green) !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	box-shadow: 0 7px 18px rgba(0, 104, 55, .12);
}
body.single-product form.cart .single_add_to_cart_button:hover,
body.single-product form.cart .single_add_to_cart_button:focus { background: var(--my2lk-green-dark) !important; }
body.single-product .product_meta {
	max-width: 680px;
	margin: 0 !important;
	padding-top: 12px;
	border-top: 1px solid var(--my2lk-line);
	color: var(--my2lk-muted);
	font-size: 12px;
	line-height: 1.6;
}
body.single-product .product_meta > span { display: inline-block; margin-right: 16px; }
body.single-product .product_meta a { color: var(--my2lk-green) !important; font-weight: 700; }

/* Compact product details card. */
body.single-product .woocommerce-tabs {
	clear: both;
	box-sizing: border-box;
	margin: 4px 0 28px !important;
	padding: 20px !important;
	border: 1px solid var(--my2lk-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 7px 22px rgba(18, 56, 42, .035);
}
body.single-product .woocommerce-tabs .tabs {
	display: flex !important;
	gap: 6px;
	width: 100% !important;
	margin: 0 0 16px !important;
	padding: 0 0 12px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--my2lk-line) !important;
	list-style: none !important;
}
body.single-product .woocommerce-tabs .tabs li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
body.single-product .woocommerce-tabs .tabs li::before,
body.single-product .woocommerce-tabs .tabs li::after { display: none !important; }
body.single-product .woocommerce-tabs .tabs li a {
	display: inline-flex !important;
	min-height: 36px;
	align-items: center;
	padding: 7px 12px !important;
	border-radius: 8px;
	color: var(--my2lk-muted) !important;
	background: transparent !important;
	font-size: 13px;
	font-weight: 750 !important;
	text-decoration: none !important;
}
body.single-product .woocommerce-tabs .tabs li.active a { color: #fff !important; background: var(--my2lk-green) !important; }
body.single-product .woocommerce-tabs .panel {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--my2lk-ink);
	font-size: 14px;
	line-height: 1.55;
}
body.single-product .woocommerce-tabs .panel h2 { margin: 0 0 8px !important; font-size: 19px !important; line-height: 1.2; }
body.single-product .woocommerce-tabs .panel p:last-child { margin-bottom: 0 !important; }

body.single-product .product .social-share,
body.single-product .product .fusion-sharing-box,
body.single-product .product .fusion-social-networks-wrapper { display: none !important; }

/* Related products rail. */
body.single-product .related.products > h2 {
	margin: 0 0 12px !important;
	font-size: 20px !important;
	line-height: 1.15 !important;
	letter-spacing: -.015em;
}
body.single-product .related.products ul.products {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
	margin: 0 !important;
}
body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after { display: none !important; }
body.single-product .related.products ul.products li.product {
	float: none !important;
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 10px !important;
	border: 1px solid var(--my2lk-line) !important;
	border-radius: 11px !important;
	background: #fff !important;
	overflow: hidden !important;
}
body.single-product .related.products li.product .product-images,
body.single-product .related.products li.product > a:first-child {
	float: none !important;
	flex: 0 0 88px !important;
	width: 88px !important;
	max-width: 88px !important;
	margin: 0 !important;
}
body.single-product .related.products li.product img {
	display: block !important;
	width: 88px !important;
	height: 88px !important;
	margin: 0 !important;
	object-fit: contain !important;
	border-radius: 8px;
	background: #f7faf8 !important;
}
body.single-product .related.products li.product .product-details {
	float: none !important;
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	padding: 0 !important;
}
body.single-product .related.products li.product .product-title,
body.single-product .related.products li.product h3 {
	margin: 0 0 4px !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
}
body.single-product .related.products li.product .price {
	margin: 0 0 7px !important;
	font-size: 14px !important;
	font-weight: 800 !important;
}
body.single-product .related.products li.product .product-buttons {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 5px !important;
	width: 100% !important;
	margin: 7px 0 0 !important;
	padding: 7px 0 0 !important;
	border-top: 1px solid var(--my2lk-line) !important;
}
body.single-product .related.products li.product .product-buttons a,
body.single-product .related.products li.product .product-buttons .button,
body.single-product .related.products li.product .add_to_cart_button {
	box-sizing: border-box !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 30px !important;
	margin: 0 !important;
	padding: 6px 8px !important;
	border-radius: 7px !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	white-space: nowrap !important;
	text-align: center !important;
}
body.single-product .related.products li.product .product-buttons .button,
body.single-product .related.products li.product .add_to_cart_button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 0 !important;
	color: #fff !important;
	background: var(--my2lk-green) !important;
}
body.single-product .related.products li.product .show_details_button,
body.single-product .related.products li.product .product-buttons a:not(.button) {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 4px 3px !important;
	color: var(--my2lk-green-dark) !important;
	background: transparent !important;
	text-decoration: none !important;
}
body.single-product .related.products li.product .product-buttons a::before,
body.single-product .related.products li.product .product-buttons a::after { display: none !important; content: none !important; }

@media (max-width: 1099px) {
	body.single-product .related.products {
		clear: both;
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
	body.single-product .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 980px) {
	body.single-product #main { padding-top: 22px !important; }
	body.single-product .summary .product_title { font-size: clamp(31px, 5.4vw, 43px) !important; }
	body.single-product .woocommerce-product-gallery__image img { max-height: 400px; }
}

@media (max-width: 640px) {
	body.single-product #main { padding-top: 14px !important; padding-bottom: 30px !important; }
	body.single-product .product > .images { padding: 8px; border-radius: 13px; }
	body.single-product .woocommerce-product-gallery__image img { max-height: 340px; }
	body.single-product .product > .images,
	body.single-product .product > .summary { margin-bottom: 18px !important; }
	body.single-product .summary .product_title { margin-bottom: 10px !important; font-size: clamp(27px, 8vw, 35px) !important; line-height: 1.07 !important; }
	body.single-product .summary .price { margin-bottom: 10px !important; font-size: 28px !important; }
	body.single-product .summary .stock { margin-bottom: 10px !important; }
	body.single-product .summary .woocommerce-product-details__short-description { font-size: 14px; }
	body.single-product .my2lk-fulfilment-panel { padding: 11px 13px !important; }
	body.single-product form.cart { gap: 8px !important; }
	body.single-product form.cart .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; padding-inline: 14px !important; }
	body.single-product .product_meta > span { display: block; margin-right: 0; }
	body.single-product .woocommerce-tabs { margin-bottom: 24px !important; padding: 15px !important; border-radius: 13px; }
	body.single-product .woocommerce-tabs .tabs { overflow-x: auto; white-space: nowrap; }
	body.single-product .woocommerce-tabs .tabs li a { min-height: 34px; padding: 6px 10px !important; }
	body.single-product .related.products ul.products { grid-template-columns: 1fr !important; gap: 8px !important; }
	body.single-product .related.products ul.products li.product { padding: 8px !important; gap: 8px !important; }
	body.single-product .related.products li.product .product-images,
	body.single-product .related.products li.product > a:first-child,
	body.single-product .related.products li.product img {
		flex-basis: 78px !important;
		width: 78px !important;
		max-width: 78px !important;
		height: 78px !important;
	}
}
