.product_detail_ckeditor {
	min-width: 0;
	color: #14284a;
}

.product_detail_ckeditor > section {
	position: relative;
	overflow: hidden;
	box-shadow: 0 14px 38px rgba(18, 52, 104, 0.055);
}

.product_detail_ckeditor > section::before {
	position: absolute;
	top: 0;
	left: 46px;
	width: 72px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: #1458ff;
	content: "";
}

.product_detail_ckeditor .product_advantages {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
	padding: 40px;
	border: 1px solid #dce6f4;
	border-radius: 12px;
	background: #f7f9fd;
}

.product_detail_ckeditor .product_detail_section_head {
	grid-column: 1 / -1;
	/* max-width: 780px; */
	margin: 0 auto 8px;
	text-align: center;
}

.product_detail_ckeditor .product_detail_section_head h2 {
	margin: 0 0 14px;
	font-size: 32px;
	line-height: 1.25;
	font-weight: 600;
	/* color: #092c69; */
}

.product_detail_ckeditor .product_detail_section_head p {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	/* color: #60718d; */
}

.product_detail_ckeditor .product_advantages_visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	margin: 0;
	padding: 28px 40px 58px;
	overflow: hidden;
	border-radius: 10px;
	background: linear-gradient(110deg, #eef4ff 0%, #ffffff 50%, #e8f0ff 100%);
}

.product_detail_ckeditor .product_advantages_visual::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(20, 88, 255, 0.13);
	border-radius: 50%;
	box-shadow: 0 0 0 45px rgba(20, 88, 255, 0.035), 0 0 0 90px rgba(20, 88, 255, 0.025);
	transform: translate(-50%, -50%);
	content: "";
}

.product_detail_ckeditor .product_advantages_visual img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-width: 230px;
	height: 330px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.product_detail_ckeditor .product_advantages_visual figcaption {
	position: absolute;
	right: 20px;
	bottom: 24px;
	left: 20px;
	z-index: 1;
	font-size: 11px;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
	color: #7385a2;
}

.product_detail_ckeditor .product_advantages_list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.product_detail_ckeditor .product_advantages_list > li {
	position: relative;
	min-width: 0;
	min-height: 270px;
	padding: 66px 22px 24px;
	border: 1px solid #dce6f4;
	border-radius: 9px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(19, 54, 107, 0.045);
	transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.product_detail_ckeditor .product_advantages_list > li:hover {
	border-color: #a9c1f2;
	box-shadow: 0 16px 30px rgba(19, 54, 107, 0.09);
	transform: translateY(-3px);
}

.product_detail_ckeditor .product_advantages_list > li > strong {
	position: absolute;
	top: 22px;
	left: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	border-radius: 50%;
	font-size: 12px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #ffffff;
	background: #1458ff;
}

.product_detail_ckeditor .product_advantages_list h3 {
	margin: 0 0 7px;
	font-size: 19px;
	line-height: 1.4;
	font-weight: 600;
	/* color: #092c69; */
}

.product_detail_ckeditor .product_advantages_list > li > p {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.6;
	font-weight: 500;
	/* color: #4a65a0; */
}

.product_detail_ckeditor .product_advantages_list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.product_detail_ckeditor .product_advantages_list ul li {
	position: relative;
	margin-top: 8px;
	padding-left: 16px;
	font-size: 14px;
	line-height: 1.55;
	/* color: #60718d; */
}

.product_detail_ckeditor .product_advantages_list ul li::before {
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #666666;
	content: "";
}

.product_detail_ckeditor .product_detail_images {
	margin-top: 44px;
	padding: 40px;
	border: 1px solid #dce6f4;
	border-radius: 12px;
	background: #f7f9fd;
}

.product_detail_ckeditor .product_detail_images .product_detail_section_head {
	/* max-width: 820px; */
	margin-bottom: 34px;
}

.product_detail_ckeditor .product_detail_images_list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.product_detail_ckeditor .product_detail_images_list figure {
	margin: 0;
	overflow: hidden;
	border: 1px solid #dce6f4;
	border-radius: 9px;
	background: #ffffff;
	transition: transform 260ms ease, box-shadow 260ms ease;
}

.product_detail_ckeditor .product_detail_images_list figure:hover {
	box-shadow: 0 14px 28px rgba(19, 54, 107, 0.1);
	transform: translateY(-3px);
}

.product_detail_ckeditor .product_detail_images_list img {
	display: block;
	width: 100%;
	height: auto;
}

.product_detail_ckeditor .product_specifications {
	margin-top: 44px;
	padding: 40px;
	border: 1px solid #dce6f4;
	border-radius: 12px;
	background: #ffffff;
}

.product_detail_ckeditor .product_specifications .product_detail_section_head {
	/* max-width: 820px; */
	margin-bottom: 34px;
}

.product_detail_ckeditor .product_specifications_table_wrap {
	overflow-x: auto;
	border: 1px solid #cfdbea;
	border-radius: 9px;
}

.product_detail_ckeditor .product_specifications table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	background: #ffffff;
}

