/*
 * Product Pages single (Apollo etc.): starter styles in the site's navy / gold / sand branding.
 * Everything is scoped to .pp-single (the lightbox to .pp-lb), prefixed pp- so it never touches Current Stock (tr- / tl-).
 * Fonts, list bullets and heading fonts are inherited from the theme on purpose.
 * The three colours below are estimates from a screenshot: swap them for the theme's exact values.
 */

.pp-single {
	--pp-navy: #1f2247;
	--pp-gold: #c2a97f;
	--pp-sand: #e3d9c5;
	--pp-text: #4a4a4a;
	--pp-muted: #7a7a7a;
	--pp-border: #e2ddd2;
	--pp-on-navy: #ffffff;
	--pp-radius: 3px;
	--pp-gap: 60px;
	--pp-header-h: 100px; /* height of the site header that overlays the top of the banner: match it to your header */
	color: var(--pp-text);
}

.pp-single .pp-wrap {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}
.pp-single img { display: block; max-width: 100%; height: auto; }
.pp-center { text-align: center; }

/* 1. Banner + breadcrumb */
.pp-banner {
	background: var(--pp-navy);
	color: var(--pp-on-navy);
	padding: calc(var(--pp-header-h) + 50px) 0 40px;
}
.pp-title {
	margin: 0 0 20px;
	padding-bottom: 20px;
	color: var(--pp-on-navy);
	font-size: 2.75rem;
	line-height: 1.15;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.pp-breadcrumb { font-size: 13px; color: var(--pp-on-navy); }
.pp-breadcrumb a { color: var(--pp-on-navy); text-decoration: none; }
.pp-breadcrumb a:hover { text-decoration: underline; }
.pp-breadcrumb .pp-sep { margin: 0 8px; opacity: .6; }
.pp-breadcrumb .pp-current { color: var(--pp-gold); }

/* Hero image banner (optional): sits under the navy title bar, full width, text over the image */
.pp-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 440px;
	overflow: hidden;
	background: var(--pp-navy);
}
.pp-single .pp-hero-bg { /* .pp-single prefix so it beats the generic ".pp-single img { height: auto }" rule */
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
/* soft navy wash at the bottom so the white text always reads, whatever the photo */
.pp-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(31, 34, 71, .8) 0%, rgba(31, 34, 71, .25) 45%, rgba(31, 34, 71, 0) 100%);
}
.pp-hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 40px; }
.pp-hero-text {
	margin: 0;
	max-width: 760px;
	font-size: 2rem;
	line-height: 1.25;
	color: var(--pp-on-navy);
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
@media (max-width: 960px) {
	.pp-hero { min-height: 280px; }
	.pp-hero-inner { padding-bottom: 24px; }
	.pp-hero-text { font-size: 1.4rem; }
}

/* Sections, headings, copy */
.pp-section { padding: 70px 0; }
.pp-eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--pp-gold);
}

/* Heading dots: the little curved bracket + fading line before each small gold heading (same graphic as the Elementor sections) */
.pp-eyebrow {
	--pp-dots: #c2b59b;
	position: relative;
	display: inline-block;
	padding-left: 46px;
	background: linear-gradient(to right, var(--pp-dots), rgb(184 151 128 / 6%)) no-repeat 10px 50% / 26px 2px;
}
.pp-eyebrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 11px;
	height: 15px;
	transform: translateY(-50%);
	box-sizing: border-box;
	border: 2px solid var(--pp-dots);
	border-left: 0;
	border-radius: 0 150px 150px 0;
}
/* centred headings get it on both sides */
.pp-center .pp-eyebrow {
	padding: 0 46px;
	background-image:
		linear-gradient(to right, var(--pp-dots), rgb(184 151 128 / 6%)),
		linear-gradient(to left, var(--pp-dots), rgb(184 151 128 / 6%));
	background-repeat: no-repeat;
	background-position: 10px 50%, calc(100% - 10px) 50%;
	background-size: 26px 2px, 26px 2px;
}
.pp-center .pp-eyebrow::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 11px;
	height: 15px;
	transform: translateY(-50%);
	box-sizing: border-box;
	border: 2px solid var(--pp-dots);
	border-right: 0;
	border-radius: 150px 0 0 150px;
}
.pp-heading { margin: 0 0 18px; color: var(--pp-navy); font-size: 2.2rem; line-height: 1.15; }
.pp-text p { margin: 0 0 1em; }
.pp-text p:last-child { margin-bottom: 0; }

