/* Product page: white, restrained burgundy accent, large touch targets. */
body.single-product .pc-content { background:#fff; }
.pc-product { --line:#e4e2de; --soft:#f6f5f2; --ink:#242523; --muted:#5c5d62; color:var(--ink); padding-block:1rem 3rem; }
.pc-product *, .pc-viewer * { box-sizing:border-box; }
.pc-product [hidden], .pc-viewer [hidden] { display:none !important; }
.pc-product h1 { font-size:clamp(1.5rem,3.2vw,2.15rem); line-height:1.18; margin:0 0 .5rem; overflow-wrap:anywhere; }
.pc-product h2 { font-size:clamp(1.35rem,2.6vw,1.8rem); line-height:1.2; margin:0 0 .5rem; }
.pc-product .woocommerce-breadcrumb { font-size:.85rem; color:var(--muted); margin-block-end:1rem; }
.pc-product .woocommerce-breadcrumb a { color:var(--ink); display:inline-block; min-height:24px; }
.pc-back { display:inline-block; min-height:44px; padding-block:.6rem; }
.pc-product-layout { display:grid; grid-template-columns:minmax(0,1fr); grid-template-areas:"heading" "gallery" "buy"; gap:1rem; }
.pc-product-heading { grid-area:heading; }
.pc-gallery { grid-area:gallery; min-width:0; }
.pc-product-buy { grid-area:buy; min-width:0; }
@media (min-width:60rem) {
	.pc-product-layout { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); grid-template-areas:"gallery heading" "gallery buy"; grid-template-rows:auto 1fr; column-gap:2.5rem; }
	.pc-gallery { position:sticky; inset-block-start:var(--pc-sticky-offset,6rem); align-self:start; }
}
.pc-product-price { font-size:1.35rem; margin:0; min-height:2rem; }
.pc-product-price del { color:var(--muted); font-size:1rem; }
.pc-product-price strong { color:var(--pc-burgundy); }

.pc-gallery-stage { position:relative; aspect-ratio:1; background:var(--soft); border-radius:.6rem; overflow:hidden; }
.pc-gallery-open { display:block; width:100%; height:100%; touch-action:pan-y; cursor:zoom-in; }
.pc-gallery-stage img { width:100%; height:100%; object-fit:contain; }
.pc-gallery-arrow { position:absolute; top:50%; translate:0 -50%; width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:#fffe; font-size:1.5rem; line-height:1; cursor:pointer; }
.pc-gallery-arrow.is-prev { left:.5rem; } .pc-gallery-arrow.is-next { right:.5rem; }
.pc-gallery-count { position:absolute; right:.6rem; bottom:.6rem; background:#242523cc; color:#fff; border-radius:1rem; padding:.15rem .6rem; font-size:.8rem; }
.pc-gallery-thumbs, .pc-viewer-thumbs { display:flex; gap:.5rem; overflow-x:auto; padding:.6rem 2px; }
.pc-gallery-thumbs button, .pc-viewer-thumbs button { flex:0 0 72px; width:72px; height:72px; padding:0; border:2px solid transparent; border-radius:.4rem; background:var(--soft); overflow:hidden; cursor:pointer; }
.pc-gallery-thumbs button[aria-pressed="true"], .pc-viewer-thumbs button[aria-pressed="true"] { border-color:var(--pc-burgundy); }
.pc-gallery-thumbs img, .pc-viewer-thumbs img { width:100%; height:100%; object-fit:cover; }

.pc-viewer { width:100vw; height:100vh; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; background:#151515; color:#fff; }
.pc-viewer[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.pc-viewer button { min-width:44px; min-height:44px; background:#2c2c2c; color:#fff; border:1px solid #555; border-radius:.4rem; font-size:1.25rem; cursor:pointer; }
.pc-viewer button:disabled { opacity:.4; }
.pc-viewer-bar { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.6rem 1rem; }
.pc-viewer-bar p { margin:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.pc-viewer-bar div, .pc-viewer-nav { display:flex; gap:.5rem; align-items:center; }
.pc-viewer-stage { position:relative; overflow:hidden; touch-action:none; min-height:0; }
/* Absolute fill: a percentage height inside an auto sized grid row resolves to auto, which drew square photos at full width and cropped them. */
.pc-viewer-stage img { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:contain; user-select:none; cursor:grab; }
.pc-viewer-footer { text-align:center; padding:0 1rem .75rem; }
.pc-viewer-footer p { margin:.4rem 0 0; font-size:.8rem; color:#bbb; }
.pc-viewer-thumbs, .pc-viewer-nav { justify-content:center; }

.pc-step { border:0; border-top:1px solid var(--line); margin:0; padding:1.25rem 0; min-width:0; }
.pc-step legend { font-weight:700; font-size:1.15rem; float:left; width:100%; padding:0; margin-block-end:.5rem; }
.pc-step legend ~ * { clear:both; }
.pc-num { display:inline-grid; place-items:center; width:1.8rem; height:1.8rem; border-radius:50%; background:var(--ink); color:#fff; font-size:.9rem; margin-inline-end:.4rem; }
.pc-help, .pc-product small { color:var(--muted); }
.pc-help { margin:0 0 .75rem; }
.pc-swatches { display:flex; flex-wrap:wrap; gap:.5rem; }
.pc-swatch, .pc-pieces label, .pc-labour-options label { position:relative; display:flex; align-items:center; gap:.6rem; min-height:48px; padding:.5rem .8rem; border:1px solid var(--line); border-radius:.5rem; cursor:pointer; background:#fff; }
.pc-swatch input, .pc-pieces input { position:absolute; opacity:0; width:1px; height:1px; }
.pc-swatch img, .pc-swatch i { width:40px; height:40px; border-radius:50%; object-fit:cover; border:1px solid var(--line); }
.pc-swatch small { display:block; font-size:.75rem; }
.pc-swatch:has(input:checked), .pc-pieces label:has(input:checked), .pc-labour-options label:has(input:checked) { border-color:var(--pc-burgundy); box-shadow:inset 0 0 0 1px var(--pc-burgundy); }
.pc-swatch:has(input:focus-visible), .pc-pieces label:has(input:focus-visible), .pc-labour-options label:has(input:focus-visible) { outline:3px solid var(--pc-burgundy); outline-offset:2px; }
.pc-swatch.is-out, .pc-swatch:has(input:disabled) { opacity:.55; cursor:not-allowed; }
.pc-single-color { display:inline-block; margin:0; padding:.75rem 1rem; border:1px solid var(--pc-burgundy); border-radius:.5rem; }
.pc-any { display:grid; gap:.25rem; margin-block-start:.75rem; }
.pc-any select, .pc-card select { min-height:44px; font:inherit; max-width:100%; }
.pc-dimensions { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:1rem; }
.pc-dimensions label, .pc-label { display:block; font-weight:600; margin-block-end:.35rem; }
.pc-stepper { display:flex; align-items:center; border:1px solid #bdbbb6; border-radius:.5rem; overflow:hidden; background:#fff; max-width:18rem; }
.pc-stepper:focus-within { border-color:var(--pc-burgundy); }
.pc-stepper button { flex:0 0 52px; height:52px; border:0; background:var(--soft); color:var(--ink); font-size:1.5rem; cursor:pointer; }
.pc-stepper input { flex:1; width:100%; min-width:0; height:52px; border:0; text-align:center; font:inherit; font-size:1.3rem; }
.pc-stepper span { padding-inline-end:.6rem; color:var(--muted); }
.pc-stepper input[aria-invalid="true"] { background:#fff0f0; }
.pc-stepper.is-small button { flex-basis:44px; height:44px; }
.pc-stepper output { min-width:2.5rem; text-align:center; }
.pc-fixed p { display:flex; align-items:center; height:52px; margin:0; padding-inline:1rem; background:var(--soft); border-radius:.5rem; font-size:1.3rem; }
.pc-error { color:#a40019; margin:.6rem 0 0; }
.pc-labour { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:1rem; align-items:start; }
.pc-labour-options { display:grid; gap:.4rem; }
.pc-labour-options span { flex:1; }
.pc-labour-options em { font-style:normal; color:var(--muted); white-space:nowrap; font-size:.9rem; }
.pc-labour-options input, .pc-pieces input { accent-color:var(--pc-burgundy); }
.pc-labour-preview { margin:0; background:var(--soft); border-radius:.6rem; padding:.75rem; }
.pc-labour-preview svg, .pc-labour-preview img { width:100%; height:auto; aspect-ratio:240/155; object-fit:contain; display:block; }
.pc-labour-long { font-size:.9rem; color:var(--muted); }
.pc-labour-preview figcaption { display:grid; gap:.3rem; margin-block-start:.6rem; min-height:6.5rem; align-content:start; }
.pc-pieces { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
.pc-pieces label { flex-direction:column; }
.pc-pieces svg { width:100%; max-width:10rem; }
.pc-split { margin:.75rem 0 0; min-height:3rem; }
.pc-summary { background:var(--soft); border-radius:.75rem; padding:1.25rem; }
.pc-summary dl { margin:0 0 1rem; }
.pc-summary dl > div { display:flex; justify-content:space-between; gap:1rem; padding:.5rem 0; border-bottom:1px solid var(--line); }
.pc-summary dd { margin:0; text-align:right; font-weight:600; }
.pc-summary .is-total { font-size:1.4rem; border:0; align-items:baseline; }
.pc-summary .is-total dd { color:var(--pc-burgundy); }
.pc-add, .pc-product-buy .single_add_to_cart_button { width:100%; min-height:56px; border:0; border-radius:.5rem; background:var(--pc-burgundy); color:#fff; font:inherit; font-size:1.15rem; font-weight:700; cursor:pointer; }
.pc-add:disabled { background:#9b9a97; cursor:not-allowed; }
.pc-result { margin:.75rem 0 0; font-weight:600; } .pc-result.is-ok { color:#1d5b34; } .pc-result.is-error { color:#a40019; }
.pc-notice { background:var(--soft); border-radius:.5rem; padding:.85rem 1rem; }

.pc-section { border-top:1px solid var(--line); margin-block-start:2.5rem; padding-block-start:2rem; scroll-margin-block-start:7rem; }
.pc-eyebrow { color:var(--pc-burgundy); text-transform:uppercase; letter-spacing:.08em; font-size:.75rem; font-weight:700; margin:0 0 .35rem; }
.pc-about, .pc-guide-split { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr)); gap:1.5rem; align-items:start; }
.pc-facts { margin:0; }
.pc-facts > div { display:flex; justify-content:space-between; gap:1rem; padding:.55rem 0; border-bottom:1px solid var(--line); }
.pc-facts dt { color:var(--muted); } .pc-facts dd { margin:0; text-align:right; font-weight:600; overflow-wrap:anywhere; }
.pc-illustration svg, .pc-guide-designs svg { width:100%; height:auto; display:block; }
.pc-guide-designs { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap:1rem; }
.pc-guide-designs figure { margin:0; } .pc-guide-designs figcaption { display:grid; gap:.25rem; margin-block-start:.5rem; }
.pc-equation { font-size:1.6rem; }
.pc-table { overflow-x:auto; } .pc-table table { width:100%; border-collapse:collapse; } .pc-table td, .pc-table th { text-align:left; padding:.55rem; border-bottom:1px solid var(--line); }
.pc-product summary { cursor:pointer; min-height:44px; display:list-item; padding-block:.6rem; font-weight:600; }
.pc-care { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap:.75rem; }
.pc-care li { background:var(--soft); border-radius:.5rem; padding:1rem; display:grid; gap:.25rem; }
.pc-checklist { padding-inline-start:1.2rem; display:grid; gap:.75rem; }
.pc-order-link { display:inline-block; min-height:44px; padding-block:.6rem; margin-inline-end:1rem; }
.pc-cards, .pc-track { list-style:none; margin:0; padding:0; display:grid; gap:1rem; }
.pc-cards { grid-template-columns:repeat(auto-fill,minmax(min(100%,13rem),1fr)); }
.pc-card { position:relative; border:1px solid var(--line); border-radius:.6rem; padding:.75rem; min-width:0; }
.pc-card.is-selected { border-color:var(--pc-burgundy); box-shadow:inset 0 0 0 1px var(--pc-burgundy); }
.pc-card img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; background:var(--soft); border-radius:.4rem; }
.pc-card h3 { font-size:1rem; margin:.5rem 0 .25rem; overflow-wrap:anywhere; }
.pc-card > a { color:inherit; text-decoration:none; display:block; }
.pc-card-price { margin:.25rem 0; font-weight:700; }
.pc-card-stock { margin:0 0 .5rem; font-size:.875rem; color:#2f6b3a; }
.pc-card-hint { margin:0 0 .35rem; font-size:.875rem; color:var(--muted); }
.pc-card-actions { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; justify-content:space-between; }
.pc-secondary, .pc-related-controls button { min-height:44px; min-width:44px; border:1px solid var(--ink); background:#fff; color:var(--ink); border-radius:.5rem; padding-inline:1rem; font:inherit; cursor:pointer; }
.pc-related-controls button:disabled { opacity:.35; }
.pc-related-head { display:flex; justify-content:space-between; align-items:end; gap:1rem; }
.pc-related-controls { display:flex; gap:.5rem; margin-block-end:1rem; }
.pc-track { position:relative; grid-auto-flow:column; grid-auto-columns:min(72%,15rem); overflow-x:auto; scroll-snap-type:x mandatory; padding-block-end:.75rem; }
.pc-track > li { scroll-snap-align:start; }
.pc-product :is(a,button,summary,.pc-track):focus-visible, .pc-viewer button:focus-visible { outline:3px solid var(--pc-burgundy); outline-offset:2px; }
.pc-viewer button:focus-visible { outline-color:#fff; }
@media (prefers-reduced-motion: no-preference) { .pc-product :is(.pc-swatch,.pc-card,.pc-add) { transition:border-color .15s, box-shadow .15s, background-color .15s; } }

/* Standard product page: same language, native WooCommerce buying. */
.pc-product-meta { margin:0 0 .4rem; color:var(--muted); font-size:.9rem; }
.pc-standard .pc-choice:first-child { border-top:0; padding-block-start:.25rem; }
.pc-standard legend { font-size:1rem; font-weight:600; }
.pc-short { color:var(--muted); margin-block:.75rem; }
.pc-short p { margin:0 0 .5rem; }
.pc-stock { margin:1rem 0 .75rem; font-weight:600; display:flex; align-items:center; gap:.45rem; }
.pc-stock::before { content:""; width:.6rem; height:.6rem; border-radius:50%; background:currentColor; flex:0 0 auto; }
.pc-stock.is-in { color:#2f6b3a; } .pc-stock.is-out { color:#a40019; }
.pc-buy-row { display:grid; grid-template-columns:minmax(9rem,11rem) minmax(0,1fr); gap:.75rem; align-items:stretch; }
.pc-buy-row .pc-stepper { max-width:none; }
.pc-buy-row .pc-add { min-height:54px; }
@media (max-width:22rem) { .pc-buy-row { grid-template-columns:minmax(0,1fr); } }
.pc-description { overflow-wrap:anywhere; }
.pc-description img { max-width:100%; height:auto; }
.pc-description table { display:block; max-width:100%; overflow-x:auto; }
.pc-admin-note { border-inline-start:4px solid #b26200; margin-block-end:1rem; }
/* A sold out option stays choosable so its state can be read; it keeps full contrast. */
.pc-standard .pc-swatch.is-out { opacity:1; border-style:dashed; background:var(--soft); cursor:pointer; }
.pc-standard .pc-swatch.is-out small { color:#a40019; }

/* Share links under the buy area. */
.pc-share { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem .9rem; margin-block-start:1.25rem; font-size:.875rem; }
.pc-share-title { font-weight:600; }
.pc-share-link { background:none; border:0; padding:0; font:inherit; color:inherit; text-decoration:underline; text-underline-offset:.2em; cursor:pointer; }
.pc-share-status { flex-basis:100%; margin:0; min-height:1.2em; }