.product_detail_ckeditor .product_specifications th,
.product_detail_ckeditor .product_specifications td {
	padding: 15px 20px;
	border-bottom: 1px solid #dce6f4;
	font-size: 14px;
	line-height: 1.65;
	vertical-align: middle;
}

.product_detail_ckeditor .product_specifications tr:last-child th,
.product_detail_ckeditor .product_specifications tr:last-child td {
	border-bottom: 0;
}

.product_detail_ckeditor .product_specifications th {
	width: 29%;
	border-right: 1px solid #dce6f4;
	font-weight: 600;
	text-align: left;
	/* color: #16396f; */
	background: #f3f7fd;
}

.product_detail_ckeditor .product_specifications td {
	color: #526681;
}

.product_detail_ckeditor .product_specifications tbody tr:nth-child(even) td {
	background: #fafcff;
}

.product_detail_ckeditor .product_specifications ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.product_detail_ckeditor .product_specifications li {
	position: relative;
	margin-top: 5px;
	padding-left: 16px;
}

.product_detail_ckeditor .product_specifications li:first-child {
	margin-top: 0;
}

.product_detail_ckeditor .product_specifications li::before {
	position: absolute;
	top: 0.68em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #666666;
	content: "";
}

.product_detail_ckeditor .product_reviews {
	margin-top: 44px;
	padding: 40px;
	border: 1px solid #dce6f4;
	border-radius: 12px;
	background: #f7f9fd;
}

.product_detail_ckeditor .product_reviews .product_detail_section_head {
	/* max-width: 820px; */
	margin-bottom: 34px;
}

.product_detail_ckeditor .product_reviews_gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.product_detail_ckeditor .product_reviews_gallery figure {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	margin: 0;
	padding: 12px;
	overflow: hidden;
	border: 1px solid #dce6f4;
	border-radius: 9px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(19, 54, 107, 0.05);
}

.product_detail_ckeditor .product_reviews_gallery .product_review_featured {
	grid-column: 1 / -1;
}

.product_detail_ckeditor .product_reviews_gallery img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.product_detail_ckeditor .product_reviews_gallery figure:not(.product_review_featured) img {
	max-width: 720px;
}

.product_detail_ckeditor .product_packing_shipping {
	margin-top: 44px;
	padding: 40px;
	border: 1px solid #dce6f4;
	border-radius: 12px;
	background: #ffffff;
}

.product_detail_ckeditor .product_packing_shipping .product_detail_section_head {
	/* max-width: 820px; */
	margin-bottom: 34px;
}

.product_detail_ckeditor .product_packing_shipping_gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.product_detail_ckeditor .product_packing_shipping_gallery figure {
	margin: 0;
	overflow: hidden;
	border: 1px solid #dce6f4;
	border-radius: 9px;
	background: #f7f9fd;
}

.product_detail_ckeditor .product_packing_shipping_gallery img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.product_detail_ckeditor .product_packing_shipping_gallery figcaption {
	padding: 15px 18px;
	border-top: 1px solid #dce6f4;
	font-size: 16px;
	line-height: 1.5;
	/* font-weight: 600; */
	text-align: center;
	/* color: #16396f; */
}

/* Keep all CKEditor sections visually connected as one continuous detail page. */
.product_detail_ckeditor > section,
.product_detail_ckeditor > section.product_advantages,
.product_detail_ckeditor > section.product_detail_images,
.product_detail_ckeditor > section.product_specifications,
.product_detail_ckeditor > section.product_reviews,
.product_detail_ckeditor > section.product_packing_shipping {
	overflow: visible;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.product_detail_ckeditor > section::before {
	display: none;
}

.product_detail_ckeditor > section + section {
	margin-top: 64px;
}

/* Editorial product-detail flow: fewer boxes, stronger image and text rhythm. */
.product_detail_ckeditor > .product_advantages {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr);
	grid-template-rows: auto repeat(3, auto);
	column-gap: 30px;
	row-gap: 30px;
}

.product_detail_ckeditor > .product_advantages .product_detail_section_head {
	grid-column: 1 / -1;
	grid-row: 1;
	margin-bottom: 18px;
}

.product_detail_ckeditor > .product_advantages .product_advantages_visual {
	grid-column: 2;
	grid-row: 2 / 5;
	min-height: 100%;
	padding: 0;
	border-radius: 10px;
	background: transparent;
}

.product_detail_ckeditor > .product_advantages .product_advantages_visual::before {
	display: none;
}