/* Two-column rows (images one side, text the other) */
.pp-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--pp-gap);
	align-items: center;
}

/* Main image with a smaller one overlapping it */
.pp-duo { position: relative; padding-bottom: 28%; }
.pp-duo-main { width: 72%; }
.pp-duo-over {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 62%;
	box-shadow: 0 10px 30px rgba(31, 34, 71, .2);
}
.pp-duo-main img, .pp-duo-over img { width: 100%; }
.pp-duo-single { padding-bottom: 0; }
.pp-duo-single .pp-duo-main { width: 100%; }
/* Explore: main image on the right, overlap bottom-left */
.pp-duo-flip .pp-duo-main { margin-left: auto; }
.pp-duo-flip .pp-duo-over { right: auto; left: 0; }
.pp-duo-flip.pp-duo-single .pp-duo-main { margin-left: 0; }

/* Contact row */
.pp-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.pp-phone { font-size: 1.4rem; color: var(--pp-navy); text-decoration: none; }
.pp-phone:hover { text-decoration: underline; }

/* Buttons */
.pp-btn {
	display: inline-block;
	padding: 13px 28px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--pp-navy);
	background: var(--pp-gold);
	border: 1px solid var(--pp-gold);
	border-radius: var(--pp-radius);
	transition: opacity .2s;
}
.pp-btn:hover { opacity: .85; color: var(--pp-navy); }

/* 3D banner */
.pp-tour {
	/* line-art background: pp-3d-banner-bg.svg must sit in the same folder as this stylesheet (the theme root) */
	background: #202545 url("pp-3d-banner-bg.svg") no-repeat center / cover;
	color: var(--pp-on-navy);
	padding: 70px 0;
	min-height: 262px;
	display: flex;
	align-items: center;
}
.pp-tour .pp-tour-inner { width: 100%; }
.pp-tour-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.pp-tour-text { margin: 0; max-width: 700px; color: var(--pp-on-navy); font-size: 2.2rem; line-height: 1.2; }

/* Gallery banner: 3 across, all photos shown, click to enlarge */
.pp-gallery-section { padding-top: 70px; padding-bottom: 20px; }
.pp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pp-gallery-item { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--pp-sand); cursor: zoom-in; }
.pp-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pp-gallery-item:hover img, .pp-gallery-item:focus-visible img { transform: scale(1.04); }

/* Layout diagram */
.pp-diagram-img { max-width: 1000px; margin: 30px auto 0; }
.pp-diagram-img img { margin: 0 auto; }

/* Weights & dimensions */
.pp-dims-body { margin-top: 30px; }
.pp-dims-body.has-image {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--pp-gap);
	align-items: start;
}
.pp-dims-image img { width: 100%; }
.pp-tables { display: grid; gap: 24px; }
.pp-dims-body:not(.has-image) .pp-tables-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-dims-body:not(.has-image) .pp-tables-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-table-wrap { overflow-x: auto; }
.pp-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; background: #fff; }
.pp-table th, .pp-table td { padding: 10px 14px; text-align: left; border: 1px solid var(--pp-border); }
.pp-table thead th { background: var(--pp-gold); color: var(--pp-navy); font-weight: 700; }
.pp-table tbody th { font-weight: 600; color: var(--pp-navy); }
.pp-table td { text-align: center; }
.pp-table thead th:not(:first-child) { text-align: center; }

