/* Compatibility with the structured descriptions imported from PSK's old theme.
 * Content stays in the native WooCommerce product description / editor. */
.c-aws-f11-product-content {
	--psk-description-ink: #0f0f0f;
	--psk-description-muted: #303030;
	--psk-description-line: #e8e8e8;
	--psk-description-soft: #f8f9fa;
	--psk-description-action: var(--wp--preset--color--action-danger, #b21d22);
	container-type: inline-size;
	max-width: 1040px;
	margin-inline: 0;
	color: var(--psk-description-ink);
	font-size: 16px;
	line-height: 1.68;
	overflow-wrap: anywhere;
}

.c-aws-f11-product-content * { box-sizing: border-box; }
.psk-product-videos { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px; }
.psk-product-videos > a { box-sizing: border-box; }
:is(.psk-product-description--shared, .psk-product-videos) a.psk-product-resource {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	max-width: 100%;
	min-height: 60px;
	padding: 12px 16px;
	border: 1px solid #e1e4e8;
	border-radius: 8px;
	background: #fafbfc;
	color: #242424;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
:is(.psk-product-description--shared, .psk-product-videos) a.psk-product-resource::before,
.psk-product-video-frame__label::before { content: ""; display: block; flex: 0 0 30px; width: 30px; height: 30px; }
:is(.psk-product-description--shared, .psk-product-videos) a.psk-product-resource--pdf::before { background: url("../images/icons/media-pdf.svg") center / contain no-repeat; }
:is(.psk-product-description--shared, .psk-product-videos) a.psk-product-resource--video::before,
.psk-product-video-frame__label::before { background: url("../images/icons/media-video.svg?v=2") center / contain no-repeat; }
:is(.psk-product-description--shared, .psk-product-videos) a.psk-product-resource:hover { background: #f1f3f5; border-color: #c7cdd3; color: #242424; }
:is(.psk-product-description--shared, .psk-product-videos) a.psk-product-resource:focus-visible { outline: 2px solid currentcolor; outline-offset: 4px; }
.psk-product-video-frame { display: block; max-width: 100%; margin-block: 16px; padding: 16px; border: 1px solid #e1e4e8; border-radius: 8px; background: #fafbfc; }
.psk-product-video-frame__label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #242424; font-size: 15px; font-weight: 600; }
.psk-product-video-frame > :is(iframe, video) { display: block; width: 100%; max-width: 100%; }
.psk-product-video-frame > iframe { aspect-ratio: 16 / 9; height: auto; }
.psk-product-details-layout.wp-block-columns { gap: clamp(24px, 4vw, 64px); align-items: flex-start; }
.psk-product-details-layout > .wp-block-column { min-width: 0; }
.psk-product-sidebar { padding-top: 24px; overflow-wrap: anywhere; }
.psk-product-sidebar__contact { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 16px; border-radius: 8px; background: var(--wp--preset--color--surface-soft, #f8f9fa); }
.psk-product-sidebar__contact > :not(img) { grid-column: 2; }
.psk-product-sidebar__contact:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.psk-product-sidebar__contact:not(:has(img)) > * { grid-column: 1; }
.psk-product-sidebar h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; }
.psk-product-sidebar p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; }
.psk-product-sidebar__contact h2 { font-size: 18px; margin-bottom: 8px; }
.psk-product-sidebar__contact p { font-size: 14px; margin-bottom: 4px; }
.psk-product-sidebar__photo { grid-column: 1; grid-row: 1 / 4; display: block; width: 64px; height: 64px; object-fit: cover; margin: 0; border-radius: 50%; }
.psk-product-sidebar__phone { display: inline-flex; min-height: 44px; align-items: center; font-size: 16px; font-weight: 700; text-underline-offset: 4px; white-space: nowrap; }
.psk-product-sidebar__recommendations { margin-top: 32px; }
.psk-product-sidebar ul { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.psk-product-sidebar li a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 15px; line-height: 1.45; text-decoration: none; }
.psk-product-sidebar li img { width: 64px; height: 64px; object-fit: contain; }
.psk-product-sidebar a:focus-visible { outline: 2px solid currentcolor; outline-offset: 4px; }
@media (max-width: 1023px) {
	.psk-product-details-layout.wp-block-columns { flex-direction: column; }
	.psk-product-details-layout > .wp-block-column { flex-basis: auto !important; width: 100%; }
	.psk-product-sidebar { padding-top: 0; }
}
.psk-product-description--shared { --psk-description-section-gap: 52px; }
.psk-product-description--shared > .psk-product-description__section { margin-block: var(--psk-description-section-gap); }
.psk-product-description--shared > .psk-product-description__section:first-child > p:first-of-type { max-width: 840px; font-size: 18px; line-height: 1.62; }
.psk-product-description--shared img { max-width: 100%; height: auto; }
.psk-product-description--shared iframe { max-width: 100%; }
.psk-product-description--shared .c-aws-f11-product-fact__value { font-size: clamp(20px, 3.2cqi, 28px); overflow-wrap: anywhere; }
.psk-product-description--shared .c-aws-f11-product-card > p { font-size: 16px; }
.c-aws-f11-product-content section { margin-block: 52px; }
.c-aws-f11-product-content > section:first-child { margin-top: 0; padding-top: 24px; }
.c-aws-f11-product-content > section:last-child { margin-bottom: 0; }
.c-aws-f11-product-content h2 {
	margin: 0 0 20px;
	color: var(--psk-description-ink);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.22;
}
.c-aws-f11-product-content h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.3; }

/* Neutral section frames with the heading interrupting the top edge. */
.psk-product-description--shared > .psk-product-description__section:not(.psk-product-description__section--intro) {
	padding: 0 24px 24px;
	border: 1px solid var(--psk-description-line);
	border-radius: 6px;
	background: #fff;
}
.psk-product-description--shared > .psk-product-description__section:not(.psk-product-description__section--intro) > h2 {
	position: relative;
	width: fit-content;
	max-width: 100%;
	margin: -0.7em -8px 16px;
	padding-inline: 8px;
	background: #fff;
	font-size: 20px;
	line-height: 1.4;
}
.psk-product-description__section > :last-child { margin-bottom: 0; }
.psk-product-description__section--features > .c-aws-f11-product-cards { margin-top: 0; }
.psk-product-description__section--features > .c-aws-f11-product-cards > .c-aws-f11-product-card { padding-top: 0; border-top: 0; }
@container (max-width: 560px) {
	.psk-product-description--shared > .psk-product-description__section:not(.psk-product-description__section--intro) { padding-inline: 16px; padding-bottom: 16px; }
	.psk-product-description--shared > .psk-product-description__section:not(.psk-product-description__section--intro) > h2 { font-size: 18px; }
}
.c-aws-f11-product-content p { margin: 0 0 18px; color: var(--psk-description-muted); }
.c-aws-f11-product-content p:empty,
.c-aws-f11-product-eyebrow { display: none; }
.c-aws-f11-product-content strong { color: var(--psk-description-ink); }
.c-aws-f11-product-lead { max-width: 840px; font-size: 18px; line-height: 1.62; }
.c-aws-f11-product-content a { text-underline-offset: 4px; }
.c-aws-f11-product-content a:focus-visible,
.c-aws-f11-product-content summary:focus-visible { outline: 2px solid currentcolor; outline-offset: 4px; }

.c-aws-f11-product-facts,
.c-aws-f11-product-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 28px;
	margin-top: 24px;
}
.c-aws-f11-product-fact,
.c-aws-f11-product-card { min-width: 0; padding-block: 20px; border-top: 1px solid var(--psk-description-line); }
.c-aws-f11-product-fact__value { display: block; margin-bottom: 5px; color: #2f7d32; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.c-aws-f11-product-fact__label,
.c-aws-f11-product-card p { margin: 0; color: var(--psk-description-muted); font-size: 14px; line-height: 1.55; }
.c-aws-f11-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.c-aws-f11-product-grid > :only-child { grid-column: 1 / -1; }
.c-aws-f11-product-panel { padding: 24px; border-radius: 6px; background: var(--psk-description-soft); }
.c-aws-f11-product-content .c-aws-f11-product-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.c-aws-f11-product-list li { position: relative; margin: 0; padding-left: 30px; color: var(--psk-description-muted); }

/* Confirmed features use the brand green; limitations retain a neutral marker. */
.c-aws-f11-product-list li::before {
	position: absolute;
	top: 0.22em;
	left: 0;
	width: 20px;
	height: 20px;
	background: url("../images/icons/check-circle-green.svg") center / contain no-repeat;
	content: "";
}
.c-aws-f11-product-list li.c-aws-f11-product-list__limitation::before {
	background: currentcolor;
	mask: url("../images/icons/description-point.svg") center / contain no-repeat;
}
.c-aws-f11-product-note { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--psk-description-action); background: var(--psk-description-soft); }
.c-aws-f11-product-note p:last-child { margin-bottom: 0; }
.c-aws-f11-product-figure { margin: 22px 0 0; overflow: hidden; border-radius: 6px; background: var(--psk-description-soft); }
.c-aws-f11-product-figure img { display: block; width: 100%; height: auto; }

.c-aws-f11-product-specs { margin-top: 22px; border-top: 1px solid var(--psk-description-line); }
.c-aws-f11-product-specs table { width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; }
.c-aws-f11-product-specs th,
.c-aws-f11-product-specs td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--psk-description-line); line-height: 1.45; vertical-align: top; }
.c-aws-f11-product-specs th { width: 58%; background: var(--psk-description-soft); color: var(--psk-description-ink); font-weight: 700; text-align: left; }
.c-aws-f11-product-specs td { background: #fff; color: var(--psk-description-muted); text-align: right; }
.c-aws-f11-product-content .c-aws-f11-product-category-link { margin: 18px 0 0; }
.c-aws-f11-product-category-link a,
.c-aws-f11-product-content .c-aws-f11-product-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	padding: 0.625rem 1.125rem;
	border: 1px solid var(--wp--preset--color--border, #e8e8e8);
	border-radius: 0.375rem;
	background: transparent;
	color: var(--wp--preset--color--text, #0f0f0f);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}
.c-aws-f11-product-category-link a { gap: 0.75rem; text-align: left; }
.c-aws-f11-product-category-link .psk-description-category-eyebrow {
	display: block;
	margin-bottom: 2px;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--psk-description-muted);
}
.c-aws-f11-product-category-link .psk-description-category-image {
	display: block;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 3px;
	object-fit: contain;
	background: #fff;
}
.c-aws-f11-product-category-link a:hover,
.c-aws-f11-product-content .c-aws-f11-product-button:hover { background: var(--psk-description-soft); color: var(--psk-description-ink); border-color: var(--psk-border-hover); }
.c-aws-f11-product-faq__items { display: grid; gap: 10px; }
.c-aws-f11-product-faq__item { border: 1px solid var(--psk-description-line); border-radius: 7px; background: #fff; }
.c-aws-f11-product-faq__question { position: relative; padding: 20px 62px 20px 22px; font-size: 17px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.c-aws-f11-product-faq__question::-webkit-details-marker { display: none; }
.c-aws-f11-product-faq__question::after { position: absolute; top: 50%; right: 20px; transform: translateY(-50%); font-size: 25px; font-weight: 500; content: "+"; }
.c-aws-f11-product-faq__item[open] .c-aws-f11-product-faq__question::after { content: "−"; }
.c-aws-f11-product-faq__answer { padding: 0 22px 22px; }
.c-aws-f11-product-faq__answer p:last-child { margin-bottom: 0; }

@container (max-width: 760px) {
	.c-aws-f11-product-content h2 { font-size: 27px; }
	.c-aws-f11-product-grid { grid-template-columns: 1fr; }
}

@container (max-width: 560px) {
	.psk-product-description--shared > .psk-product-description__section { margin-block: 36px; }
	.c-aws-f11-product-content section { margin-block: 36px; }
	.c-aws-f11-product-content h2 { font-size: 25px; }
	.c-aws-f11-product-facts,
	.c-aws-f11-product-cards { grid-template-columns: 1fr; }
	.c-aws-f11-product-panel { padding: 20px; }
	.c-aws-f11-product-specs th,
	.c-aws-f11-product-specs td { padding: 10px; font-size: 14px; }
	.c-aws-f11-product-faq__question { padding: 18px 50px 18px 16px; font-size: 16px; }
	.c-aws-f11-product-faq__answer { padding: 0 16px 18px; }
}
.psk-machine-specification { width: 100%; border-collapse: collapse; font-size: 1rem; }
.psk-machine-specification th,
.psk-machine-specification td { padding: 14px 16px; border-bottom: 1px solid var(--wp--preset--color--border); text-align: left; overflow-wrap: anywhere; }
.psk-machine-specification th { width: 45%; background: var(--wp--preset--color--surface-soft); font-weight: 500; }
.psk-machine-specification__note { color: var(--wp--preset--color--text-muted); font-size: 0.875rem; }
.psk-product-information {
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--text-muted);
	font-size: 0.875rem;
	line-height: 1.6;
	white-space: pre-line;
	overflow-wrap: anywhere;
}