.product_detail_ckeditor > .product_advantages .product_advantages_visual img {
	width: 100%;
	max-width: none;
	height: 100%;
	min-height: 610px;
	object-fit: cover;
	mix-blend-mode: normal;
}

.product_detail_ckeditor > .product_advantages .product_advantages_visual figcaption {
	display: none;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list {
	display: contents;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list > li {
	min-height: 0;
	padding: 12px 0 12px 48px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transform: none;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list > li:hover {
	border-color: transparent;
	box-shadow: none;
	transform: none;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list > li:nth-child(-n + 3) {
	grid-column: 1;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list > li:nth-child(1),
.product_detail_ckeditor > .product_advantages .product_advantages_list > li:nth-child(4) {
	grid-row: 2;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list > li:nth-child(2),
.product_detail_ckeditor > .product_advantages .product_advantages_list > li:nth-child(5) {
	grid-row: 3;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list > li:nth-child(3),
.product_detail_ckeditor > .product_advantages .product_advantages_list > li:nth-child(6) {
	grid-row: 4;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list > li:nth-child(n + 4) {
	grid-column: 3;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list > li > strong {
	top: 12px;
	left: 0;
	width: 32px;
	height: 32px;
}

.product_detail_ckeditor > .product_advantages .product_advantages_list h3 {
	font-size: 18px;
}

.product_detail_ckeditor .product_detail_images_list figure,
.product_detail_ckeditor .product_reviews_gallery figure,
.product_detail_ckeditor .product_packing_shipping_gallery figure {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.product_detail_ckeditor .product_packing_shipping_gallery figcaption {
	/* padding: 12px 6px 0; */
	border: 0;
	background: transparent;
}

.product_detail_ckeditor .product_detail_images_list {
	gap: 24px;
}

.product_detail_ckeditor .product_detail_images_list figure:hover {
	box-shadow: none;
	transform: none;
}

.product_detail_ckeditor .product_reviews_gallery {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 28px;
	align-items: center;
}

.product_detail_ckeditor .product_reviews_gallery figure {
	min-height: 0;
	padding: 0;
}

.product_detail_ckeditor .product_reviews_gallery figure:nth-child(3n + 2) {
	transform: translateY(18px);
}

.product_detail_ckeditor .product_packing_shipping_gallery {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.product_detail_ckeditor .product_packing_shipping_gallery figure:first-child {
	grid-column: 1 / -1;
}

.product_detail_ckeditor .product_packing_shipping_gallery figure:first-child img {
	aspect-ratio: 16 / 7;
}

/* Product FAQ is a sibling of the CKEditor detail content. */
.show_products_detail .product_faq {
	min-width: 0;
	position: relative;
	color: #14284a;
}
.show_products_detail .product_faq .product_detail_section_head {
	grid-column: 1 / -1;
	margin: 0 auto 8px;
	text-align: center;
}
.show_products_detail .product_faq .product_detail_section_head h2 {
	margin: 0 0 14px;
	font-size: 32px;
	line-height: 1.25;
	font-weight: 600;
}
.show_products_detail .product_faq .product_detail_section_head p {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
}

.show_products_detail .product_faq {
	margin-top: 44px;
	padding: 40px;
	border: 1px solid #dce6f4;
	border-radius: 12px;
	background: #f3f7fd;
}

.show_products_detail .product_faq .product_detail_section_head {
	/* max-width: 820px; */
	margin-bottom: 34px;
}

.show_products_detail .product_faq_list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.show_products_detail .product_faq_list > li {
	padding: 23px 0;
	border-bottom: 1px solid #d8e3f2;
}

.show_products_detail .product_faq_list > li:first-child {
	padding-top: 0;
}

.show_products_detail .product_faq_list > li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.show_products_detail .product_faq_list h3,
.show_products_detail .product_faq_list p {
	position: relative;
	margin: 0;
	padding-left: 54px;
}

.show_products_detail .product_faq_list h3 {
	min-height: 34px;
	font-size: 18px;
	line-height: 1.55;
	font-weight: 600;
	/* color: #092c69; */
}

.show_products_detail .product_faq_list p {
	margin-top: 13px;
	font-size: 14px;
	line-height: 1.75;
	color: #666666;
}

.show_products_detail .product_faq_list h3 > span,
.show_products_detail .product_faq_list p > span {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 4px;
	font-size: 16px;
	line-height: 1;
	font-weight: 600;
	color: #ffffff;
}

.show_products_detail .product_faq_list h3 > span {
	background: #092c69;
}

.show_products_detail .product_faq_list p > span {
	background: #1458ff;
}

.show_products_detail .product_faq_list > li {
	padding: 24px 0;
	border-bottom-color: #e5ebf4;
}

.show_products_detail section.product_faq {
	overflow: visible;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
