/* =========================================================
   LEDC Product Section — product-section.css v1.8.2
   All selectors scoped to .ledc-product-section to beat Divi.
   ========================================================= */

/* --- Reset ------------------------------------------------ */
.ledc-product-section,
.ledc-product-section *,
.ledc-product-section *::before,
.ledc-product-section *::after {
	box-sizing: border-box;
}

.ledc-product-section {
	font-family: inherit;
	color: #1a1a1a;
	line-height: 1.6;
}

/* =========================================================
   OVERVIEW TAB GRID — long desc (left) | specs (right)
   ========================================================= */

.ledc-product-section .lps-overview-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 40px;
	align-items: start;
}

/* Collapse to one column only when the container is genuinely narrow
   (phones / narrow Divi columns). Lowered from 900px so two columns
   still show at typical full-width product-area widths (~800px). */
@media (max-width: 700px) {
	.ledc-product-section .lps-overview-grid {
		grid-template-columns: 1fr !important;
		gap: 24px;
	}

	/* Fixed layout stops long spec values dictating the table's
	   minimum width; cells wrap instead. */
	.ledc-product-section .lps-specs-table {
		table-layout: fixed;
	}

	.ledc-product-section .lps-specs-table th,
	.ledc-product-section .lps-specs-table td {
		overflow-wrap: break-word;
	}
}

/* Grid items default to min-width:auto, so the specs table's minimum
   content width was forcing the single 1fr column wider than the phone
   viewport — every sibling (tabs, headings, description) then overflowed
   the page. Allow grid items to shrink below their content width. */
.ledc-product-section .lps-overview-grid > * {
	min-width: 0;
}

/* =========================================================
   OVERVIEW
   ========================================================= */

.ledc-product-section .lps-overview {
	margin-bottom: 0;
}

.ledc-product-section .lps-overview h2 {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 12px;
}

.ledc-product-section .lps-overview-text p {
	margin: 0 0 12px;
}

.ledc-product-section .lps-overview h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 20px 0 10px;
}

