/* Donaldsons — single product template, built from donaldsons-tartan-tie-product-mockup.html
   (Workstream A, donaldsons-product-page-template-brief-v2.md).
   Classes namespaced .don-prod-* to avoid colliding with WooCommerce's own .product
   classes, Divi globals, and the .don-cat-*/.don-footer-* rules from earlier builds.
   Real global header/footer (Divi Theme Builder) carry navigation — this template
   does not rebuild the mockup file's own standalone header/nav/announcement bar. */

:root{
  --don-ink:#17201c;
  --don-deep:#183128;
  --don-paper:#f4f1e9;
  --don-cream:#faf8f2;
  --don-line:#d7d0c1;
  --don-muted:#6b6455;
  --don-gold:#a68b55;
  --don-red:#713d38;
  --don-white:#fffdf8;
  --don-stone:#e8e3d9;
}

.don-prod{background:var(--don-white);color:var(--don-ink);font-family:Inter,Arial,sans-serif;font-size:14px}
.don-prod a{color:inherit}
.don-prod button,.don-prod input{font:inherit}

/* Explicit isolation from Divi/WooCommerce global resets — same principle as .don-cat */
.don-prod, .don-prod *{box-sizing:border-box}
.don-prod img{max-width:100%;height:auto;display:block;border:0}
/* Deliberately NOT resetting font-family/line-height/color/font-weight here —
   a bare ".don-prod h1" descendant selector outranks single-class rules like
   ".don-prod-title", so it would silently override them. Every heading below
   sets its own font/colour explicitly instead. */
.don-prod h1,.don-prod h2,.don-prod h3{margin:0;padding:0}
.don-prod p{margin:0;padding:0}
.don-prod ul{margin:0;padding:0;list-style:none}

