/* Product Technology — under gallery (desktop) / before Order Sample (mobile) */

.product-inner-content-section > .custom-container {
	display: grid;
	/* minmax(0, ...) prevents carousel/swiper min-content from blowing out the page */
	grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
	grid-template-areas:
		"gallery info"
		"tech info";
	align-items: start;
	column-gap: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.product-inner-content-section .right-box .product-info-actions {
	margin-top: 10px;
}

.product-inner-content-section > .custom-container > .left-box,
.product-inner-content-section > .custom-container > .right-box,
.product-inner-content-section > .custom-container > .product-technology-inline {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.product-inner-content-section > .custom-container > .left-box {
	grid-area: gallery;
	width: 100% !important;
	display: block;
	padding-right: 40px;
	overflow: hidden;
}

.product-inner-content-section > .custom-container > .right-box {
	grid-area: info;
	width: 100% !important;
	display: block;
	margin-left: 0 !important;
	padding-left: 40px;
}

.product-inner-content-section > .custom-container > .product-technology-inline {
	grid-area: tech;
	width: 100%;
	padding-right: 40px;
	margin-top: 25px;
}

.product-inner-content-section .product__carousel,
.product-inner-content-section .product__carousel .swiper-container,
.product-inner-content-section .product__carousel .swiper-wrapper,
.product-inner-content-section .product__carousel .swiper-slide {
	max-width: 100%;
}

.product-inner-content-section .product__carousel img,
.product-inner-content-section .product__carousel iframe {
	max-width: 100%;
	height: auto;
}

.product-technology-section.product-technology-inline .title-box {
	margin-bottom: 18px;
	text-align: center;
}

.product-technology-section.product-technology-inline .title-box h2 {
	font-size: 22px;
	margin-bottom: 0;
	color: #023047;
}

.product-technology-section.product-technology-inline .ronco-tech-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-start;
	align-items: stretch;
	margin: 0;
	padding: 0;
	width: 100%;
}

.product-technology-section.product-technology-inline .ronco-tech-box {
	position: relative;
	flex: 1 1 calc(33.333% - 10px);
	max-width: none;
	min-width: 0;
	background: #fff;
	border-radius: 10px;
	padding: 14px 12px 48px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-sizing: border-box;
}

.product-technology-section.product-technology-inline .ronco-tech-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.product-technology-section.product-technology-inline .ronco-tech-logo-wrap {
	text-align: center;
	margin-bottom: 10px;
}

.product-technology-section.product-technology-inline .ronco-tech-logo {
	max-width: 100%;
	height: auto;
	max-height: 48px;
	display: inline-block;
	object-fit: contain;
}

.product-technology-section.product-technology-inline .ronco-tech-name {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	text-align: center;
	color: #111;
	line-height: 1.3;
	word-break: break-word;
}

.product-technology-section.product-technology-inline .ronco-tech-type,
.product-technology-section.product-technology-inline .ronco-tech-tagline {
	display: none !important;
}

.product-technology-section.product-technology-inline .ronco-tech-toggle {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 50%;
	background: #000;
	color: #fff;
	font-size: 22px;
	line-height: 30px;
	cursor: pointer;
	padding: 0;
	z-index: 2;
	transition: all 0.3s ease;
}

.product-technology-section.product-technology-inline .ronco-tech-toggle:hover {
	background: #333;
}

.product-technology-section.product-technology-inline .ronco-tech-toggle.active {
	transform: rotate(45deg);
}

.product-technology-section.product-technology-inline .ronco-tech-description {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, margin-top 0.4s ease;
	margin-top: 0;
	text-align: left;
}

.product-technology-section.product-technology-inline .ronco-tech-description.open {
	max-height: 800px;
	margin-top: 12px;
	margin-bottom: 4px;
}

.product-technology-section.product-technology-inline .ronco-tech-description p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #333;
	text-align: left;
}

