/*
Theme Name: The Panel & Paper Co
Theme URI: https://thepanelandpapercompany.com/
Author: The Panel & Paper Co
Author URI: https://thepanelandpapercompany.com/
Description: A mobile-first WooCommerce landing theme for acoustic wall panels, samples, accessories, trust features, reviews, ad placements, and fast WhatsApp enquiries.
Version: 1.0.144
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-panel-paper
Tags: e-commerce, custom-logo, custom-menu, featured-images, block-styles, wide-blocks
*/

/*
 * WooCommerce initially hides the gallery until FlexSlider is ready. Keep the
 * first product image paintable for LCP, then let the slider take over.
 */
.single-product .woocommerce-product-gallery,
.single-product div.product div.images {
	opacity: 1 !important;
	visibility: visible !important;
}

.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
	display: none;
}

.single-product.postid-4699 .elementor-element-e554ed5 {
	display: block !important;
	width: 100% !important;
}

.single-product.postid-4699 .elementor-element-e554ed5 .elementor-widget-container,
.single-product.postid-4699 .elementor-element-e554ed5 img {
	display: block;
	width: 100%;
	height: auto;
}

.pp-transactional-links,
.pp-buying-faq {
	max-width: 1220px;
	margin: 38px auto;
	padding: 28px;
	border-top: 1px solid #dedbd6;
	border-bottom: 1px solid #dedbd6;
	background: #fff;
}

.pp-transactional-links {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
	gap: 34px;
	align-items: start;
}

.pp-transactional-links h2,
.pp-buying-faq h2 {
	margin: 4px 0 12px;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.12;
}

.pp-transactional-links p,
.pp-buying-faq p {
	color: #56524e;
	line-height: 1.65;
}

.pp-transactional-links nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.pp-transactional-links nav a {
	display: flex;
	min-height: 48px;
	align-items: center;
	padding: 11px 14px;
	border: 1px solid #d7d3cd;
	color: #171717;
	font-weight: 700;
	text-decoration: none;
}

.pp-transactional-links nav a:hover,
.pp-transactional-links nav a:focus-visible {
	border-color: #ae1b19;
	color: #ae1b19;
}

.pp-buying-faq {
	max-width: 900px;
}

.pp-buying-faq details {
	border-top: 1px solid #dedbd6;
}

.pp-buying-faq details:last-child {
	border-bottom: 1px solid #dedbd6;
}

.pp-buying-faq summary {
	padding: 16px 4px;
	cursor: pointer;
	font-weight: 800;
}

.pp-buying-faq details p {
	margin: 0;
	padding: 0 4px 18px;
}

.pp-contextual-shop-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: baseline;
	margin: 24px 0;
	padding: 15px 0;
	border-top: 1px solid #dedbd6;
	border-bottom: 1px solid #dedbd6;
}

.pp-contextual-shop-links a {
	color: #ae1b19;
	font-weight: 800;
}

