/*
Theme Name: Planter Logic
Description: Child theme of Hello Elementor that recreates the live planterlogic.co.za (Impreza) look: palette, typography, header, footer and WooCommerce styling.
Template: hello-elementor
Version: 1.0.0
Text Domain: planterlogic
*/

:root {
	--pl-accent: #4CAF50;
	--pl-secondary: #FF6F52;
	--pl-accent-dark: #3d8b40;
	--pl-text: #333;
	--pl-heading: #1a1a1a;
	--pl-faded: #999;
	--pl-bg: #eee;
	--pl-alt: #f5f5f5;
	--pl-border: #e8e8e8;
	--pl-dark: #1a1a1a;
	--pl-darker: #222;
	--pl-width: 1140px;
	--pl-header-h: 80px;
	--pl-font: Georgia, "Times New Roman", serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	background: var(--pl-bg);
	color: var(--pl-text);
	font-family: var(--pl-font);
	font-size: 16px;
	line-height: 1.5625;
	padding-top: var(--pl-header-h); /* fixed header */
}
body.admin-bar .pl-header { top: 32px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--pl-font);
	font-weight: 400;
	color: var(--pl-heading);
	margin: 0 0 24px;
}
h1 { font-size: 48px; line-height: 1.2; }
h2 { font-size: 32px; line-height: 1.4; }
h3 { font-size: 24px; line-height: 1.4; }
h4 { font-size: 22px; }
p { margin: 0 0 24px; }
a { color: var(--pl-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pl-secondary); }
img { max-width: 100%; height: auto; }

/* Elementor full-width sections should not be boxed by Hello's page wrapper */
.elementor-page .site-main { max-width: none; padding: 0; }
.elementor-page .page-header { display: none; }
.pl-main-content { background: transparent; }

/* ---------- Header ---------- */
.pl-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.pl-header__inner {
	max-width: var(--pl-width); margin: 0 auto; padding: 0 20px;
	height: var(--pl-header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.pl-logo img { display: block; width: 132px; height: auto; max-width: none; }
.pl-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--pl-text); font-size: 15px; }
.pl-phone:hover { color: var(--pl-accent); }
.pl-icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }
.pl-header__right { display: flex; align-items: center; gap: 4px; }

.pl-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.pl-nav li { position: relative; }
.pl-nav > ul > li > a {
	display: block; padding: 0 20px; line-height: var(--pl-header-h); font-size: 16px; color: var(--pl-text);
}
.pl-nav > ul > li > a:hover,
.pl-nav > ul > li.current-menu-item > a,
.pl-nav > ul > li.current-menu-ancestor > a,
.pl-nav > ul > li.current_page_item > a { color: var(--pl-accent); }
.pl-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; box-shadow: 0 5px 15px rgba(0, 0, 0, .1); flex-direction: column; align-items: stretch;
}
.pl-nav li:hover > .sub-menu, .pl-nav li:focus-within > .sub-menu { display: flex; }
.pl-nav .sub-menu a { display: block; padding: 10px 20px; font-size: 15px; color: var(--pl-text); }
.pl-nav .sub-menu a:hover { background: var(--pl-accent); color: #fff; }

.pl-header__btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: var(--pl-header-h); color: var(--pl-text); background: none; border: 0; cursor: pointer; font-size: 18px; padding: 0;
}
.pl-header__btn:hover { color: var(--pl-accent); background: none; }
.pl-cart-count {
	position: absolute; top: calc(var(--pl-header-h) / 2 - 18px); right: 0; min-width: 18px; height: 18px; padding: 0 4px;
	background: var(--pl-accent); color: #fff; border-radius: 9px; font-size: 11px; line-height: 18px; text-align: center;
}
.pl-cart-count.is-empty { display: none; }
.pl-search {
	display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
	padding: 20px; box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}
.pl-search.is-open { display: block; }
.pl-search form { max-width: var(--pl-width); margin: 0 auto; display: flex; }
.pl-search input[type=search] { flex: 1; padding: 12px 15px; border: 0; background: var(--pl-alt); font: inherit; border-radius: 0; }
.pl-search button { background: var(--pl-accent); color: #fff; border: 0; padding: 0 25px; font: inherit; cursor: pointer; border-radius: 0; }
.pl-menu-toggle { display: none; }

@media (max-width: 900px) {
	.pl-phone { display: none; }
	.pl-menu-toggle { display: inline-flex; }
	.pl-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
		box-shadow: 0 5px 15px rgba(0, 0, 0, .1); max-height: 80vh; overflow-y: auto;
	}
	.pl-nav.is-open { display: block; }
	.pl-nav ul { flex-direction: column; align-items: stretch; }
	.pl-nav > ul > li > a { line-height: 1.4; padding: 14px 20px; border-bottom: 1px solid var(--pl-border); }
	.pl-nav .sub-menu { display: flex; position: static; box-shadow: none; }
	.pl-nav .sub-menu a { padding-left: 40px; }
}
@media (max-width: 782px) { body.admin-bar .pl-header { top: 46px; } }