/* Expected Mechanical Ratings logos — keep horizontal */
.product-inner-content-section .right-box .image-list-box.product-mechanical-ratings,
.product-inner-content-section .right-box ul.image-list-box {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 25px;
	padding: 0;
	list-style: none;
	max-width: 100%;
}

.product-inner-content-section .right-box .image-list-box.product-mechanical-ratings li,
.product-inner-content-section .right-box ul.image-list-box li {
	display: inline-flex !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	vertical-align: middle;
	flex: 0 0 auto;
}

.product-inner-content-section .right-box .image-list-box.product-mechanical-ratings li::before,
.product-inner-content-section .right-box ul.image-list-box li::before {
	display: none !important;
	content: none !important;
}

.product-inner-content-section .right-box .image-list-box.product-mechanical-ratings li img {
	width: auto;
	max-height: 56px;
	height: auto;
	display: block;
}

@media (max-width: 1199px) {
	.product-inner-content-section > .custom-container > .left-box,
	.product-inner-content-section > .custom-container > .product-technology-inline {
		padding-right: 30px;
	}

	.product-inner-content-section > .custom-container > .right-box {
		padding-left: 30px;
	}
}

/* Align with theme tablet/mobile breakpoint (pixie-media uses 1023px) */
@media (max-width: 1023px) {
	.product-inner-content-section > .custom-container {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"gallery"
			"info"
			"tech"
			"actions";
	}

	/* Flatten right-box so tech can sit between content and Order Free Sample */
	.product-inner-content-section > .custom-container > .right-box {
		display: contents;
	}

	.product-inner-content-section .right-box .product-info-main {
		grid-area: info;
		width: 100%;
		margin-top: 30px;
	}

	.product-inner-content-section .right-box .product-info-actions {
		grid-area: actions;
		width: 100%;
		margin-top: 20px;
	}

	.product-inner-content-section > .custom-container > .left-box {
		width: 100% !important;
		padding-right: 0;
	}

	.product-inner-content-section > .custom-container > .product-technology-inline {
		grid-area: tech;
		padding-right: 0;
		margin-top: 28px;
	}

	.product-technology-section.product-technology-inline .title-box {
		text-align: center;
		margin-bottom: 16px;
	}

	.product-technology-section.product-technology-inline .ronco-tech-row {
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		gap: 8px;
	}

	.product-technology-section.product-technology-inline .ronco-tech-box {
		flex: 1 1 0;
		width: 0; /* equal columns; ignore intrinsic logo width */
		min-width: 0;
		padding: 12px 6px 42px;
	}

	.product-technology-section.product-technology-inline .ronco-tech-name {
		font-size: 13px;
	}

	.product-technology-section.product-technology-inline .ronco-tech-logo {
		max-height: 40px;
	}

	.product-inner-content-section .right-box .image-list-box.product-mechanical-ratings,
	.product-inner-content-section .right-box ul.image-list-box {
		flex-direction: row !important;
		justify-content: flex-start;
	}

	.product-inner-content-section .right-box .image-list-box.product-mechanical-ratings li,
	.product-inner-content-section .right-box ul.image-list-box li {
		width: auto !important;
	}

	.product-inner-content-section .right-box .image-list-box.product-mechanical-ratings li img {
		max-height: 56px;
		width: auto;
	}

	.product-inner-content-section .right-box .image-list-box.product-mechanical-ratings {
		gap: 12px;
		margin-top: 8px;
		margin-bottom: 20px;
	}
}

@media (max-width: 575px) {
	.product-technology-section.product-technology-inline .ronco-tech-box {
		flex: 1 1 0;
		width: 0;
		padding: 10px 4px 40px;
	}

	.product-technology-section.product-technology-inline .ronco-tech-toggle {
		width: 26px;
		height: 26px;
		font-size: 18px;
		line-height: 26px;
		right: 6px;
		bottom: 8px;
	}

	.product-inner-content-section .right-box .image-list-box.product-mechanical-ratings li img {
		max-height: 42px;
	}
}