.don-prod-page{max-width:1440px;margin:auto;padding:0 42px 80px}
.don-prod-breadcrumb{padding:19px 0 18px;color:#7b776e;font-size:10px}
.don-prod-breadcrumb a:hover{text-decoration:underline}
.don-prod-breadcrumb span{color:#b0aaa0;padding:0 7px}

.don-prod-main{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(390px,.9fr);gap:64px;align-items:start}

/* Gallery — the real WooCommerce featured image (2026-09-17: replaces the
   placeholder-art blocks from Step 4). Just the main photo for now: every
   product has one, but the "lifestyle"/"detail" secondary shots don't exist
   yet (still need to be shot) — .don-prod-gallery stays a grid container
   (not simplified to a single fixed box) so a future second/third real image
   can drop in as an extra .don-prod-gallery-item without a layout rewrite. */
.don-prod-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.don-prod-gallery-item{background:var(--don-stone);position:relative;overflow:hidden;min-height:330px}
.don-prod-gallery-item.main{grid-column:1/-1;min-height:620px}
/* Site-wide WebP-rewrite plugin wraps rendered <img> tags in <picture>,
   moving this class onto the wrapper rather than the <img> itself (confirmed
   live) — styled both ways rather than assuming which one gets it. */
.don-prod-gallery-img,.don-prod-gallery-img img{display:block;width:100%;height:100%;object-fit:contain}

/* Secondary gallery images (2026-09-19): clickable, swap into the main slot
   on click — see assets/js/product-gallery.js. .active marks whichever one
   is currently showing in the main slot (starts unset — the featured image
   is what's in main on load, not any of these). */
/* Hover/active feedback for secondary gallery images is set directly by
   product-gallery.js (inline !important styles), not here — something in
   Divi's own parent-theme CSS forces outline *and* box-shadow to none on
   [role="button"]/[tabindex] elements site-wide, beating even an !important
   rule at the same specificity here (confirmed live). cursor is unaffected
   by that reset, so it's safe to keep as a plain rule. */
.don-prod-gallery-item:not(.main){cursor:pointer}

/* Clan Crest picker: once a crest photo takes over the main slot, the
   product's own photo is relegated to a small "view product" thumbnail
   rather than a full second gallery item — it's a way back to see the piece
   itself, not a second photo of equal weight, so it's sized and positioned
   as a small card, not a half-width row that would otherwise look like an
   unfinished second photo slot. Added by clan-crest-picker.js on first
   crest selection. */
.don-prod-gallery-thumb{grid-column:1/2;justify-self:start;width:96px;min-height:0;background:none}
.don-prod-gallery-thumb-btn{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;padding:0;border:1px solid var(--don-line);background:var(--don-white);cursor:pointer}
.don-prod-gallery-thumb-btn:hover{border-color:var(--don-gold)}
.don-prod-gallery-thumb-btn .don-prod-gallery-img{aspect-ratio:1;object-fit:contain;padding:4px}
.don-prod-gallery-thumb-label{font-size:8px;letter-spacing:.06em;text-transform:uppercase;color:#716c63;padding:0 0 6px}

/* Purchase panel */
.don-prod-purchase{padding:17px 0 0}
.don-prod-eyebrow{margin:0 0 14px;color:var(--don-gold);font-size:9px;font-weight:600;letter-spacing:.13em;text-transform:uppercase}
.don-prod-title{margin:0;color:var(--don-deep);font-family:'Cormorant Garamond',Georgia,serif;font-size:56px;line-height:.93;font-weight:400;letter-spacing:-.02em}
.don-prod-subtitle{margin:14px 0 0;font-size:13px;color:var(--don-muted);line-height:1.6}
.don-prod-price{margin:25px 0 23px;font-family:'Cormorant Garamond',Georgia,serif;font-size:29px;color:var(--don-deep)}
.don-prod-price .don-prod-price-suffix{font-family:Inter,Arial,sans-serif;font-size:10px;color:#777269;margin-left:7px}
.don-prod-price del{opacity:.55;font-weight:400;margin-right:8px}
.don-prod-price ins{text-decoration:none}
.don-prod-short-rule{height:1px;background:var(--don-line);margin:0 0 25px}

/* Swatch/variant area — static placeholder only (Step 2: the interactive tartan
   selector is separate, later work once the Acowebs data + JS filter layer exist). */
.don-prod-option-heading{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}
.don-prod-option-heading strong{font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.don-prod-option-heading span{font-size:10px;color:#777269}
.don-prod-swatch-panel{position:relative;border:1px solid var(--don-line);background:var(--don-cream);padding:16px}

/* Weight/region choice (Men's Kilt's 3 weights; Trews/Trousers/Waistcoat's
   weight+region combinations) — a deliberate first step, not a filter, so
   it's set apart from the search/tabs below rather than styled like them.
   Hidden entirely for single-tier products (the majority) — see
   renderWeightRow() in tartan-picker.js. Styled to read clearly as buttons
   (raised, rounded, a real shadow) rather than flat text labels, per
   David's request (2026-09-20) — these are the first, most consequential
   choice on the page for a multi-tier product, so they need more visual
   weight than the Colour/Variant filter chips below them, not the same
   treatment. */
.don-prod-weight-row{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.don-prod-weight-row[hidden]{display:none}
.don-prod-weight-chip{display:flex;flex-direction:column;align-items:center;gap:3px;border:1px solid var(--don-deep);border-radius:6px;background:var(--don-white);padding:10px 18px;cursor:pointer;box-shadow:0 1px 3px rgba(23,32,28,.12);transition:box-shadow .15s,transform .15s}
.don-prod-weight-chip:hover{box-shadow:0 3px 8px rgba(23,32,28,.18);transform:translateY(-1px)}
.don-prod-weight-chip-label{font:600 10px Inter,Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase}
.don-prod-weight-chip-price{font:400 10px Inter,Arial,sans-serif;opacity:.75}
/* .active's background/text colour are driven inline by JS with
   !important, not here — some rule in Divi's own parent-theme CSS keeps
   winning this specific cascade otherwise (confirmed live, 2026-09-20;
   same issue already solved for the gallery swap/hover states). */
.don-prod-swatch-search{width:100%;height:38px;border:1px solid #cfc8bb;background:var(--don-white);padding:0 12px;color:var(--don-ink);outline:none}
.don-prod-swatch-search::placeholder{color:#989289}
.don-prod-swatch-search[disabled]{cursor:not-allowed;color:#989289}
.don-prod-tabs{display:flex;margin:13px 0 14px;border-bottom:1px solid var(--don-line);overflow-x:auto;overflow-y:hidden}
.don-prod-tabs span{padding:8px 10px 9px;font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#777269;border-bottom:2px solid transparent;white-space:nowrap;cursor:pointer}
.don-prod-tabs span[hidden]{display:none}
.don-prod-tabs span:hover{color:var(--don-deep)}
.don-prod-tabs span.active{color:var(--don-deep);border-bottom-color:var(--don-gold)}

/* Colour/Variant facet chips — reuse the same fixed swatch-panel box, no
   dropdown/overlay. Shown only while the Colour or Variant tab is active —
   chip choices are cleared on every tab switch (including re-picking the
   same tab), so each tab is always a fresh, predictable view rather than a
   filter silently layered on whatever was chosen before. */
.don-prod-chip-row{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.don-prod-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid #cfc8bb;background:var(--don-white);padding:5px 10px;font:600 9px Inter,Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#5e5b54;cursor:pointer}
.don-prod-chip:hover{border-color:var(--don-gold)}
.don-prod-chip.active{border-color:var(--don-deep);background:var(--don-deep);color:#fffaf1}
.don-prod-chip-swatch{width:10px;height:10px;border-radius:50%;border:1px solid rgba(0,0,0,.15);flex:0 0 auto}

/* 6 columns rather than the original mockup's 8 — a bare colour block was
   fine at 8-up, but each swatch now carries a name underneath (see
   .don-prod-swatch-label below), and 8-up left barely any width for it to
   read. */
.don-prod-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:12px 7px;min-height:47px}
.don-prod-swatch-cell{display:flex;flex-direction:column;gap:5px;min-width:0}
.don-prod-swatch{aspect-ratio:1;border:1px solid rgba(0,0,0,.13);position:relative;padding:0;cursor:pointer;display:block;width:100%;overflow:hidden}
.don-prod-swatch-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.don-prod-swatch:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 11px,rgba(255,255,255,.12) 11px 14px),repeating-linear-gradient(0deg,transparent 0 14px,rgba(0,0,0,.13) 14px 17px)}
.don-prod-swatch.selected{outline:2px solid var(--don-deep);outline-offset:2px}
/* Multi-select only (Contrasting Tartan Scarf's Side 1/Side 2 picker) — the
   outline alone can't say *which* slot a tile fills once two are selected
   at once, so a numbered badge sits on top of it. */
.don-prod-swatch-badge{position:absolute;top:4px;right:4px;z-index:2;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--don-deep);color:#fffaf1;font-size:10px;font-weight:700;line-height:18px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.don-prod-swatch-label{font-size:8px;line-height:1.3;color:#6e695f;text-align:center;word-break:break-word}
.don-prod-swatch-cell:has(.don-prod-swatch.selected) .don-prod-swatch-label{color:var(--don-deep);font-weight:600}
.don-prod-swatch-empty{grid-column:1/-1;padding:14px 4px;font-size:11px;color:#777269;text-align:center}

/* Clan Crest picker tiles — real badge photography, not a woven-fabric
   pattern, so this overrides three tartan-swatch assumptions: no colour-block
   backdrop (none is ever set on these tiles), no weave-texture overlay, and
   object-fit:contain rather than cover so a badge never gets cropped. */
.don-prod-crest-swatch{background:var(--don-white)}
.don-prod-crest-swatch:after{content:none}
.don-prod-crest-swatch .don-prod-swatch-img{object-fit:contain;padding:6px}

/* Popular tab: top 10 by sales_qty, "Show more" reveals the rest. Rendered as
   a grid child (not a sibling of .don-prod-swatches) purely so it gets
   cleared for free on every re-render along with the tiles. */
.don-prod-show-more{grid-column:1/-1;margin-top:2px;padding:9px 0;border:1px solid #cfc8bb;background:var(--don-white);font:600 9px Inter,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--don-deep);cursor:pointer}
.don-prod-show-more:hover{border-color:var(--don-gold)}

/* Hover/focus zoom preview — matches the real-photo mouseover the live site
   already gives customers on image-swatch fields (Acowebs' own hover-preview
   tooltip). One shared element repositioned per-tile by JS; pointer-events:
   none so the popup itself never triggers mouseleave/flicker on the tile
   underneath it. */
.don-prod-swatch-preview{position:absolute;z-index:20;width:200px;background:var(--don-white);border:1px solid var(--don-line);box-shadow:0 12px 28px rgba(30,27,22,.18);padding:8px;pointer-events:none}
.don-prod-swatch-preview img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:var(--don-stone)}
.don-prod-swatch-preview span{display:block;margin-top:7px;font-size:10px;text-align:center;color:#5e5b54}
.don-prod-selected-tartan{margin-top:13px;font-size:10px;color:#5e5b54}
.don-prod-selected-tartan b{color:var(--don-deep)}

/* Mill-provenance UX (donaldsons-mediumweight-acowebs-handover.md, 2026-09-29) */
/* Hardcoded colours below, not var(--don-*): StackCP's server-side
   PageSpeed optimization (x-provided-by: StackCDN) silently strips the
   :root{} custom-property block from every CSS file on this site before
   serving it — confirmed live 2026-09-29 (the rule is present in the raw
   file, absent from what the browser actually parses, and reappears with
   ?PageSpeed=off appended). That's a real, site-wide bug affecting every
   var(--don-*) usage in product.css/category.css/front-page.css/tartan-
   search.css — invisible everywhere else only because those backgrounds
   already sat over white/near-white content. This modal is opaque and
   text-heavy over busy content, so it's the first place it became visible.
   Hardcoding here sidesteps it for this feature; the underlying bug still
   needs a real fix (StackCP-side PageSpeed config, most likely) — flagged
   separately, not solved by this workaround. */
.don-prod-mill-info{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;margin-left:2px;border:1px solid #6b6455;border-radius:50%;background:none;color:#6b6455;font-size:10px;line-height:1;cursor:pointer;vertical-align:-2px;padding:0}
.don-prod-mill-info:hover{border-color:#183128;color:#183128}
.don-prod-mill-modal-overlay{position:fixed;inset:0;z-index:100;background:rgba(23,32,28,.5);display:flex;align-items:center;justify-content:center;padding:20px}
.don-prod-mill-modal{position:relative;max-width:380px;width:100%;background:#fffdf8;border:1px solid #d7d0c1;box-shadow:0 20px 48px rgba(30,27,22,.28);padding:28px 24px 24px}
.don-prod-mill-modal h4{margin:0 0 12px;font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;font-weight:400;color:#183128}
.don-prod-mill-modal p{margin:0;font-size:13px;line-height:1.7;color:#17201c}
.don-prod-mill-modal-close{position:absolute;top:10px;right:10px;width:26px;height:26px;border:none;background:none;color:#6b6455;font-size:18px;line-height:1;cursor:pointer}
.don-prod-mill-modal-close:hover{color:#183128}

/* Trust strip near the CTA — same sitewide assurance copy used on the homepage/category pages */
.don-prod-trust{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid var(--don-line);border-bottom:1px solid var(--don-line);margin:24px 0 18px}
.don-prod-trust div{padding:13px 10px 13px 0}
.don-prod-trust div+div{border-left:1px solid var(--don-line);padding-left:12px}
.don-prod-trust strong{display:block;font-size:9px;letter-spacing:.04em;text-transform:uppercase;color:var(--don-deep);margin-bottom:4px}
.don-prod-trust span{display:block;font-size:9px;line-height:1.45;color:#777269}
.don-prod-trust a{color:inherit;text-decoration:none;display:block}

/* Native WooCommerce/Acowebs tartan selection UI. Two layers, deliberately:
   1) This static list — the exact Acowebs forms confirmed (2026-09-19, via
      wp_get_object_terms()/get_form_ids() in the plugin's own product.php,
      cross-referenced against wp_term_relationships for every wcpa_pt_forms
      post tagged to a product_cat that any of the 64 tartan-picker products
      or 16 clan-crest products belongs to — not guessed) to be a pure
      tartan/fabric-pattern duplicate of the custom picker: the "IB Tartans
      A-F/G-M/Mac/N-Y"+"IB Solid Colours" quintet, the per-weight "Kilt/Trews
      Tartans DD" forms, the Irish Tartan Fabric weight forms, District
      Tartans, Strathmore/Lambswool/Lightweight/Irish-tie tartan forms, and
      the two Clan Crest picker forms. This is the ONLY reliable way to hide
      every sibling in a group (e.g. all 5 IB letter-range forms, not just
      whichever one happens to match the customer's current selection).
   2) hideNativeField() in tartan-picker.js/clan-crest-picker.js — a runtime
      safety net that hides whatever native field it actually just wrote a
      value into, for forms this list might not know about yet (new
      category-scoped forms Acowebs assigns without a code change here).
   Real regression fixed 2026-09-19: an earlier version of this rule hid
   EVERY .wcpa_section on any picker page unconditionally, which also
   silently hid genuinely-needed fields (Fishtail Trews' "Measurements &
   Options", Dress Sporran's option forms, Kilt/Waistcoat/Trouser
   Measurements, Boy's Kilt's "Kilt Type", Waistcoat's "Backing Material")
   — and, on products with no picker at all, hid Acowebs fields it was
   never meant to touch (Ghillie Brogue Shoe's "Wide Fitting Option").
   Scoped under [data-tartan-picker]/[data-clan-crest-picker] as a second
   guard, so a future unrelated product reusing one of these form IDs isn't
   affected. */
/* Only hidden when [data-variation-is-pattern-only] confirms this product's
   native WC variation attribute is exactly the tartan-colour/tie-tartan/
   weight-tartan pattern duplicate — see don_product_variation_is_pattern_only()
   in functions.php. Real bug, found 2026-09-19: hiding this unconditionally
   on every tartan-picker page permanently blocked Add to Basket (WooCommerce's
   own "wc-variation-selection-needed" gate) on ~22 products where this
   dropdown is a genuinely separate, required choice — a fabric weight, a
   size, a region, a second colour, or just a single option that still needs
   an explicit click — and the picker has no way to set it. */
.don-prod-purchase[data-tartan-picker][data-variation-is-pattern-only] .variations_form.cart table.variations{display:none}
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47739,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47736,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47733,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47747,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47557,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47563,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47564,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47565,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47570,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47212,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47716,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_43324,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_38987,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_38995,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_38997,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_38998,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_30800,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_30798,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_30809,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_30868,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_30837,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_790749,
.don-prod-purchase[data-tartan-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_790133,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47739,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47736,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47733,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47747,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47557,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47563,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47564,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47565,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47570,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47212,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47716,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_43324,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_38987,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_38995,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_38997,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_38998,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_30800,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_30798,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_30809,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_30868,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_30837,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_790749,
.don-prod-purchase[data-tartan-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_790133,
.don-prod-purchase[data-clan-crest-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47500,
.don-prod-purchase[data-clan-crest-picker] .variations_form.cart .wcpa_wrap .wcpa_form_id_47672,
.don-prod-purchase[data-clan-crest-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47500,
.don-prod-purchase[data-clan-crest-picker] .don-prod-purchase-row .wcpa_wrap .wcpa_form_id_47672{display:none}

/* Add to basket — real WooCommerce add-to-cart form */
.don-prod-purchase-row{display:grid;grid-template-columns:72px 1fr;gap:10px}
.don-prod-qty input{width:100%;height:52px;border:1px solid #bbb3a5;background:var(--don-white);text-align:center;font-size:12px;color:var(--don-ink)}
.don-prod-add{height:52px;border:1px solid var(--don-deep);background:var(--don-deep);color:#fffaf1;font:600 10px Inter,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;cursor:pointer;width:100%}
.don-prod-add:hover{background:var(--don-ink)}
.don-prod-add:disabled{opacity:.55;cursor:not-allowed}

/* 52 of the 64 real tartan products are WooCommerce *variable* products
   (checked live, 2026-09-16) — the majority, not the edge case the "safety
   net" comment in product-single.php assumed. They fall back to
   woocommerce_template_single_add_to_cart(), so there's no .don-prod-add /
   .don-prod-qty markup to hook — these rules restyle WooCommerce's own
   native quantity input, Add to Basket button and the Acowebs price-summary
   recap in place, mirroring the simple-product treatment above exactly, the
   same way the native selector itself was hidden rather than rebuilt. Floats
   (not grid) for the quantity/button pair, since the real markup interleaves
   other siblings (the hidden Acowebs field wrap, Stripe/PayPal express
   buttons) between and after them that a grid would misplace — WooCommerce's
   own .wc-stripe-clear clearfix immediately after already anticipates this. */
/* .don-prod-purchase-row is a CSS grid (72px qty column + 1fr) for the
   simple-product path — Acowebs' wcpa_form_outer wrapper (2026-09-17: only
   renders here at all since the simple-product render-hook fix) is its
   *first* direct child, ahead of .don-prod-qty and the button. Without this,
   the grid auto-placed it into cell 1 and pushed qty+button onto row 2, with
   the button alone in the 72px-wide qty column — visibly "ADD TO" wrapped
   and clipped at the fixed 52px button height. Spanning it full-width here
   keeps qty+button correctly paired on their own row regardless of it. */
.don-prod-purchase .don-prod-purchase-row .wcpa_form_outer{grid-column:1/-1}
.don-prod-purchase .variations_form.cart .wcpa_price_summary,
.don-prod-purchase .don-prod-purchase-row .wcpa_price_summary{margin:0 0 14px;padding:10px 0 0;border-top:1px solid var(--don-line);font-size:11px;color:#5e5b54}
.don-prod-purchase .variations_form.cart .wcpa_options_total,
.don-prod-purchase .variations_form.cart .wcpa_product_total,
.don-prod-purchase .don-prod-purchase-row .wcpa_options_total,
.don-prod-purchase .don-prod-purchase-row .wcpa_product_total{display:flex;justify-content:space-between;padding:3px 0}
.don-prod-purchase .variations_form.cart .wcpa_total,
.don-prod-purchase .don-prod-purchase-row .wcpa_total{display:flex;justify-content:space-between;padding:8px 0 0;margin-top:6px;border-top:1px solid var(--don-line);font-weight:600;color:var(--don-deep);font-size:13px}
.don-prod-purchase .variations_form.cart .quantity{float:left;width:72px;margin:0 10px 0 0}
.don-prod-purchase .variations_form.cart .quantity .qty{width:100%;height:52px;border:1px solid #bbb3a5;background:var(--don-white);text-align:center;font-size:12px;color:var(--don-ink);font-family:Inter,Arial,sans-serif}
.don-prod-purchase .variations_form.cart .single_add_to_cart_button{float:left;width:calc(100% - 82px);height:52px;line-height:52px;padding:0;border:1px solid var(--don-deep);background:var(--don-deep);color:#fffaf1;font:600 10px Inter,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;cursor:pointer}
.don-prod-purchase .variations_form.cart .single_add_to_cart_button:hover{background:var(--don-ink)}
.don-prod-purchase .variations_form.cart .single_add_to_cart_button.disabled{opacity:.55;cursor:not-allowed}
.don-prod-payment-note{text-align:center;color:#777269;font-size:9px;line-height:1.5;margin:11px 0 0}
.don-prod-stock-note{font-size:10px;color:var(--don-red);margin:0 0 12px}

/* Description */
.don-prod-description{margin-top:75px;padding-top:45px;border-top:1px solid var(--don-line);display:grid;grid-template-columns:.72fr 1.28fr;gap:80px}
.don-prod-description h2,.don-prod-reviews h2,.don-prod-related h2{margin:0;font:400 38px/1 'Cormorant Garamond',Georgia,serif;color:var(--don-deep)}
.don-prod-description-intro{font:400 22px/1.3 'Cormorant Garamond',Georgia,serif;color:var(--don-deep);max-width:430px}
.don-prod-description-body p{margin:0 0 18px;color:#5f5b54;font-size:13px;line-height:1.8}
/* Real per-product description content (2026-09-17) can carry its own
   heading/rule/emphasis — unlike the fixed placeholder copy it replaces,
   which was plain <p> tags only. Sized a step below the section's own h2
   (.don-prod-description h2, 38px) so page hierarchy stays section > in-copy
   heading > body text. */
.don-prod-description-body h1,.don-prod-description-body h2,.don-prod-description-body h3{margin:0 0 14px;font:400 22px/1.3 'Cormorant Garamond',Georgia,serif;color:var(--don-deep)}
.don-prod-description-body strong{color:var(--don-deep);font-weight:600}
.don-prod-description-body hr{border:none;border-top:1px solid var(--don-line);margin:28px 0}
.don-prod-description-body ul,.don-prod-description-body ol{margin:0 0 18px;padding-left:20px;color:#5f5b54;font-size:13px;line-height:1.8}
.don-prod-spec-list{margin:23px 0 0;padding:0;list-style:none;border-top:1px solid var(--don-line)}
.don-prod-spec-list li{padding:11px 0;border-bottom:1px solid var(--don-line);font-size:11px}
.don-prod-spec-list b{display:inline-block;width:130px;color:var(--don-deep);font-size:9px;letter-spacing:.06em;text-transform:uppercase}

/* Reviews (2026-09-18) — real Trustpilot quotes, verified live (real name,
   confirmed rating, working permalink) for the categories that have one;
   everything else gets a plain aggregate mention (.don-prod-review-generic)
   rather than a fabricated or repeated card — see don_get_product_review()
   in functions.php and donaldsons-reviews-product-mapping-coverage.md for
   which categories are covered vs. still pending the same verification pass. */
.don-prod-reviews{margin-top:72px;padding:46px 0;border-top:1px solid var(--don-line);border-bottom:1px solid var(--don-line)}
.don-prod-review-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}
.don-prod-review-summary{font-size:10px;color:#6d6961}
.don-prod-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));max-width:480px}
.don-prod-review{padding:0 28px 0 0}
.don-prod-review+.don-prod-review{border-left:1px solid var(--don-line);padding-left:28px}
.don-prod-stars{color:var(--don-gold);letter-spacing:2px;font-size:12px}
.don-prod-review q{display:block;margin:14px 0 15px;font:400 19px/1.3 'Cormorant Garamond',Georgia,serif;color:var(--don-deep)}
.don-prod-review-meta{font-size:9px;color:#777269}
.don-prod-review-meta a{color:#777269;text-decoration:underline;text-underline-offset:2px}
.don-prod-review-meta a:hover{color:var(--don-deep)}
.don-prod-review-generic{font-size:12px;color:#5e5b54;line-height:1.6;max-width:480px}
.don-prod-review-generic a{color:var(--don-deep);text-decoration:underline;text-underline-offset:2px}
.don-prod-verified{display:inline-block;margin-left:8px;padding:3px 5px;border:1px solid #cfc8bb;color:#6e695f;font-size:7px;letter-spacing:.07em;text-transform:uppercase}

/* Related products — real WooCommerce related products, same placeholder image
   treatment as the reference file (no real photos placed this session). */
.don-prod-related{padding:62px 0 15px}
.don-prod-related h2{margin-bottom:28px}
.don-prod-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.don-prod-related-card{min-width:0}
.don-prod-related-img{display:block;height:270px;background:var(--don-stone);position:relative;overflow:hidden}
.don-prod-related-img img{display:block;width:100%;height:100%;object-fit:contain}
/* Decorative placeholder shape — only shows for a related product with no
   real photo, via :empty (the <img> is the only possible child). */
.don-prod-related-img:empty:before{content:"";position:absolute;inset:25% 27%;background:#24312b;transform:rotate(8deg)}
.don-prod-related-card:nth-child(4n+2) .don-prod-related-img:empty:before{background:#70533a;transform:rotate(-6deg)}
.don-prod-related-card:nth-child(4n+3) .don-prod-related-img:empty:before{background:#8b3038;transform:rotate(5deg)}
.don-prod-related-card:nth-child(4n+4) .don-prod-related-img:empty:before{background:#252d35;transform:rotate(-8deg)}
.don-prod-related-name{font:400 21px/1.1 'Cormorant Garamond',Georgia,serif;color:var(--don-deep);margin-top:12px}
.don-prod-related-name a:hover{text-decoration:underline}
.don-prod-related-tartan{font-size:9px;color:#777269;margin-top:5px}
.don-prod-related-price{font-size:11px;margin-top:7px;color:var(--don-red)}
.don-prod-related-empty{color:var(--don-muted);font-size:13px}

/* Product-page-only four-column trust band, between the description/reviews/related
   stack and the (real, global) footer — see brief background: intentional and
   distinct from the three-column band used on category pages, do not merge. */
.don-prod-footer-trust{background:var(--don-paper);border-top:1px solid var(--don-line);border-bottom:1px solid var(--don-line);display:grid;grid-template-columns:repeat(4,1fr);max-width:1440px;margin:0 auto;padding:28px 42px}
.don-prod-footer-trust div{padding-right:25px}
.don-prod-footer-trust div+div{border-left:1px solid var(--don-line);padding-left:25px}
.don-prod-footer-trust strong{display:block;font:500 18px 'Cormorant Garamond',Georgia,serif;color:var(--don-deep);margin-bottom:5px}
.don-prod-footer-trust span{font-size:9px;line-height:1.5;color:#777269}

@media(max-width:900px){
  .don-prod-page{padding:0 22px 55px}
  .don-prod-main{grid-template-columns:1fr;gap:35px}
  .don-prod-purchase{padding-top:0}
  .don-prod-title{font-size:48px}
  .don-prod-description{grid-template-columns:1fr;gap:25px}
  .don-prod-footer-trust{padding:24px 22px}
}
@media(max-width:620px){
  .don-prod-page{padding:0 14px 45px}
  .don-prod-breadcrumb{padding:13px 0 14px;font-size:9px}
  .don-prod-main{gap:26px}
  .don-prod-gallery{gap:6px}
  .don-prod-gallery-item.main{min-height:390px}
  .don-prod-gallery-item.detail,.don-prod-gallery-item.life{min-height:180px}
  .don-prod-purchase{padding:0 3px}
  .don-prod-title{font-size:42px}
  .don-prod-subtitle{font-size:12px}
  .don-prod-price{font-size:26px;margin:20px 0}
  .don-prod-swatch-panel{padding:13px}
  .don-prod-swatches{grid-template-columns:repeat(4,1fr);gap:10px 6px}
  .don-prod-swatch-label{font-size:9px}
  .don-prod-trust{grid-template-columns:1fr;margin-top:20px}
  .don-prod-trust div{padding:11px 0}
  .don-prod-trust div+div{border-left:0;border-top:1px solid var(--don-line);padding-left:0}
  .don-prod-purchase-row{grid-template-columns:64px 1fr}
  .don-prod-description{margin-top:48px;padding-top:32px}
  .don-prod-description h2,.don-prod-reviews h2,.don-prod-related h2{font-size:32px}
  .don-prod-description-intro{font-size:20px}
  .don-prod-review-head{display:block}
  .don-prod-review-summary{margin-top:10px}
  .don-prod-review-grid{grid-template-columns:1fr}
  .don-prod-review{padding:20px 0}
  .don-prod-review+.don-prod-review{border-left:0;border-top:1px solid var(--don-line);padding:20px 0 0}
  .don-prod-related-grid{grid-template-columns:1fr 1fr;gap:10px}
  .don-prod-related-img{height:210px}
  .don-prod-related-name{font-size:18px}
  .don-prod-footer-trust{grid-template-columns:1fr 1fr;padding:24px 16px;gap:18px}
  .don-prod-footer-trust div{padding-right:10px}
  .don-prod-footer-trust div+div{border-left:0;padding-left:0}
}