/* ---------- Footer ---------- */
.pl-footer { color: #fff; }
.pl-footer a { color: #ccc; }
.pl-footer a:hover { color: var(--pl-accent); }
.pl-footer__top { background: var(--pl-dark); padding: 50px 20px; }
.pl-footer__bottom { background: var(--pl-darker); padding: 40px 20px; text-align: center; }
.pl-footer__inner { max-width: var(--pl-width); margin: 0 auto; }
.pl-footer h3 { color: #fff; margin-bottom: 25px; }
.pl-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pl-footer__item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.pl-footer__item .pl-icon { font-size: 20px; margin-top: 4px; color: #fff; }
.pl-footer__form { margin-top: 25px; }
.pl-footer__form input[type=text], .pl-footer__form input[type=email], .pl-footer__form textarea {
	width: 100%; margin-bottom: 12px; padding: 12px 15px; border: 0; border-radius: 0;
	background: var(--pl-alt); color: var(--pl-text); font: inherit;
}
.pl-footer__form label { display: flex; gap: 8px; font-size: 14px; margin-bottom: 14px; color: #ccc; }
.pl-footer__form button, .pl-btn {
	background: var(--pl-accent); color: #fff; border: 0; border-radius: 0; padding: 14px 29px;
	font: inherit; font-size: 16px; cursor: pointer; transition: background .2s;
}
.pl-footer__form button:hover, .pl-btn:hover { background: var(--pl-accent-dark); color: #fff; }
.pl-footer__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.pl-footer__notice { background: #2e7d32; color: #fff; padding: 10px 15px; margin-bottom: 15px; }
.pl-hp { position: absolute; left: -9999px; }
.pl-social { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; font-size: 22px; color: #fff !important; margin-bottom: 15px; }
.pl-social:hover { color: var(--pl-accent) !important; }
.pl-copy { margin: 0 0 10px; color: #fff; }
@media (max-width: 782px) { .pl-footer__cols { grid-template-columns: 1fr; } }

/* ---------- Title bar + breadcrumbs (shop pages) ---------- */
.pl-titlebar {
	background-color: #5a8a9a; background-size: cover; background-position: center;
	min-height: 240px; display: flex; align-items: flex-end; justify-content: center; padding: 60px 20px 40px; text-align: center;
}
.pl-titlebar__title { color: #fff; font-size: 56px; line-height: 1.5; margin: 0; }
.pl-breadcrumbs { background: var(--pl-accent); color: #fff; padding: 22px 20px; }
.pl-breadcrumbs__inner { max-width: var(--pl-width); margin: 0 auto; font-size: 14px; }
.pl-breadcrumbs a, .pl-breadcrumbs span { color: #fff; }
.pl-breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.pl-breadcrumbs .sep { margin: 0 8px; opacity: .8; }
@media (max-width: 600px) { .pl-titlebar__title { font-size: 34px; } }

/* ---------- Content wrappers ---------- */
.pl-wrap { max-width: var(--pl-width); margin: 0 auto; padding: 60px 20px 40px; }
.pl-wrap--shop { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; }
.pl-wrap--shop > .pl-sidebar { order: -1; }
.pl-wrap--shop.no-sidebar { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .pl-wrap--shop { grid-template-columns: 1fr; } }
.pl-sidebar .widget { margin-bottom: 30px; }
.pl-sidebar .widget-title, .pl-sidebar h2 { font-size: 22px; margin-bottom: 15px; }
.pl-sidebar ul { list-style: none; margin: 0; padding: 0; }
.pl-sidebar li { margin-bottom: 10px; line-height: 1.4; }
.pl-sidebar li a { color: var(--pl-accent); }
.pl-sidebar li a::before { content: "\203A"; color: var(--pl-accent); margin-right: 10px; }
.pl-sidebar .count { color: var(--pl-faded); }

/* ---------- WooCommerce ---------- */
.woocommerce .woocommerce-breadcrumb { color: var(--pl-faded); font-size: 14.4px; margin-bottom: 15px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--pl-accent); }
.woocommerce-products-header__title.page-title,
.woocommerce .page-title { font-size: 48px; line-height: 1.2; display: inline-block; margin-right: 10px; }
.woocommerce-result-count { color: var(--pl-faded); font-size: 14px; display: inline-block; margin: 0 0 20px; float: none; }
.woocommerce-ordering { float: none; margin: 0 0 30px; }
.woocommerce-ordering select, .woocommerce .quantity .qty, .woocommerce input.input-text,
.woocommerce textarea, .woocommerce select {
	background: var(--pl-alt); color: var(--pl-text); border: 0; border-radius: 0;
	padding: 12px 15px; font-family: var(--pl-font); font-size: 16px; min-height: 45px;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { border: 0; }

.woocommerce ul.products { margin: 0 -10px 30px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.woocommerce.columns-4 ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
.woocommerce ul.products.columns-6 { grid-template-columns: repeat(6, 1fr); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto; margin: 0; float: none; background: #fff; padding: 5px; text-align: center;
	display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.woocommerce ul.products li.product a img { margin: 0 0 12px; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--pl-heading); font-size: 16px; line-height: 1.4; padding: 0 5px; margin: 0 0 8px;
}
.woocommerce ul.products li.product .price { color: var(--pl-heading); font-size: 19px; font-weight: 600; margin-bottom: 10px; display: block; }
.woocommerce ul.products li.product .button { margin-top: auto; }
@media (max-width: 900px) { .woocommerce ul.products, .woocommerce ul.products.columns-4, .woocommerce ul.products.columns-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .woocommerce ul.products { grid-template-columns: 1fr; } }

/* Category tiles (home "Categories" row): white title over image */
.woocommerce ul.products li.product-category { background: transparent; padding: 0; position: relative; box-shadow: none; }
.woocommerce ul.products li.product-category a { display: block; position: relative; }
.woocommerce ul.products li.product-category a img { margin: 0; display: block; }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	position: absolute; inset: 0; margin: 0; padding: 15px; display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 22.4px; line-height: 1.4; text-align: center; background: rgba(0, 0, 0, .28);
}
.woocommerce ul.products li.product-category .count { background: none; color: #fff; font-size: inherit; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce a.added_to_cart, .wc-block-components-button:not(.is-link) {
	background: var(--pl-accent); color: #fff; border: 0; border-radius: 0; font-family: var(--pl-font);
	font-weight: 400; font-size: 12.8px; padding: 14.4px; line-height: 1.2; text-align: center; transition: background .2s;
}
.woocommerce ul.products li.product .button { width: 100%; box-sizing: border-box; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce a.added_to_cart:hover { background: var(--pl-accent-dark); color: #fff; }
.woocommerce div.product form.cart .button, .woocommerce button.button.alt { font-size: 16px; padding: 12.8px 28.8px; }
.woocommerce span.onsale { background: var(--pl-accent); color: #fff; border-radius: 0; min-height: 0; min-width: 0; line-height: 1; padding: 8px 10px; }

/* Single product */
.woocommerce div.product div.images { margin-bottom: 40px; }
.woocommerce div.product .product_title { font-size: 48px; line-height: 1.2; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--pl-heading); font-size: 25.6px; font-weight: 600; }
.woocommerce div.product .product_meta { font-size: 14.4px; }
.woocommerce div.product .product_meta a { color: var(--pl-accent); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 25px; border-bottom: 1px solid var(--pl-border); overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 16px 24px; color: var(--pl-text); font-weight: 400; border-top: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { border-top-color: var(--pl-accent); color: var(--pl-text); }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 22.4px; }

/* Cart / checkout / account */
.woocommerce table.shop_table { background: #fff; border: 0; border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--pl-border); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { background: #fff; color: var(--pl-text); border-top: 3px solid var(--pl-accent); }
.woocommerce-info::before, .woocommerce-message::before { color: var(--pl-accent); }
.woocommerce-cart .wc-block-cart, .woocommerce-checkout .wc-block-checkout { background: transparent; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 30px; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 15px; background: #fff; margin-bottom: 2px; color: var(--pl-text); }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--pl-accent); color: #fff; }

/* Plain (non-Elementor) pages: policy pages etc. */
.pl-page { background: #fff; padding: 40px; }
.pl-page .entry-title { font-size: 48px; }

/* Cookie banner keeps its own styling */

/* Hello's reset styles buttons on hover/focus; keep header icon buttons plain */
.pl-header .pl-header__btn,
.pl-header .pl-header__btn:hover,
.pl-header .pl-header__btn:focus,
.pl-header .pl-header__btn:active {
	background: transparent; color: var(--pl-text); border: 0; box-shadow: none; outline-offset: -2px;
}
.pl-header .pl-header__btn:hover, .pl-header .pl-header__btn:focus { color: var(--pl-accent); }
.pl-header .pl-search button { background: var(--pl-accent); color: #fff; }
.pl-header .pl-search button:hover { background: var(--pl-accent-dark); }

/* Beat WooCommerce's percentage widths/floats: the grid sizes the tiles */
.woocommerce.woocommerce ul.products[class*="columns-"] { margin: 0 0 30px; }
.woocommerce.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page.woocommerce-page ul.products[class*="columns-"] li.product {
	width: auto; float: none; margin: 0; clear: none;
}

/* ---------- Quote-only site: no prices or totals (ported from Impreza custom CSS) ---------- */
span.woocommerce-Price-amount.amount,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
p.woocommerce-mini-cart__total.total,
.cart_totals h2,
.cart_totals table,
.cart_totals.calculated_shipping table,
table.shop_table.woocommerce-checkout-review-order-table tr.cart-subtotal,
table.shop_table.woocommerce-checkout-review-order-table tr.order-total,
.wc-block-components-product-price,
.wc-block-components-totals-wrapper {
	display: none !important;
}
.woocommerce-product-gallery img { margin-left: auto; margin-right: auto; }

/* Shop archives: pull the result count + sorting ~14px closer to the page heading */
.woocommerce-products-header .page-title,
.woocommerce-products-header__title.page-title { margin-bottom: 10px; }

/* Logo ~30px wider than before (102px -> 132px); mobile keeps a compact header */
@media (max-width: 900px) {
	:root { --pl-header-h: 60px; }
	.pl-logo img { width: 102px; }
}

/* ---------- Shop cards: flush full-width image, no top gap, no button ---------- */
.woocommerce.woocommerce ul.products[class*="columns-"] li.product:not(.product-category) { padding: 0 0 16px; }
.woocommerce ul.products li.product:not(.product-category) a.woocommerce-LoopProduct-link { display: block; }
.woocommerce ul.products li.product:not(.product-category) a img { display: block; width: 100%; height: auto; margin: 0 0 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 12px; }

/* ---------- Pagination (live look: round numbers, accent when current) ---------- */
.woocommerce nav.woocommerce-pagination { margin: 40px 0 20px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul.page-numbers {
	display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px;
	border: 0; margin: 0; padding: 0; list-style: none;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li { border: 0; float: none; margin: 0; padding: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers {
	display: flex; align-items: center; justify-content: center; box-sizing: border-box;
	width: 56px; height: 56px; min-width: 0; padding: 0; margin: 0; border-radius: 50%;
	background: transparent; color: var(--pl-text); font-size: 19.2px; line-height: 1;
	box-shadow: inset 0 0 0 2px var(--pl-border); transition: background .2s, color .2s, box-shadow .2s;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:focus {
	background: var(--pl-accent); color: #fff; box-shadow: none;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers.current {
	background: var(--pl-accent); color: #fff; box-shadow: none;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers.dots { box-shadow: none; width: 30px; }
@media (max-width: 600px) {
	.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers { width: 44px; height: 44px; font-size: 16px; }
}

/* Square, evenly sized card images like the live site */
.woocommerce ul.products li.product:not(.product-category) a img { aspect-ratio: 1 / 1; object-fit: cover; }

/* =====================================================================
   Usability + feel pass (shop listings)
   ===================================================================== */

/* Cards: lift on hover, image zoom, clear click target */
.woocommerce ul.products li.product:not(.product-category) {
	position: relative; overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
	animation: pl-rise .45s ease both;
}
.woocommerce ul.products li.product:not(.product-category):hover,
.woocommerce ul.products li.product:not(.product-category):focus-within {
	transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.woocommerce ul.products li.product:not(.product-category) a img { transition: transform .4s ease; }
.woocommerce ul.products li.product:not(.product-category):hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product:not(.product-category) .woocommerce-loop-product__title { transition: color .2s; }
.woocommerce ul.products li.product:not(.product-category):hover .woocommerce-loop-product__title { color: var(--pl-accent); }
.pl-card-cta {
	margin-top: auto; padding: 0 12px; font-size: 14px; color: var(--pl-accent);
	opacity: .85; transition: opacity .2s, letter-spacing .2s;
}
.pl-card-cta span { display: inline-block; transition: transform .2s; }
li.product:hover .pl-card-cta, .pl-card-cta:focus { opacity: 1; }
li.product:hover .pl-card-cta span { transform: translateX(4px); }
/* stretch the title link over the whole card so any click opens the product */
.woocommerce ul.products li.product:not(.product-category) .woocommerce-LoopProduct-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pl-card-cta { position: relative; z-index: 2; }
@keyframes pl-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.woocommerce ul.products li.product:nth-child(4n+2) { animation-delay: .05s; }
.woocommerce ul.products li.product:nth-child(4n+3) { animation-delay: .1s; }
.woocommerce ul.products li.product:nth-child(4n+4) { animation-delay: .15s; }

/* Keyboard + accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--pl-accent); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.woocommerce ul.products li.product { animation: none !important; transition: none !important; }
	.woocommerce ul.products li.product:hover { transform: none; }
}

/* Sidebar: sticky, active category highlighted, roomier tap targets */
@media (min-width: 901px) {
	.pl-sidebar { position: sticky; top: calc(var(--pl-header-h) + 20px); align-self: start; }
	body.admin-bar .pl-sidebar { top: calc(var(--pl-header-h) + 52px); }
}
.pl-sidebar li { margin-bottom: 4px; }
.pl-sidebar li > a { display: inline-block; padding: 6px 0; }
.pl-sidebar li.current-cat > a, .pl-sidebar li.current-cat-parent > a { color: var(--pl-heading); font-weight: 700; }
.pl-sidebar li.current-cat > a::before { color: var(--pl-secondary); }
.pl-sidebar li > a:hover { color: var(--pl-secondary); }
.pl-sidebar ul.children { margin: 2px 0 6px 18px; }

/* Sort + count: easier to scan, sort control feels clickable */
.woocommerce-ordering select { cursor: pointer; transition: box-shadow .2s; }
.woocommerce-ordering select:hover, .woocommerce-ordering select:focus { box-shadow: inset 0 -2px 0 var(--pl-accent); }

/* Pagination: slight lift */
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover { transform: translateY(-2px); }
.woocommerce nav.woocommerce-pagination ul.page-numbers li .page-numbers { transition: background .2s, color .2s, box-shadow .2s, transform .2s; }

/* Back to top */
.pl-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 46px; height: 46px; border: 0; border-radius: 50%;
	background: var(--pl-accent); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.pl-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.pl-top:hover { background: var(--pl-accent-dark); color: #fff; }

/* Mobile: categories first as a swipeable chip row, bigger touch targets */
@media (max-width: 900px) {
	.pl-wrap--shop { display: flex; flex-direction: column; gap: 20px; padding-top: 30px; }
	.pl-wrap--shop .pl-sidebar { order: -1; }
	.pl-sidebar .widget-title { font-size: 18px; margin-bottom: 10px; }
	.pl-sidebar .product-categories { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
	.pl-sidebar .product-categories > li { flex: none; margin: 0; scroll-snap-align: start; }
	.pl-sidebar .product-categories > li > a { background: #fff; padding: 10px 16px; border-radius: 999px; white-space: nowrap; font-size: 15px; }
	.pl-sidebar .product-categories > li > a::before { display: none; }
	.pl-sidebar .product-categories > li.current-cat > a { background: var(--pl-accent); color: #fff; }
	.pl-sidebar .product-categories ul.children { display: none; }
	.woocommerce-ordering, .woocommerce-ordering select { width: 100%; float: none; }
	.pl-top { right: 14px; bottom: 14px; }
}

@media (max-width: 600px) {
	h1, .woocommerce .page-title, .woocommerce div.product .product_title { font-size: 34px; }
	h2 { font-size: 26px; }
	.pl-sidebar .count { font-size: 13px; }
}

/* =====================================================================
   Mobile + tablet + homepage pass
   ===================================================================== */

/* Anchor links land below the fixed header */
html { scroll-padding-top: calc(var(--pl-header-h) + 8px); }
[id] { scroll-margin-top: calc(var(--pl-header-h) + 8px); }

/* Hero: true full-screen on phones (svh ignores the collapsing browser bar) */
.pl-hero { min-height: calc(100vh - var(--pl-header-h)) !important; }
@supports (height: 100svh) { .pl-hero { min-height: calc(100svh - var(--pl-header-h)) !important; } }
.pl-hero h1, .pl-hero .elementor-heading-title { text-shadow: 0 2px 12px rgba(0, 0, 0, .45); font-size: clamp(34px, 7vw, 56px); line-height: 1.2; text-align: center; }
.pl-hero { background-position: 60% center; }
.pl-hero .pl-hero-cta .elementor-button { min-height: 52px; padding: 14px 32px; font-size: 17px; }
.pl-hero .pl-hero-down .elementor-button { min-width: 56px; min-height: 48px; animation: pl-bob 2s ease-in-out infinite; }
@keyframes pl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .pl-hero .pl-hero-down .elementor-button { animation: none; } }

/* Buttons: comfortable touch size + clear hover/focus */
.elementor-button { transition: background .2s, transform .2s; }
.elementor-button:hover { transform: translateY(-1px); }
.elementor-widget-button .elementor-button { min-height: 48px; }

/* Home body copy: comfortable measure + spacing */
.elementor-widget-text-editor p { line-height: 1.7; }
.elementor-widget-text-editor { max-width: 68ch; }

/* Who We Are images: side by side on small screens instead of one tall stack */
@media (max-width: 900px) {
	.pl-who-images { flex-direction: row !important; align-items: center; justify-content: center; }
	.pl-who-images .elementor-widget-image { flex: 1 1 0; max-width: 50%; }
	.pl-who-images img { max-height: 140px; width: auto; max-width: 100%; margin: 0 auto; }
}

/* iOS/Android ignore fixed backgrounds (blurry/zoomed) */
@media (max-width: 1024px) {
	.pl-parallax { background-attachment: scroll !important; }
}

/* Tablet: sensible grids between phone and desktop */
@media (min-width: 601px) and (max-width: 900px) {
	.woocommerce ul.products.columns-6 { grid-template-columns: repeat(3, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); } /* featured: 4 items, no orphan */
}
@media (min-width: 901px) and (max-width: 1100px) {
	.woocommerce ul.products.columns-6 { grid-template-columns: repeat(3, 1fr); }
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title { font-size: clamp(16px, 2.2vw, 22.4px); }
.woocommerce ul.products li.product-category .count { display: block; font-size: .8em; opacity: .9; margin-top: 4px; }

/* Header + footer touch targets (>= 44px) */
@media (max-width: 900px) {
	.pl-header__btn { width: 44px; }
	.pl-nav > ul > li { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; }
	.pl-nav > ul > li > a { flex: 1 1 auto; min-height: 48px; display: flex; align-items: center; }
	.pl-sub-toggle {
		flex: 0 0 52px; background: transparent; border: 0; border-bottom: 1px solid var(--pl-border); color: var(--pl-text);
		font-size: 18px; cursor: pointer; transition: transform .2s, color .2s; padding: 0;
	}
	.pl-nav li.is-open > .pl-sub-toggle { transform: rotate(180deg); color: var(--pl-accent); }
	.pl-nav .sub-menu { display: none; flex: 0 0 100%; background: var(--pl-alt); }
	.pl-nav li.is-open > .sub-menu { display: flex; }
	.pl-nav .sub-menu a { padding: 14px 20px 14px 36px; min-height: 44px; }
	.pl-footer__item a { display: inline-block; padding: 10px 0; }
	.pl-footer__form label { align-items: flex-start; padding: 4px 0; }
	.pl-footer__form input[type=checkbox] { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--pl-accent); }
	.pl-footer__form button { width: 100%; min-height: 50px; }
	.pl-footer__map iframe { min-height: 260px; }
	.pl-footer__top { padding: 36px 20px; }
	.pl-social { width: 48px; height: 48px; }
}
@media (min-width: 901px) { .pl-sub-toggle { display: none; } }
/* 16px inputs stop iOS Safari zooming on focus */
input[type=text], input[type=email], input[type=search], input[type=tel], input[type=number], select, textarea { font-size: 16px; }

@media (max-width: 900px) {
	.pl-sub-toggle { align-self: stretch; min-height: 48px; height: auto; display: flex; align-items: center; justify-content: center; line-height: 1; }
}

/* Small-control tap targets + redundant breadcrumb on phones */
.woocommerce form .form-row input[type=checkbox], .woocommerce-form__input-checkbox, input[type=checkbox] { accent-color: var(--pl-accent); }
@media (max-width: 900px) {
	.woocommerce div.product .woocommerce-breadcrumb { display: none; } /* title bar already shows the trail */
	.pl-breadcrumbs a { display: inline-block; padding: 8px 0; }
	.woocommerce div.product .product_meta a { display: inline-block; padding: 8px 4px; }
	.woocommerce-form-login .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; }
	.woocommerce-form__input-checkbox { width: 22px; height: 22px; }
	.woocommerce .lost_password a, .woocommerce-LostPassword a { display: inline-block; padding: 10px 0; }
	.woocommerce .show-password-input { width: 44px; height: 44px; }
	.pl-footer__bottom a:not(.pl-social) { display: inline-block; padding: 10px 6px; }
	.woocommerce div.product form.cart { display: flex; gap: 10px; }
	.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; min-height: 50px; }
	.woocommerce .quantity .qty { min-height: 50px; }
}

/* =====================================================================
   Enquiry / conversion elements
   ===================================================================== */
.pl-btn { display: inline-block; background: var(--pl-accent); color: #fff; border: 0; border-radius: 0; padding: 14px 29px; font: inherit; font-size: 16px; line-height: 1.2; text-align: center; cursor: pointer; transition: background .2s, transform .2s; }
.pl-btn:hover, .pl-btn:focus { background: var(--pl-accent-dark); color: #fff; transform: translateY(-1px); }
.pl-btn--block { width: 100%; min-height: 52px; font-size: 17px; }
.pl-btn--ghost { background: transparent; color: var(--pl-accent); box-shadow: inset 0 0 0 2px var(--pl-accent); }
.pl-btn--ghost:hover { background: var(--pl-accent); color: #fff; }

/* Form */
.pl-form { text-align: left; }
.pl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .pl-form__row { grid-template-columns: 1fr; } }
.pl-field { margin: 0 0 14px; }
.pl-field label { display: block; font-size: 14px; margin-bottom: 5px; color: inherit; }
.pl-field label small { opacity: .7; }
.pl-form input[type=text], .pl-form input[type=email], .pl-form input[type=tel], .pl-form select, .pl-form textarea {
	width: 100%; box-sizing: border-box; padding: 13px 14px; background: var(--pl-alt); color: var(--pl-text);
	border: 2px solid transparent; border-radius: 0; font: inherit; font-size: 16px; min-height: 48px; transition: border-color .2s, background .2s;
}
.pl-form input:focus, .pl-form select:focus, .pl-form textarea:focus { border-color: var(--pl-accent); background: #fff; outline: none; }
.pl-consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; margin: 4px 0 16px; cursor: pointer; }
.pl-consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.pl-form__error { background: #fdecea; color: #8a1f17; border-left: 4px solid #d93025; padding: 12px 14px; margin-bottom: 16px; }
.pl-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Header CTA */
.pl-header-cta { display: inline-block; margin: 0 8px 0 4px; padding: 11px 20px; background: var(--pl-accent); color: #fff; font-size: 15px; line-height: 1.1; white-space: nowrap; transition: background .2s; }
.pl-header-cta:hover { background: var(--pl-accent-dark); color: #fff; }
@media (max-width: 1100px) { .pl-header-cta { padding: 10px 14px; font-size: 14px; } }
@media (max-width: 900px) { .pl-header-cta { display: none; } }

/* Sticky mobile action bar */
.pl-cta-bar { display: none; }
@media (max-width: 900px) {
	.pl-cta-bar {
		display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
		background: #fff; box-shadow: 0 -2px 12px rgba(0, 0, 0, .15); padding-bottom: env(safe-area-inset-bottom);
	}
	.pl-cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-size: 16px; }
	.pl-cta-bar__call { color: var(--pl-text); background: #fff; }
	.pl-cta-bar__quote { background: var(--pl-accent); color: #fff; font-weight: 700; }
	body { padding-bottom: 56px; }
	.pl-top { bottom: 70px; }
}

/* CTA band (shop listings, empty basket) */
.pl-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--pl-accent); color: #fff; padding: 28px 32px; margin: 30px 0; }
.pl-cta-band h3 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.pl-cta-band p { margin: 0; }
.pl-cta-band .pl-btn { background: #fff; color: var(--pl-accent-dark); font-weight: 700; flex: none; }
.pl-cta-band .pl-btn:hover { background: var(--pl-heading); color: #fff; }
@media (max-width: 700px) { .pl-cta-band { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; } .pl-cta-band .pl-btn { width: 100%; } }

/* Product page enquiry card */
.pl-product-enquiry { background: #fff; padding: 22px; margin-top: 28px; border-top: 3px solid var(--pl-accent); clear: both; }
.pl-product-enquiry h3 { margin: 0 0 8px; font-size: 22px; }
.pl-product-enquiry > p { font-size: 15px; margin-bottom: 16px; }

/* Request-a-quote page */
.pl-quote { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; max-width: var(--pl-width); margin: 0 auto; padding: 50px 20px; }
.pl-quote__form { background: #fff; padding: 32px; }
.pl-quote__form h2 { margin-bottom: 8px; }
.pl-quote__side h3 { font-size: 22px; margin-top: 0; }
.pl-ticks { list-style: none; margin: 0 0 28px; padding: 0; }
.pl-ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; line-height: 1.5; }
.pl-ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--pl-accent); font-weight: 700; }
.pl-quote__direct { display: flex; flex-direction: column; gap: 10px; }
.pl-quote__direct a, .pl-quote__direct span { display: inline-flex; gap: 10px; align-items: center; }
.pl-quote__call { font-size: 22px; font-weight: 700; }
@media (max-width: 900px) { .pl-quote { grid-template-columns: 1fr; padding: 28px 16px; gap: 24px; } .pl-quote__form { padding: 22px 18px; } .pl-quote__side { order: 2; } }
.pl-thanks { max-width: 720px; margin: 0 auto; padding: 60px 20px; text-align: center; }
.pl-thanks__links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer variant */
.pl-footer__form h4 { color: #fff; font-size: 20px; margin: 10px 0 14px; }
.pl-footer__form .pl-form label { color: #ddd; }
.pl-footer__form .pl-consent span { color: #bbb; }
.pl-footer__form .pl-form__row { grid-template-columns: 1fr; }
.pl-footer__form textarea { min-height: 110px; }
.pl-footer__form .pl-field:nth-of-type(n) small { display: none; }
.pl-footer__form button, .pl-footer__form .pl-btn { width: 100%; }

/* Home enquiry band (inside Elementor) */
.pl-home-enquiry { background: var(--pl-accent); }
.pl-home-enquiry, .pl-home-enquiry .elementor-heading-title, .pl-home-enquiry p, .pl-home-enquiry li { color: #fff !important; }
.pl-home-enquiry .pl-form { background: #fff; padding: 26px; color: var(--pl-text); }
.pl-home-enquiry .pl-form label, .pl-home-enquiry .pl-form span, .pl-home-enquiry .pl-form small { color: var(--pl-text) !important; }
.pl-home-enquiry .pl-btn { background: var(--pl-heading); }
.pl-home-enquiry .pl-btn:hover { background: #000; }
.pl-home-enquiry a { color: #fff; text-decoration: underline; }
.pl-home-enquiry .pl-ticks li::before { color: #fff; }

/* Hero button row */
.pl-hero-btns { width: auto; }
.pl-hero .pl-hero-cta--ghost .elementor-button { background-color: rgba(0, 0, 0, .25); }
@media (max-width: 600px) {
	.pl-hero-btns { flex-direction: column; width: 100%; max-width: 320px; }
	.pl-hero-btns .elementor-widget-button, .pl-hero-btns .elementor-button { width: 100%; }
}

/* Elementor's kit sets `.elementor-kit-NNNN a { color }`; out-rank it for link-styled controls */
body .pl-btn, body .pl-btn:hover, body .pl-btn:focus,
body .pl-header-cta, body .pl-header-cta:hover,
body .pl-cta-bar__quote, body .pl-cta-band .pl-btn { color: #fff; }
body .pl-btn--ghost { color: var(--pl-accent); }
body .pl-btn--ghost:hover { color: #fff; }
body .pl-cta-band .pl-btn { color: var(--pl-accent-dark); }
body .pl-cta-band .pl-btn:hover { color: #fff; }
body .pl-cta-bar__call { color: var(--pl-text); }
body .pl-phone { color: var(--pl-text); }
body .pl-phone:hover { color: var(--pl-accent); }
body .pl-nav > ul > li > a, body .pl-nav .sub-menu a { color: var(--pl-text); }
body .pl-nav > ul > li > a:hover, body .pl-nav > ul > li.current-menu-item > a,
body .pl-nav > ul > li.current-menu-ancestor > a, body .pl-nav > ul > li.current_page_item > a { color: var(--pl-accent); }
body .pl-nav .sub-menu a:hover { color: #fff; }
body .pl-footer a { color: #ccc; }
body .pl-footer a:hover { color: var(--pl-secondary); }
body .pl-footer .pl-btn, body .pl-footer button { color: #fff; }
body .pl-social { color: #fff; }
body .pl-home-enquiry a { color: #fff; }
body .pl-home-enquiry .pl-btn { color: #fff; }
body .pl-breadcrumbs a { color: #fff; }

/* Hello's page title duplicates our headings on the enquiry pages */
body.page-template-default.page-id-4456 .page-header,
body.page-id-4457 .page-header,
body.page-id-4456 .page-header { display: none; }

/* Cart: prices stay hidden but the checkout button must stay visible and obvious */
.cart_totals { display: block !important; float: none; width: 100%; }
.wc-proceed-to-checkout { padding: 0; margin-top: 20px; }
.wc-proceed-to-checkout a.checkout-button { display: block; width: 100%; box-sizing: border-box; font-size: 17px; padding: 16px; }
.woocommerce-cart .cart-collaterals { display: block; }

/* Quote-only: drop the empty price columns from the basket + checkout review tables */
.woocommerce-cart-form th.product-price, .woocommerce-cart-form td.product-price,
.woocommerce-cart-form th.product-subtotal, .woocommerce-cart-form td.product-subtotal,
.woocommerce-checkout-review-order-table th.product-total, .woocommerce-checkout-review-order-table td.product-total { display: none; }

/* ---------- Quote switch (Home content is built in Elementor, so hide by body class) ---------- */
body.pl-quote-off .pl-home-enquiry,
body.pl-quote-off .pl-hero-cta:not(.pl-hero-cta--ghost) { display: none !important; }
body.pl-quote-off .pl-hero-cta--ghost .elementor-button { background-color: var(--pl-accent); box-shadow: none; border-color: var(--pl-accent); }

/* ---------- WhatsApp ---------- */
.pl-icon--wa { width: 1.3em; height: 1.3em; }
.pl-wa {
	position: fixed; right: 20px; bottom: 20px; z-index: 940; display: inline-flex; align-items: center; gap: 10px;
	background: #25D366; color: #fff; padding: 12px 20px 12px 14px; border-radius: 999px; font-size: 15px; line-height: 1;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: transform .2s, box-shadow .2s;
}
body .pl-wa, body .pl-wa:hover { color: #fff; }
.pl-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.pl-wa .pl-icon { font-size: 26px; }
.pl-has-wa .pl-top { right: 20px; bottom: 82px; }
.pl-wa-inline { margin: 14px 0 0; }
.pl-wa-inline a { display: inline-flex; align-items: center; gap: 8px; color: #128C7E; }
.pl-wa-inline .pl-icon--wa path:first-child { fill: #25D366; }
.pl-wa-inline .pl-icon--wa g path { fill: #fff; }
@media (max-width: 900px) {
	.pl-wa { display: none; }
	.pl-cta-bar { display: flex; }
	.pl-cta-bar a { flex: 1; }
	.pl-cta-bar__quote { flex: 1.4; }
	.pl-cta-bar__wa { background: #25D366; color: #fff; }
	body .pl-cta-bar__wa { color: #fff; }
	.pl-has-wa .pl-top { right: 14px; bottom: 70px; }
}

/* ---------- Legal pages + footer legal links ---------- */
.pl-legal-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; margin: 0 0 14px; font-size: 14px; }
.pl-legal-links a { padding: 8px 2px; }
.pl-legal-links span { opacity: .5; }
@media (max-width: 900px) { .pl-legal-links a { padding: 12px 4px; } }

body.pl-legal .site-main, body.pl-legal #content > .page-content, body.pl-legal main#content { max-width: 880px; margin: 0 auto; }
body.pl-legal .page-header, body.pl-legal .entry-header { max-width: 880px; margin: 0 auto; padding: 50px 24px 0; }
body.pl-legal .page-content, body.pl-legal .entry-content {
	background: #fff; max-width: 880px; margin: 24px auto 60px; padding: 40px 44px; line-height: 1.7;
}
body.pl-legal .page-content h2 { font-size: 26px; margin: 36px 0 12px; }
body.pl-legal .page-content h2:first-child { margin-top: 0; }
body.pl-legal .page-content h3 { font-size: 20px; margin: 24px 0 8px; }
body.pl-legal .page-content ul { margin: 0 0 24px 1.2em; padding: 0; }
body.pl-legal .page-content li { margin-bottom: 6px; }
body.pl-legal .page-content a { text-decoration: underline; }
.pl-legal-updated { color: var(--pl-faded); margin-bottom: 24px; }
@media (max-width: 700px) { body.pl-legal .page-content, body.pl-legal .entry-content { padding: 24px 18px; margin: 16px 12px 40px; } }

/* ---------- Contact Us page ---------- */
.pl-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; max-width: var(--pl-width); margin: 0 auto; padding: 24px 20px 70px; align-items: start; }
.pl-contact__main { background: #fff; padding: 32px; }
.pl-contact__main h2 { margin-bottom: 8px; }
.pl-contact__list { list-style: none; margin: 20px 0 28px; padding: 0; }
.pl-contact__list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.pl-contact__list .pl-icon { font-size: 20px; margin-top: 4px; color: var(--pl-accent); }
.pl-contact__list a { padding: 2px 0; }
.pl-contact__form h3 { font-size: 22px; margin: 8px 0 14px; }
.pl-contact__map { position: sticky; top: calc(var(--pl-header-h) + 20px); }
.pl-contact__map iframe { width: 100%; height: 480px; border: 0; display: block; }
@media (max-width: 900px) {
	.pl-contact { grid-template-columns: 1fr; padding: 16px 16px 56px; gap: 24px; }
	.pl-contact__main { padding: 22px 18px; }
	.pl-contact__map { position: static; order: 2; }
	.pl-contact__map iframe { height: 300px; }
	.pl-contact__list a { padding: 8px 0; }
}

/* Breathing room above the footer on text pages (policies + contact) */
body.pl-legal .page-content, body.pl-legal .entry-content { margin-bottom: 0; }

/* Contact Us in the header nav reads as a normal item; keep the page title tidy */
body.pl-page-contact-us .page-header { max-width: var(--pl-width); margin: 0 auto; padding: 40px 20px 0; }

/* Hello caps page content at 800px; the contact / quote pages use the full site width */
body.pl-page-contact-us main#content, body.pl-page-contact-us .page-content, body.pl-page-contact-us .site-main,
body.pl-page-request-a-quote main#content, body.pl-page-request-a-quote .page-content, body.pl-page-request-a-quote .site-main { max-width: var(--pl-width) !important; width: 100%; margin-left: auto; margin-right: auto; }

/* Align the page title with the content card on the full-width pages */
body.pl-page-contact-us .page-header .entry-title, body.pl-page-request-a-quote .page-header .entry-title { max-width: none; margin-left: 0; margin-right: 0; }
body.pl-page-contact-us .page-header, body.pl-page-request-a-quote .page-header { max-width: var(--pl-width); margin: 0 auto; padding: 40px 20px 0; }

/* Final spacing above the footer on policy + contact pages (Hello already adds ~80px below content) */
body.pl-legal main#content, body.pl-page-contact-us main#content { padding-bottom: 64px; }
@media (max-width: 700px) { body.pl-legal main#content, body.pl-page-contact-us main#content { padding-bottom: 40px; } }

/* ---------- Footer bottom bar: tidy, compact, no agency credit ---------- */
.pl-footer__bottom { padding: 26px 20px 30px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pl-footer__top + .pl-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.pl-footer__bottom .pl-social { margin: 0; }
.pl-footer__bottom .pl-legal-links { margin: 0; }
.pl-footer__bottom .pl-copy { margin: 4px 0 0; font-size: 13px; color: #9aa0a6; letter-spacing: .01em; }
@media (max-width: 900px) {
	.pl-footer__bottom { padding: 22px 16px 26px; }
}

/* ---------- Product page: "Additional information" table ---------- */
body table.woocommerce-product-attributes { width: 100%; border-collapse: collapse; border-spacing: 0; border: 0; margin: 10px 0 24px; }
body table.woocommerce-product-attributes tr { background: transparent; }
body table.woocommerce-product-attributes th.woocommerce-product-attributes-item__label {
	width: 30%; min-width: 120px; background: var(--pl-accent); color: #fff;
	padding: 7px 20px; text-align: left; font-weight: 600; vertical-align: middle;
	border: 0; border-bottom: 1px solid rgba(255,255,255,.35); border-radius: 0;
}
body table.woocommerce-product-attributes td.woocommerce-product-attributes-item__value {
	background: #f6f8f6; color: #333; padding: 7px 20px 7px 28px; vertical-align: middle;
	border: 0; border-bottom: 1px solid #e2e7e2; border-radius: 0;
}
body table.woocommerce-product-attributes td.woocommerce-product-attributes-item__value p { margin: 0; }
@media (max-width: 600px) {
	body table.woocommerce-product-attributes th.woocommerce-product-attributes-item__label { width: 38%; min-width: 0; padding: 7px 14px; }
	body table.woocommerce-product-attributes td.woocommerce-product-attributes-item__value { padding: 7px 14px 7px 18px; }
}
/* beat the zebra striping the parent theme/Woo applies to even rows */
body table.woocommerce-product-attributes tbody tr:nth-child(n) th.woocommerce-product-attributes-item__label { background: var(--pl-accent); color: #fff; }
body table.woocommerce-product-attributes tbody tr:nth-child(n) td.woocommerce-product-attributes-item__value { background: #f6f8f6; color: #333; }

/* ======================================================================
   Single product page: brighter, clearer layout
   ====================================================================== */
html body.single-product, html body.single-product .pl-main-content { background: #fff; }

/* gallery: clean white card instead of a faded grey block */
body.single-product div.product div.images {
	background: #fff; border: 1px solid #e6ebe6; border-radius: 10px; padding: 14px;
	box-shadow: 0 6px 24px rgba(30, 60, 30, .08); margin-bottom: 30px;
}
body.single-product div.product div.images img { border-radius: 6px; }
body.single-product div.product .woocommerce-product-gallery { opacity: 1 !important; }

/* title + short description */
body.single-product div.product .product_title { font-size: 38px; line-height: 1.2; margin: 0 0 14px; padding-bottom: 14px; position: relative; }
body.single-product div.product .product_title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--pl-accent); }
body.single-product div.product .woocommerce-product-details__short-description { font-size: 17px; line-height: 1.65; color: #444; margin: 16px 0 22px; }

/* add-to-quote row: bigger, easier to hit */
body.single-product div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0 0 18px; }
body.single-product div.product form.cart .quantity input.qty { height: 100%; min-height: 52px; width: 72px; border: 1px solid #cfd8cf; border-radius: 6px; background: #fff; text-align: center; font-size: 17px; }
body.single-product div.product form.cart .single_add_to_cart_button {
	flex: 1 1 220px; min-height: 52px; font-size: 17px; font-weight: 600; border-radius: 6px;
	box-shadow: 0 4px 14px rgba(76, 175, 80, .35); transition: transform .15s, box-shadow .15s, background-color .15s;
}
body.single-product div.product form.cart .single_add_to_cart_button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(76, 175, 80, .45); }

/* meta (category, SKU) as a quiet row */
body.single-product div.product .product_meta { border-top: 1px solid #e6ebe6; padding-top: 14px; color: #666; }

/* tabs: clear active state, content on a white card */
body.single-product div.product .woocommerce-tabs ul.tabs { border-bottom: 2px solid #e6ebe6; margin-bottom: 0; }
body.single-product div.product .woocommerce-tabs ul.tabs li a { padding: 14px 24px; font-weight: 600; border-top: 0; border-radius: 8px 8px 0 0; color: #555; }
body.single-product div.product .woocommerce-tabs ul.tabs li.active a { background: var(--pl-accent); color: #fff; }
body.single-product div.product .woocommerce-tabs ul.tabs li:not(.active) a:hover { background: #f1f8f1; color: var(--pl-accent-dark); }
body.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel { background: #fff; border: 1px solid #e6ebe6; border-top: 0; border-radius: 0 0 8px 8px; padding: 22px 24px 8px; margin: 0 0 40px; }
body.single-product div.product .woocommerce-Tabs-panel > h2:first-child { display: none; } /* the tab already says it */
body.single-product table.woocommerce-product-attributes { margin-top: 0; }

/* related products: friendlier heading and cards */
body.single-product div.product .related > h2, body.single-product div.product .upsells > h2 { font-size: 26px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
body.single-product div.product .related > h2::after, body.single-product div.product .upsells > h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--pl-accent); }
body.single-product .related ul.products li.product { background: #fff; border: 1px solid #e6ebe6; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(30, 60, 30, .06); transition: transform .18s, box-shadow .18s; }
body.single-product .related ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(30, 60, 30, .14); }

@media (max-width: 782px) {
	body.single-product div.product .product_title { font-size: 30px; }
	body.single-product div.product div.images { padding: 8px; }
	body.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel { padding: 16px 14px 4px; }
	body.single-product div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px; }
}

/* Mobile: each attribute is a full-width green label with its value underneath */
@media (max-width: 600px) {
	body table.woocommerce-product-attributes, body table.woocommerce-product-attributes tbody { display: block; width: 100%; }
	body table.woocommerce-product-attributes tr { display: block; width: 100%; margin: 0 0 10px; }
	body table.woocommerce-product-attributes th.woocommerce-product-attributes-item__label,
	body table.woocommerce-product-attributes td.woocommerce-product-attributes-item__value { display: block; width: 100%; min-width: 0; box-sizing: border-box; }
	body table.woocommerce-product-attributes th.woocommerce-product-attributes-item__label { padding: 8px 14px; border-bottom: 0; border-radius: 4px 4px 0 0; }
	body table.woocommerce-product-attributes td.woocommerce-product-attributes-item__value { padding: 9px 14px; border-bottom: 0; border-radius: 0 0 4px 4px; }
}

/* ======================================================================
   404 page
   ====================================================================== */
.pl-404 { background: #fff; padding: 70px 20px 90px; text-align: center; }
.pl-404__inner { max-width: 760px; margin: 0 auto; }
.pl-404__code { font-size: 130px; line-height: 1; font-weight: 700; color: var(--pl-accent); letter-spacing: 6px; margin-bottom: 26px; }
.pl-404__code span { display: inline-block; width: 100px; height: 100px; line-height: 100px; border-radius: 50%; background: #f1f8f1; border: 6px solid var(--pl-accent); font-size: 70px; vertical-align: middle; margin: 0 6px; }
.pl-404__title { font-size: 38px; line-height: 1.2; margin: 0 0 14px; }
.pl-404__lead { font-size: 18px; color: #555; margin: 0 auto 28px; max-width: 560px; }
.pl-404__search { display: flex; max-width: 520px; margin: 0 auto 26px; border: 2px solid var(--pl-accent); border-radius: 8px; overflow: hidden; background: #fff; }
.pl-404__search input[type=search] { flex: 1; border: 0; padding: 14px 16px; font: inherit; font-size: 17px; min-width: 0; background: #fff; border-radius: 0; }
.pl-404__search button { border: 0; background: var(--pl-accent); color: #fff; padding: 0 26px; font: inherit; font-weight: 600; cursor: pointer; border-radius: 0; }
.pl-404__search button:hover { background: var(--pl-accent-dark); }
.pl-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
body .pl-404 .pl-btn { display: inline-block; background: var(--pl-accent); color: #fff; padding: 13px 28px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid var(--pl-accent); }
body .pl-404 .pl-btn:hover { background: var(--pl-accent-dark); border-color: var(--pl-accent-dark); color: #fff; }
body .pl-404 .pl-btn--ghost { background: #fff; color: var(--pl-accent-dark); }
body .pl-404 .pl-btn--ghost:hover { background: #f1f8f1; color: var(--pl-accent-dark); border-color: var(--pl-accent); }
.pl-404__cats { border-top: 1px solid #e6ebe6; padding-top: 28px; margin-bottom: 30px; }
.pl-404__cats h2 { font-size: 20px; margin: 0 0 16px; }
.pl-404__cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
body .pl-404__cats a { display: inline-block; padding: 9px 18px; border-radius: 999px; background: #f1f8f1; color: #2e7d32; border: 1px solid #d8ead8; text-decoration: none; font-weight: 600; }
body .pl-404__cats a:hover { background: var(--pl-accent); color: #fff; border-color: var(--pl-accent); }
.pl-404__call { color: #555; margin: 0; }
.pl-404__call .pl-icon { color: var(--pl-accent); margin-right: 6px; }
body .pl-404__call a { color: #2e7d32; font-weight: 600; }
@media (max-width: 600px) {
	.pl-404 { padding: 40px 16px 70px; }
	.pl-404__code { font-size: 84px; letter-spacing: 3px; }
	.pl-404__code span { width: 66px; height: 66px; line-height: 66px; border-width: 5px; font-size: 44px; }
	.pl-404__title { font-size: 28px; }
	.pl-404__lead { font-size: 16px; }
	.pl-404__actions { flex-direction: column; }
	body .pl-404 .pl-btn { width: 100%; box-sizing: border-box; padding: 14px 20px; }
}

/* ======================================================================
   Shop filters (Material / Size / Finish)
   ====================================================================== */
.pl-sidebar .pl-filters { margin-top: 8px; }
.pl-filters__toggle { display: none; list-style: none; cursor: pointer; }
.pl-filters__toggle::-webkit-details-marker { display: none; }
.pl-filters__badge { display: inline-block; min-width: 22px; padding: 0 7px; margin-left: 8px; border-radius: 11px; background: var(--pl-accent); color: #fff; font-size: 13px; line-height: 22px; text-align: center; }
.pl-sidebar .pl-filter { margin-bottom: 26px; }
.pl-sidebar .pl-filter .widget-title { font-size: 20px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid #e1e8e1; }
.pl-sidebar .pl-filter li { margin: 0; }
.pl-sidebar .pl-filter li a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; color: #333; }
.pl-sidebar .pl-filter li a::before { content: ""; flex: none; width: 18px; height: 18px; margin: 0; border: 2px solid #b9c9b9; border-radius: 4px; background: #fff; box-sizing: border-box; }
.pl-sidebar .pl-filter li:hover a::before { border-color: var(--pl-accent); }
.pl-sidebar .pl-filter li.chosen a { font-weight: 700; color: #2e7d32; }
.pl-sidebar .pl-filter li.chosen a::before { content: "\2713"; background: var(--pl-accent); border-color: var(--pl-accent); color: #fff; font-size: 13px; line-height: 14px; text-align: center; }
.pl-sidebar .pl-filter li .count { margin-left: 4px; font-size: 14px; }
/* active filter chips */
.pl-sidebar .pl-active-filters { margin-bottom: 22px; }
.pl-sidebar .pl-active-filters ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-sidebar .pl-active-filters li { margin: 0; }
.pl-sidebar .pl-active-filters li a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--pl-accent); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.pl-sidebar .pl-active-filters li a::before { content: "\00d7"; margin: 0; color: #fff; font-size: 18px; line-height: 1; order: 2; }
.pl-sidebar .pl-active-filters li a:hover { background: var(--pl-accent-dark); color: #fff; }
@media (min-width: 901px) {
	.pl-sidebar { max-height: calc(100vh - var(--pl-header-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
}
@media (max-width: 900px) {
	.pl-filters[open]	.pl-sidebar .pl-filter li a { padding: 9px 0; }
	.pl-sidebar .pl-active-filters ul { display: flex; overflow: visible; }
}

/* product page: guide links under the attributes */
.pl-guide-links { margin: 6px 0 14px; color: #555; font-size: 15px; }
body .pl-guide-links a { color: #2e7d32; font-weight: 600; text-decoration: underline; }

/* ======================================================================
   Guide pages (Materials Guide, Care Guide)
   ====================================================================== */
body.pl-guide .pl-guide__lead { font-size: 20px; line-height: 1.6; color: #444; margin-bottom: 8px; }
body.pl-guide .page-content h2 { position: relative; padding-bottom: 12px; margin-top: 44px; }
body.pl-guide .page-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--pl-accent); }
body.pl-guide .page-content h3 { color: #2e7d32; font-size: 17px; margin: 0 0 6px; }
body.pl-guide .pl-guide__cols { gap: 18px; margin: 8px 0 14px; }
body.pl-guide .pl-guide__cols .wp-block-column { background: #f6f8f6; border: 1px solid #e2e9e2; border-radius: 8px; padding: 16px 18px 6px; }
body.pl-guide .pl-guide__cols ul { margin-bottom: 10px; }
body.pl-guide .pl-guide__table table { width: 100%; border-collapse: collapse; font-size: 15px; }
body.pl-guide .pl-guide__table th { background: var(--pl-accent); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; border: 0; }
body.pl-guide .pl-guide__table td { padding: 10px 14px; border: 0; border-bottom: 1px solid #e2e9e2; vertical-align: top; background: #fff; }
body.pl-guide .pl-guide__table tbody tr:nth-child(even) td { background: #f6f8f6; }
body.pl-guide .pl-guide__btns { gap: 12px; margin-top: 18px; }
body.pl-guide .pl-guide__btns .wp-block-button__link { background: var(--pl-accent); color: #fff; border: 2px solid var(--pl-accent); border-radius: 6px; padding: 12px 26px; font-weight: 600; text-decoration: none; }
body.pl-guide .pl-guide__btns .is-style-outline .wp-block-button__link { background: #fff; color: #2e7d32; }
body.pl-guide .pl-guide__btns .wp-block-button__link:hover { background: var(--pl-accent-dark); border-color: var(--pl-accent-dark); color: #fff; }
@media (max-width: 700px) {
	body.pl-guide .pl-guide__lead { font-size: 18px; }
	body.pl-guide .pl-guide__table { overflow-x: auto; }
	body.pl-guide .pl-guide__table table { min-width: 560px; }
}

/* sidebar order: filters first on desktop; on phones keep range pills first, then the Filter toggle */
.pl-sidebar .pl-filters { margin: 0 0 8px; }
@media (max-width: 900px) {
	.pl-sidebar { display: flex; flex-direction: column; }
	.pl-sidebar > .pl-active-filters { order: 1; }
	.pl-sidebar > .widget_product_categories { order: 2; }
	.pl-sidebar > .pl-filters { order: 3; margin-top: 4px; }
}

/* ======================================================================
   Sidebar: categories + every filter share one green card style
   ====================================================================== */
.pl-sidebar .widget_product_categories .widget-title,
.pl-sidebar .pl-filter .widget-title,
.pl-sidebar .pl-active-filters .widget-title { font-size: 20px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--pl-accent); }

/* shared list-row look: dark text, green on hover/selected, light-green row highlight */
.pl-sidebar .product-categories li, .pl-sidebar .pl-filter li { margin: 0; }
body .pl-sidebar .product-categories li a, body .pl-sidebar .pl-filter li a { color: #333; border-radius: 6px; }
body .pl-sidebar .product-categories li a:hover, body .pl-sidebar .pl-filter li a:hover { color: #2e7d32; }
body .pl-sidebar .product-categories li.current-cat > a,
body .pl-sidebar .product-categories li.current-cat-parent > a,
body .pl-sidebar .pl-filter li.chosen a { color: #2e7d32; font-weight: 700; }
.pl-sidebar .product-categories .count, .pl-sidebar .pl-filter .count { color: #7a8a7a; font-size: 14px; }

@media (min-width: 901px) {
	/* each group is a white card with a green top edge */
	.pl-sidebar .pl-filter, .pl-sidebar .widget_product_categories, .pl-sidebar .pl-active-filters {
		background: #fff; border: 1px solid #dfe8df; border-top: 4px solid var(--pl-accent); border-radius: 8px;
		padding: 16px 18px 10px; margin: 0 0 18px; box-shadow: 0 2px 10px rgba(30, 60, 30, .06);
	}
	/* categories get the same tick-box markers as the filters */
	body .pl-sidebar .product-categories li a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; }
	body .pl-sidebar .product-categories li a::before {
		content: ""; flex: none; width: 18px; height: 18px; margin: 0; box-sizing: border-box;
		border: 2px solid #b9c9b9; border-radius: 4px; background: #fff;
	}
	body .pl-sidebar .product-categories li a:hover::before { border-color: var(--pl-accent); }
	body .pl-sidebar .product-categories li.current-cat > a::before,
	body .pl-sidebar .product-categories li.current-cat-parent > a::before {
		content: "\2713"; background: var(--pl-accent); border-color: var(--pl-accent); color: #fff; font-size: 13px; line-height: 14px; text-align: center;
	}
	.pl-sidebar .product-categories ul.children { margin: 2px 0 6px 28px; }
	.pl-sidebar .pl-active-filters ul { margin-bottom: 8px; }
}

@media (max-width: 900px) {
	/* phones: range pills get a green outline to match the chips and filter card */
	body .pl-sidebar .product-categories > li > a { border: 1.5px solid #cfe3cf; color: #2e7d32; }
	body .pl-sidebar .product-categories > li.current-cat > a { background: var(--pl-accent); border-color: var(--pl-accent); color: #fff; }
	.pl-sidebar .pl-active-filters .widget-title, .pl-sidebar .widget_product_categories .widget-title { border-bottom: 0; padding-bottom: 0; margin-bottom: 10px; }
	.pl-sidebar .pl-filter .widget-title { margin-top: 4px; }
}

/* keep each count on the same line as its label, even for long names */
@media (min-width: 901px) {
	.pl-sidebar .product-categories li, .pl-sidebar .pl-filter li { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 6px; }
	body .pl-sidebar .product-categories li > a, body .pl-sidebar .pl-filter li > a { flex: 1 1 0; min-width: 0; align-items: flex-start; }
	body .pl-sidebar .product-categories li > a::before, body .pl-sidebar .pl-filter li > a::before { margin-top: 2px; }
	.pl-sidebar .product-categories li > .count, .pl-sidebar .pl-filter li > .count { flex: none; padding-top: 8px; margin: 0; }
	.pl-sidebar .product-categories li > ul.children { flex: 0 0 100%; }
}

/* ======================================================================
   Filters: left-hand sidebar on desktop; full-screen panel on phones
   ====================================================================== */
.pl-filters-open, .pl-filters__head, .pl-filters__foot { display: none; }
@media (max-width: 900px) {
	.pl-filters-open {
		display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; order: 3;
		background: var(--pl-accent); color: #fff; border: 0; border-radius: 8px; padding: 14px 16px;
		font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(76, 175, 80, .35);
	}
	.pl-filters-open .pl-filters__badge { background: #fff; color: #2e7d32; margin: 0; }
	.pl-sidebar > .pl-filters { order: 4; margin: 0; }
	.pl-filters { display: none; }
	.pl-filters.is-open { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 100000; background: #fff; }
	.pl-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; border-bottom: 1px solid #e2e9e2; background: #fff; }
	.pl-filters__head h2 { margin: 0; font-size: 21px; }
	.pl-filters__close { width: 46px; height: 46px; border: 0; background: #f1f8f1; color: #2e7d32; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; padding: 0; }
	.pl-filters .pl-filters__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 18px 24px; background: #fff; border: 0; border-radius: 0; }
	.pl-filters__foot { display: flex; gap: 14px; align-items: center; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e2e9e2; background: #fff; box-shadow: 0 -4px 14px rgba(0, 0, 0, .06); }
	.pl-filters__apply { flex: 1; background: var(--pl-accent); color: #fff; border: 0; border-radius: 8px; padding: 15px; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
	body .pl-filters a.pl-filters__clear { color: #2e7d32; font-weight: 600; text-decoration: underline; white-space: nowrap; }
	.pl-filters .pl-filter { margin-bottom: 22px; }
	.pl-filters .pl-filter li a { padding: 11px 0; font-size: 17px; }
	.pl-filters .pl-filter li a::before { width: 22px; height: 22px; }
	html.pl-lock, html.pl-lock body { overflow: hidden; }
}

@media (max-width: 900px) {
	.pl-filters .pl-filter li { display: flex; align-items: center; gap: 8px; }
	.pl-filters .pl-filter li > a { flex: 0 1 auto; }
	.pl-filters .pl-filter li .count { padding: 0; margin: 0; }
}

/* sub-categories: indent without pushing past the card edge; never let the sidebar scroll sideways */
@media (min-width: 901px) {
	.pl-sidebar { overflow-x: hidden; }
	.pl-sidebar .product-categories li > ul.children { flex: 0 0 calc(100% - 28px); min-width: 0; box-sizing: border-box; }
	.pl-sidebar .product-categories li > a, .pl-sidebar .pl-filter li > a { overflow-wrap: anywhere; }
}

@media (max-width: 900px) {
	/* range pills wrap onto several rows instead of scrolling off the edge; counts are dropped to keep pills tidy */
	.pl-sidebar .product-categories { flex-wrap: wrap; overflow: visible; gap: 8px; }
	.pl-sidebar .product-categories > li { flex: 0 1 auto; max-width: 100%; }
	body .pl-sidebar .product-categories > li > a { white-space: normal; max-width: 100%; box-sizing: border-box; line-height: 1.3; }
	.pl-sidebar .product-categories > li > .count { display: none; }
}

/* ======================================================================
   Shop layout: title, count and sorting run full width on top;
   filters (left) and products (right) sit underneath.
   ====================================================================== */
.pl-wrap--shop:not(.no-sidebar) > .pl-shop-main,
.pl-wrap--shop:not(.no-sidebar) > .pl-shop-main > #primary,
.pl-wrap--shop:not(.no-sidebar) > .pl-shop-main > #primary > main { display: contents; }
.pl-wrap--shop:not(.no-sidebar) .woocommerce-products-header { margin: 0; }
.pl-wrap--shop:not(.no-sidebar) .woocommerce-products-header__title.page-title,
.pl-wrap--shop:not(.no-sidebar) .woocommerce .page-title { display: block; margin: 0 0 6px; }
.pl-wrap--shop:not(.no-sidebar) .woocommerce-result-count { margin: 0; align-self: center; }
.pl-wrap--shop:not(.no-sidebar) .woocommerce-ordering { margin: 0; }
.pl-wrap--shop:not(.no-sidebar) ul.products { min-width: 0; }

@media (min-width: 901px) {
	.pl-wrap--shop:not(.no-sidebar) { grid-template-columns: 280px minmax(0, 1fr); column-gap: 36px; row-gap: 0; align-items: start; }
	.pl-wrap--shop:not(.no-sidebar) .woocommerce-products-header { grid-column: 1 / -1; grid-row: 1; }
	.pl-wrap--shop:not(.no-sidebar) .woocommerce-notices-wrapper { grid-column: 1 / -1; grid-row: 2; }
	.pl-wrap--shop:not(.no-sidebar) .woocommerce-result-count { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin-bottom: 22px; }
	.pl-wrap--shop:not(.no-sidebar) .woocommerce-ordering { grid-column: 1 / -1; grid-row: 3; justify-self: end; margin-bottom: 22px; }
	.pl-wrap--shop:not(.no-sidebar) > .pl-sidebar { grid-column: 1; grid-row: 4 / span 2; order: 0; }
	.pl-wrap--shop:not(.no-sidebar) ul.products { grid-column: 2; grid-row: 4; }
	.pl-wrap--shop:not(.no-sidebar) nav.woocommerce-pagination { grid-column: 2; grid-row: 5; }
}
@media (max-width: 900px) {
	.pl-wrap--shop:not(.no-sidebar) { gap: 0; }
	.pl-wrap--shop:not(.no-sidebar) .woocommerce-products-header { order: 1; }
	.pl-wrap--shop:not(.no-sidebar) .woocommerce-notices-wrapper { order: 2; }
	.pl-wrap--shop:not(.no-sidebar) .woocommerce-result-count { order: 3; margin-bottom: 12px; }
	.pl-wrap--shop:not(.no-sidebar) .woocommerce-ordering { order: 4; margin-bottom: 20px; }
	.pl-wrap--shop:not(.no-sidebar) > .pl-sidebar { order: 5; margin-bottom: 22px; }
	.pl-wrap--shop:not(.no-sidebar) ul.products { order: 6; }
	.pl-wrap--shop:not(.no-sidebar) nav.woocommerce-pagination { order: 7; }
}
@media (max-width: 900px) { .pl-wrap--shop:not(.no-sidebar) .woocommerce-result-count { text-align: left; } }

/* ======================================================================
   Collapsible filter groups (accordion)
   ====================================================================== */
.pl-collapse > summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; user-select: none; }
.pl-collapse > summary::-webkit-details-marker { display: none; }
.pl-collapse > summary::marker { content: ""; }
.pl-collapse > summary::after {
	content: ""; flex: none; margin-left: auto; width: 9px; height: 9px;
	border-right: 2px solid #2e7d32; border-bottom: 2px solid #2e7d32; transform: rotate(45deg) translateY(-2px); transition: transform .18s;
}
.pl-collapse[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.pl-collapse:not([open]) > summary.widget-title { border-bottom: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.pl-collapse > summary:hover { color: #2e7d32; }
.pl-collapse > summary:focus-visible { outline: 2px solid var(--pl-accent); outline-offset: 4px; border-radius: 4px; }
.pl-opt-count { flex: none; min-width: 22px; padding: 1px 9px; border-radius: 999px; background: #f1f8f1; border: 1px solid #d8ead8; color: #2e7d32; font-size: 13px; font-weight: 600; line-height: 20px; text-align: center; }
.pl-opt-selected { flex: none; padding: 1px 9px; border-radius: 999px; background: var(--pl-accent); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; }
@media (min-width: 901px) {
	.pl-sidebar details.pl-collapse:not([open]) { padding-bottom: 16px; }
}
@media (max-width: 900px) {
	/* phones: the range pills stay visible, so that group is not collapsible there */
	.pl-sidebar .widget_product_categories > summary { cursor: default; }
	.pl-sidebar .widget_product_categories > summary::after, .pl-sidebar .widget_product_categories > summary .pl-opt-count { display: none; }
	.pl-filters .pl-collapse { border-bottom: 1px solid #e2e9e2; margin-bottom: 0 !important; padding: 4px 0; }
	.pl-filters .pl-collapse > summary { padding: 14px 0; font-size: 19px; }
	.pl-filters .pl-collapse[open] > summary.widget-title { padding-bottom: 8px !important; margin-bottom: 4px !important; border-bottom: 0 !important; }
}

/* ======================================================================
   Guide pages: full-width hero and bands (matches the homepage look)
   ====================================================================== */
body.pl-guide main#content, body.pl-guide .site-main, body.pl-guide .page-content, body.pl-guide .entry-content {
	max-width: none; width: 100%; margin: 0; padding: 0; background: none; box-shadow: none; border: 0;
}
body.pl-guide main#content { padding-bottom: 0; }
body.pl-guide .page-header { display: none; }

/* hero */
.pl-guide-hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; padding: 70px 20px; text-align: center; color: #fff; background-color: #1d3a24; background-size: cover; background-position: center; isolation: isolate; }
.pl-guide-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 15, .55), rgba(10, 30, 15, .72)); z-index: -1; }
.pl-guide-hero__inner { max-width: 820px; }
.pl-guide-hero h1 { color: #fff; font-size: 52px; line-height: 1.15; margin: 0 0 16px; }
.pl-guide-hero p { color: #f1f5f1; font-size: 20px; line-height: 1.55; margin: 0 auto 26px; max-width: 680px; }
.pl-guide-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
body .pl-guide-hero .pl-btn { background: var(--pl-accent); color: #fff; border: 2px solid var(--pl-accent); border-radius: 0; padding: 14px 30px; font-weight: 600; text-decoration: none; }
body .pl-guide-hero .pl-btn:hover { background: var(--pl-accent-dark); border-color: var(--pl-accent-dark); color: #fff; }
body .pl-guide-hero .pl-btn--ghost { background: rgba(0, 0, 0, .25); border-color: #fff; }
body .pl-guide-hero .pl-btn--ghost:hover { background: #fff; border-color: #fff; color: #1a1a1a; }

/* bands */
body.pl-guide .pl-guide__band { padding: 72px 24px; background: #fff; margin: 0; }
body.pl-guide .pl-guide__band--alt { background: #f1f8f1; }
body.pl-guide .pl-guide__band > * { max-width: var(--pl-width, 1140px); margin-left: auto; margin-right: auto; }
body.pl-guide .pl-guide__band > * + * { margin-top: 26px; }
body.pl-guide .pl-guide__band h2 { position: relative; padding-bottom: 14px; margin: 0 0 18px; font-size: 34px; }
body.pl-guide .pl-guide__band h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--pl-accent); }
body.pl-guide .pl-guide__lead { font-size: 21px; line-height: 1.6; color: #444; max-width: 860px; }
body.pl-guide .pl-guide__band p, body.pl-guide .pl-guide__band li { font-size: 17px; line-height: 1.65; }
body.pl-guide .pl-guide__band ul { margin: 0 0 14px 1.2em; padding: 0; }
body.pl-guide .pl-guide__band li { margin-bottom: 8px; }
body.pl-guide .pl-guide__band a { color: #2e7d32; font-weight: 600; }

/* photo + text */
body.pl-guide .pl-guide__split { gap: 48px; align-items: center; margin-bottom: 0; }
body.pl-guide .pl-guide__img { margin: 0; }
body.pl-guide .pl-guide__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: 0 14px 36px rgba(20, 50, 25, .18); display: block; }
body.pl-guide .pl-guide__cols { gap: 18px; margin: 10px 0 14px; }
body.pl-guide .pl-guide__cols .wp-block-column { background: #fff; border: 1px solid #dfe8df; border-radius: 10px; padding: 16px 20px 6px; }
body.pl-guide .pl-guide__band--alt .pl-guide__cols .wp-block-column { background: #fff; }
body.pl-guide .pl-guide__band:not(.pl-guide__band--alt) .pl-guide__cols .wp-block-column { background: #f6f8f6; }
body.pl-guide .pl-guide__cols h3 { color: #2e7d32; font-size: 17px; margin: 0 0 8px; }

/* info cards */
body.pl-guide .pl-guide__cardrow { gap: 20px; }
body.pl-guide .pl-guide__card { background: #fff; border: 1px solid #dfe8df; border-top: 4px solid var(--pl-accent); border-radius: 10px; padding: 20px 22px 8px; box-shadow: 0 2px 10px rgba(30, 60, 30, .06); }
body.pl-guide .pl-guide__band:not(.pl-guide__band--alt) .pl-guide__card { background: #f6f8f6; }
body.pl-guide .pl-guide__card h3 { color: #1a1a1a; font-size: 20px; margin: 0 0 8px; }
body.pl-guide .pl-finish::before { content: ""; display: block; height: 58px; margin: -2px 0 16px; border-radius: 8px; }
body.pl-guide .pl-finish--painted::before { background: linear-gradient(90deg, #4CAF50, #FF6F52, #2f7fc1, #f2c230); }
body.pl-guide .pl-finish--brushed::before { background: repeating-linear-gradient(90deg, #c9ced1 0 2px, #dfe3e5 2px 4px); }
body.pl-guide .pl-finish--satin::before { background: linear-gradient(135deg, #d9dcde, #eceeef 50%, #cfd3d5); }
body.pl-guide .pl-finish--mirror::before { background: linear-gradient(120deg, #8f979c 0%, #f4f7f8 35%, #aeb5ba 55%, #ffffff 75%, #8f979c 100%); }

/* table */
body.pl-guide .pl-guide__table table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(30, 60, 30, .08); }
body.pl-guide .pl-guide__table th { background: var(--pl-accent); color: #fff; text-align: left; padding: 14px 18px; font-weight: 600; border: 0; }
body.pl-guide .pl-guide__table td { padding: 14px 18px; border: 0; border-bottom: 1px solid #e2e9e2; vertical-align: top; background: #fff; }
body.pl-guide .pl-guide__table tbody tr:nth-child(even) td { background: #f6f8f6; }

/* call to action over a photo */
body.pl-guide .pl-guide__band--cta { position: relative; padding: 90px 24px; text-align: center; color: #fff; background-color: #1d3a24; background-size: cover; background-position: center; isolation: isolate; }
body.pl-guide .pl-guide__band--cta::before { content: ""; position: absolute; inset: 0; background: rgba(10, 30, 15, .68); z-index: -1; }
body.pl-guide .pl-guide__ctabox { max-width: 760px; margin: 0 auto; }
body.pl-guide .pl-guide__band--cta h2 { color: #fff; font-size: 38px; padding-bottom: 14px; }
body.pl-guide .pl-guide__band--cta h2::after { left: 50%; transform: translateX(-50%); }
body.pl-guide .pl-guide__band--cta p { color: #f1f5f1; font-size: 19px; }
body.pl-guide .pl-guide__ctabtns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
body.pl-guide .pl-guide__band--cta .pl-btn { background: var(--pl-accent); color: #fff; border: 2px solid var(--pl-accent); border-radius: 0; padding: 14px 30px; font-weight: 600; text-decoration: none; }
body.pl-guide .pl-guide__band--cta .pl-btn:hover { background: var(--pl-accent-dark); border-color: var(--pl-accent-dark); color: #fff; }
body.pl-guide .pl-guide__band--cta .pl-btn--ghost { background: rgba(0, 0, 0, .25); border-color: #fff; }
body.pl-guide .pl-guide__band--cta .pl-btn--ghost:hover { background: #fff; color: #1a1a1a; }

@media (max-width: 900px) {
	.pl-guide-hero { min-height: 340px; padding: 56px 20px; }
	.pl-guide-hero h1 { font-size: 38px; }
	.pl-guide-hero p { font-size: 18px; }
	body.pl-guide .pl-guide__band { padding: 48px 20px; }
	body.pl-guide .pl-guide__band h2 { font-size: 28px; }
	body.pl-guide .pl-guide__split { gap: 24px; }
}
@media (max-width: 781px) {
	body.pl-guide .pl-guide__table { overflow-x: auto; }
	body.pl-guide .pl-guide__table table { min-width: 600px; }
	body.pl-guide .pl-guide__band--cta { padding: 64px 20px; }
	body.pl-guide .pl-guide__band--cta h2 { font-size: 30px; }
}
/* keep the intro line aligned with the headings and content below it */
body.pl-guide .pl-guide__band > .pl-guide__lead { max-width: var(--pl-width, 1140px); padding-right: 22%; box-sizing: border-box; }
@media (max-width: 900px) { body.pl-guide .pl-guide__band > .pl-guide__lead { padding-right: 0; } }

/* section headings sit in the same centred content width as the cards and tables below them */
body.pl-guide .pl-guide__band > h2 { margin-left: auto; margin-right: auto; }
