.a66z-product-page,
.a66z-product-page * {
	box-sizing: border-box;
}

.a66z-product-page {
	width: 100%;
	margin: 0;
	padding: clamp(18px, 3vw, 42px) 16px 56px;
	background: #fff;
	color: #18181b;
	font-family: inherit;
	line-height: 1.65;
}

.a66z-product-article {
	width: min(100%, 980px);
	margin-inline: auto;
}

.a66z-product-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
	margin: 0 0 22px;
	font-size: 13px;
	color: #6b7280;
}

.a66z-product-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.a66z-product-breadcrumb a:hover {
	text-decoration: underline;
}

.a66z-product-header {
	margin: 0 0 20px;
}

.a66z-product-title {
	margin: 0 0 12px;
	font-size: clamp(28px, 6vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.025em;
	font-weight: 800;
	color: #111827;
}

/* A single, understated category line linking to a browsable category page. */
.a66z-product-category {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
}

.a66z-product-category-label {
	font-weight: 400;
}

.a66z-product-category-name {
	font-weight: 600;
	color: #374151;
	overflow-wrap: anywhere;
}

.a66z-product-intro {
	max-width: 800px;
	font-size: clamp(16px, 2vw, 19px);
	color: #4b5563;
}

.a66z-product-intro p {
	margin: 0;
}

.a66z-product-media {
	width: 100%;
	margin: 24px 0 18px;
	border-radius: 16px;
	overflow: hidden;
	background: #f6f7f9;
}

.a66z-product-main-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 720px;
	object-fit: contain;
	margin: 0;
}

.a66z-product-primary-cta-wrap,
.a66z-product-secondary-cta-wrap {
	display: flex;
	justify-content: center;
	margin: 18px 0 34px;
}

.a66z-product-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 52px;
	padding: 14px 22px;
	border-radius: 10px;
	background: #ff2b32;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	text-align: center;
	box-shadow: none;
	transition: transform .15s ease, background-color .15s ease;
}

.a66z-product-cta:hover,
.a66z-product-cta:focus-visible {
	background: #e51f27;
	transform: translateY(-1px);
}

.a66z-product-cta:focus-visible {
	outline: 3px solid rgba(255, 43, 50, .28);
	outline-offset: 3px;
}

.a66z-product-content {
	margin: 0 0 26px;
}

.a66z-product-content h2,
.a66z-product-related h2 {
	margin: 0 0 14px;
	font-size: clamp(24px, 4vw, 32px);
	line-height: 1.2;
	color: #111827;
}

.a66z-product-description {
	font-size: 17px;
	color: #30343b;
}

.a66z-product-description > :first-child {
	margin-top: 0;
}

.a66z-product-description img,
.a66z-product-description iframe,
.a66z-product-description video {
	max-width: 100%;
	height: auto;
}

.a66z-product-description table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.a66z-product-related {
	margin: 42px 0 28px;
}

.a66z-product-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.a66z-product-related-card {
	display: block;
	padding: 10px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	color: #111827 !important;
	text-decoration: none !important;
}

.a66z-product-related-image {
	display: block;
	aspect-ratio: 1 / 1;
	margin-bottom: 9px;
	border-radius: 8px;
	overflow: hidden;
	background: #f6f7f9;
}

.a66z-product-related-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.a66z-product-related-title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.a66z-product-disclosure {
	margin-top: 26px;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #f8fafc;
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
}

@media (min-width: 600px) {
	.a66z-product-page {
		padding-inline: 24px;
	}
	.a66z-product-cta {
		width: auto;
		min-width: 320px;
	}
	.a66z-product-related-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.a66z-product-page {
		padding-inline: max(14px, env(safe-area-inset-left));
	}
}

.a66z-product-cta--disabled { opacity: .65; cursor: not-allowed; pointer-events: none; }

/* Product category link, consistent with the minimal product design. */
.a66z-product-category a.a66z-product-category-name {
	color: #374151;
	text-decoration: underline;
	text-decoration-color: #d1d5db;
	text-underline-offset: 3px;
}
.a66z-product-category a.a66z-product-category-name:hover,
.a66z-product-category a.a66z-product-category-name:focus-visible {
	color: #d72229;
	text-decoration-color: currentColor;
}
.a66z-product-category a.a66z-product-category-name:focus-visible {
	outline: 2px solid #d72229;
	outline-offset: 3px;
}

/* Theme-independent, responsive category archive. */
.a66z-category-intro {
	max-width: 780px;
	margin: 0 0 22px;
	color: #4b5563;
	font-size: 16px;
}
.a66z-category-intro > :first-child { margin-top: 0; }
.a66z-category-intro > :last-child { margin-bottom: 0; }
.a66z-category-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0;
}
.a66z-category-card {
	display: block;
	min-width: 0;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	color: #111827 !important;
	text-decoration: none !important;
	background: #fff;
}
.a66z-category-card:hover,
.a66z-category-card:focus-visible { border-color: #a1a1aa; }
.a66z-category-card:focus-visible { outline: 2px solid #d72229; outline-offset: 2px; }
.a66z-category-card-image {
	display: block;
	aspect-ratio: 1 / 1;
	background: #f6f7f9;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 12px;
}
.a66z-category-card-image img { display:block; width:100%; height:100%; object-fit:contain; }
.a66z-category-card-title { display: block; font-size: 16px; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.a66z-category-card-summary { display: block; margin-top: 8px; font-size: 13px; line-height: 1.55; color: #52525b; }
.a66z-category-pagination { margin: 28px 0 0; }
.a66z-category-pagination .page-numbers { display: inline-block; padding: 7px 12px; margin: 3px; border: 1px solid #d4d4d8; border-radius: 6px; color: #18181b; text-decoration: none; }
.a66z-category-pagination .page-numbers.current { background: #18181b; color: #fff; }
@media (max-width: 400px) { .a66z-category-products { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 700px) { .a66z-category-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
