/* Shared product details: readable on every WooCommerce product page. */
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
	width: min(100%, 1080px);
	margin: 0 auto 56px;
	padding: clamp(18px, 3vw, 32px);
	border: 1px solid #dce7f2;
	border-radius: 16px;
	background: #fff;
	color: #26384c;
	font-size: 14px;
	line-height: 1.8;
	box-shadow: 0 8px 28px rgba(28, 65, 106, .045);
	overflow-wrap: anywhere;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child {
	margin: 0 0 22px;
	color: #20364e;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel > p {
	max-width: 920px;
	margin: 0 0 20px;
	color: #475b70;
	font-size: 14px;
	line-height: 1.85;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel > :is(h3, h4) {
	margin: 28px 0 12px;
	color: #20364e;
	line-height: 1.4;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

/* Product copy may contain block paragraphs inside list items. Keep the
   marker and text on one line, with consistent spacing across products. */
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description > :is(ul, ol) {
	margin: 10px 0 22px;
	padding-left: 24px;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description > :is(ul, ol) > li {
	margin: 0 0 8px;
	padding-left: 2px;
	line-height: 1.7;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description > :is(ul, ol) > li > p {
	display: inline;
	margin: 0 !important;
	line-height: inherit;
}

body.single-product .woocommerce-tabs .ft-product-detail-block {
	margin: 0 0 20px;
	padding: 22px;
	border: 1px solid #e1eaf3;
	border-radius: 14px;
	background: #f8fbff;
}

body.single-product .woocommerce-tabs .ft-product-detail-heading {
	margin: 0 0 16px;
	color: #20364e;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
}

body.single-product .woocommerce-tabs .ft-product-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

body.single-product .woocommerce-tabs .ft-product-detail-spec {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
	padding: 12px 14px;
	border: 1px solid #e5edf5;
	border-radius: 9px;
	background: #fff;
}

body.single-product .woocommerce-tabs .ft-product-detail-label {
	color: #52718e;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

body.single-product .woocommerce-tabs .ft-product-detail-value {
	color: #26384c;
	font-size: 14px;
	line-height: 1.6;
}

body.single-product .woocommerce-tabs .ft-product-detail-notes > p {
	margin: 0 0 16px;
	color: #475b70;
	line-height: 1.8;
}

body.single-product .woocommerce-tabs .ft-product-detail-notes > p:last-child {
	margin-bottom: 0;
}

body.single-product .woocommerce-tabs .ft-product-detail-notes .ft-product-detail-heading:not(:first-child) {
	margin-top: 22px;
}

body.single-product .woocommerce-tabs .ft-product-detail-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.single-product .woocommerce-tabs .ft-product-detail-list li {
	position: relative;
	margin: 0;
	padding-left: 19px;
	color: #354b60;
	line-height: 1.65;
}

body.single-product .woocommerce-tabs .ft-product-detail-list li::before {
	position: absolute;
	left: 1px;
	top: .65em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #0871c8;
	content: '';
}

body.single-product .woocommerce-tabs .shop_attributes {
	width: 100%;
	border-collapse: collapse;
}

body.single-product .woocommerce-tabs .shop_attributes :is(th, td) {
	padding: 13px 16px;
	border-bottom: 1px solid #e6edf4;
	text-align: left;
	vertical-align: top;
}

body.single-product .woocommerce-tabs .shop_attributes th {
	width: 32%;
	color: #52718e;
	font-weight: 600;
}

@media (max-width: 767px) {
	body.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
		margin-bottom: 40px;
		padding: 18px 15px;
		border-radius: 12px;
	}

	body.single-product .woocommerce-tabs .ft-product-detail-block {
		padding: 16px;
	}

	body.single-product .woocommerce-tabs :is(.ft-product-detail-grid, .ft-product-detail-list) {
		grid-template-columns: minmax(0, 1fr);
	}

	body.single-product .woocommerce-tabs .shop_attributes :is(th, td) {
		padding: 10px 8px;
	}
}
