/*
 * Landing Pad Asia: product page component styles
 * Matches the approved mockup component-for-component.
 */

/* ---- Main content spacing ---- */

.lpa-product-page { padding-bottom: 64px; }

/* ---- Hero ---- */

.lpa-hero { padding-top: 24px; }

.lpa-eyebrow {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: oklch(0.5 0.15 251.66);
	margin-bottom: 8px;
}

.lpa-hero h1 { margin-bottom: 12px; }

.lpa-lede {
	font-size: 1.1rem;
	color: oklch(0.52 0.03 245.11);
	max-width: 60ch;
}

.lpa-hero-media {
	margin-top: 24px;
	background: #f0f6fc;
	border: 1px solid oklch(0.94 0.01 248.12);
	border-radius: 12px;
	aspect-ratio: 16 / 9;
	display: grid;
	place-items: center;
	color: oklch(0.5 0.15 251.66);
}

/* A real hero image fills the 16/9 frame. Without this the img renders at its
   natural size inside the centred grid and overflows the rounded frame.
   `contain` (not `cover`) so a product shot is never cropped: these are
   licensed press/product images and cropping can misrepresent the hardware. */
.lpa-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 12px;
}

.lpa-hero-media .lpa-ph {
	text-align: center;
	color: oklch(0.52 0.03 245.11);
}

.lpa-hero-media svg { width: 96px; height: auto; margin: 0 auto 8px; }

/* ---- At a glance ---- */

.lpa-glance {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}

.lpa-glance-item {
	border: 1px solid oklch(0.94 0.01 248.12);
	border-radius: 8px;
	padding: 16px 24px;
	background: #f7fafc;
}

.lpa-glance-item dt {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: oklch(0.52 0.03 245.11);
	font-weight: 600;
	margin: 0 0 2px;
}

.lpa-glance-item dd {
	margin: 0;
	font-weight: 700;
	font-size: 1.05rem;
}

/* ---- Sections ---- */

.lpa-section { margin-top: 48px; }
.lpa-section > h2 { margin-bottom: 16px; }

/* ---- Price / where to buy ---- */

.lpa-buy-card {
	border: 1px solid oklch(0.94 0.01 248.12);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(14, 36, 54, 0.04), 0 4px 16px rgba(14, 36, 54, 0.05);
	overflow: hidden;
}

.lpa-buy-head {
	padding: 24px;
	background: #f0f6fc;
	border-bottom: 1px solid oklch(0.94 0.01 248.12);
}

.lpa-price-now {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

.lpa-price-now .lpa-amount {
	font-size: 2rem;
	font-weight: 800;
	color: oklch(0.25 0.04 245.54);
	letter-spacing: -0.02em;
}

.lpa-price-now .lpa-from {
	font-size: 0.9rem;
	color: oklch(0.52 0.03 245.11);
	font-weight: 600;
}

.lpa-price-sub {
	margin: 8px 0 0;
	font-size: 0.9rem;
	color: oklch(0.52 0.03 245.11);
}

.lpa-retailers {
	width: 100%;
	border-collapse: collapse;
}

.lpa-retailers caption {
	text-align: left;
	padding: 16px 24px 0;
	font-weight: 700;
}

.lpa-retailers th,
.lpa-retailers td {
	text-align: left;
	padding: 12px 24px;
	border-bottom: 1px solid oklch(0.94 0.01 248.12);
	font-size: 0.95rem;
	vertical-align: middle;
}

.lpa-retailers thead th {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: oklch(0.52 0.03 245.11);
}

.lpa-retailers tbody tr:last-child td { border-bottom: 0; }

.lpa-retailers .lpa-price { font-weight: 700; white-space: nowrap; }

/* Grey-market qualifier under a third-party seller's name. Colour matches the
   table's secondary text and clears 4.5:1 on white. */
.lpa-retailer-note {
	display: block;
	margin-top: 2px;
	font-size: 0.8rem;
	font-weight: 400;
	color: #4b5a68;
}

.lpa-avail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1f7a52;
}

.lpa-avail svg { width: 15px; height: 15px; flex-shrink: 0; }