@media (max-width: 760px) {
	.pp-transactional-links,
	.pp-buying-faq {
		margin: 26px 0;
		padding: 22px 17px;
	}

	.pp-transactional-links {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.pp-transactional-links nav {
		grid-template-columns: 1fr;
	}
}

/* Core acoustic colour comparison */
.pp-colour-guide {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin: 2px 0 4px;
}

.pp-colour-guide__item {
	display: flex;
	min-width: 0;
	min-height: 138px;
	padding: 16px;
	border: 1px solid #dedbd5;
	background: #fff;
	color: #171717;
	text-decoration: none;
	flex-direction: column;
	justify-content: space-between;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pp-colour-guide__item:hover,
.pp-colour-guide__item:focus-visible {
	border-color: #b51e23;
	box-shadow: 0 8px 22px rgba(23, 23, 23, 0.08);
	color: #171717;
	transform: translateY(-2px);
}

.pp-colour-guide__name {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 20px;
	line-height: 1.15;
}

.pp-colour-guide__alias,
.pp-colour-guide__sizes,
.pp-colour-guide__meta {
	display: block;
	font-size: 13px;
	line-height: 1.45;
}

.pp-colour-guide__alias {
	margin-top: 5px;
	color: #68635c;
}

.pp-colour-guide__sizes {
	margin-top: 12px;
	color: #3f3b36;
}

.pp-colour-guide__meta {
	margin-top: 8px;
	color: #68635c;
}

.pp-colour-guide__meta strong {
	margin-right: 4px;
	color: #b51e23;
}

@media (max-width: 980px) {
	.pp-colour-guide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pp-colour-guide__item:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.pp-colour-guide {
		grid-template-columns: 1fr;
	}

	.pp-colour-guide__item,
	.pp-colour-guide__item:last-child {
		grid-column: auto;
		min-height: 0;
	}
}

/* Priority acoustic product information */
.single-product .elementor-element-3a478d4d > .elementor-widget-n-accordion {
	display: none !important;
}

.pp-product-information {
	margin: 24px 0 28px;
	color: #171717;
}

.pp-product-information__intro {
	padding: 22px 0 20px;
	border-top: 3px solid #ae1b19;
}

.pp-product-information__intro h2 {
	margin: 4px 0 6px;
	font-size: clamp(25px, 2.35vw, 34px);
	line-height: 1.12;
}

.pp-product-information__intro p {
	margin: 10px 0 0;
	color: #56524e;
	font-size: 15px;
	line-height: 1.65;
}

.pp-product-information__intro .pp-product-information__alias {
	margin-top: 0;
	color: #ae1b19;
	font-size: 13px;
	font-weight: 800;
}

.pp-product-information__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid #dedbd6;
	border-bottom: 0;
}

.pp-product-information__facts > div {
	min-width: 0;
	padding: 14px;
	border-right: 1px solid #dedbd6;
	border-bottom: 1px solid #dedbd6;
}

.pp-product-information__facts > div:nth-child(2n) {
	border-right: 0;
}

.pp-product-information__facts > div > span,
.pp-product-information__facts strong {
	display: block;
}

.pp-product-information__facts > div > span {
	margin-bottom: 4px;
	color: #6b6762;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.pp-product-information__facts strong {
	font-size: 15px;
	line-height: 1.35;
}

.pp-product-information__facts del {
	color: #777;
	font-size: 12px;
}

.pp-product-information__facts ins {
	color: #ae1b19;
	text-decoration: none;
}

.pp-product-information__accordions {
	border: 1px solid #dedbd6;
	border-top: 0;
}

.pp-product-information__accordions details + details {
	border-top: 1px solid #dedbd6;
}

.pp-product-information__accordions summary {
	position: relative;
	padding: 16px 44px 16px 16px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 850;
	line-height: 1.35;
	list-style: none;
}

.pp-product-information__accordions summary::-webkit-details-marker {
	display: none;
}

.pp-product-information__accordions summary::after {
	position: absolute;
	top: 50%;
	right: 17px;
	width: 10px;
	height: 10px;
	border-right: 2px solid #171717;
	border-bottom: 2px solid #171717;
	content: "";
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s ease;
}

.pp-product-information__accordions details[open] > summary::after {
	transform: translateY(-30%) rotate(225deg);
}

.pp-product-information__accordions details[open] > summary {
	background: #f5f3f0;
}

.pp-product-information__panel {
	padding: 3px 16px 20px;
}

.pp-product-information__panel p,
.pp-product-information__panel li {
	color: #56524e;
	font-size: 14px;
	line-height: 1.6;
}

.pp-product-information__panel h3 {
	margin: 17px 0 5px;
	font-size: 15px;
	line-height: 1.35;
}

.pp-product-information__panel ol {
	margin: 4px 0 15px;
	padding-left: 20px;
}

.pp-spec-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 22px;
	margin: 5px 0 16px;
	padding: 0;
	list-style: none;
}

.pp-spec-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid #ebe8e3;
}

.pp-spec-list strong {
	color: #171717;
	text-align: right;
}

.pp-product-information__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.pp-product-information__links a {
	color: #ae1b19;
	font-weight: 800;
	text-underline-offset: 3px;
}

.pp-product-information__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.pp-product-information__actions .pp-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 11px 14px;
	text-align: center;
}

@media (max-width: 760px) {
	.pp-product-information {
		margin: 22px 0 24px;
	}

	.pp-product-information__intro {
		padding-top: 18px;
	}

	.pp-product-information__intro h2 {
		font-size: 27px;
	}

	.pp-product-information__facts,
	.pp-spec-list,
	.pp-product-information__actions {
		grid-template-columns: 1fr;
	}

	.pp-product-information__facts > div,
	.pp-product-information__facts > div:nth-child(2n) {
		border-right: 0;
	}
}