.ledc-product-section .lps-features {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ledc-product-section .lps-features li {
	padding: 7px 0 7px 30px;
	position: relative;
	font-size: 0.925rem;
}

.ledc-product-section .lps-features li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 19px;
	height: 19px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%230d4d2e' stroke-width='2'/%3E%3Cpath d='M7 12l3.5 3.5L17 8' stroke='%230d4d2e' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

/* =========================================================
   SPECS ASIDE (right column) — bordered box to match the gallery
   ========================================================= */

.ledc-product-section .lps-specs-box {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 20px 24px;
}

.ledc-product-section .lps-specs-aside h2 {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 12px;
}

/* =========================================================
   TRUST STRIP
   ========================================================= */

.ledc-product-section .lps-trust {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 18px 24px;
	margin-bottom: 32px;
}

.ledc-product-section .lps-trust-label {
	font-weight: 700;
	font-size: 0.95rem;
	color: #0d4d2e;
	margin: 0 0 14px;
}

.ledc-product-section .lps-trust-items {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

@media (max-width: 640px) {
	.ledc-product-section .lps-trust-items {
		grid-template-columns: 1fr 1fr;
	}
}

.ledc-product-section .lps-trust-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.825rem;
	line-height: 1.4;
}

.ledc-product-section .lps-icon {
	flex-shrink: 0;
	width: 22px !important;
	height: 22px !important;
	max-width: 22px !important;
	max-height: 22px !important;
}

.ledc-product-section .lps-trust-item span {
	color: #777;
	display: block;
}

/* =========================================================
   TABS — high specificity to beat Divi button styles
   ========================================================= */

.ledc-product-section .lps-tabs-wrap {
	margin-bottom: 32px;
}

.ledc-product-section .lps-tabs {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	border-bottom: 1px solid #e0e0e0;
	margin: 0;
	padding: 0;
	list-style: none;
	/* Mobile: let tabs scroll sideways instead of wrapping */
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ledc-product-section .lps-tabs::-webkit-scrollbar {
	display: none;
}

.ledc-product-section .lps-tabs .lps-tab {
	flex: 0 0 auto;
}

/* Reset Divi button overrides */
.ledc-product-section .lps-tabs .lps-tab,
.ledc-product-section .lps-tabs .lps-tab:hover,
.ledc-product-section .lps-tabs .lps-tab:focus,
.ledc-product-section .lps-tabs .lps-tab:active {
	border: none !important;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	outline: none;
	text-transform: none !important;
	letter-spacing: normal !important;
	padding: 11px 20px !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: #777 !important;
	cursor: pointer;
	transition: color 0.25s cubic-bezier(0.65, 0, 0.35, 1);
	white-space: nowrap;
	display: inline-block !important;
	width: auto !important;
	height: auto !important;
	line-height: normal !important;
	text-decoration: none !important;
	margin: 0 !important;
}

.ledc-product-section .lps-tabs .lps-tab:hover {
	color: #1a1a1a !important;
}

.ledc-product-section .lps-tabs .lps-tab.is-active {
	color: #0d4d2e !important;
}

/* Sliding ink bar */
.ledc-product-section .lps-tabs .lps-ink {
	position: absolute;
	bottom: -1px;
	height: 3px;
	border-radius: 2px;
	background: #0d4d2e;
	transition: left 0.4s cubic-bezier(0.65, 0, 0.35, 1),
	            width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
	pointer-events: none;
}

/* =========================================================
   PANELS — !important ensures Divi can't force display:block
   ========================================================= */

.ledc-product-section .lps-panels {
	padding-top: 24px;
}

.ledc-product-section .lps-panels .lps-panel {
	display: none !important;
}

.ledc-product-section .lps-panels .lps-panel.is-active {
	display: block !important;
	animation: lps-fade-up 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lps-fade-up {
	from { opacity: 0; transform: translateY(5px); }
	to   { opacity: 1; transform: none; }
}

.ledc-product-section .lps-empty {
	font-size: 0.875rem;
	color: #999;
	padding: 8px 0;
}

/* =========================================================
   SPECIFICATIONS TABLE
   ========================================================= */

.ledc-product-section .lps-specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.ledc-product-section .lps-specs-table tr:nth-child(even) th,
.ledc-product-section .lps-specs-table tr:nth-child(even) td {
	background: #f7f7f7;
}

.ledc-product-section .lps-specs-table th,
.ledc-product-section .lps-specs-table td {
	padding: 9px 12px;
	border-bottom: 1px solid #ebebeb;
	vertical-align: middle;
	text-align: left !important;
}

.ledc-product-section .lps-specs-table th {
	font-weight: 400;
	color: #555;
	width: 48%;
}

.ledc-product-section .lps-specs-table td {
	font-weight: 600;
	color: #1a1a1a;
}

/* =========================================================
   TECHNICAL DOCUMENTS
   ========================================================= */

.ledc-product-section .lps-doc-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
}

.ledc-product-section .lps-doc-item {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-bottom: 1px solid #ebebeb;
	font-size: 0.875rem;
}

.ledc-product-section .lps-doc-item:last-child {
	border-bottom: none;
}

.ledc-product-section .lps-doc-icon {
	flex-shrink: 0;
	width: 20px !important;
	height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
}


.ledc-product-section .lps-doc-title {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 500;
	color: #1a1a1a;
}

.ledc-product-section .lps-doc-badge {
	flex-shrink: 0;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: #b3261e;
	background: #fdecea;
	border-radius: 4px;
	padding: 2px 7px;
}

.ledc-product-section .lps-doc-size {
	flex-shrink: 0;
	font-size: 0.8rem;
	color: #888;
	min-width: 56px;
	text-align: right;
}

.ledc-product-section .lps-doc-dl {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	color: #0d4d2e;
	transition: background 0.2s ease;
}

.ledc-product-section .lps-doc-dl:hover {
	background: #eef4f0;
}

.ledc-product-section .lps-doc-dl svg {
	width: 18px !important;
	height: 18px !important;
}

/* =========================================================
   DELIVERY & RETURNS
   ========================================================= */

.ledc-product-section .lps-delivery h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.ledc-product-section .lps-delivery h3 + p {
	margin-top: 0;
}

.ledc-product-section .lps-delivery p {
	margin: 0 0 14px;
	font-size: 0.9rem;
}

.ledc-product-section .lps-delivery ul {
	margin: 0 0 20px;
	padding-left: 20px;
	font-size: 0.9rem;
}

.ledc-product-section .lps-delivery li {
	margin-bottom: 6px;
}

.ledc-product-section .lps-delivery a {
	color: #0d4d2e;
	text-decoration: underline;
}

/* =========================================================
   FAQs
   ========================================================= */

.ledc-product-section .lps-faqs {
	font-size: 0.9rem;
}

/* =========================================================
   NEED HELP CHOOSING (contact CTA)
   ========================================================= */

.ledc-product-section .lps-contact-cta {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 20px 24px;
	margin-top: 8px;
}

.ledc-product-section .lps-contact-cta h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 6px;
}

.ledc-product-section .lps-contact-cta > p {
	margin: 0 0 14px;
	font-size: 0.9rem;
	color: #555;
}

.ledc-product-section .lps-contact-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
}