/* Standard features: tab buttons, then a left and right column (no box) */
.pp-features-section { padding: 50px 0; }
.pp-ftabs { margin-top: 30px; } /* gap under the title, with or without tab buttons */
.pp-ftab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 40px; }
.pp-ftab-btn {
	padding: 20px 34px;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	background: #b39e6b;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background .2s;
}
.pp-ftab-btn:hover { background: #a38e5c; }
.pp-ftab-btn.is-active, .pp-ftab-btn[aria-selected="true"] { background: #c4b49a; }
.pp-ftabs.is-solo .pp-ftab-btn { cursor: default; } /* a lone tab is for looks only */
.pp-ftabs.is-solo .pp-ftab-btn:hover { background: #c4b49a; }
.pp-ftab-btn:focus-visible { outline: 2px solid var(--pp-navy); outline-offset: 2px; }
.pp-ftab-panel[hidden] { display: none; }
.pp-ftab-panel + .pp-ftab-panel { margin-top: 50px; } /* no-JavaScript fallback: tabs stacked */
.pp-ftabs.is-js .pp-ftab-title { display: none; }
.pp-ftab-title { margin: 0 0 24px; font-size: 1.6rem; color: var(--pp-navy); }
.pp-ftab-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; font-size: 16px; }
.pp-ftab-cols.is-single { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
.pp-ftab-col > *:first-child { margin-top: 0; }
.pp-ftab-col h2, .pp-ftab-col h3, .pp-ftab-col h4,
.pp-ftab-col p > strong:only-child { display: block; margin: 28px 0 12px; font-size: 1.6rem; font-weight: 400; line-height: 1.2; color: var(--pp-navy); }
.pp-ftab-col p { margin: 0 0 12px; }
.pp-ftab-col ul, .pp-ftab-col ol { margin: 0 0 18px; padding-left: 20px; }
.pp-ftab-col li { margin: 0 0 8px; }

/* Optional extras: two columns in a gold box */
.pp-extras-section { padding: 50px 0 80px; }
.pp-list-box {
	margin-top: 30px;
	padding: 40px 44px;
	background: var(--pp-sand);
	column-count: 2;
	column-gap: 60px;
	font-size: 15px;
}
.pp-list-box > *:first-child { margin-top: 0; }
.pp-list-box p, .pp-list-box h3, .pp-list-box h4 { margin: 0 0 6px; break-after: avoid; }
.pp-list-box p strong { color: var(--pp-navy); }
.pp-list-box ul, .pp-list-box ol { margin: 0 0 18px; padding-left: 20px; }
.pp-list-box li { margin: 0 0 4px; break-inside: avoid; }
.pp-extras-section .pp-list-box { background: var(--pp-gold); color: var(--pp-navy); }

/* Lightbox (sits outside .pp-single, so these are not scoped) */
.pp-lb {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(14, 16, 38, .95);
}
.pp-lb[hidden] { display: none; }
html.pp-lb-open { overflow: hidden; }
.pp-lb-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 60px 70px 50px;
	box-sizing: border-box;
}
.pp-lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pp-lb-count { margin-top: 12px; font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
.pp-lb button {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	font-size: 34px;
	line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	cursor: pointer;
	transition: background .2s, border-color .2s;
}
.pp-lb button:hover, .pp-lb button:focus-visible { background: rgba(194, 169, 127, .35); border-color: #c2a97f; outline: none; }
.pp-lb button[hidden] { display: none; }
.pp-lb-close { top: 16px; right: 16px; }
.pp-lb-prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.pp-lb-next  { right: 16px; top: 50%; transform: translateY(-50%); }

/* Tablet and mobile */
@media (max-width: 1200px) {
	.pp-single { --pp-header-h: 150px; } /* the header wraps onto two rows at this width */
}
@media (max-width: 960px) {
	.pp-single { --pp-header-h: 80px; --pp-gap: 36px; }
	.pp-banner { padding: calc(var(--pp-header-h) + 30px) 0 30px; }
	.pp-title { font-size: 2rem; }
	.pp-section { padding: 50px 0; }
	.pp-heading, .pp-tour-text { font-size: 1.8rem; }
	.pp-split, .pp-dims-body.has-image { grid-template-columns: 1fr; }
	/* text first for Explore on small screens is fine either way: keep images after text */
	.pp-dims-body:not(.has-image) .pp-tables-3 { grid-template-columns: 1fr; }
	.pp-dims-body:not(.has-image) .pp-tables-2 { grid-template-columns: 1fr; }
	.pp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pp-list-box { column-count: 1; padding: 28px 24px; }
	.pp-ftab-cols { grid-template-columns: 1fr; }
	.pp-ftab-btn { padding: 14px 22px; }
}
@media (max-width: 600px) {
	.pp-lb-figure { padding: 60px 8px 50px; }
	.pp-lb-prev, .pp-lb-next { top: auto; bottom: 8px; transform: none; }
	.pp-lb-prev { left: 16px; }
	.pp-lb-next { right: 16px; }
	.pp-tour-inner { flex-direction: column; align-items: flex-start; }
}
