/*
 * Product single template styles. Backgrounds/colours sampled from computed styles on the live
 * /products/bezzera-nini/ page, 2026-08-21 (see single-products.php docblock).
 *
 * The shared band primitives (.bzp-band, .bzp-band--grey, .bzp-band__title,
 * .bzp-enquiry) used to live here, but the archive, home and suppliers templates
 * use them too and none of them enqueue this file — so their section headings
 * rendered unstyled (left-aligned, default weight). They now live in base.css,
 * which every template loads.
 */

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

.bzp-hero {
	padding: 40px 0;
}

.bzp-hero__row {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.bzp-hero__image {
	flex: 0 0 320px;
}

.bzp-hero__image img {
	width: 100%;
	height: auto;
	display: block;
	/* Same 10px as the category-archive thumbnails, so a product looks the same
	 * on the card you clicked and on the page you land on. */
	border-radius: 10px;
}

.bzp-hero__content { flex: 1; }

.bzp-hero__title {
	font-family: var(--bz-font-heading);
	color: var(--bz-color-secondary);
	margin: 0 0 8px;
}

.bzp-hero__price {
	font-family: var(--bz-font-heading);
	font-weight: 700;
	font-size: 24px;
	color: var(--bz-color-primary);
	margin: 0 0 16px;
}

.bzp-hero__price-label {
	font-size: 14px;
	font-weight: 400;
	color: var(--bz-color-text);
	text-transform: lowercase;
}

.bzp-hero__actions {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}

.bz-btn--secondary {
	background: var(--bz-color-secondary) !important;
}

.bz-btn--secondary:hover {
	background: var(--bz-color-primary) !important;
}

.bzp-hero__desc p { margin: 0 0 1em; }

/* ---- Key features / manuals / specs ---- */

.bzp-specs-row {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.bzp-specs-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bzp-card {
	background: #fff;
	padding: 30px;
}

.bzp-card__title {
	font-family: var(--bz-font-heading);
	font-weight: 700;
	color: #3F241B;
	margin: 0 0 16px;
	font-size: 20px;
}

/* The "<Product> In Action" heading beside the video is the same rank. */
.bzp-video-content h2 {
	font-family: var(--bz-font-heading);
	font-weight: 700;
	color: #3F241B;
}

.bzp-video-desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--bz-color-text);
	margin: 0 0 16px;
}

.bzp-card ul.bpf-feature-list,
.bzp-card ul.bpf-manual-docs {
	list-style: disc;
	margin: 0;
	padding-left: 20px;
}

.bzp-card ul.bpf-feature-list li,
.bzp-card ul.bpf-manual-docs li {
	margin-bottom: 10px;
}

.bzp-card ul.bpf-manual-docs a {
	color: var(--bz-color-primary) !important;
	font-weight: 600;
	text-decoration: none !important;
}

.bzp-spec-list { margin: 0; }

.bzp-spec-row {
	display: flex;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid #eee;
}

.bzp-spec-row dt {
	flex: 0 0 45%;
	color: var(--bz-color-primary);
	font-weight: 700;
	font-size: 14px;
}

.bzp-spec-row dd {
	flex: 1;
	margin: 0;
	color: var(--bz-color-text);
	font-size: 14px;
}

/* ---- Video ---- */

.bzp-video-row {
	display: flex;
	gap: 40px;
	align-items: center;
}

.bzp-video-content {
	flex: 0 0 320px;
}

.bzp-video-content h2 {
	font-family: var(--bz-font-heading);
	color: var(--bz-color-secondary);
	margin: 0 0 20px;
}

.bzp-video-embed {
	flex: 1;
}

.bzp-video-embed iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
}

/* ---- Gallery ---- */

.bzp-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.bzp-gallery-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
}

/* Gallery images link to the full-size file (see single-products.php). */
.bzp-gallery-link {
	display: block;
	cursor: zoom-in;
	text-decoration: none !important;
	border-radius: 10px;
	overflow: hidden;
}

.bzp-gallery-link:focus-visible {
	outline: 2px solid var(--bz-color-primary);
	outline-offset: 2px;
}

/* ---- Lightbox ----------------------------------------------------------
 * Replaces Elementor's. Inert until site.js adds .is-open.
 */

.bz-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	padding: 32px;
}

.bz-lightbox.is-open {
	display: flex;
}

.bz-lightbox__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	display: block;
}

.bz-lightbox__close {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 44px;
	height: 44px;
	font-size: 28px;
	line-height: 1;
	color: #fff;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.bz-lightbox__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* ---- Testimonials ---- */

.bzp-testimonials {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

.bzp-testimonial__quote {
	font-family: var(--bz-font-heading);
	font-style: italic;
	font-size: 18px;
	color: var(--bz-color-nav-item);
	margin: 0 0 16px;
}

.bzp-testimonial__name {
	font-family: var(--bz-font-heading);
	font-weight: 600;
	font-size: 20px;
	text-transform: uppercase;
	color: var(--bz-color-primary);
	margin: 0 0 20px;
}

.bzp-testimonial__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.bzp-testimonial__dot {
	width: 8px !important;
	height: 8px !important;
	border-radius: 50% !important;
	border: none !important;
	background: #ddd !important;
	cursor: pointer;
	padding: 0 !important;
}

.bzp-testimonial__dot.is-active {
	background: var(--bz-color-primary) !important;
}

@media (max-width: 900px) {
	.bzp-hero__row,
	.bzp-specs-row,
	.bzp-video-row {
		flex-direction: column;
	}

	.bzp-hero__image { flex: none; width: 100%; }
	.bzp-video-content { flex: none; }
}