.ledc-product-section .lps-contact-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	margin: 0;
}

.ledc-product-section .lps-contact-list svg {
	flex-shrink: 0;
	width: 16px !important;
	height: 16px !important;
}

.ledc-product-section .lps-contact-list a {
	color: #0d4d2e;
	text-decoration: none;
	font-weight: 600;
}

.ledc-product-section .lps-contact-list a:hover {
	text-decoration: underline;
}

/* =========================================================
   OVERVIEW FAQ — accordion pulled from the description
   (native <details>/<summary>, Divi-safe, no JS required)
   ========================================================= */

.ledc-product-section .lps-faq-block {
	margin-top: 24px;
}

.ledc-product-section .lps-faq-block .faq-glow > h2,
.ledc-product-section .lps-faq-block h2 {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 12px;
}

.ledc-product-section .lps-faq-block details {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #ffffff;
	margin-bottom: 10px;
	overflow: hidden;
}

.ledc-product-section .lps-faq-block details:last-child {
	margin-bottom: 0;
}

/* The site theme creates the green glow with details::before (moving green
   gradient) behind details::after (white inner panel) — a glowing-border card.
   Keep both; the only issue was the content sitting beneath the white panel,
   so lift summary + answers above it (z-index) to stay readable. */
.ledc-product-section .lps-faq-block details > summary,
.ledc-product-section .lps-faq-block details > *:not(summary) {
	position: relative;
	z-index: 2;
}

.ledc-product-section .lps-faq-block summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 12px 42px 12px 16px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1a1a1a;
	transition: color 0.2s ease;
}

.ledc-product-section .lps-faq-block summary::-webkit-details-marker {
	display: none;
}

.ledc-product-section .lps-faq-block summary::after {
	content: '';
	position: absolute;
	right: 16px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d4d2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 0.25s ease;
}

.ledc-product-section .lps-faq-block details[open] summary {
	color: #0d4d2e;
}

.ledc-product-section .lps-faq-block details[open] summary::after {
	transform: translateY(-50%) rotate(180deg);
}

.ledc-product-section .lps-faq-block summary:hover {
	color: #0d4d2e;
}

.ledc-product-section .lps-faq-block details > *:not(summary) {
	margin: 0;
	padding: 0 16px 14px;
	font-size: 0.9rem;
	color: #444;
}

.ledc-product-section .lps-faq-block details p {
	margin: 0;
	padding: 0 16px 14px;
	font-size: 0.9rem;
	color: #444;
}

/* =========================================================
   MOBILE — narrow screens
   ========================================================= */

@media (max-width: 600px) {
	.ledc-product-section .lps-tabs .lps-tab {
		padding: 11px 14px !important;
		font-size: 0.9rem !important;
	}

	.ledc-product-section .lps-tabs-wrap {
		margin-bottom: 24px;
	}

	.ledc-product-section .lps-panels {
		padding-top: 20px;
	}

	.ledc-product-section .lps-specs-box {
		padding: 16px 16px;
	}

	.ledc-product-section .lps-overview-grid {
		gap: 24px;
	}
}
