/* PP Quote - quote list + small product-page touches. Kept minimal so the theme's styles lead. */

.pp-pack-qty { font-weight: 600; margin: .5em 0 0; }
.product_meta .pp-pack-qty-wrapper { display: block; }
.product_meta .pp-pack-qty-wrapper[hidden] { display: none; }

/* Shop: product-type cards */
.pp-type-cards { list-style: none; margin: 1.5em 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5em; }
.pp-type-card { background: #fff; display: flex; flex-direction: column; margin: 0; padding: 0 0 1em; }
.pp-type-card__link { display: block; text-decoration: none; color: inherit; }
.pp-type-card__img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin: 0; }
.pp-type-card__title { font-size: 1.25em; margin: .75em 1rem .25em; line-height: 1.25; }
.pp-type-card__desc { margin: 0 1rem .5em; font-size: .95em; }
.pp-type-card__actions { margin: auto 1rem 0; display: flex; gap: 1em; align-items: center; flex-wrap: wrap; }
.pp-spec-grid { margin-top: 2.5em; clear: both; }

/* The site's Customizer "Additional CSS" (live too) has
   .woocommerce-variation-add-to-cart { display: none !important; } - it hid ordering before the quote cart.
   Show quantity + "Add to quote list" again (more specific selector wins over the theme's !important). */