.lpa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 24px;
	/* Hex first: a browser that cannot parse oklch() drops that declaration
	   entirely, and without this the button would render transparent with
	   white text (WCAG 1.4.3). Browsers that understand oklch use the second. */
	background: #0165B5;
	background: oklch(0.5 0.15 251.66);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.95rem;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	transition: background .2s;
}

.lpa-btn:hover {
	background: #004A8B;
	text-decoration: none;
	color: #ffffff;
}

.lpa-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.lpa-btn-row td { padding-top: 16px; padding-bottom: 16px; }

.lpa-disclosure {
	font-size: 0.82rem;
	color: oklch(0.52 0.03 245.11);
	padding: 16px 24px;
	background: #f7fafc;
	border-top: 1px solid oklch(0.94 0.01 248.12);
}

.lpa-disclosure a { font-weight: 600; }

.lpa-updated {
	font-size: 0.82rem;
	color: oklch(0.52 0.03 245.11);
	margin-top: 24px;
}

/* ---- Specs ---- */

.lpa-specs {
	width: 100%;
	border-collapse: collapse;
}

.lpa-specs th,
.lpa-specs td {
	text-align: left;
	padding: 12px 0;
	border-bottom: 1px solid oklch(0.94 0.01 248.12);
	font-size: 0.95rem;
}

.lpa-specs th {
	width: 42%;
	color: oklch(0.52 0.03 245.11);
	font-weight: 600;
}

.lpa-specs td { font-weight: 600; }

/* ---- Verdict ---- */

.lpa-verdict {
	border: 1px solid oklch(0.5 0.15 251.66);
	border-left-width: 4px;
	border-radius: 12px;
	background: #f0f6fc;
	padding: 24px;
}

.lpa-verdict h2 { color: #004A8B; margin-bottom: 12px; }
.lpa-verdict p:last-child { margin-bottom: 0; }

/* ---- FAQ ---- */

.lpa-faq details {
	border: 1px solid oklch(0.94 0.01 248.12);
	border-radius: 8px;
	padding: 0 16px;
	margin-bottom: 12px;
	background: #ffffff;
}

.lpa-faq summary {
	cursor: pointer;
	font-weight: 700;
	padding: 16px 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.lpa-faq summary::-webkit-details-marker { display: none; }

.lpa-faq summary .lpa-ico {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: oklch(0.52 0.03 245.11);
	transition: transform .2s;
}

.lpa-faq details[open] summary .lpa-ico { transform: rotate(45deg); }

.lpa-faq details > p {
	padding-bottom: 16px;
	margin: 0;
	color: oklch(0.52 0.03 245.11);
}

/* ---- Cross-market links ---- */

.lpa-cross {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}

.lpa-cross a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: 1px solid oklch(0.94 0.01 248.12);
	border-radius: 8px;
	padding: 24px;
	font-weight: 700;
	min-height: 44px;
	text-decoration: none;
	color: oklch(0.25 0.04 245.54);
	transition: border-color .2s, background .2s;
}

.lpa-cross a:hover {
	text-decoration: none;
	border-color: oklch(0.5 0.15 251.66);
	background: #f0f6fc;
}

.lpa-cross a span.lpa-where {
	color: oklch(0.52 0.03 245.11);
	font-weight: 600;
	font-size: 0.9rem;
}

.lpa-cross a svg { width: 18px; height: 18px; color: oklch(0.5 0.15 251.66); flex-shrink: 0; }

/* ---- Compare CTA ---- */

.lpa-compare-cta {
	border: 1px solid oklch(0.94 0.01 248.12);
	border-radius: 12px;
	padding: 24px;
	background: #f7fafc;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.lpa-compare-cta p { margin: 0; color: oklch(0.52 0.03 245.11); }

/* ---- Glossary term links: see a.lpa-term in global.css (site-wide inline link styles) ---- */

/* ---- Responsive ---- */

@media (min-width: 640px) {
	h1 { font-size: 3rem; }
	.lpa-glance { grid-template-columns: repeat(3, 1fr); }
	.lpa-cross { grid-template-columns: repeat(2, 1fr); }
	.lpa-compare-cta {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (min-width: 900px) {
	.lpa-hero {
		display: grid;
		grid-template-columns: 1.1fr 1fr;
		gap: 48px;
		align-items: center;
	}
	.lpa-hero-media { margin-top: 0; }
}