/* (display set to flex below) */
.woocommerce div.product form.variations_form .single_variation_wrap { margin-top: 1em; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart:not(.variations_form) { display: flex !important; align-items: center; flex-wrap: wrap; gap: .6em; }
.woocommerce div.product form.cart .pp-qty-label { font-weight: 600; font-size: 14px; margin: 0; }
.woocommerce div.product form.cart .quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .quantity .qty { width: 5em; height: 2.6em; padding: 0 .5em; border: 1px solid #bbb; background: #fff; color: #222; font-size: 16px; text-align: center; }
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button.disabled { float: none; margin: 0; background: #84ab49; color: #fff; height: 2.6em; padding: 0 1.4em; font-size: 16px; border-radius: 0; }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: #6f9238; color: #fff; }
.woocommerce div.product form.cart .single_add_to_cart_button.disabled { opacity: .45; }

/* ---------------------------------------------------------------- Quote page ---------------------------------- */
.pp-quote { --pp-green: #84ab49; --pp-green-dark: #5f8a2c; --pp-ink: #2f3133; --pp-muted: #6b6b6b; --pp-line: #e4e2db; --pp-field: #c6c4bc; --pp-soft: #f6f5f1; color: var(--pp-ink); }
body.woocommerce-cart footer .contact.section { display: none; } /* theme's footer contact form: one form per page */
.pp-quote [hidden] { display: none !important; }
.pp-quote__intro { font-size: 17px; line-height: 1.55; max-width: 62ch; margin: 0 0 24px; }
.pp-quote__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1100px) { .pp-quote__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; } }
.pp-quote__main, .pp-quote__side { display: grid; gap: 24px; min-width: 0; }
.pp-card { background: #fff; border-radius: 6px; padding: 24px 26px; box-shadow: 0 1px 3px rgba(0, 0, 0, .07); margin: 0; }
.pp-quote .pp-card__title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; font-size: 26px; line-height: 1.2; }
.pp-step { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pp-green); color: #fff; font: 600 16px/1 sans-serif; }
.pp-count { font: 600 14px/1 sans-serif; color: var(--pp-green-dark); background: #eef4e5; border-radius: 99px; padding: 6px 10px; }
.pp-quote fieldset.pp-field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.pp-quote .pp-field { margin: 0 0 18px; }
.pp-quote .pp-label { display: block; font-weight: 600; font-size: 15px; margin: 0 0 8px; padding: 0; color: var(--pp-ink); }
.pp-quote .pp-input { width: 100%; height: 48px; margin: 0; padding: 0 12px; border: 1px solid var(--pp-field); border-radius: 4px; background: #fff; color: var(--pp-ink); font-size: 16px; box-sizing: border-box; box-shadow: none; }
.pp-quote .pp-input:focus, .pp-quote .pp-stepper__btn:focus-visible, .pp-quote .pp-btn:focus-visible { outline: none; border-color: var(--pp-green); box-shadow: 0 0 0 3px rgba(132, 171, 73, .3); }

/* Step 1 */
.pp-builder__product { display: flex; align-items: center; gap: 12px; margin: -6px 0 18px; padding: 10px 12px; background: var(--pp-soft); border-radius: 4px; }
.pp-builder__img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; flex: 0 0 auto; margin: 0; }
.pp-builder__product-text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.4; min-width: 0; }
.pp-builder__note { color: var(--pp-muted); }
.pp-builder__link { font-weight: 600; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-quote .pp-chip { position: relative; display: inline-block; margin: 0; padding: 0; font-weight: 400; cursor: pointer; width: auto; max-width: none; }
.pp-quote .pp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pp-quote .pp-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--pp-field); border-radius: 4px; background: #fff; font-size: 15px; line-height: 1.3; color: var(--pp-ink); transition: border-color .15s, background .15s; box-sizing: border-box; }
.pp-quote .pp-chip:hover span { border-color: var(--pp-green); }
.pp-quote .pp-chip input:checked + span { background: var(--pp-green); border-color: var(--pp-green); color: #fff; font-weight: 600; }
.pp-quote .pp-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(132, 171, 73, .35); }
.pp-builder__pack { margin: 10px 0 0; font-size: 14px; color: var(--pp-muted); }
.pp-builder__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.pp-quote .pp-builder__qty { margin: 0; }
.pp-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--pp-field); border-radius: 4px; overflow: hidden; background: #fff; }
.pp-quote .pp-stepper__btn { width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--pp-soft); color: var(--pp-ink); font: 400 24px/1 sans-serif; cursor: pointer; box-shadow: none; }
.pp-quote .pp-stepper__btn:hover { background: #ebe9e2; }
.pp-quote .pp-stepper__input { width: 72px; height: 48px; border: 0; border-left: 1px solid var(--pp-field); border-right: 1px solid var(--pp-field); border-radius: 0; text-align: center; padding: 0 4px; -moz-appearance: textfield; appearance: textfield; }
.pp-quote .pp-stepper__input::-webkit-outer-spin-button, .pp-quote .pp-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html:not(.pp-js) .pp-stepper__btn { display: none; }
.pp-quote .pp-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; margin: 0; padding: 0 28px; border: 1px solid var(--pp-green); border-radius: 4px; background: var(--pp-green); color: #fff; font-size: 17px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; box-shadow: none; }
.pp-quote .pp-btn:hover { background: var(--pp-green-dark); border-color: var(--pp-green-dark); color: #fff; }
.pp-quote .pp-btn:disabled { opacity: .6; cursor: progress; }
.pp-quote .pp-btn--ghost { background: #fff; color: var(--pp-green-dark); }
.pp-quote .pp-btn--ghost:hover { background: #eef4e5; color: var(--pp-green-dark); }
.pp-builder__add.pp-btn { flex: 1 1 200px; }
.pp-builder__msg { margin: 14px 0 0; min-height: 1.4em; font-size: 15px; line-height: 1.4; }
.pp-builder__msg.is-ok { color: #3f6b14; }
.pp-builder__msg.is-ok::before { content: "\2713\00a0"; font-weight: 700; }
.pp-builder__msg.is-error { color: #b32d2e; }

/* Step 2 */
.pp-quote__empty { margin: 0; padding: 22px; border: 2px dashed var(--pp-line); border-radius: 6px; color: var(--pp-muted); text-align: center; font-size: 15px; line-height: 1.5; }
.pp-quote .pp-lines { list-style: none; margin: 0; padding: 0; }
.pp-quote .pp-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px 18px; margin: 0; padding: 14px 0; border-top: 1px solid var(--pp-line); transition: opacity .2s; }
.pp-quote .pp-line:last-child { border-bottom: 1px solid var(--pp-line); }
.pp-line__info { min-width: 0; line-height: 1.4; }
.pp-line__name { display: block; font-weight: 600; font-size: 16px; }
.pp-line__spec { display: block; font-size: 15px; }
.pp-line__sub { display: block; font-size: 13px; color: var(--pp-muted); }
.pp-quote .pp-line__qty .pp-label { font-size: 12px; font-weight: 600; color: var(--pp-muted); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .04em; }
.pp-quote .pp-stepper--sm .pp-stepper__btn { width: 40px; height: 40px; font-size: 20px; }
.pp-quote .pp-stepper--sm .pp-stepper__input { width: 58px; height: 40px; }
.pp-quote .pp-quote__remove-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 4px; color: #8a8a8a; font-size: 14px; text-decoration: none; }
.pp-quote .pp-quote__remove-link:hover, .pp-quote .pp-quote__remove-link:focus-visible { color: #b32d2e; background: #fbeeee; }
.pp-line--flash { animation: pp-flash 1.8s ease-out; }
@keyframes pp-flash { from { background: #e6f0d8; } to { background: transparent; } }
.pp-line--removing { opacity: .35; pointer-events: none; }
.pp-quote__actions { margin: 14px 0 0; }
.pp-js .pp-quote__actions { display: none; }

/* Step 3 (Gravity Forms) */
.pp-quote__form .gform_wrapper { margin: 0; }
.pp-quote__form .gfield_label, .pp-quote__form legend.gfield_label { font-weight: 600; font-size: 15px; }
.pp-quote__form input[type="text"], .pp-quote__form input[type="email"], .pp-quote__form input[type="tel"], .pp-quote__form textarea {
	width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--pp-field) !important; border-radius: 4px; background: #fff; color: var(--pp-ink); font-size: 16px; box-sizing: border-box; box-shadow: none; }
.pp-quote__form textarea { height: 120px; min-height: 0; resize: vertical; }
.pp-quote__form input:focus, .pp-quote__form textarea:focus { outline: none; border-color: var(--pp-green) !important; box-shadow: 0 0 0 3px rgba(132, 171, 73, .3); }
.pp-quote__form .gfield--type-radio .gchoice { padding: 12px 14px; border: 1px solid var(--pp-field); border-radius: 4px; cursor: pointer; }
.pp-quote__form .gfield--type-radio .gchoice:has(input:checked) { border-color: var(--pp-green); background: #f3f8ec; }
.pp-quote__form .gfield--type-radio .gchoice label { cursor: pointer; flex: 1; }
.pp-quote__form .gfield--type-radio .gchoice input[type="radio"] { accent-color: var(--pp-green); width: 18px; height: 18px; }
.pp-quote__form .gform_footer { margin: 8px 0 0; padding: 0; }
.pp-quote__form .gform_footer input[type="submit"], .pp-quote__form .gform_footer button { width: 100%; min-height: 54px; border-radius: 4px; font-size: 18px; font-weight: 600; }
.pp-quote__call { margin: 16px 0 0; text-align: center; font-size: 15px; color: var(--pp-muted); }
.pp-quote__call a { font-weight: 600; }
@media (min-width: 1100px) { .pp-quote__side .gform_fields .gfield { grid-column: 1 / -1 !important; } }
.pp-quote__done { max-width: 720px; }

/* Mobile: continue bar */
.pp-quote-bar { position: fixed; z-index: 9990; left: 84px; right: 12px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 6px; background: var(--pp-ink); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.pp-quote-bar:hover, .pp-quote-bar:focus { color: #fff; }
.pp-quote-bar__count { background: var(--pp-green); border-radius: 99px; padding: 4px 10px; font-size: 13px; white-space: nowrap; }
@media (min-width: 1100px) { .pp-quote-bar { display: none !important; } }

@media (max-width: 640px) {
	.pp-quote__intro { font-size: 16px; margin-bottom: 18px; }
	.pp-quote__grid, .pp-quote__main, .pp-quote__side { gap: 16px; }
	.pp-card { padding: 18px 16px; }
	.pp-quote .pp-card__title { font-size: 22px; margin-bottom: 14px; }
	.pp-builder__add.pp-btn { flex-basis: 100%; }
	.pp-builder__qty .pp-stepper { width: 100%; }
	.pp-builder__qty { flex: 1 1 100%; }
	.pp-quote .pp-builder__qty .pp-stepper__input { flex: 1; width: auto; }
	.pp-quote .pp-line { grid-template-columns: minmax(0, 1fr) auto; }
	.pp-line__info { grid-column: 1 / -1; }
	.pp-quote .pp-line__qty { display: flex; align-items: center; gap: 10px; }
	.pp-quote .pp-line__qty .pp-label { margin: 0; }
	.pp-quote__remove-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.pp-quote .pp-quote__remove-link { padding: 10px; }
	.pp-quote .pp-quote__remove-link svg { width: 22px; height: 22px; }
	body.woocommerce-cart { padding-bottom: 70px; }
}

/* Quote form radios: keep buttons beside their labels (theme styles push them apart). */
.pp-quote__form .gfield--type-radio .gfield_radio { display: flex; flex-direction: column; gap: .5em; }
.pp-quote__form .gfield--type-radio .gchoice { display: flex; align-items: center; gap: .6em; }
.pp-quote__form .gfield--type-radio .gchoice input[type="radio"] { margin: 0; flex: 0 0 auto; }
.pp-quote__form .gfield--type-radio .gchoice label { margin: 0; font-weight: 400; max-width: none; }

/* Product cards: "Add to quote" */
ul.products li.product .button.pp-add-to-quote { background: #84ab49; color: #fff; }
ul.products li.product .button.pp-add-to-quote:hover { background: #6f9238; color: #fff; }

/* Theme header is fixed (~125px) on desktop. */
#pp-quote-builder, #pp-quote-details { scroll-margin-top: 150px; }
@media (max-width: 1198px) { #pp-quote-builder, #pp-quote-details { scroll-margin-top: 84px; } } /* mobile header is fixed too (~65px) */

/* Polish */
.pp-quote__form .gfield.gfield_contains_required { padding-right: 0 !important; } /* site inline CSS pads required fields 15px */
.pp-quote legend.pp-label, .pp-quote__form legend.gfield_label { border: 0; width: auto; padding: 0; }
.pp-quote .pp-card__title { flex-wrap: nowrap; }
.pp-quote .pp-quote__items .pp-card__title { flex-wrap: wrap; }
.pp-builder__msg:empty { min-height: 0; margin: 0; }
.pp-quote .pp-line__actions, .pp-quote .pp-quote__remove-link { align-self: end; }
.pp-quote-bar__go { white-space: nowrap; }

/* Spec pages: inline "Add to quote" box at the end of each product's description. */
.pp-quote--inline { margin: 22px 0 26px; clear: both; }
.pp-inline-add { max-width: 760px; padding: 18px 20px 16px; background: var(--pp-soft); border: 2px solid var(--pp-green); border-radius: 6px; box-sizing: border-box; }
.pp-quote .pp-inline-add__title { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--pp-ink); }
.pp-inline-add__kicker { display: block; margin: 0 0 2px; font: 600 12px/1.2 sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--pp-green-dark); }
.pp-quote--inline .pp-field, .pp-quote--inline fieldset.pp-field { margin-bottom: 14px; }
.pp-quote--inline select.pp-input { max-width: 420px; }
.pp-quote--inline .pp-label { font-size: 14px; }
.pp-quote--inline .pp-chip span { min-height: 40px; font-size: 14px; padding: 5px 12px; }
.pp-quote--inline .pp-stepper__btn { width: 44px; height: 44px; }
.pp-quote--inline .pp-stepper__input { width: 64px; height: 44px; }
.pp-quote--inline .pp-btn { height: 46px; font-size: 16px; padding: 0 24px; }
.pp-quote--inline .pp-builder__msg { margin-top: 12px; }
.pp-quote .pp-builder__view { font-weight: 600; color: var(--pp-green-dark); text-decoration: underline; white-space: nowrap; }
@media (max-width: 600px) {
	.pp-inline-add { padding: 16px 14px 14px; }
	.pp-quote--inline .pp-builder__bottom { align-items: stretch; }
	.pp-quote--inline .pp-builder__add { flex: 1 1 140px; }
}
/* Phones: size buttons in a 2-column grid (12 sizes stacked one per row is too long). */
@media (max-width: 600px) {
	.pp-quote .pp-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 8px; }
	.pp-quote .pp-chip span { display: flex; justify-content: center; width: 100%; padding: 5px 6px; font-size: 14px; text-align: center; }
}
/* Inline box: product image beside the title. */
.pp-inline-add__head { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; }
.pp-quote .pp-inline-add__head .pp-inline-add__title { margin: 0; }
.pp-inline-add__media { flex: 0 0 auto; display: block; line-height: 0; }
.pp-quote .pp-inline-add__img { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: 4px; border: 1px solid var(--pp-line); background: #fff; margin: 0; max-width: none; }
@media (max-width: 600px) { .pp-inline-add__media { display: none; } } /* phones: no image (Nick 11-23) */
/* Desktop/tablet: full content width, image in its own column, the whole add-to-quote section beside it. */
@media (min-width: 601px) {
	.pp-inline-add { max-width: none; }
	.pp-inline-add.has-img { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 24px; align-items: start; }
	.pp-inline-add.has-img .pp-inline-add__head { display: contents; }
	.pp-inline-add.has-img .pp-inline-add__media { grid-column: 1; grid-row: 1 / span 2; }
	.pp-quote .pp-inline-add.has-img .pp-inline-add__img { width: 180px; height: 180px; }
	.pp-quote .pp-inline-add.has-img .pp-inline-add__title { grid-column: 2; grid-row: 1; margin: 0 0 14px; }
	.pp-inline-add.has-img .pp-builder__form { grid-column: 2; grid-row: 2; min-width: 0; }
}
/* Quote list: footer row with "Clear quote" (right). */
.pp-quote__list-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 0; }
.pp-quote .pp-quote__list-foot .pp-quote__actions { margin: 0; }
.pp-quote .pp-quote__clear { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 auto; padding: 8px 12px; border: 1px solid var(--pp-field); border-radius: 4px; background: #fff; color: var(--pp-muted); font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; box-shadow: none; }
.pp-quote .pp-quote__clear:hover, .pp-quote .pp-quote__clear:focus-visible { color: #b32d2e; border-color: #b32d2e; background: #fbeeee; outline: none; }
.pp-quote .pp-quote__clear:disabled { opacity: .6; cursor: progress; }

/* ===== Product layout pages (11-23 test: MDF). Theme fonts/colours; Austral-style two columns per product. ===== */
.pp-pl { --pp-green: #84ab49; --pp-green-dark: #5f8a2c; --pp-ink: #2f3133; --pp-muted: #6b6b6b; --pp-line: #e4e2db; --pp-soft: #f6f5f1; color: var(--pp-ink); font-size: 16px; line-height: 1.6; }
.pp-pl p { font-size: 16px; line-height: 1.6; }
.pp-pl h2.wp-block-heading { margin: 0 0 12px; font-size: 28px; line-height: 1.2; }
.pp-pl h3.wp-block-heading { margin: 28px 0 10px; font-size: 20px; line-height: 1.25; color: var(--pp-ink); }
.pp-pl .wp-block-group { margin: 0; }
.pp-pl .wp-block-group__inner-container { display: contents; } /* theme has no layout support: WP wraps group contents; let the grid see the real children */
.pp-pl-lead { font-size: 18px !important; line-height: 1.55 !important; max-width: 68ch; margin: 0 0 22px; }

/* Range: one card per product, jumps to its section. */
.pp-pl-range { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 18px !important; }
.pp-pl-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pp-line); border-radius: 8px; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pp-pl-card:hover, .pp-pl-card:focus-within { border-color: var(--pp-green); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.pp-pl-card figure { margin: 0 !important; }
.pp-pl-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; height: auto; }
.pp-pl-card h3.wp-block-heading { margin: 14px 16px 4px; font-size: 19px; }
.pp-pl-card h3 a { color: var(--pp-ink); text-decoration: none; }
.pp-pl-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.pp-pl-card p { margin: 0 16px 16px; font-size: 14px !important; line-height: 1.45 !important; color: var(--pp-muted); }
.pp-pl-card p.pp-pl-card__go { margin-top: auto; color: var(--pp-green-dark); font-weight: 600; }
.pp-pl-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px !important; padding: 0; list-style: none; }
.pp-pl-jump li { margin: 0; padding: 0; list-style: none; }
.pp-pl-jump li::before { content: none !important; }
.pp-pl-jump a { display: inline-block; padding: 7px 14px; border: 1px solid var(--pp-line); border-radius: 99px; background: #fff; color: var(--pp-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.pp-pl-jump a:hover, .pp-pl-jump a:focus-visible { border-color: var(--pp-green); color: var(--pp-green-dark); }

/* One product: image + quote card (left, sticky on desktop), details (right). */
.pp-pl-product { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .07); padding: 32px; margin: 0 0 28px !important; scroll-margin-top: 145px; }
.pp-pl-aside, .pp-pl-main { min-width: 0; }
.pp-pl-img { margin: 0 0 18px !important; }
.pp-pl-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.pp-pl-head p { margin: 0 0 10px; }
.pp-pl-details > :first-child { margin-top: 18px; }
.pp-pl-note { font-size: 14px !important; line-height: 1.5 !important; color: var(--pp-muted); margin: 10px 0 0; }
@media (min-width: 992px) {
	.pp-pl-product { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 0 44px; align-items: start; }
	.pp-pl-main { grid-column: 2; grid-row: 1; }
	.pp-pl-aside { grid-column: 1; grid-row: 1; }
}
@media (min-width: 992px) and (min-height: 820px) {
	.pp-pl-aside { position: sticky; top: 145px; } /* theme header is fixed, 125px */
}

/* Spec table (label | value) and sheet weights. */
.pp-pl .wp-block-table { margin: 0; overflow-x: auto; }
.pp-pl .wp-block-table table { width: 100%; border-collapse: collapse; margin: 0; background: transparent; }
.pp-pl .wp-block-table td, .pp-pl .wp-block-table th { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--pp-line); font-size: 15px; line-height: 1.45; text-align: left; vertical-align: top; background: transparent; }
.pp-pl-spec td:first-child { width: 38%; font-weight: 600; color: var(--pp-ink); padding-left: 0; }
.pp-pl-spec tr:first-child td { border-top: 2px solid var(--pp-green); }
.pp-pl-weights thead th { background: var(--pp-soft); font-size: 14px; font-weight: 600; border-top: 2px solid var(--pp-green); }
.pp-pl-weights td:not(:first-child), .pp-pl-weights th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.pp-pl-weights td:first-child { font-weight: 600; }

/* Quote card beside each product. */
.pp-quote--pbox { margin: 0; }
.pp-pbox { padding: 18px 20px 16px; background: var(--pp-soft); border: 2px solid var(--pp-green); border-radius: 8px; }
.pp-quote .pp-pbox__title { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.pp-pbox__kicker { display: block; margin: 0 0 2px; font: 600 12px/1.2 sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--pp-green-dark); }
.pp-quote--pbox .pp-label { font-size: 14px; margin-bottom: 6px; }
.pp-quote--pbox fieldset.pp-field, .pp-quote--pbox .pp-field { margin-bottom: 14px; }
.pp-quote--pbox .pp-builder__sizes.pp-split-on > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pp-quote .pp-split__group { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.pp-quote .pp-split .pp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-quote .pp-split .pp-chip span { min-height: 40px; min-width: 52px; justify-content: center; padding: 5px 10px; font-size: 14px; }
.pp-quote .pp-split__s .pp-chip span { min-width: 120px; }
.pp-quote .pp-chip.is-off { cursor: not-allowed; }
.pp-quote .pp-chip.is-off span { background: transparent; border-style: dashed; color: #9a9a9a; text-decoration: line-through; }
.pp-quote .pp-chip.is-off:hover span { border-color: var(--pp-field); }
.pp-split__fixed { margin: -4px 0 14px; font-size: 14px; color: var(--pp-muted); }
.pp-quote--pbox .pp-builder__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.pp-quote--pbox .pp-builder__qty { margin: 0; }
.pp-quote--pbox .pp-stepper__btn { width: 44px; height: 44px; }
.pp-quote--pbox .pp-stepper__input { width: 60px; height: 44px; }
.pp-quote--pbox .pp-builder__add { flex: 1 1 150px; height: 46px; font-size: 16px; padding: 0 18px; }
.pp-quote--pbox .pp-builder__msg { margin: 12px 0 0; font-size: 14px; }
.pp-pbox__fine { margin: 12px 0 0; font-size: 13px !important; line-height: 1.45 !important; color: var(--pp-muted); }

/* Sections after the products. */
.pp-pl-section { margin: 44px 0 0 !important; scroll-margin-top: 145px; }
.pp-pl-section > h2.wp-block-heading { padding-bottom: 10px; border-bottom: 1px solid var(--pp-line); margin-bottom: 18px; }
.pp-pl-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0 !important; padding: 0 !important; list-style: none; }
.pp-pl-docs li { margin: 0; padding: 0; list-style: none; }
.pp-pl-docs li::before { content: none !important; }
.pp-pl-docs a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--pp-line); border-radius: 6px; color: var(--pp-ink); font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.pp-pl-docs a::before { content: "LINK"; flex: 0 0 auto; padding: 4px 6px; border-radius: 3px; background: var(--pp-soft); color: var(--pp-muted); font: 700 11px/1 sans-serif; letter-spacing: .04em; }
.pp-pl-docs a[href$=".pdf"]::before { content: "PDF"; background: #fbeeee; color: #b32d2e; }
.pp-pl-docs a:hover, .pp-pl-docs a:focus-visible { border-color: var(--pp-green); color: var(--pp-green-dark); }
.pp-pl-docs a small { display: block; font-weight: 400; color: var(--pp-muted); font-size: 13px; }
/* FAQs: Ultimate Blocks accordion restyled as plain rows. */
.pp-pl-faq .wp-block-ub-content-toggle-accordion { border: 0 !important; border-bottom: 1px solid var(--pp-line) !important; border-radius: 0 !important; margin: 0 !important; background: transparent !important; }
.pp-pl-faq .wp-block-ub-content-toggle-accordion:first-child { border-top: 1px solid var(--pp-line) !important; }
.pp-pl-faq .wp-block-ub-content-toggle-accordion-title-wrap { background: transparent !important; padding: 16px 4px !important; cursor: pointer; }
.pp-pl-faq .wp-block-ub-content-toggle-accordion-title { font-size: 16px !important; line-height: 1.4 !important; color: var(--pp-ink) !important; }
.pp-pl-faq .wp-block-ub-content-toggle-accordion-title-wrap:hover .wp-block-ub-content-toggle-accordion-title { color: var(--pp-green-dark) !important; }
.pp-pl-faq .wp-block-ub-content-toggle-accordion-toggle-wrap { color: var(--pp-green-dark) !important; }
.pp-pl-faq .wp-block-ub-content-toggle-accordion-content-wrap { padding: 0 4px 18px !important; border: 0 !important; }
.pp-pl-gallery figcaption { font-size: 13px; }

/* Tablet / phone: one column. Name + intro, then the quote card, then the details. */
@media (max-width: 991px) {
	.pp-pl-product { display: flex; flex-direction: column; padding: 22px 20px; }
	.pp-pl-aside, .pp-pl-main { display: contents; }
	.pp-pl-img { order: 0; }
	.pp-pl-img img { aspect-ratio: 16 / 7; }
	.pp-pl-head { order: 1; }
	.pp-pl-aside .wp-block-shortcode, .pp-pl-aside .pp-quote--pbox { order: 2; }
	.pp-pl-details { order: 3; }
	.pp-pl-docs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.pp-pl-range { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.pp-pl-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; }
	.pp-pl-card figure { grid-column: 1; grid-row: 1 / span 3; }
	.pp-pl-card img { height: 100%; aspect-ratio: auto; min-height: 96px; }
	.pp-pl-card h3.wp-block-heading { margin: 12px 12px 2px 0; font-size: 17px; }
	.pp-pl-card p { margin: 0 12px 4px 0; }
	.pp-pl-card p.pp-pl-card__go { margin-bottom: 12px; }
	.pp-pl-card:hover { transform: none; }
	.pp-pl-product, .pp-pl-section { scroll-margin-top: 90px; }
}
@media (max-width: 600px) {
	.pp-pl-img { margin-bottom: 14px !important; } /* 0.6.4 (Nick 11-25): photos back on phones, above the name (were hidden 11-23) */
	.pp-pl-img img { aspect-ratio: 2 / 1; }
	.pp-pl-product { padding: 18px 16px; border-radius: 8px; }
	.pp-pl h2.wp-block-heading { font-size: 24px; }
	.pp-pl-lead { font-size: 17px !important; }
	.pp-pl .wp-block-table td, .pp-pl .wp-block-table th { padding: 9px 8px; font-size: 14px; }
	.pp-quote .pp-split .pp-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
	.pp-quote .pp-split__s .pp-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pp-quote .pp-split .pp-chip span { min-width: 0; width: 100%; padding: 5px 4px; }
	.pp-pbox { padding: 16px 14px 14px; }
}
.pp-pl .wp-block-table table { display: table !important; } /* theme makes tables display:block */
.pp-quote--pbox .pp-stepper { box-sizing: border-box; max-width: 100%; }
.pp-quote--pbox .pp-builder__qty { min-width: 0; max-width: 100%; }
.pp-quote .pp-quote--pbox .pp-stepper__input, .pp-quote--pbox .pp-stepper__input { min-width: 0; box-sizing: border-box; }

/* ===== Wide (1600px) desktop on product-layout pages (11-23 test: MDF page + Standard MDF product). ===== */
@media (min-width: 1200px) {
	body.pp-wide .container { width: 1600px; max-width: 100%; }
	body.pp-wide .pp-pl-product { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 0 56px; padding: 40px; }
	body.pp-wide .pp-pl-range { gap: 24px; }
}

/* ===== Single product page (templates/single-product.php). Image left, options right, details as rows. ===== */
.pp-sp { --pp-green: #84ab49; --pp-green-dark: #5f8a2c; --pp-ink: #2f3133; --pp-muted: #6b6b6b; --pp-line: #dcdad2; --pp-soft: #f6f5f1;
	display: block; box-sizing: border-box; width: 100%; max-width: 1600px; margin: 0 auto; padding: 22px 15px 64px; color: var(--pp-ink); font-size: 16px; line-height: 1.6; }
.pp-sp *, .pp-sp *::before, .pp-sp *::after { box-sizing: border-box; }
.pp-sp p { font-size: 16px; line-height: 1.6; }
.pp-sp a { color: var(--pp-green-dark); }
.pp-sp__crumbs { margin: 0 0 22px; font-size: 14px; color: var(--pp-muted); }
.pp-sp__crumbs a { color: var(--pp-muted); text-decoration: none; }
.pp-sp__crumbs a:hover, .pp-sp__crumbs a:focus-visible { color: var(--pp-green-dark); text-decoration: underline; }
.pp-sp__crumbs span[aria-hidden] { margin: 0 6px; opacity: .6; }
.pp-sp__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.pp-sp__media, .pp-sp__info { min-width: 0; }
.pp-sp__main img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: #fff; }
.pp-sp__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.pp-sp__thumbs li { margin: 0; padding: 0; list-style: none; }
.pp-sp__thumbs li::before { content: none !important; }
.pp-sp__thumb { display: block; width: 84px; height: 84px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; }
.pp-sp__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-sp__thumb.is-on { border-color: var(--pp-green); }
.pp-sp__thumb:hover, .pp-sp__thumb:focus-visible { border-color: var(--pp-green-dark); outline: none; }
.pp-sp__kicker { margin: 0 0 6px; font: 600 13px/1.2 sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.pp-sp__kicker a { color: var(--pp-green-dark); text-decoration: none; }
.pp-sp .pp-sp__title { margin: 0 0 10px; font-size: 40px; line-height: 1.15; color: var(--pp-ink); text-transform: none; }
.pp-sp .pp-sp__price { margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--pp-line); font-size: 15px; color: var(--pp-muted); }
.pp-sp__price strong { display: block; font-size: 20px; color: var(--pp-ink); }
.pp-quote--single { margin: 0 0 22px; }
.pp-quote--single .pp-label, .pp-quote--single .pp-split__group > legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.pp-quote--single .pp-builder__add { flex: 1 1 220px; max-width: 420px; height: 50px; font-size: 17px; }
.pp-sp__perks { margin: 0 0 26px; padding: 16px 18px; list-style: none; background: #fff; border: 1px solid var(--pp-line); border-radius: 8px; font-size: 15px; line-height: 1.5; }
.pp-sp__perks li { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; }
.pp-sp__perks li + li { margin-top: 8px; }
.pp-sp__perks li::before { content: "✓" !important; position: absolute; left: 2px; top: 0; color: var(--pp-green-dark); font-weight: 700; }
.pp-sp__perks span { font-size: 14px; color: var(--pp-muted); }
.pp-sp .pp-sp__tagline { margin: 0 0 12px; font-size: 19px; line-height: 1.45; font-weight: 600; color: var(--pp-ink); }
.pp-sp__desc p { margin: 0 0 14px; }
.pp-sp__rows { margin: 26px 0 0; border-top: 1px solid var(--pp-line); }
.pp-sp__row { border-bottom: 1px solid var(--pp-line); }
.pp-sp__row > summary { position: relative; display: block; padding: 16px 40px 16px 2px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; color: var(--pp-ink); }
.pp-sp__row > summary::-webkit-details-marker { display: none; }
.pp-sp__row > summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--pp-green-dark); }
.pp-sp__row[open] > summary::after { content: "–"; }
.pp-sp__row > summary:hover, .pp-sp__row > summary:focus-visible { color: var(--pp-green-dark); }
.pp-sp__row > :not(summary) { margin-bottom: 18px; }
.pp-sp .pp-sp__table { display: table !important; width: 100%; border-collapse: collapse; margin: 0 0 18px; background: #fff; border-radius: 6px; overflow: hidden; }
.pp-sp__table th, .pp-sp__table td { padding: 10px 14px; border: 0; border-bottom: 1px solid #ecebe6; font-size: 15px; line-height: 1.45; text-align: left; vertical-align: top; background: transparent; }
.pp-sp__table tr:last-child th, .pp-sp__table tr:last-child td { border-bottom: 0; }
.pp-sp__table--spec th { width: 36%; font-weight: 600; }
.pp-sp__table--weights thead th { background: var(--pp-soft); font-size: 14px; }
.pp-sp__table--weights td, .pp-sp__table--weights thead th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.pp-sp .pp-sp__note { font-size: 14px; line-height: 1.5; color: var(--pp-muted); }
.pp-sp__docs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.pp-sp__docs li { margin: 0; padding: 0; list-style: none; }
.pp-sp__docs li::before { content: none !important; }
.pp-sp__docs a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #fff; border: 1px solid var(--pp-line); border-radius: 6px; color: var(--pp-ink); font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.pp-sp__docs a:hover, .pp-sp__docs a:focus-visible { border-color: var(--pp-green); color: var(--pp-green-dark); }
.pp-sp__docs small { display: block; font-weight: 400; font-size: 13px; color: var(--pp-muted); }
.pp-sp__doc-type { flex: 0 0 auto; padding: 4px 6px; border-radius: 3px; background: #fbeeee; color: #b32d2e; font: 700 11px/1 sans-serif; letter-spacing: .04em; }
.pp-sp__related { margin: 64px 0 0; }
.pp-sp__related > h2 { margin: 0 0 18px; font-size: 28px; color: var(--pp-ink); }
.pp-sp__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.pp-sp__card { margin: 0; padding: 0; list-style: none; }
.pp-sp__card::before { content: none !important; }
.pp-sp__card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--pp-line); border-radius: 8px; overflow: hidden; color: var(--pp-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pp-sp__card a:hover, .pp-sp__card a:focus-visible { border-color: var(--pp-green); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.pp-sp__card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.pp-sp__card-title { display: block; margin: 14px 16px 4px; font-size: 18px; font-weight: 600; }
.pp-sp__card-sub { display: block; margin: 0 16px 16px; font-size: 14px; line-height: 1.45; color: var(--pp-muted); }
@media (min-width: 992px) {
	.pp-sp { padding: 30px 30px 80px; }
	.pp-sp__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: start; }
	.pp-sp__info { max-width: 660px; }
}
@media (min-width: 992px) and (min-height: 820px) {
	.pp-sp__media { position: sticky; top: 145px; } /* theme header is fixed, 125px */
}
@media (max-width: 991px) {
	.pp-sp__main img { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
	.pp-sp__cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.pp-sp__card a { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; }
	.pp-sp__card img { grid-row: 1 / span 2; width: 96px; height: 96px; aspect-ratio: 1 / 1; }
	.pp-sp__card-title { margin: 12px 12px 2px 0; font-size: 17px; }
	.pp-sp__card-sub { margin: 0 12px 12px 0; }
	.pp-sp__card a:hover { transform: none; }
}
@media (max-width: 600px) {
	.pp-sp__media { margin-bottom: 6px; } /* 0.6.4 (Nick 11-25): photo back on phones, above the name (was hidden 11-23) */
	.pp-sp .pp-sp__title { font-size: 30px; }
	.pp-sp__table th, .pp-sp__table td { padding: 9px 10px; font-size: 14px; }
	.pp-sp__related > h2 { font-size: 24px; }
}

/* ===== Basic "Add to quote" button ([pp_quote_add]): no picker; one-size products add 1 sheet. ===== */
.pp-quote--basic { margin: 0; }
.pp-quote .pp-builder__form--basic .pp-builder__qty, .pp-quote .pp-builder__form--one .pp-builder__sizes { display: none !important; }
.pp-quote .pp-builder__form--basic .pp-builder__bottom { display: block; margin: 0; }
.pp-quote .pp-builder__form--basic .pp-builder__add { width: auto; min-width: 180px; height: 46px; padding: 0 24px; font-size: 16px; }
.pp-quote .pp-builder__form--basic .pp-builder__msg { margin: 10px 0 0; font-size: 14px; }
.pp-quote .pp-builder__form--basic .pp-builder__msg:empty { display: none; }

/* ===== Austral AB22-style range page (body.pp-layout-ab, 11-23 test: Particle Board). Page title + side column left, content right. ===== */
.pp-ab { --pp-green: #84ab49; --pp-green-dark: #5f8a2c; --pp-ink: #2f3133; --pp-muted: #6b6b6b; --pp-line: #dcdad2; --pp-soft: #f6f5f1; color: var(--pp-ink); font-size: 16px; line-height: 1.6; }
.pp-ab p, .pp-ab li { font-size: 16px; line-height: 1.6; }
.pp-ab .wp-block-group { margin: 0; }
.pp-ab .wp-block-group__inner-container { display: contents; }
body.pp-layout-ab .entry-content .post-thumbnail { display: none; }
body.pp-layout-ab .entry-content h1.entry-title { margin-bottom: 12px; }
.pp-ab .pp-ab-tagline { margin: 0 0 18px; font-size: 19px; line-height: 1.45; font-weight: 600; }
.pp-ab-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px !important; padding: 0 !important; list-style: none; }
.pp-ab-btns li { margin: 0; padding: 0; list-style: none; }
.pp-ab-btns li::before { content: none !important; }
.pp-ab-btns a { display: inline-block; padding: 9px 16px; border: 2px solid var(--pp-green); border-radius: 4px; color: var(--pp-green-dark); font-size: 15px; font-weight: 600; text-decoration: none; }
.pp-ab-btns li:first-child a { background: var(--pp-green); color: #fff; }
.pp-ab-btns a:hover, .pp-ab-btns a:focus-visible { background: var(--pp-green-dark); border-color: var(--pp-green-dark); color: #fff; }
.pp-ab-side__img { margin: 0 !important; }
.pp-ab-side__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.pp-ab-main { min-width: 0; }
.pp-ab .pp-ab-intro { margin: 0 0 8px; font-size: 18px; line-height: 1.6; }
.pp-ab h2.wp-block-heading { margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--pp-line); font-size: 28px; line-height: 1.2; scroll-margin-top: 145px; }
.pp-ab-range { display: grid; gap: 16px; }
.pp-ab-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; padding: 20px; background: #fff; border: 1px solid var(--pp-line); border-radius: 8px; scroll-margin-top: 145px; }
.pp-ab-item__img { margin: 0 !important; }
.pp-ab-item__img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.pp-ab-item__body { min-width: 0; }
.pp-ab-item h3.wp-block-heading { margin: 0 0 6px; font-size: 21px; line-height: 1.25; color: var(--pp-ink); }
.pp-ab-item p { margin: 0 0 10px; }
.pp-ab .pp-ab-item__size { display: inline-block; margin: 0 0 14px; padding: 4px 10px; border-radius: 4px; background: var(--pp-soft); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-ab .wp-block-table { margin: 0; overflow-x: auto; }
.pp-ab .wp-block-table table { display: table !important; width: 100%; border-collapse: collapse; margin: 0; background: #fff; }
.pp-ab .wp-block-table th, .pp-ab .wp-block-table td { padding: 11px 14px; border: 0; border-bottom: 1px solid #ecebe6; font-size: 15px; line-height: 1.45; text-align: left; vertical-align: top; background: transparent; }
.pp-ab-spec thead th { background: var(--pp-soft); font-size: 14px; font-weight: 600; border-bottom: 2px solid var(--pp-green) !important; }
.pp-ab-spec td:first-child { width: 22%; font-weight: 600; }
.pp-ab .pp-ab-note { margin: 10px 0 0; font-size: 14px; color: var(--pp-muted); }
.pp-ab-apps { margin: 0 !important; padding-left: 20px !important; }
.pp-ab-apps li { margin: 0 0 8px; }
.pp-ab .pp-pl-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0 !important; padding: 0 !important; list-style: none; }
.pp-ab .pp-ab-help { margin: 18px 0 0; }
.pp-ab-gallery { margin-top: 24px; }
.pp-ab-gallery figcaption { font-size: 13px; }
@media (min-width: 992px) {
	/* The theme prints the page <h1> before the content: one grid over both so the title sits in the left column. */
	body.pp-layout-ab .entry-content > .type-page { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 64px; }
	body.pp-layout-ab .entry-content > .type-page > h1.entry-title { grid-column: 1; grid-row: 1; }
	body.pp-layout-ab .entry-content > .type-page > .pp-ab { display: contents; }
	.pp-ab-side { grid-column: 1; grid-row: 2 / 4; align-self: start; }
	.pp-ab-main { grid-column: 2; grid-row: 1 / 4; }
	.pp-ab-main > :first-child, .pp-ab-main > .wp-block-group__inner-container > :first-child { margin-top: 6px; }
	.pp-ab-gallery { grid-column: 1 / -1; grid-row: 4; }
}
@media (min-width: 992px) and (min-height: 820px) {
	.pp-ab-side { position: sticky; top: 145px; }
}
@media (min-width: 1200px) {
	body.pp-wide.pp-layout-ab .entry-content > .type-page { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); column-gap: 80px; }
}
@media (max-width: 991px) {
	.pp-ab-side { margin-bottom: 8px; }
	.pp-ab-side__img img { aspect-ratio: 16 / 7; }
}
@media (max-width: 767px) {
	.pp-ab-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; }
	.pp-ab-item h3.wp-block-heading { font-size: 18px; }
	.pp-ab .pp-pl-docs { grid-template-columns: minmax(0, 1fr); }
	.pp-ab h2.wp-block-heading { font-size: 24px; margin-top: 32px; scroll-margin-top: 90px; }
	.pp-ab-item { scroll-margin-top: 90px; }
}
@media (max-width: 600px) {
	.pp-ab-side__img { display: none; } /* phones: no big photo (Nick 11-23: images hidden on mobile) */
	.pp-ab-item { grid-template-columns: minmax(0, 1fr); }
	.pp-ab-item__img { display: none; }
	.pp-ab .wp-block-table th, .pp-ab .wp-block-table td { padding: 9px 8px; font-size: 13px; }
	.pp-ab .pp-builder__form--basic .pp-builder__add { width: 100%; }
}
.pp-ab-gallery .wp-block-gallery.is-cropped .wp-block-image img { aspect-ratio: 4 / 3; height: auto; }
@media (max-width: 600px) {
	.pp-ab-spec table { min-width: 520px; } /* phones: scroll sideways rather than break words */
	.pp-ab-spec td:first-child { width: 120px; }
}
.pp-sp .pp-sp__size { margin: 0 0 16px; font-size: 16px; font-weight: 600; }
.pp-sp__size span { display: block; margin-bottom: 4px; font-size: 14px; color: var(--pp-ink); }

/* 0.5.9 Particle Board page: each card links to its product page ("View product") instead of an Add to quote button. */
.pp-ab-item h3.wp-block-heading a { color: inherit; text-decoration: none; }
.pp-ab-item h3.wp-block-heading a:hover, .pp-ab-item h3.wp-block-heading a:focus-visible { color: var(--pp-green-dark); text-decoration: underline; }
.pp-ab-item__img a { display: block; }
.pp-ab .pp-ab-item__cta { margin: 0 !important; }
.pp-ab-item__view { display: inline-block; padding: 11px 24px; border-radius: 4px; background: var(--pp-green); color: #fff !important; font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none !important; }
.pp-ab-item__view:hover, .pp-ab-item__view:focus-visible { background: var(--pp-green-dark); }
.pp-ab-item__view .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
	.pp-ab-item__view { display: block; text-align: center; }
}

/* 0.5.10 MDF page: quieter. Add to quote and sheet weights are folded (core Details blocks) until clicked. */
.pp-pl details > summary { list-style: none; cursor: pointer; }
.pp-pl details > summary::-webkit-details-marker { display: none; }
.pp-pl details > summary::marker { content: ""; }
.pp-pl-quote { margin: 0 !important; }
.pp-pl-quote > summary { position: relative; display: block; padding: 12px 44px 12px 18px; border-radius: 6px; background: var(--pp-green); color: #fff; font-size: 17px; font-weight: 600; line-height: 1.3; text-align: center; transition: background .15s; }
.pp-pl-quote > summary:hover, .pp-pl-quote > summary:focus-visible { background: var(--pp-green-dark); }
.pp-pl-quote > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; line-height: 1; }
.pp-pl-quote[open] > summary { border-radius: 6px 6px 0 0; }
.pp-pl-quote[open] > summary::after { content: "\2212"; }
.pp-pl-quote .pp-pbox { border-top: 0; border-radius: 0 0 8px 8px; }
.pp-pl-quote .pp-pbox__title { display: none; } /* the summary already says "Add to quote" */
.pp-pl .pp-pl-view { margin: 12px 0 0 !important; font-size: 15px; text-align: center; }
.pp-pl .pp-pl-view a { color: var(--pp-green-dark); font-weight: 600; text-decoration: none; }
.pp-pl .pp-pl-view a:hover, .pp-pl .pp-pl-view a:focus-visible { text-decoration: underline; }
.pp-pl-more { margin: 22px 0 0 !important; border-top: 1px solid var(--pp-line); border-bottom: 1px solid var(--pp-line); }
.pp-pl-more > summary { position: relative; padding: 14px 36px 14px 0; color: var(--pp-ink); font-size: 18px; font-weight: 600; }
.pp-pl-more > summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--pp-green-dark); font-size: 22px; font-weight: 400; line-height: 1; }
.pp-pl-more[open] > summary::after { content: "\2212"; }
.pp-pl-more > summary:hover, .pp-pl-more > summary:focus-visible { color: var(--pp-green-dark); }
.pp-pl-more[open] { padding-bottom: 14px; }
@media (max-width: 991px) {
	.pp-pl-aside .pp-pl-quote, .pp-pl-aside .pp-pl-view { order: 2; }
}

/* 0.5.12 listing-layout copy of the Austral page: four range cards, and a call button for the ordered-in grade. */
@media (min-width: 768px) {
	.pp-pl-range--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
	.pp-pl-range--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pp-pl .pp-pl-call { margin: 0 !important; }
.pp-pl .pp-pl-call a { display: block; padding: 12px 18px; border: 2px solid var(--pp-green); border-radius: 6px; color: var(--pp-green-dark); font-size: 17px; font-weight: 600; text-align: center; text-decoration: none; }
.pp-pl .pp-pl-call a:hover, .pp-pl .pp-pl-call a:focus-visible { background: var(--pp-green); color: #fff; }
.pp-pl-more .wp-block-gallery { margin-top: 6px; }
@media (max-width: 991px) {
	.pp-pl-aside .pp-pl-call { order: 2; }
}
@media (max-width: 767px) {
	/* Phone cards: the photo fills its 96px column whatever its proportions (a tall photo stretched the card). */
	.pp-pl-card figure { position: relative; min-height: 96px; overflow: hidden; }
	.pp-pl-card figure img { position: absolute; inset: 0; width: 100%; height: 100% !important; min-height: 0; object-fit: cover; }
}

/* ===== 0.5.13 (client 11-24) ===== */
/* Quote page: list is step 1, so its empty state is compact. */
.pp-quote__empty { padding: 14px 16px; font-size: 15px; }
/* Step 3 subheading (next-day delivery note). */
.pp-quote .pp-quote__lede { margin: -4px 0 18px; font-size: 15px; line-height: 1.5; color: var(--pp-muted); }
/* Quote list thumbnails: shown on phones too (Nick 11-24). Placeholder when there's no photo. */
.pp-line__info { display: flex; align-items: center; gap: 14px; }
.pp-line__text { min-width: 0; flex: 1; }
.pp-line__thumb { flex: 0 0 56px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 4px; border: 1px solid var(--pp-line); background: var(--pp-soft); color: #bdb9ae; }
.pp-quote .pp-line__thumb img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
@media (max-width: 640px) { .pp-line__info { gap: 12px; } .pp-line__thumb { flex-basis: 52px; width: 52px; height: 52px; } }
/* MDF page: cards jump to the panels below; small label over the cards and a clear break before the panels. */
.pp-pl .pp-pl-kicker { margin: 0 0 10px !important; font-size: 13px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pp-green-dark); }
.pp-pl-compare { margin: 8px 0 22px !important; padding-top: 28px; border-top: 2px solid var(--pp-line); }
.pp-pl-compare > h2.wp-block-heading { margin: 0 0 4px; }
.pp-pl .pp-pl-compare p { margin: 0; color: var(--pp-muted); font-size: 15px !important; }
@media (prefers-reduced-motion: no-preference) { html:has(.pp-pl-range) { scroll-behavior: smooth; } }

/* ===== 0.6.0 sitewide rollout (Nick 11-24) ===== */
/* James's live Supsystic "Sheet Details" tables inside range panels (.pp-pl-stock) and product pages (.pp-stock),
   restyled to match the spec tables. First table row = Supsystic's header row (data-y="1"). The Image/Photo
   column is hidden by pp-quote-builder.js. */
.pp-pl-stock, .pp-stock { margin: 4px 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pp-pl-stock .supsystic-tables-wrap, .pp-stock .supsystic-tables-wrap { width: 100% !important; margin: 0 !important; }
.pp-pl-stock table.supsystic-table, .pp-stock table.supsystic-table { width: 100% !important; margin: 0 !important; border: 0 !important; border-collapse: collapse !important; background: transparent !important; }
.pp-pl-stock table.supsystic-table thead th, .pp-stock table.supsystic-table thead th { padding: 0 !important; border: 0 !important; height: 0; line-height: 0; background: none !important; }
.pp-pl-stock table.supsystic-table td, .pp-stock table.supsystic-table td { padding: 9px 12px !important; border: 0 !important; border-bottom: 1px solid var(--pp-line, #e4e2db) !important; background: transparent !important; color: var(--pp-ink, #2f3133) !important; font-size: 15px !important; line-height: 1.4 !important; text-align: left !important; font-variant-numeric: tabular-nums; box-shadow: none !important; }
.pp-pl-stock table.supsystic-table td[data-y="1"], .pp-stock table.supsystic-table td[data-y="1"] { background: var(--pp-soft, #f6f5f1) !important; border-top: 2px solid var(--pp-green, #84ab49) !important; font-size: 14px !important; font-weight: 600 !important; }
.pp-pl-stock table.supsystic-table a, .pp-stock table.supsystic-table a { color: var(--pp-green-dark, #5f8a2c) !important; font-weight: 600; }
.pp-pl-stock .dataTables_wrapper .dataTables_info, .pp-stock .dataTables_wrapper .dataTables_info { display: none; }
@media (max-width: 600px) {
	.pp-pl-stock table.supsystic-table td, .pp-stock table.supsystic-table td { padding: 8px 6px !important; font-size: 14px !important; }
}

/* ===== 0.6.2 Specials (page 2599, layout/build-specials.py) ===== */
/* James's clearance Supsystic table (32) and Prefinished TablePress table (63), prices + photos kept. Cells are
   labelled by pp-quote-builder.js from his header row (pp-sp-*), so phones can show each row as a card. */
.pp-pl-specials { margin: 0 0 16px; padding: 4px 18px 8px; background: #fff; border: 1px solid var(--pp-line, #e4e2db); border-radius: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pp-pl-specials .supsystic-tables-wrap, .pp-pl-specials .dataTables_wrapper { width: 100% !important; margin: 0 !important; }
.pp-pl-specials table { width: 100% !important; margin: 0 !important; border: 0 !important; border-collapse: collapse !important; background: transparent !important; }
.pp-pl-specials table.supsystic-table thead th { padding: 0 !important; border: 0 !important; height: 0; line-height: 0; background: none !important; }
.pp-pl-specials table td, .pp-pl-specials table.tablepress thead th { padding: 10px 12px !important; border: 0 !important; border-bottom: 1px solid var(--pp-line, #e4e2db) !important; background: transparent !important; color: var(--pp-ink, #2f3133) !important; font-size: 15px !important; line-height: 1.4 !important; text-align: left !important; vertical-align: middle !important; font-variant-numeric: tabular-nums; box-shadow: none !important; min-width: 0 !important; }
.pp-pl-specials table tr.pp-sp-head td, .pp-pl-specials table.tablepress thead th { background: var(--pp-soft, #f6f5f1) !important; border-top: 2px solid var(--pp-green, #84ab49) !important; font-size: 14px !important; font-weight: 600 !important; }
.pp-pl-specials table tr.pp-sp-span td { background: var(--pp-soft, #f6f5f1) !important; color: var(--pp-muted, #6b6b6b) !important; font-size: 14px !important; }
.pp-pl-specials table tr:last-child td { border-bottom: 0 !important; }
.pp-pl-specials td.pp-sp-name { font-weight: 600; }
.pp-pl-specials td.pp-sp-price { font-weight: 700; color: var(--pp-green-dark, #5f8a2c) !important; white-space: nowrap; }
.pp-pl-specials td.pp-sp-img { width: 88px; }
.pp-pl-specials td img { display: block; width: 72px !important; height: 72px !important; max-width: none; object-fit: cover; border-radius: 4px; margin: 0 !important; }
.pp-pl-specials table a { color: var(--pp-green-dark, #5f8a2c) !important; font-weight: 600; }
.pp-pl-specials .dataTables_info, .pp-pl-specials .dataTables_paginate, .pp-pl-specials .dataTables_length, .pp-pl-specials .dataTables_filter { display: none !important; }
.pp-pl-specials-sec .pp-pl-call { max-width: 420px; }
.pp-pl-specials-text > p { max-width: 760px; }
@media (max-width: 600px) {
	.pp-pl-specials { padding: 0 12px; overflow-x: visible; }
	.pp-pl-specials table, .pp-pl-specials tbody { display: block; }
	.pp-pl-specials table thead, .pp-pl-specials tr.pp-sp-head { display: none !important; }
	.pp-pl-specials tr.pp-sp-span { display: block; }
	.pp-pl-specials tr.pp-sp-span td { display: block; padding: 10px 0 !important; background: transparent !important; }
	.pp-pl-specials tr.pp-sp-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pp-line, #e4e2db); }
	.pp-pl-specials tr.pp-sp-row:last-child { border-bottom: 0; }
	.pp-pl-specials tr.pp-sp-row td { display: block; grid-column: 2; padding: 1px 0 !important; border: 0 !important; font-size: 14px !important; }
	.pp-pl-specials tr.pp-sp-row td.pp-sp-img { grid-column: 1; grid-row: 1 / span 5; width: auto; }
	.pp-pl-specials tr.pp-sp-row td.pp-sp-name { font-size: 15px !important; margin-bottom: 2px; }
	.pp-pl-specials tr.pp-sp-row td[data-label]:not(.pp-sp-name):not(.pp-sp-img)::before { content: attr(data-label) ": "; color: var(--pp-muted, #6b6b6b); font-weight: 400; }
	.pp-pl-specials tr.pp-sp-row td:empty, .pp-pl-specials tr.pp-sp-row td.pp-sp-img:not(:has(img)) { display: none; }
	.pp-pl-specials-sec .pp-pl-call { max-width: none; }
}
/* Damaged sheets photos: a compact 3-across grid (in the wide layout the default gallery made each photo ~850-1700px tall). */
.pp-pl-specials-text .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px !important; max-width: 760px; margin: 18px 0 0 !important; }
.pp-pl-specials-text .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; }
.pp-pl-specials-text .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
@media (max-width: 600px) { .pp-pl-specials-text .wp-block-gallery.has-nested-images { gap: 8px !important; } }
/* TablePress sets content-visibility:auto on .row-hover rows (renders on scroll, 25px placeholder): with the phone card
   rows that makes the table jump, so render normally. Supsystic's "border" class adds left/right row borders. */
.pp-pl-specials table tr { content-visibility: visible !important; border-left: 0 !important; border-right: 0 !important; }
@media (max-width: 600px) {
	/* Rows without a photo (e.g. the Acoustic boxes) use the full width. */
	.pp-pl-specials tr.pp-sp-row:not(:has(td.pp-sp-img img)) { grid-template-columns: minmax(0, 1fr); }
	.pp-pl-specials tr.pp-sp-row:not(:has(td.pp-sp-img img)) td { grid-column: 1; }
}

/* ===== 0.6.3 mobile UX pass (Nick 11-25) ===== */

/* Phone product picker on the quote page (pp-quote-builder.js buildPicker): replaces the native select up to 767px. */
.pp-pick { display: none; }
@media (max-width: 767px) {
	.pp-has-pick > select.pp-builder__product-input { display: none !important; }
	.pp-has-pick .pp-pick { display: block; }
}
.pp-pick button { -webkit-appearance: none; appearance: none; margin: 0; box-shadow: none; text-transform: none; letter-spacing: normal; font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pp-pick__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 12px; border: 1px solid var(--pp-field, #c9c6bd); border-radius: 6px; background: #fff; color: var(--pp-ink, #2f3133); font-size: 16px; line-height: 1.3; text-align: left; }
.pp-pick.is-open .pp-pick__btn { border-color: var(--pp-green, #84ab49); border-radius: 6px 6px 0 0; box-shadow: 0 0 0 1px var(--pp-green, #84ab49); }
.pp-pick__btn:focus-visible { outline: 2px solid var(--pp-green-dark, #5f8a2c); outline-offset: 2px; }
.pp-pick__img { flex: 0 0 44px; width: 44px; height: 44px; overflow: hidden; border-radius: 4px; background: var(--pp-soft, #f6f5f1); }
.pp-pick__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-pick:not(.has-value) .pp-pick__btn .pp-pick__img { display: none; }
.pp-pick__val { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.pp-pick__val-range { color: var(--pp-green-dark, #5f8a2c); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pp-pick__val-name { font-weight: 600; }
.pp-pick__placeholder { color: var(--pp-muted, #6b6b6b); font-weight: 400; }
.pp-pick__chev { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; color: var(--pp-green-dark, #5f8a2c); font-size: 14px; font-weight: 600; }
.pp-pick__chev::after { content: ""; width: 8px; height: 8px; margin: -4px 4px 0 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.pp-pick.is-open .pp-pick__chev::after { margin-top: 4px; transform: rotate(-135deg); }
.pp-pick__panel { overflow: hidden; border: 2px solid var(--pp-green, #84ab49); border-top: 0; border-radius: 0 0 6px 6px; background: #fff; }
.pp-pick__panel[hidden] { display: none; }
.pp-pick__group + .pp-pick__group { border-top: 1px solid var(--pp-line, #e4e2db); }
.pp-pick__range { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 0; background: #fff; color: var(--pp-ink, #2f3133); font-size: 16px; font-weight: 600; line-height: 1.3; text-align: left; }
.pp-pick__range-name { flex: 1 1 auto; min-width: 0; }
.pp-pick__range-n { flex: 0 0 auto; min-width: 24px; padding: 2px 7px; border-radius: 99px; background: var(--pp-soft, #f6f5f1); color: var(--pp-muted, #6b6b6b); font-size: 13px; font-weight: 600; text-align: center; }
.pp-pick__range::after { content: "+"; flex: 0 0 16px; color: var(--pp-green-dark, #5f8a2c); font-size: 22px; font-weight: 400; line-height: 1; text-align: center; }
.pp-pick__range[aria-expanded="true"] { background: var(--pp-soft, #f6f5f1); color: var(--pp-green-dark, #5f8a2c); }
.pp-pick__range[aria-expanded="true"]::after { content: "\2212"; }
.pp-pick__range[aria-expanded="true"] .pp-pick__range-n { background: #fff; }
.pp-pick__list { padding: 2px 0 8px; background: var(--pp-soft, #f6f5f1); }
.pp-pick__list[hidden] { display: none; }
.pp-pick__opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 14px; border: 0; border-radius: 0; background: transparent; color: var(--pp-ink, #2f3133); font-size: 15px; font-weight: 400; line-height: 1.3; text-align: left; }
.pp-pick__opt-name { flex: 1 1 auto; min-width: 0; }
.pp-pick__opt:hover, .pp-pick__opt:focus-visible { background: #fff; outline: none; }
.pp-pick__opt[aria-current] { font-weight: 700; color: var(--pp-green-dark, #5f8a2c); }
.pp-pick__opt[aria-current]::after { content: "\2713"; flex: 0 0 auto; font-size: 18px; }
.pp-pick__range:focus-visible { outline: 2px solid var(--pp-green-dark, #5f8a2c); outline-offset: -2px; }

/* Stock + Specials tables: Supsystic forces 11px text and 4px 3px padding up to 767px with a rule as specific as ours
   that loads later, so ours needs one more class. */
@media (max-width: 767px) {
	.pp-pl-stock .supsystic-tables-wrap table.supsystic-table td, .pp-stock .supsystic-tables-wrap table.supsystic-table td { padding: 8px 6px !important; font-size: 14px !important; }
	.pp-pl-specials .supsystic-tables-wrap table.supsystic-table td { padding: 8px !important; font-size: 14px !important; }
}
@media (max-width: 600px) {
	.pp-pl-specials .supsystic-tables-wrap table.supsystic-table tr.pp-sp-row td { padding: 1px 0 !important; font-size: 14px !important; }
	.pp-pl-specials .supsystic-tables-wrap table.supsystic-table tr.pp-sp-row td.pp-sp-name { font-size: 15px !important; }
	.pp-pl-specials .supsystic-tables-wrap table.supsystic-table tr.pp-sp-span td { padding: 8px 10px !important; }
}

@media (max-width: 767px) {
	/* iOS zooms in on fields under 16px. */
	.pp-quote input.pp-input, .pp-quote select.pp-input, .pp-quote input.qty,
	.pp-quote__form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]), .pp-quote__form select, .pp-quote__form textarea { font-size: 16px !important; }
	/* Less empty space between the header and the page title (theme: 100px). */
	body.pp-wide .entry-content, body.woocommerce-cart .entry-content { padding-top: 28px !important; }
	/* Tap targets of at least 44px. */
	.pp-pl-jump a { padding: 11px 16px; }
	.pp-pl .pp-pl-view { margin-top: 4px !important; }
	.pp-pl .pp-pl-view a { display: inline-block; padding: 12px 10px; }
	.pp-sp__crumbs { margin-bottom: 10px; }
	.pp-sp__crumbs a { display: inline-block; padding: 12px 0; }
	.pp-pl-range { scroll-margin-top: 90px; }
}
/* Quote page unload method: the whole bordered box picks the option, not just its text. */
.pp-quote__form .gfield--type-radio .gchoice { position: relative; }
.pp-quote__form .gfield--type-radio .gchoice label::after { content: ""; position: absolute; inset: 0; }

/* Range pages, phones: Specifications folded (JS), "Back to our … range" after each panel. */
.pp-pl-specs-fold { margin-top: 18px !important; }
.pp-pl-specs-fold .pp-pl-spec { margin: 4px 0 0 !important; }
.pp-pl-specs-fold + .pp-pl-more { margin-top: 0 !important; border-top: 0; }
.pp-pl-back { margin: 18px 0 0 !important; text-align: center; }
.pp-pl-back a { display: inline-block; padding: 12px 10px; color: var(--pp-green-dark, #5f8a2c); font-size: 15px; font-weight: 600; text-decoration: none; }
.pp-pl-back a:hover, .pp-pl-back a:focus-visible { text-decoration: underline; }
.pp-pick__btn, .pp-pick__range { scroll-margin-top: 84px; } /* clear the fixed phone header when scrolled into view */
@media (max-width: 991px) { .pp-pl-back { order: 9; } } /* phones: panel parts are flex-ordered; the back link goes last */
@media (max-width: 767px) { .pp-sp__kicker { margin-top: -12px; margin-bottom: -6px; } .pp-sp__kicker a { display: inline-block; padding: 12px 0; } }
/* Tablets 769-1198px: the theme's address strip (under the 85px header, ~82px tall) covered the product page's
   breadcrumb and range name; the theme only pads the body for it up to 768px. */
@media (min-width: 769px) and (max-width: 1198px) { body.pp-sp-page #pp-sp { padding-top: 104px; } }
@media (max-width: 600px) { .pp-sp__thumbs { gap: 8px; margin-top: 8px; } .pp-sp__thumb { width: 56px; height: 56px; } } /* 0.6.4: smaller photo strip on phones */

/* 0.6.5: "Order in" (James sets a size's Stock status to "On backorder"): a small amber badge on the size button
   (corner, so button widths don't change), in the quote list and on one-size product pages, plus a note under the
   sizes once one is picked. */
.pp-oi { display: inline-block; padding: 1px 6px; border-radius: 9px; background: #b45309; color: #fff; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.pp-oi[hidden] { display: none !important; }
.pp-quote .pp-chip span.pp-oi { position: absolute; top: -8px; right: -4px; z-index: 1; display: block; width: auto; min-width: 0; min-height: 0; padding: 1px 6px; border: 0; border-radius: 9px; background: #b45309; color: #fff; font-size: 10px; font-weight: 600; line-height: 1.5; pointer-events: none; }
.pp-quote .pp-chips:has(.pp-oi:not([hidden])) { padding-top: 6px; }
.pp-builder__orderin { margin: 10px 0 0; padding: 8px 10px; border-left: 3px solid #b45309; background: #fff7ed; font-size: 14px; line-height: 1.4; color: #7c2d12; }
.pp-builder__orderin[hidden] { display: none; }

/* 0.6.6: "Limited stock" (James's fourth Stock status): same badge + note as "Order in", in blue. */
.pp-oi.pp-oi--ls, .pp-quote .pp-chip span.pp-oi.pp-oi--ls { background: #1e40af; }
.pp-builder__orderin.is-ls { border-left-color: #1e40af; background: #eff6ff; color: #1e3a8a; }
/* 0.6.6: "Data sheet" row from the product description; hidden when the product has none. */
.pp-pl-spec tr:has(.pp-ds-none), .pp-sp__table tr:has(.pp-ds-none) { display: none; }
/* 0.6.7 Pick up or delivery? (James 11-26): the two choices side by side; stacked on narrow phones. */
.pp-quote__form .pp-gf-method .gfield_radio { flex-direction: row; flex-wrap: wrap; }
.pp-quote__form .pp-gf-method .gchoice { flex: 1 1 200px; }

/* 0.6.8 quote details form, nicer for customers (Nick 11-26). */
/* Required is the norm here: drop the red "(Required)" on every field, mark the few optional ones instead. */
.pp-quote__form .gfield_required { display: none !important; }
.pp-quote__form .gfield:not(.gfield_contains_required):not(.gfield--type-hidden):not(.gfield--type-honeypot):not(.gfield--type-captcha) > .gfield_label::after {
	content: " (optional)"; font-weight: 400; font-size: 14px; color: #6b7280;
}
/* Pick up / Delivery cards: bold option, small note under it. */
.pp-quote__form .pp-gf-method .gchoice { align-items: flex-start; padding: 14px; }
.pp-quote__form .pp-gf-method .gchoice input[type="radio"] { margin-top: 2px !important; }
.pp-quote__form .pp-gf-method .gchoice label { font-weight: 600; line-height: 1.3; }
.pp-quote__form .pp-gf-sub { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; line-height: 1.4; color: #5b6470; }
/* Delivery details: one tinted panel under the choice; suburb + postcode on one row. */
.pp-quote__form .pp-gf-delivery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 12px;
	margin-top: -4px; padding: 16px; background: #f6f9f1; border: 1px solid #dbe7c9; border-radius: 6px; }
.pp-quote__form .pp-gf-delivery[hidden] { display: none; }
.pp-quote__form .pp-gf-delivery > .gfield { grid-column: 1 / -1 !important; margin: 0 !important; }
.pp-quote__form .pp-gf-delivery > .gfield:nth-child(1) { grid-column: 1 / span 8 !important; }
.pp-quote__form .pp-gf-delivery > .gfield:nth-child(2) { grid-column: span 4 !important; }
.pp-quote__form .pp-gf-delivery .gchoice { background: #fff; }

/* 0.6.12 (James 11-27): note under "Assisted hand unload" while it is picked. */
.pp-quote__form .pp-gf-note { margin: 0; padding: 10px 12px; border-left: 4px solid #1d4ed8; border-radius: 4px; background: #eff6ff; color: #1e3a8a; font-size: 14px; font-weight: 600; line-height: 1.4; }
.pp-quote__form .pp-gf-note[hidden] { display: none; }
/* 0.6.13: buttons after a sent quote (Home / Products / Start another quote); stacked full width on phones. */
.pp-quote .pp-quote__next { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
@media (max-width: 600px) { .pp-quote .pp-quote__next .pp-btn { flex: 1 1 100%; } }
