/* ==========================================================================
   PRO-STRUCT PRODUCT PAGE STYLESHEET, v2, design revision
   For AMT Composites. WooCommerce + Elementor Pro + Astra / Astra Pro.

   Replaces pro-struct-pdp.css in full. Keep the file name: the theme loads
   css/pro-struct-pdp.css by that exact name, and WP Rocket's exclusions
   point at it.

   Works with inc/pro-struct-revision.php, which adds the packaging icons and
   wraps the curing tables so they scroll on phones. Without that file this
   stylesheet still works; the icons simply do not appear and the tables
   behave as before.

   Still scoped to .ps-pdp, the CSS class on the outermost container of the
   Elementor Single Product template, which is conditioned to the Pro-Struct
   category. Nothing here can reach any other product on the site.

   Load order matters. This must load AFTER Astra and WooCommerce.
   If WP Rocket is minifying CSS, keep this file excluded or the cache will
   serve a stale copy and filemtime busting will be bypassed.

   The first part is v1, unchanged except that its token block and its two
   extra font families are gone. The second part is the revision. The order
   matters: the revision must come last so it wins where both style the same
   thing. Do not move the v2 part above the v1 part.
   ========================================================================== */

/* ==========================================================================
   v1, UNCHANGED EXCEPT FOR TWO THINGS
     - its token block is gone; the revision's section 0 supplies the tokens
     - every font-family declaration naming the two retired families is
       deleted, which is the one-font change
   ========================================================================== */

/* ==========================================================================
   PRO-STRUCT PRODUCT PAGE STYLESHEET
   For AMT Composites. WooCommerce + Elementor Pro + Astra / Astra Pro.

   Everything is scoped to .ps-pdp, which is set as the CSS class on the
   outermost container of the Elementor Single Product template. That template
   is conditioned to the Pro-Struct product category, so nothing here can
   reach any other product on the site.

   Load order matters. This must load AFTER Astra and WooCommerce.
   Put it in an Astra child theme stylesheet, or a WPCode CSS snippet.

   SECTIONS
     0. Tokens
     1. Resets inside the scope
     2. WooCommerce native output overrides
     3. Astra and Elementor neutralisation
     4. Module styles (the blocks pasted into the product description)
     5. Responsive
   ========================================================================== */




/* ==========================================================================
   1. RESETS INSIDE THE SCOPE ONLY
   ========================================================================== */

.ps-pdp *,
.ps-pdp *::before,
.ps-pdp *::after{box-sizing:border-box}

.ps-pdp img{max-width:100%;height:auto;display:block}

.ps-pdp a:focus-visible,
.ps-pdp button:focus-visible,
.ps-pdp summary:focus-visible,
.ps-pdp input:focus-visible{
  outline:2px solid var(--red);
  outline-offset:2px;
  border-radius:4px;
}

.ps-pdp .ps-sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}


/* ==========================================================================
   2. WOOCOMMERCE NATIVE OUTPUT
   These are the widgets that must stay native so the cart, variations,
   stock and tracking keep working. Everything below is cosmetic only.
   ========================================================================== */

/* ---- 2.1 Breadcrumb (Elementor "WooCommerce Breadcrumbs") ---------------- */
.ps-pdp .woocommerce-breadcrumb{
  font-size:13px;
  color:var(--faint);
  margin:0;
  padding:0;
}
.ps-pdp .woocommerce-breadcrumb a{
  color:var(--faint);
  text-decoration:none;
}
.ps-pdp .woocommerce-breadcrumb a:hover{color:var(--red-d)}
/* Woo separates crumbs with a raw string. Space it without touching markup. */
.ps-pdp .woocommerce-breadcrumb{word-spacing:4px}


/* ---- 2.2 Gallery (Elementor "Product Images") ---------------------------- */
/* Woo/FlexSlider markup:
     .woocommerce-product-gallery
       > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image
       > ol.flex-control-nav.flex-control-thumbs > li > img              */

.ps-pdp .woocommerce-product-gallery{
  margin:0;
  position:relative;
}
/* FlexSlider sets __wrapper to several hundred percent wide, one panel per
   image, so a border on it runs off the side of the column and you only ever
   see the left and top edges. The frame goes on the viewport instead. */
.ps-pdp .woocommerce-product-gallery__wrapper{
  background:var(--surface);
  margin:0;
}
.ps-pdp .woocommerce-product-gallery--with-images > .woocommerce-product-gallery__wrapper,
.ps-pdp .woocommerce-product-gallery .flex-viewport{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
}
/* Once FlexSlider initialises it wraps the panels in .flex-viewport, which is
   the element that is actually column-width. Before it initialises there is no
   viewport, so the wrapper carries the frame. One of the two always applies. */
.ps-pdp .woocommerce-product-gallery .flex-viewport > .woocommerce-product-gallery__wrapper{
  border:0;
  border-radius:0;
}
.ps-pdp .woocommerce-product-gallery__image img{
  aspect-ratio:var(--gallery-ratio);
  object-fit:contain;
  width:100%;
  padding:26px;
  background:var(--surface);
}
/* Lifestyle and in-use shots should fill rather than letterbox. Tag those
   images with the "ps-fill" class in the media library alt/class field, or
   drop this rule if every image is a pack shot on white. */
.ps-pdp .woocommerce-product-gallery__image img.ps-fill{
  object-fit:cover;
  padding:0;
}

/* Zoom trigger, top right by default. Move it clear of the badges. */
.ps-pdp .woocommerce-product-gallery__trigger{
  top:14px;
  right:14px;
  z-index:3;
}

/* Thumbnail strip */
.ps-pdp .flex-control-thumbs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin:12px 0 0;
  padding:0;
  list-style:none;
}
.ps-pdp .flex-control-thumbs li{
  width:auto !important;   /* Woo hard-codes 25% and floats them */
  margin:0;
  float:none;
  display:block;
}
.ps-pdp .flex-control-thumbs img{
  display:block;
  aspect-ratio:1/1;
  object-fit:contain;
  width:100% !important;
  height:auto;
  padding:8px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  opacity:1;
  cursor:pointer;
}
.ps-pdp .flex-control-thumbs img.flex-active,
.ps-pdp .flex-control-thumbs img:hover{
  border:2px solid var(--red);
  padding:7px;
}

/* Sale flash, if a Pro-Struct item ever goes on promotion */
.ps-pdp .woocommerce span.onsale{
  background:var(--red-d);
  color:#fff;
  font-weight:600;
  font-size:12px;
  border-radius:4px;
  min-height:0;
  min-width:0;
  line-height:1;
  padding:6px 11px;
  top:14px;
  left:14px;
  margin:0;
}


/* ---- 2.3 Title (Elementor "Product Title") ------------------------------- */
.ps-pdp .product_title,
.ps-pdp .elementor-widget-woocommerce-product-title h1{
  font-size:30px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:-.4px;
  color:var(--ink);
  margin:0 0 6px;
  padding:0;
}


/* ---- 2.4 Price (Elementor "Product Price") ------------------------------- */
.ps-pdp .elementor-widget-woocommerce-product-price .price,
.ps-pdp p.price{
  font-weight:500;
  font-size:32px;
  letter-spacing:-1px;
  color:var(--ink);
  margin:0;
  display:flex;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
}
.ps-pdp .price .woocommerce-Price-currencySymbol{font-size:.8em}
/* Variable products print a range as "R x – R y". Keep it on one line. */
.ps-pdp .price bdi{white-space:nowrap}
/* Sale pricing */
.ps-pdp .price del{
  font-size:.55em;
  color:var(--faint);
  opacity:1;
  text-decoration:line-through;
}
.ps-pdp .price ins{
  text-decoration:none;
  color:var(--red-d);
}
/* Woo prints the VAT suffix in a small tag if you have one configured */
.ps-pdp .price small.woocommerce-price-suffix{
  font-size:13px;
  color:var(--faint);
  font-weight:400;
}


/* ---- 2.5 Short description (the lede) ------------------------------------ */
.ps-pdp .woocommerce-product-details__short-description{
  font-size:15.5px;
  color:var(--muted);
  line-height:1.58;
  max-width:52ch;
  margin:0 0 20px;
}
.ps-pdp .woocommerce-product-details__short-description p{margin:0 0 10px}
.ps-pdp .woocommerce-product-details__short-description p:last-child{margin-bottom:0}
/* Elementor widget margins are zeroed inside the scope and the buy-box
   container runs at gap 0, so vertical rhythm comes from these rules. They
   hang off WooCommerce's own classes rather than Elementor widget names,
   which differ between versions. */
.ps-pdp .woocommerce-product-details__short-description{margin:0 0 20px}
.ps-pdp p.price{margin:0 0 6px}
.ps-pdp p.stock{margin:0 0 14px}
.ps-pdp form.cart{margin:0 0 18px}


/* ---- 2.6 Stock (Elementor "Product Stock", or inside the cart form) ------- */
.ps-pdp p.stock,
.ps-pdp .elementor-widget-woocommerce-product-stock p{
  font-size:13.5px;
  font-weight:600;
  margin:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.ps-pdp p.stock.in-stock{color:var(--ok)}
.ps-pdp p.stock.out-of-stock{color:var(--red-d)}
.ps-pdp p.stock.available-on-backorder{color:var(--faint)}
/* The status dot, drawn rather than added to the markup */
.ps-pdp p.stock::before{
  content:"";
  width:9px;height:9px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
  flex:none;
}


/* ---- 2.7 Variations (needs a swatch plugin, see the build guide) --------- */
.ps-pdp .variations{
  margin:0 0 18px;
  border:0;
  width:100%;
}
.ps-pdp .variations tr,
.ps-pdp .variations td,
.ps-pdp .variations th{
  display:block;
  border:0;
  padding:0;
  background:none;
}
.ps-pdp .variations th.label,
.ps-pdp .variations .label{
  font-size:13px;
  color:var(--muted);
  font-weight:400;
  margin-bottom:8px;
  text-align:left;
}
.ps-pdp .variations .label label{font-weight:400;margin:0}
.ps-pdp .reset_variations{
  font-size:12.5px;
  color:var(--faint);
  margin-left:10px;
}

/* Fallback if no swatch plugin is active: make the native select presentable */
.ps-pdp .variations select{
  width:100%;
  height:46px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--surface);
  padding:0 14px;
  font-size:14.5px;
  color:var(--ink);
}

/* ---- INACTIVE IN THE CURRENT BUILD ----------------------------------------
   The range is built as 21 separate simple products, one per SKU, so there
   are no variations and these rules never fire. They are kept because the
   plugin is live on AMT's products, and because if Pro-Struct is ever
   restructured as variable products this block is what it needs.
   The working colour picker is .ps-family, further down.
   ---------------------------------------------------------------------------

   Variation Swatches for WooCommerce (free, Emran Ahmed).

   NOTE ON THE SELECTORS. The plugin puts `woo-variation-swatches` on <body>,
   not on the swatch list, so `.ps-pdp .woo-variation-swatches .variable-item`
   would never match. Target .variable-item directly. `.ps-pdp` is still the
   scope, so this cannot reach an AMT product.

   The plugin renders a colour chip with the term name only as a title
   tooltip. The approved design shows chip plus visible label, so the label
   is drawn from attr(title) below and the tooltip is switched off in the
   plugin settings. */

.ps-pdp .variable-items-wrapper{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:0;
  margin:0;
  list-style:none;
}

.ps-pdp .variable-items-wrapper .variable-item{
  display:flex;
  align-items:center;
  gap:9px;
  width:auto !important;
  height:auto !important;
  min-width:0;
  max-width:none;
  margin:0;
  padding:8px 14px 8px 9px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--surface);
  box-shadow:none;
  font-size:13.5px;
  line-height:1.2;
  color:var(--ink);
  cursor:pointer;
}

/* The visible colour name, taken from the term title */
.ps-pdp .variable-items-wrapper .variable-item::after{
  content:attr(title);
  font-size:13.5px;
  color:var(--ink);
  white-space:nowrap;
}
/* Button-type swatches already print their own label, so suppress the copy */
.ps-pdp .variable-items-wrapper .button-variable-item::after{content:none}

.ps-pdp .variable-items-wrapper .variable-item:hover,
.ps-pdp .variable-items-wrapper .variable-item.selected{
  border-color:var(--red);
  box-shadow:inset 0 0 0 1px var(--red);
}

.ps-pdp .variable-items-wrapper .variable-item-contents{
  display:flex;
  align-items:center;
  line-height:0;
}

.ps-pdp .variable-items-wrapper .variable-item-span-color{
  display:block;
  width:22px;
  height:22px;
  border-radius:4px;
  border:1px solid rgba(0,0,0,.14);
  box-shadow:none;
}

.ps-pdp .variable-items-wrapper .variable-item-span-button{
  font-size:13.5px;
  color:var(--ink);
  padding:0;
  background:none;
}

/* Out of stock or unavailable combination */
.ps-pdp .variable-items-wrapper .variable-item.disabled,
.ps-pdp .variable-items-wrapper .variable-item.no-stock{
  opacity:.4;
  cursor:not-allowed;
}
.ps-pdp .variable-items-wrapper .variable-item.disabled:hover{
  border-color:var(--line);
  box-shadow:none;
}

/* Suppress the plugin tooltip on Pro-Struct pages only, since the colour
   name is already visible beside the chip.

   DO NOT turn the tooltip off in the plugin settings. That setting is global
   and the plugin is already live on AMT's products, which may depend on it.

   The tooltip is drawn differently across plugin versions: older builds use a
   pseudo-element on the swatch, newer ones append a single floating element to
   <body>, which .ps-pdp cannot reach. Both are covered below. Verify by
   hovering a swatch on a Pro-Struct product and, if one still appears, inspect
   it and add the matching selector here.

   If it cannot be suppressed cleanly, leave it. A tooltip repeating a label
   that is already on screen is redundant, not broken, and it does not exist on
   touch devices at all. */
.ps-pdp .variable-items-wrapper .variable-item .variable-item-contents::before,
.ps-pdp .variable-items-wrapper .variable-item .variable-item-contents::after{
  display:none !important;
}
body.ps-product .wvs-tooltip,
body.ps-product .woo-variation-swatches-tooltip,
body.ps-product .variable-item-tooltip{
  display:none !important;
}

/* Variation price and availability that Woo injects after a selection */
.ps-pdp .woocommerce-variation-price .price{font-size:26px}
.ps-pdp .woocommerce-variation-availability p.stock{margin-top:8px}


/* ---- 2.8 Quantity and add to cart (Elementor "Add To Cart") -------------- */
.ps-pdp form.cart{
  display:flex;
  gap:12px;
  align-items:stretch;
  margin:0 0 16px;
  flex-wrap:wrap;
}
/* Variable products wrap the row, so the flex row moves down a level */
.ps-pdp form.cart.variations_form{display:block}
.ps-pdp .woocommerce-variation-add-to-cart{
  display:flex;
  gap:12px;
  align-items:stretch;
  flex-wrap:wrap;
}

.ps-pdp form.cart .quantity{
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:var(--r);
  overflow:hidden;
  background:var(--surface);
  margin:0;
  float:none;
}
.ps-pdp form.cart .quantity input.qty{
  width:66px;
  height:52px;
  border:0;
  text-align:center;
  font-size:16px;
  color:var(--ink);
  background:transparent;
  -moz-appearance:textfield;
}
.ps-pdp form.cart .quantity input.qty::-webkit-outer-spin-button,
.ps-pdp form.cart .quantity input.qty::-webkit-inner-spin-button{
  -webkit-appearance:none;margin:0;
}
/* If you add a plus/minus plugin, it renders buttons either side of .qty */
.ps-pdp form.cart .quantity .qty-btn,
.ps-pdp form.cart .quantity button{
  border:0;
  background:var(--surface-2);
  width:42px;height:52px;
  color:var(--muted);
  display:flex;align-items:center;justify-content:center;
  font-size:18px;
  line-height:1;
}
.ps-pdp form.cart .quantity button:hover{background:#E3E6E9;color:var(--ink)}

/* NOTE ON THE STOCK LINE. WooCommerce prints it inside the add-to-cart
   template for simple products, immediately above the quantity row, which is
   where the design wants it. So there is no Product Stock widget in the
   template and nothing is suppressed here. If you ever see two stock lines,
   the Product Stock widget has been added back; remove it rather than hiding
   one with CSS, because Elementor's widget class names differ by version and
   a selector that misses would hide the wrong one. */

/* ── 6. QUANTITY PLUS AND MINUS ───────────────────────────────────────────
   Astra Pro and most quantity plugins output .minus and .plus as buttons,
   links or inputs depending on which is doing it. Cover all three. */
.ps-pdp form.cart .quantity .minus,
.ps-pdp form.cart .quantity .plus,
.ps-pdp form.cart .quantity button.minus,
.ps-pdp form.cart .quantity button.plus,
.ps-pdp form.cart .quantity input.minus,
.ps-pdp form.cart .quantity input.plus,
.ps-pdp form.cart .quantity a.minus,
.ps-pdp form.cart .quantity a.plus{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:52px;
  flex:none;
  border:0;
  border-radius:0;
  background:var(--surface-2);
  color:var(--muted);
  font-size:18px;
  line-height:1;
  font-weight:400;
  text-decoration:none;
  cursor:pointer;
  padding:0;
  box-shadow:none;
}
.ps-pdp form.cart .quantity .minus:hover,
.ps-pdp form.cart .quantity .plus:hover{background:#E3E6E9;color:var(--ink)}
.ps-pdp form.cart .quantity .minus{order:-1}   /* keep minus on the left */
.ps-pdp form.cart .quantity .plus{order:1}

.ps-pdp .single_add_to_cart_button,
.ps-pdp .single_add_to_cart_button.button.alt{
  flex:1 1 200px;
  height:52px;
  min-height:52px;
  border:0;
  border-radius:var(--r);
  background:var(--red-d);
  color:#fff;
  font-size:15.5px;
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
  padding:0 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  transition:background .15s;
}
.ps-pdp .single_add_to_cart_button:hover,
.ps-pdp .single_add_to_cart_button.button.alt:hover{background:#A50F22;color:#fff}
.ps-pdp .single_add_to_cart_button.disabled,
.ps-pdp .single_add_to_cart_button:disabled{
  background:var(--silver);
  opacity:1;
  cursor:not-allowed;
}
/* Woo's "added to cart" tick that appears next to the button */
.ps-pdp .added_to_cart{
  align-self:center;
  font-size:13px;
  color:var(--red-d);
  text-decoration:underline;
  white-space:nowrap;
  flex:none;
}


/* ---- 2.9 Product meta (SKU, categories) ---------------------------------- */
.ps-pdp .product_meta{
  font-size:12.5px;
  color:var(--faint);
  border-top:1px solid var(--line-soft);
  padding-top:12px;
  margin-top:4px;
}
.ps-pdp .product_meta a{color:var(--muted);text-decoration:none}
.ps-pdp .product_meta a:hover{color:var(--red-d)}


/* ---- 2.10 Tabs and reviews ----------------------------------------------- */
.ps-pdp .woocommerce-tabs ul.tabs{
  padding:0;
  margin:0 0 20px;
  border-bottom:1px solid var(--line);
}
.ps-pdp .woocommerce-tabs ul.tabs::before{display:none}
.ps-pdp .woocommerce-tabs ul.tabs li{
  background:none;
  border:0;
  border-radius:0;
  margin:0 22px 0 0;
  padding:0;
}
.ps-pdp .woocommerce-tabs ul.tabs li::before,
.ps-pdp .woocommerce-tabs ul.tabs li::after{display:none}
.ps-pdp .woocommerce-tabs ul.tabs li a{
  font-size:15px;
  font-weight:500;
  color:var(--muted);
  padding:10px 0;
  display:block;
  border-bottom:2px solid transparent;
}
.ps-pdp .woocommerce-tabs ul.tabs li.active a{
  color:var(--ink);
  border-bottom-color:var(--red);
}
.ps-pdp .woocommerce-Tabs-panel h2{display:none}

/* Empty review state */
.ps-pdp .woocommerce-noreviews{
  background:var(--surface);
  border:1px dashed var(--line);
  border-radius:var(--r-lg);
  padding:34px 30px;
  text-align:center;
  font-size:14.5px;
  color:var(--muted);
  max-width:640px;
  margin:0 0 18px;
}
.ps-pdp #review_form_wrapper{max-width:640px}
.ps-pdp .comment-form-rating .stars a{color:#D9901F}
.ps-pdp #respond input#submit{
  background:var(--ink);
  color:#fff;
  border-radius:var(--r);
  padding:12px 22px;
  font-weight:600;
  text-transform:none;
}
.ps-pdp #respond input#submit:hover{background:var(--red-d)}

/* Rating stars in the buy box, once reviews exist */
.ps-pdp .woocommerce-product-rating{margin:0 0 12px;display:flex;align-items:center;gap:9px}
.ps-pdp .star-rating span{color:#D9901F}
.ps-pdp .woocommerce-review-link{font-size:13.5px;color:var(--muted)}


/* ---- 2.11 Notices --------------------------------------------------------- */
.ps-pdp .woocommerce-message,
.ps-pdp .woocommerce-info,
.ps-pdp .woocommerce-error{
  border-top-color:var(--red);
  border-radius:var(--r);
  font-size:14px;
}
.ps-pdp .woocommerce-message .button,
.ps-pdp .woocommerce-info .button{
  background:var(--ink);
  color:#fff;
  border-radius:6px;
  text-transform:none;
}


/* ---- 2.12 Related and upsell grids --------------------------------------- */
.ps-pdp .products ul.products li.product .woocommerce-loop-product__title,
.ps-pdp ul.products li.product .woocommerce-loop-product__title{
  font-size:15px;
  font-weight:600;
  color:var(--ink);
  padding:0;
}
.ps-pdp ul.products li.product .price{
  font-size:14px;
  color:var(--ink);
  display:block;
}
.ps-pdp ul.products li.product a.button{
  background:var(--ink);
  color:#fff;
  border-radius:6px;
  text-transform:none;
  font-size:13.5px;
}
.ps-pdp ul.products li.product a.button:hover{background:var(--red-d)}


/* ==========================================================================
   3. ASTRA AND ELEMENTOR NEUTRALISATION
   ========================================================================== */

/* Astra styles the add to cart button and price globally. These win it back. */
.ps-pdp.woocommerce div.product form.cart .button,
.ps-pdp .woocommerce div.product form.cart .button{
  background:var(--red-d);
  border-color:var(--red-d);
}

/* Astra draws its own thin border and padding around single product images */
.ps-pdp .woocommerce-product-gallery__image a{border:0;display:block}

/* Astra Pro's sticky add to cart bar renders OUTSIDE the Elementor template,
   near the end of <body>, so .ps-pdp cannot reach it. It is scoped instead to
   body.ps-product, a class added only on Pro-Struct single product pages by
   the body_class snippet in section 11 of the build guide.
   Without that snippet these three rules do nothing, which is the safe
   failure. They can never reach an AMT product. */
body.ps-product .ast-sticky-add-to-cart .single_add_to_cart_button,
body.ps-product .ast-sticky-add-to-cart-wrapper .single_add_to_cart_button{
  background:#C61329;
  border-color:#C61329;
  color:#fff;
  border-radius:10px;
  text-transform:none;
  font-weight:600;
}
body.ps-product .ast-sticky-add-to-cart .single_add_to_cart_button:hover{background:#A50F22}


/* --------------------------------------------------------------------------
   3.1 SPECIFICITY BOOST

   Astra styles the cart button, price and quantity with long selectors such as
   `.woocommerce div.product form.cart .button`, which is four classes and two
   elements. A plain `.ps-pdp .single_add_to_cart_button` is only two classes
   and loses. These selectors add `body.ps-product` and the element class so
   they win on class count without a single !important.

   They depend on the body_class snippet in section 11 of the build guide.
   If a property still refuses to take, inspect it: devtools names the rule
   that is winning, and the fix is always to match that shape here rather
   than to reach for !important.
   -------------------------------------------------------------------------- */

body.ps-product .ps-pdp .single_add_to_cart_button.button,
body.ps-product .ps-pdp .single_add_to_cart_button.button.alt{
  background:var(--red-d);
  border:0;
  color:#fff;
  border-radius:var(--r);
  height:52px;
  min-height:52px;
  font-size:15.5px;
  font-weight:600;
  text-transform:none;
  letter-spacing:0;
}
body.ps-product .ps-pdp .single_add_to_cart_button.button:hover,
body.ps-product .ps-pdp .single_add_to_cart_button.button.alt:hover{
  background:#A50F22;
  border:0;
  color:#fff;
}

body.ps-product .ps-pdp .woocommerce div.product p.price,
body.ps-product .ps-pdp div.product p.price,
body.ps-product .ps-pdp .elementor-widget-woocommerce-product-price .price{
  font-size:32px;
  font-weight:500;
  color:var(--ink);
  letter-spacing:-1px;
}

body.ps-product .ps-pdp div.product form.cart .quantity input.qty{
  height:52px;
  border:0;
  background:transparent;
  font-size:16px;
  color:var(--ink);
  box-shadow:none;
}

body.ps-product .ps-pdp div.product p.stock{
  font-size:13.5px;
  font-weight:600;
}

/* Elementor puts a bottom margin on every widget. Spacing here is handled by
   the containers, so zero it inside the scope and set gaps on the container. */
.ps-pdp .elementor-widget:not(:last-child){margin-bottom:0}

/* Elementor Pro's Product Images widget wraps the gallery in an extra div */
.ps-pdp .elementor-widget-woocommerce-product-images .woocommerce-product-gallery{
  width:100% !important;
  float:none !important;
  opacity:1 !important;
}

/* Woo/Astra sometimes clear floats with pseudo elements that break flex rows */
.ps-pdp form.cart::before,
.ps-pdp form.cart::after{display:none}


/* ==========================================================================
   4. MODULE STYLES
   These style the HTML blocks that get pasted into each product's
   Description field, plus the shared blocks in the Elementor template.
   Class names are all ps- prefixed so nothing collides with Astra,
   Elementor, WooCommerce or any plugin.
   ========================================================================== */
.ps-pdp .ps-ic{width:20px;height:20px;flex:none;vertical-align:-3px}

/* ---------- hero grid -----------------------------------------------------
   The two hero columns are sized here rather than through Elementor's width
   and flex-grow controls, which move between versions. Add the classes to the
   containers and leave every width control in Elementor unset.
   -------------------------------------------------------------------------- */
.ps-pdp .ps-hero{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:46px;
}
.ps-pdp .ps-gallery-col{
  flex:1 1 0%;
  min-width:0;          /* lets the gallery shrink instead of forcing overflow */
}
.ps-pdp .ps-buy-col{
  flex:0 0 440px;
  max-width:440px;
  min-width:0;
}

/* ---------- brand band: opens the Pro-Struct zone ---------- */
.ps-pdp .ps-band{background:var(--ink);color:#fff}
/* The band is full-bleed: black to the viewport edges, content boxed and
   aligned with every other section. This needs the ps-pdp root container set
   to Full Width in Elementor, with each section boxing itself. */
.ps-pdp .ps-band-inner{
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
}
.ps-pdp .ps-pslogo{flex:none;line-height:0}
.ps-pdp .ps-pslogo img{height:34px;width:auto}
.ps-pdp .ps-endline{font-weight:700;font-size:21px;color:#fff;letter-spacing:.01em;white-space:nowrap;padding-left:20px;border-left:1px solid rgba(255,255,255,.22);flex:none}
.ps-pdp .ps-band p{margin:0;font-size:13.5px;color:#9FA3A8;max-width:38ch;line-height:1.5}
.ps-pdp .ps-band .ps-bl{margin-left:auto;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
/* ranges="all" puts six pills in the band, which will not sit on one row beside
   the logo, endline and paragraph. ps-bl-wide drops them onto their own row
   under the rest of the band, left aligned, instead of squashing the paragraph. */
.ps-pdp .ps-band .ps-bl-wide{flex-basis:100%;margin-left:0;justify-content:flex-start;margin-top:4px}
/* With ranges="all" there are six pills, which will not sit on one row beside
   the logo, endline and paragraph. flex-wrap lets them drop to a second line
   rather than squashing the paragraph. With ranges="current" there are two and
   nothing wraps, so this rule costs nothing in the default layout. */
.ps-pdp .ps-band .ps-bl a{flex:none;font-size:13px;font-weight:500;text-decoration:none;color:#fff;border:1px solid rgba(255,255,255,.28);padding:8px 15px;border-radius:999px;white-space:nowrap}
.ps-pdp .ps-band .ps-bl a:hover{background:rgba(255,255,255,.1)}
.ps-pdp .ps-band .ps-bl a.ps-solid{background:var(--red-d);border-color:var(--red-d)}
.ps-pdp .ps-band .ps-bl a.ps-solid:hover{background:#A50F22;border-color:#A50F22}
.ps-pdp .ps-band .ps-bl a[aria-current="page"]{cursor:default}
.ps-pdp .ps-badge{font-size:12px;font-weight:600;background:var(--ink);color:#fff;padding:5px 11px;border-radius:4px;display:inline-flex;align-items:center;gap:6px;letter-spacing:.01em}
.ps-pdp .ps-badge.ps-red{background:var(--red-d)}
.ps-pdp .ps-badge .ps-ic{width:14px;height:14px}
/* Buy-box subtitle, the line under the H1. Set before the .ps-sec rule so the
   section-heading version still wins inside a section. */
.ps-pdp .ps-sub{font-weight:600;font-size:19px;color:var(--muted);margin:0 0 14px;letter-spacing:.01em;line-height:1.3}

.ps-pdp .ps-brandline{display:flex;align-items:center;gap:9px;font-size:12.5px;font-weight:600;color:var(--red-d);margin-bottom:9px;letter-spacing:.01em}
.ps-pdp .ps-brandline span{width:26px;height:2px;background:var(--red)}
.ps-pdp .ps-pricenote{font-size:12.5px;color:var(--faint);margin:0 0 16px}
.ps-pdp .ps-chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.ps-pdp .ps-chip{font-size:12.5px;color:var(--muted);background:var(--surface-2);border:1px solid var(--line-soft);padding:5px 11px;border-radius:4px}
.ps-pdp .ps-chip b{font-weight:500;color:var(--ink)}
.ps-pdp .ps-kit{display:flex;gap:12px;background:var(--ink);color:#fff;border-radius:var(--r);padding:15px 17px;margin-bottom:18px}
.ps-pdp .ps-kit .ps-ic{width:22px;height:22px;color:var(--red);margin-top:2px}
.ps-pdp .ps-kit p{margin:0;font-size:13.5px;line-height:1.55;color:#D5D7DA}
.ps-pdp .ps-kit strong{color:#fff;font-weight:600;display:block;margin-bottom:3px;font-size:14px}
.ps-pdp .ps-dispatch{font-size:13.5px;color:var(--muted);margin-bottom:18px;display:flex;align-items:center;gap:7px}
.ps-pdp .ps-dispatch .ps-ic{width:16px;height:16px;color:var(--muted)}
.ps-pdp .ps-dispatch b{font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums}
.ps-pdp .ps-trust{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);margin-bottom:14px}
.ps-pdp .ps-trust div{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}
.ps-pdp .ps-trust .ps-ic{width:17px;height:17px;color:var(--red)}
.ps-pdp .ps-calc-link{display:flex;align-items:center;justify-content:space-between;background:var(--surface-2);border:1px solid var(--line-soft);border-radius:var(--r);padding:11px 14px;text-decoration:none;margin-bottom:12px}
.ps-pdp .ps-calc-link:hover{background:#E3E6E9}
.ps-pdp .ps-calc-link .ps-cl{font-size:13.5px;display:flex;align-items:center;gap:8px;color:var(--ink)}
.ps-pdp .ps-calc-link .ps-cl .ps-ic{color:var(--red);width:17px;height:17px}
.ps-pdp .ps-calc-link .ps-cr{font-size:13.5px;color:var(--red-d);font-weight:600}
.ps-pdp .ps-sheets{display:flex;gap:20px;font-size:13.5px;flex-wrap:wrap}
.ps-pdp .ps-sheets a,.ps-pdp .ps-sheets span{color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:6px;font-weight:500}
.ps-pdp .ps-sheets a:hover{color:var(--red-d)}
.ps-pdp .ps-sheets span{color:var(--faint);font-weight:400}
.ps-pdp .ps-sheets .ps-ic{width:16px;height:16px;color:var(--red)}

/* ---------- dispatch and delivery ----------------------------------------
   Rendered by [ps_dispatch]. Same cutoff, courier zones and working-day
   logic as the banner on AMT's products, restyled for the Pro-Struct buy box.
   The left border carries the state rather than a coloured box, which is
   quieter and does not fight the red used for actions.
   -------------------------------------------------------------------------- */
.ps-pdp .ps-disp{
  display:flex;
  flex-direction:column;
  gap:7px;
  background:var(--surface);
  border:1px solid var(--line);
  border-left:3px solid var(--silver);
  border-radius:0 var(--r) var(--r) 0;
  padding:12px 15px;
  margin:0 0 18px;
}
.ps-pdp .ps-disp.is-today{border-left-color:#14803F}
.ps-pdp .ps-disp.is-next{border-left-color:#B9761A}

.ps-pdp .ps-disp-head,
.ps-pdp .ps-disp-eta{
  display:flex;
  align-items:flex-start;
  gap:9px;
  font-size:13.5px;
  line-height:1.5;
}
.ps-pdp .ps-disp-head{color:var(--ink)}
.ps-pdp .ps-disp-eta{color:var(--muted)}

.ps-pdp .ps-disp .ps-ic{width:16px;height:16px;margin-top:2px;color:var(--faint)}
.ps-pdp .ps-disp.is-today .ps-disp-head .ps-ic{color:#14803F}
.ps-pdp .ps-disp.is-next .ps-disp-head .ps-ic{color:#B9761A}

.ps-pdp .ps-disp b{
  font-weight:500;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.ps-pdp .ps-disp-zones{display:flex;flex-wrap:wrap;gap:2px 16px}
.ps-pdp .ps-disp-zones span{white-space:nowrap}

/* ---------- family picker: swatch-styled links between sibling SKUs -------- */
/* Rendered by [ps_family]. Replaces variation swatches, because each colour
   and size is its own simple product with its own URL, price and stock. */
.ps-pdp .ps-family{margin:0 0 18px}
.ps-pdp .ps-fam-lab{font-size:13px;color:var(--muted);margin-bottom:8px}
.ps-pdp .ps-fam-lab b{color:var(--ink);font-weight:600}
.ps-pdp .ps-fam-list{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.ps-pdp .ps-fam-list li{margin:0}
.ps-pdp .ps-fam-item{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--surface);border-radius:var(--r);padding:8px 14px 8px 9px;font-size:13.5px;line-height:1.2;color:var(--ink);text-decoration:none}
.ps-pdp a.ps-fam-item:hover{border-color:var(--red)}
.ps-pdp .ps-fam-cur{border-color:var(--red-d);box-shadow:inset 0 0 0 1px var(--red-d);cursor:default}
.ps-pdp .ps-fam-item i{width:22px;height:22px;border-radius:4px;border:1px solid rgba(0,0,0,.14);display:block;flex:none}
.ps-pdp .ps-fam-oos{opacity:.45}
.ps-pdp .ps-fam-oos::after{content:" \2022 out of stock";font-size:11.5px;color:var(--faint)}

/* ---------- section shell ---------- */
.ps-pdp .ps-sec{
  padding:46px 0;
  border-top:1px solid var(--line-soft);
  /* Boxes itself, so a section is laid out correctly whether its Elementor
     container is Boxed at 1180 or left Full Width. Harmless if the container
     is already boxed. It cannot rescue a section dropped inside the 440px buy
     column, though: nothing in CSS can widen a parent. */
  width:100%;
  max-width:var(--wrap);
  margin-left:auto;
  margin-right:auto;
}
.ps-pdp .ps-sec h2{font-size:23px;letter-spacing:-.3px;margin-bottom:6px}
.ps-pdp .ps-sec .ps-sub{font-weight:400;color:var(--muted);font-size:14.5px;margin:0 0 24px;max-width:66ch;letter-spacing:0}
/* ---------- coverage calculator ---------- */
.ps-pdp .ps-calc{background:var(--ink);border-radius:var(--r-lg);overflow:hidden;color:#fff}
.ps-pdp .ps-calc-grid{display:grid;grid-template-columns:1fr 1.15fr}
.ps-pdp .ps-calc-in{padding:30px 32px}
.ps-pdp .ps-calc-in h2{color:#fff;font-size:22px;margin-bottom:6px}
.ps-pdp .ps-calc-in .ps-sub{color:#A7ABB0;margin-bottom:22px;font-size:14px}
.ps-pdp .ps-presets{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}
.ps-pdp .ps-preset{background:transparent;border:1px solid rgba(255,255,255,.24);color:#fff;font-size:13px;padding:8px 14px;border-radius:999px}
.ps-pdp .ps-preset:hover{background:rgba(255,255,255,.09)}
.ps-pdp .ps-preset[aria-pressed="true"]{background:var(--red-d);border-color:var(--red-d)}
.ps-pdp .ps-areafield{display:flex;align-items:center;gap:0;border:1px solid rgba(255,255,255,.24);border-radius:var(--r);overflow:hidden;max-width:260px;background:rgba(255,255,255,.05)}
.ps-pdp .ps-areafield label{font-size:12.5px;color:#A7ABB0;padding:0 0 0 14px;white-space:nowrap}
.ps-pdp .ps-areafield input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:#fff;font-size:22px;padding:12px 6px 12px 10px;text-align:right;-moz-appearance:textfield}
.ps-pdp .ps-areafield input::-webkit-outer-spin-button,.ps-pdp .ps-areafield input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ps-pdp .ps-areafield .ps-un{font-size:15px;color:#A7ABB0;padding:0 14px 0 0}
.ps-pdp .ps-finish{margin-top:20px}
.ps-pdp .ps-finish .ps-flab{font-size:12.5px;color:#A7ABB0;margin-bottom:9px}
.ps-pdp .ps-finish .ps-frow{display:flex;gap:7px;flex-wrap:wrap}
.ps-pdp .ps-fbtn{background:transparent;border:1px solid rgba(255,255,255,.24);color:#fff;font-size:12.5px;padding:7px 13px;border-radius:6px}
.ps-pdp .ps-fbtn:hover{background:rgba(255,255,255,.09)}
.ps-pdp .ps-fbtn[aria-pressed="true"]{background:#fff;color:var(--ink);border-color:#fff}
.ps-pdp .ps-calc-in .ps-fine{font-size:12.5px;color:#82868B;margin:20px 0 0;line-height:1.5;max-width:42ch}
.ps-pdp .ps-calc-out{background:#FFFFFF;color:var(--ink);padding:30px 32px;display:flex;flex-direction:column}
.ps-pdp .ps-result{display:flex;align-items:baseline;gap:12px;padding-bottom:14px;border-bottom:2px solid var(--ink)}
.ps-pdp .ps-result .ps-rn{font-weight:500;font-size:52px;line-height:1;letter-spacing:-2px}
.ps-pdp .ps-result .ps-rt{font-size:15px;color:var(--muted)}
.ps-pdp .ps-result .ps-rt b{color:var(--ink);display:block;font-size:16px;font-weight:600}
.ps-pdp .ps-breakdown{list-style:none;margin:0;padding:0}
.ps-pdp .ps-breakdown li{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line-soft);font-size:14px;color:var(--muted)}
.ps-pdp .ps-breakdown li:last-child{border-bottom:0}
.ps-pdp .ps-breakdown .ps-rv{font-weight:500;color:var(--ink);font-size:14.5px;white-space:nowrap}
.ps-pdp .ps-breakdown .ps-opt{color:var(--faint);font-size:12px;display:block}
.ps-pdp .ps-calc-cta{margin-top:auto;padding-top:16px;display:flex;gap:10px;flex-wrap:wrap}
.ps-pdp .ps-btn-red{background:var(--red-d);color:#fff;border:0;border-radius:var(--r);padding:12px 20px;font-size:14.5px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.ps-pdp .ps-btn-red:hover{background:#A50F22}
.ps-pdp .ps-btn-line{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:var(--r);padding:12px 20px;font-size:14.5px;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.ps-pdp .ps-btn-line:hover{background:var(--surface-2)}
/* ---------- floor check ---------- */
.ps-pdp .ps-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.ps-pdp .ps-check{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--red);border-radius:0 0 var(--r) var(--r);padding:20px 22px}
.ps-pdp .ps-check h3{font-size:15.5px;margin-bottom:8px;display:flex;align-items:flex-start;gap:9px}
.ps-pdp .ps-check h3 .ps-ic{width:19px;height:19px;color:var(--red);margin-top:2px}
.ps-pdp .ps-check p{margin:0;font-size:14px;color:var(--muted);line-height:1.58}
.ps-pdp .ps-check .ps-verdict{margin-top:11px;font-size:13px;color:var(--ink);background:var(--surface-2);border-left:3px solid var(--silver);padding:8px 11px;border-radius:0 4px 4px 0}
.ps-pdp .ps-check .ps-verdict b{font-weight:600}
/* ---------- box contents ---------- */
.ps-pdp .ps-two{display:grid;grid-template-columns:1.05fr 1fr;gap:20px}
.ps-pdp .ps-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:24px 26px}
.ps-pdp .ps-panel.ps-dark{background:var(--ink);color:#fff;border-color:var(--ink)}
.ps-pdp .ps-panel h3{font-size:16.5px;margin-bottom:4px}
.ps-pdp .ps-panel.ps-dark h3{color:#fff}
.ps-pdp .ps-panel .ps-ph3{font-size:13px;color:var(--muted);margin:0 0 16px}
.ps-pdp .ps-panel.ps-dark .ps-ph3{color:#A7ABB0}
.ps-pdp .ps-itemlist{list-style:none;margin:0;padding:0}
.ps-pdp .ps-itemlist li{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--line-soft);font-size:14.5px}
.ps-pdp .ps-panel.ps-dark .ps-itemlist li{border-bottom-color:rgba(255,255,255,.12);color:#E3E5E7}
.ps-pdp .ps-itemlist li:last-child{border-bottom:0}
.ps-pdp .ps-itemlist .ps-qv{font-size:13.5px;color:var(--faint);white-space:nowrap}
.ps-pdp .ps-panel.ps-dark .ps-itemlist .ps-qv{color:#8A8E93}
.ps-pdp .ps-panel .ps-foot{margin:16px 0 0;font-size:13px;color:var(--faint);line-height:1.55}
.ps-pdp .ps-panel.ps-dark .ps-foot{color:#8A8E93}
/* ---------- steps ---------- */
.ps-pdp .ps-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}
.ps-pdp .ps-step{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:22px 24px;position:relative}
.ps-pdp .ps-step .ps-rn{font-weight:700;font-size:15px;color:#fff;background:var(--red-d);width:30px;height:30px;border-radius:4px;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.ps-pdp .ps-step h3{font-size:16px;margin-bottom:9px}
.ps-pdp .ps-step ul{list-style:none;margin:0;padding:0}
.ps-pdp .ps-step li{font-size:14px;color:var(--muted);padding:5px 0 5px 17px;position:relative;line-height:1.5}
.ps-pdp .ps-step li::before{content:"";position:absolute;left:0;top:12px;width:6px;height:6px;border-radius:50%;background:var(--silver)}
.ps-pdp .ps-clock{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--surface);margin-bottom:22px}
.ps-pdp .ps-clock .ps-ch{background:var(--ink);color:#fff;padding:12px 22px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:9px}
.ps-pdp .ps-clock .ps-ch .ps-ic{width:18px;height:18px;color:var(--red)}
.ps-pdp .ps-clock .ps-cw{display:grid;grid-template-columns:1fr 1fr}
.ps-pdp .ps-clock .ps-cw > div{padding:18px 22px}
.ps-pdp .ps-clock .ps-cw > div:first-child{border-right:1px solid var(--line-soft)}
.ps-pdp .ps-clock .ps-win{font-weight:500;font-size:21px;color:var(--red-d);letter-spacing:-.5px;margin-bottom:4px}
.ps-pdp .ps-clock h4{font-size:14.5px;font-weight:600;margin:0 0 6px}
.ps-pdp .ps-clock p{margin:0;font-size:13.5px;color:var(--muted);line-height:1.55}
.ps-pdp .ps-acc{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--surface)}
.ps-pdp .ps-acc details{border-bottom:1px solid var(--line-soft)}
.ps-pdp .ps-acc details:last-child{border-bottom:0}
.ps-pdp .ps-acc summary{list-style:none;cursor:pointer;padding:16px 20px;font-size:15px;font-weight:500;display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--ink)}
.ps-pdp .ps-acc summary::-webkit-details-marker{display:none}
.ps-pdp .ps-acc summary:hover{background:var(--surface-2)}
.ps-pdp .ps-acc summary .ps-ic{width:18px;height:18px;color:var(--faint);transition:transform .2s}
.ps-pdp .ps-acc details[open] summary .ps-ic{transform:rotate(180deg)}
.ps-pdp .ps-acc .ps-accbody{padding:0 20px 18px;font-size:14.5px;color:var(--muted);line-height:1.65}
.ps-pdp .ps-acc .ps-accbody ol,.ps-pdp .ps-acc .ps-accbody ul{margin:0;padding-left:19px}
.ps-pdp .ps-acc .ps-accbody li{margin:6px 0}
.ps-pdp .ps-acc .ps-accbody p{margin:0 0 12px}
.ps-pdp .ps-acc .ps-accbody p:last-child{margin-bottom:0}
.ps-pdp .ps-acc .ps-accbody b{color:var(--ink)}
/* ---------- tables ---------- */
.ps-pdp .ps-specwrap{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--surface)}
.ps-pdp .ps-spec2{display:grid;grid-template-columns:1fr 1fr}
.ps-pdp .ps-spectable{width:100%;border-collapse:collapse}
/* Styling that used to sit inline in the product descriptions. Moved here so
   the description layer is purely structural: a visual change is then one file,
   with no re-pasting of 21 descriptions. */
.ps-pdp .ps-accbody .ps-spectable{background:transparent}
.ps-pdp .ps-specwrap ~ .ps-acc{margin-top:22px}
.ps-pdp .ps-spectable tr{border-bottom:1px solid var(--line-soft)}
.ps-pdp .ps-spectable tr:last-child{border-bottom:0}
.ps-pdp .ps-spectable th,.ps-pdp .ps-spectable td{text-align:left;padding:13px 22px;font-size:14.5px;vertical-align:top}
.ps-pdp .ps-spectable th{color:var(--faint);font-weight:400;width:47%}
.ps-pdp .ps-spectable td{font-weight:500;color:var(--ink);font-size:13.5px}
.ps-pdp .ps-spec2 .ps-spectable:first-child{border-right:1px solid var(--line-soft)}
.ps-pdp .ps-cure{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;margin-top:18px}
.ps-pdp .ps-cure th,.ps-pdp .ps-cure td{padding:13px 20px;font-size:14px;text-align:left;border-bottom:1px solid var(--line-soft)}
.ps-pdp .ps-cure thead th{background:var(--ink);color:#fff;font-weight:600;font-size:13px;border-bottom:0}
.ps-pdp .ps-cure tbody th{font-weight:500;color:var(--ink)}
.ps-pdp .ps-cure td{font-size:13.5px;color:var(--muted)}
.ps-pdp .ps-cure tr:last-child th,.ps-pdp .ps-cure tr:last-child td{border-bottom:0}
.ps-pdp .ps-tnote{font-size:12.5px;color:var(--faint);margin:10px 0 0}
.ps-pdp .ps-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* ---------- system cross-sell ---------- */
.ps-pdp .ps-sys{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ps-pdp .ps-scard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:18px 20px;text-decoration:none;display:flex;flex-direction:column}
.ps-pdp .ps-scard:hover{border-color:var(--silver)}
.ps-pdp .ps-sthumb{aspect-ratio:16/11;background:#F7F8F9;border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--silver);margin-bottom:14px;overflow:hidden;position:relative}
.ps-pdp .ps-sthumb .ps-ic{width:32px;height:32px}
.ps-pdp .ps-sthumb img{height:100%;width:auto;object-fit:contain;padding:10px 0}
.ps-pdp .ps-sthumb .ps-sqty{position:absolute;top:8px;right:8px;background:var(--ink);color:#fff;font-size:11px;font-weight:500;padding:3px 8px;border-radius:4px}
.ps-pdp .ps-srole{font-size:12px;color:var(--red-d);font-weight:600;margin-bottom:4px}
.ps-pdp .ps-scard h3{font-size:15.5px;margin-bottom:6px}
.ps-pdp .ps-scard p{margin:0 0 12px;font-size:13.5px;color:var(--muted);line-height:1.55}
.ps-pdp .ps-scard .ps-smeta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--faint);border-top:1px solid var(--line-soft);padding-top:11px}
.ps-pdp .ps-scard .ps-smeta b{font-weight:500;color:var(--ink)}
.ps-pdp .ps-bundle{margin-top:16px;background:var(--red-tint);border:1px solid var(--red-line);border-radius:var(--r-lg);padding:18px 22px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.ps-pdp .ps-bundle .ps-ic{width:24px;height:24px;color:var(--red);flex:none}
.ps-pdp .ps-bundle p{margin:0;font-size:14px;color:var(--ink);flex:1;min-width:240px;line-height:1.55}
.ps-pdp .ps-bundle p b{font-weight:600}
/* ---------- reviews empty ---------- */
.ps-pdp .ps-empty{background:var(--surface);border:1px dashed var(--line);border-radius:var(--r-lg);padding:34px 30px;text-align:center;max-width:640px}
.ps-pdp .ps-empty .ps-ic{width:34px;height:34px;color:var(--silver);margin:0 auto 12px}
.ps-pdp .ps-empty h3{font-size:16.5px;margin-bottom:7px}
.ps-pdp .ps-empty p{margin:0 0 18px;font-size:14.5px;color:var(--muted);max-width:46ch;margin-left:auto;margin-right:auto}

@media (max-width:660px){
.ps-pdp .ps-clock .ps-cw{grid-template-columns:1fr}
.ps-pdp .ps-clock .ps-cw > div:first-child{border-right:0;border-bottom:1px solid var(--line-soft)}
}

@media (max-width:1000px){
.ps-pdp .ps-calc-grid{grid-template-columns:1fr}
.ps-pdp .ps-checks,.ps-pdp .ps-steps,.ps-pdp .ps-sys{grid-template-columns:1fr 1fr}
.ps-pdp .ps-two{grid-template-columns:1fr}
.ps-pdp .ps-hero{flex-direction:column;gap:30px}
  .ps-pdp .ps-buy-col{flex:1 1 auto;max-width:none;width:100%}
  .ps-pdp .ps-band-inner{gap:16px}
  /* Below 1000px the band stacks, so the pill row starts at the left edge
     rather than tucking to the right. flex-start here also covers the
     two-pill version, which would otherwise inherit flex-end from the
     desktop rule and sit oddly against the right edge of a phone. */
  .ps-pdp .ps-band .ps-bl{margin-left:0;width:100%;justify-content:flex-start}
  /* Six pills at 13px will not fit two per row on a phone. Dropping a point
     of type and three pixels of padding takes it from four rows to three
     without making them hard to tap: 36px high is still above the 24px
     minimum target size. */
  .ps-pdp .ps-band .ps-bl a{font-size:12px;padding:7px 12px}
}

@media (max-width:660px){
.ps-pdp .ps-sec{padding:34px 0}
.ps-pdp .ps-checks,.ps-pdp .ps-steps,.ps-pdp .ps-sys{grid-template-columns:1fr}
.ps-pdp .ps-spec2{grid-template-columns:1fr}
.ps-pdp .ps-spec2 .ps-spectable:first-child{border-right:0;border-bottom:1px solid var(--line-soft)}
.ps-pdp .ps-calc-in,.ps-pdp .ps-calc-out{padding:24px 20px}
.ps-pdp .ps-result .ps-rn{font-size:44px}
.ps-pdp .ps-trust{flex-wrap:wrap;row-gap:8px}
.ps-pdp .ps-cure th,.ps-pdp .ps-cure td{padding:10px 12px;font-size:13px}

/* Nothing inside the band can push the page sideways. */
.ps-pdp .ps-band{overflow-x:hidden}

/* Band pills become a horizontal scroll strip rather than three stacked rows,
   running edge to edge whatever horizontal padding the Elementor container has.
   The 50%/50vw pair pulls the strip out to the viewport edges and then pads the
   first and last pill back into line with the rest of the band, so there is no
   value to tune. flex:0 0 auto is required: ps-bl-wide sets flex-basis:100%,
   and leaving it in place shifts the box left without widening it, which is
   what makes a strip bleed on one side and stop short on the other. */
.ps-pdp .ps-band .ps-bl{
  flex:0 0 auto;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding-left:calc(50vw - 50%);
  padding-right:calc(50vw - 50%);
  padding-top:2px;
  padding-bottom:2px;
  flex-wrap:nowrap;
  justify-content:flex-start;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
}
.ps-pdp .ps-band .ps-bl::-webkit-scrollbar{display:none}
.ps-pdp .ps-band .ps-bl a{scroll-snap-align:start}
}


/* ==========================================================================
   THE REVISION FROM HERE. KEEP THIS BELOW v1.
   v1 above still does all the layout. Everything below changes size, weight,
   colour and a few blocks' treatment, and wins because it comes later.
   ========================================================================== */

/* ==========================================================================
   PRO-STRUCT PDP: DESIGN REVISION (v2)
   Answers the Pro-Struct review notes of 2 October 2026.

   WHAT CHANGED, AND WHY

   1. ONE FONT.
      v1 added two faces of its own on top of the AMT site font:
      --mono (IBM Plex Mono) for figures and --cond (Barlow Semi Condensed)
      for the condensed labels. Both are gone. Everything on the page now
      inherits the AMT site font, so there is one family and nothing else
      to load. The two jobs those faces were doing are done differently:
        figures  -> font-variant-numeric:tabular-nums, so columns of
                    numbers still line up on the decimal
        labels   -> the same size and weight in the site font. They were
                    all sentence case, so nothing else changes

   2. BIGGER TYPE, ON A SCALE.
      v1 used 12, 12.5, 13, 13.5, 14, 14.5, 15, 15.5 and 16px, which is
      nine sizes inside a 4px range. Nothing looked deliberate and all of
      it was small. v2 uses seven steps, and every item on the review list
      moves up at least 2px.

   3. MORE RED, IN THE TYPE, NOT IN LINES.
      Red marks a thing to read or press: the row labels in a table, the
      arrow on a question, the step numbers, the figures in a list, the
      buttons. The one red line kept is the short rule under each section
      heading. There are no red accent lines down the sides or across the
      tops of blocks; those read as decoration and were taken out.

   4. TABLES IN BLACK, RED AND WHITE.
      Black header rows where a table has a header, red row labels, white
      body. The header treatment is the one already live on the floor kit
      pages.

   5. QUESTIONS LOOK LIKE QUESTIONS.
      Each one gets a red arrow, drawn by the stylesheet, that points down
      when closed and up when open. No disc behind it.

   6. DATA SHEET LINKS ARE A BUTTON, NOT A FOOTNOTE.
      Same position, much larger, bordered, with a red icon.

   7. WHAT PRO-STRUCT SAID WAS ALREADY RIGHT IS LEFT ALONE.
      The calculator, the selection blocks and the black "Everything but
      the tools" block only get the larger type. Same colours, padding and
      weights as v1. The fact blocks and the verdict lines under "Before
      you start" become a darker grey block with no accent line.

   8. THE PACKAGING ICONS.
      The nine icons supplied are application-method icons: tin pouring,
      spray gun, trowel, scraper, broom, brush, open tin, roller, and a
      gloved hand broadcasting flakes. They are used where the page talks
      about method and tools. The small interface icons (data sheet,
      warning, delivery, clock) have no equivalent in the supplied set, so
      those stay as line icons.

   COLOUR NOTE, NEEDS A DECISION
      The supplied icon artwork is #F40630. The page was built on #ED1B33.
      v2 uses the icon red so the page and the tins match. If #ED1B33 is
      the correct brand red, change --red and --red-d back and nothing
      else needs touching.
   ========================================================================== */


/* ==========================================================================
   0. TOKENS
   ========================================================================== */

.ps-pdp{
  /* TWO REDS, STILL ON PURPOSE.
     --red   #F40630  sampled from the supplied icon artwork. 4.27:1 on
                      white, so it is used for rules, borders, icons,
                      chevrons and large type, where WCAG asks 3:1.
     --red-d #D4041F  the same hue darkened to 5.47:1 on white. Every
                      piece of small red text, and every red fill that
                      carries white text, uses this one. White on it is
                      5.47:1, which passes at any size. */
  --red:#F40630;
  --red-d:#D4041F;
  --red-h:#A8031A;
  --red-tint:#FFF1F3;
  --red-line:rgba(244,6,48,.26);

  --ink:#1D1D1E;
  --muted:#55585C;
  --faint:#8A8E93;
  --silver:#A7A9AC;

  --line:rgba(29,29,30,.14);
  --line-soft:rgba(29,29,30,.07);

  --bg:#F2F3F4;
  --surface:#FFFFFF;
  --surface-2:#EDEFF1;
  --surface-3:#DFE2E6;   /* fact blocks: reads as a block on a white page */

  --ok:#14803F;

  /* NO font-family tokens at all. Headings, body, figures and labels all
     inherit the AMT site font. This is the "one font" change. */

  /* Type scale. Seven steps instead of nine crowded ones. */
  --fs-xs:13px;      /* fine print, badges, table notes            */
  --fs-sm:14.5px;    /* meta, option notes, verdict lines          */
  --fs-base:16px;    /* body copy, table cells, list items         */
  --fs-md:17.5px;    /* lede, section intro, question titles       */
  --fs-lg:20px;      /* sub-headings, the line under the H1        */
  --fs-xl:26px;      /* section headings                           */
  --fs-num:56px;     /* the calculator's answer                    */

  --r:10px;
  --r-lg:14px;
  --wrap:1180px;
  --gallery-ratio:4/3;

  color:var(--ink);
}


/* ==========================================================================
   1. FIGURES AND LABELS WITHOUT A SECOND TYPEFACE
   ========================================================================== */

/* Tabular figures ONLY where numbers have to line up: the calculator's
   breakdown column and answer, the area box, and the curing table. Not on
   running text. The tnum feature also widens punctuation in many fonts, so
   switched on across prose it turns "Pro-Struct" into "Pro - Struct" and
   "IIN-EPW-EP" into "IIN - EPW - EP". */
.ps-pdp .ps-result .ps-rn,
.ps-pdp .ps-breakdown .ps-rv,
.ps-pdp .ps-areafield input,
.ps-pdp .ps-cure td{
  font-variant-numeric:tabular-nums;
}

/* Form controls do not inherit the page font. Without this, the quantity
   box, the calculator's area input and the add-to-cart button render in
   the browser's own UI font, which is a second typeface on the page even
   though no stylesheet asked for one. This is the line that makes "one
   font" actually true.
   line-height gives the calculator's size and finish buttons and its area
   box their height. Font size is deliberately NOT inherited here: every
   control on the page sets its own, and leaving it alone means no field,
   such as the review form, can drop below 16px and make iPhones zoom in. */
.ps-pdp input,
.ps-pdp button,
.ps-pdp select,
.ps-pdp textarea,
.ps-pdp .button,
.ps-pdp .single_add_to_cart_button{
  font-family:inherit;
  line-height:inherit;
}

/* Everywhere v1 reached for Barlow Semi Condensed: the line under the H1,
   "Do it once." and the step numbers. All three were sentence case, so they
   simply keep their size and weight in the site font. Nothing is turned
   into capitals. */


/* ==========================================================================
   1a. RETIRING THE TWO EXTRA FAMILIES
   Generated from the v1 rules that set font-family:var(--mono) or
   var(--cond), so none is missed. Each selector is repeated here at the
   same specificity and handed back to the page font.

   This block is what makes the overlay work when it is simply loaded after
   the old stylesheet, which is how the before/after example is built. In
   the merged pro-struct-pdp-v2.css those v1 declarations are deleted
   outright and this block is belt and braces.

   The price and the quantity box are in here. They were the two most
   prominent figures on the page and the easiest to miss.
   ========================================================================== */

.ps-pdp .elementor-widget-woocommerce-product-price .price,
.ps-pdp p.price,
.ps-pdp .price small.woocommerce-price-suffix,
.ps-pdp form.cart .quantity input.qty,
.ps-pdp ul.products li.product .price,
body.ps-product .ps-pdp .woocommerce div.product p.price,
body.ps-product .ps-pdp div.product p.price,
body.ps-product .ps-pdp .elementor-widget-woocommerce-product-price .price,
body.ps-product .ps-pdp div.product form.cart .quantity input.qty,
.ps-pdp .ps-endline,
.ps-pdp .ps-sub,
.ps-pdp .ps-chip b,
.ps-pdp .ps-dispatch b,
.ps-pdp .ps-disp b,
.ps-pdp .ps-areafield input,
.ps-pdp .ps-areafield .ps-un,
.ps-pdp .ps-result .ps-rn,
.ps-pdp .ps-breakdown .ps-rv,
.ps-pdp .ps-itemlist .ps-qv,
.ps-pdp .ps-step .ps-rn,
.ps-pdp .ps-clock .ps-win,
.ps-pdp .ps-spectable td,
.ps-pdp .ps-cure td,
.ps-pdp .ps-sthumb .ps-sqty,
.ps-pdp .ps-scard .ps-smeta b{
  font-family:inherit;
}


/* ==========================================================================
   2. THE CARD SHELL: the calculator's language, generalised
   ========================================================================== */

/* The single-block sections share one card: white, a thin line, a 14px
   radius. Sections that are a grid of cards (the floor check, the steps,
   the cross-sell) are left exactly as v1 lays them out. */
.ps-pdp .ps-specwrap,
.ps-pdp .ps-acc,
.ps-pdp .ps-clock{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
}


/* Section heading: bigger, with a short red rule under it. One signpost
   per section, which is what stops the page competing with itself. */
.ps-pdp .ps-sec h2{
  font-size:var(--fs-xl);
  font-weight:700;
  letter-spacing:-.4px;
  margin:0 0 10px;
}
.ps-pdp .ps-sec h2::after{
  content:"";
  display:block;
  width:48px;
  height:3px;
  background:var(--red);
  margin-top:12px;
}

/* The line under a section heading. Was 14.5px, which was smaller than
   the body copy it introduced. Direct children only: the calculator's own
   intro is a .ps-sub too, but nested inside the black panel, and it must
   keep v1's light grey. All 131 section subtitles in the 21 descriptions sit
   directly in their section, so nothing else is missed. */
.ps-pdp .ps-sec > .ps-sub{
  font-size:var(--fs-md);
  font-weight:400;
  line-height:1.6;
  color:var(--muted);
  letter-spacing:0;
  margin:0 0 26px;
  max-width:68ch;
}

/* Sub-headings: "What is cracked?", "How old is the slab?", "Mix". */
.ps-pdp .ps-check h3,
.ps-pdp .ps-step h3,
.ps-pdp .ps-panel h3,
.ps-pdp .ps-scard h3{
  font-size:var(--fs-lg);
  font-weight:700;
  letter-spacing:-.2px;
  line-height:1.3;
}


/* ==========================================================================
   3. THE LEDE, THE CHIPS AND THE TRUST ROW
   ========================================================================== */

/* The short description under the H1. */
.ps-pdp .woocommerce-product-details__short-description{
  font-size:var(--fs-md);
  line-height:1.6;
  color:var(--muted);
  max-width:54ch;
}
.ps-pdp .woocommerce-product-details__short-description strong,
.ps-pdp .woocommerce-product-details__short-description b{
  color:var(--ink);
  font-weight:600;
}

/* The line under the H1. */
.ps-pdp .ps-sub{
  font-size:var(--fs-lg);
  font-weight:600;
  letter-spacing:-.1px;
  color:var(--muted);
  margin:0 0 14px;
}

/* The grey facts block: "Water-based, 2-part", "Off-White", "Satin".
   Bigger, and a darker grey so it reads as a block on a white page. No
   accent line. */
.ps-pdp .ps-chips{gap:8px}
.ps-pdp .ps-chip{
  font-size:var(--fs-sm);
  color:var(--muted);
  background:var(--surface-3);
  border:0;
  padding:7px 12px;
  border-radius:5px;
}
.ps-pdp .ps-chip b{
  color:var(--ink);
  font-weight:700;
}

/* Secure checkout, free delivery over, and so on. */
.ps-pdp .ps-trust{
  padding:15px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.ps-pdp .ps-trust div{
  font-size:var(--fs-sm);
  gap:8px;
}
.ps-pdp .ps-trust .ps-ic{
  width:19px;
  height:19px;
  color:var(--red);
  flex:0 0 auto;
}


/* ==========================================================================
   4. DATA SHEET LINKS: same place, far more visible
   ========================================================================== */

.ps-pdp .ps-sheets{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  font-size:var(--fs-md);
}
.ps-pdp .ps-sheets a,
.ps-pdp .ps-sheets span{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  border:1.5px solid var(--line);
  border-radius:var(--r);
  font-size:var(--fs-md);
  font-weight:600;
  color:var(--ink);
  text-decoration:none;
  background:var(--surface);
  line-height:1.3;
}
.ps-pdp .ps-sheets a{
  border-color:var(--red-line);
  background:var(--red-tint);
}
/* :hover and :focus-visible are written as separate rules on purpose. A
   browser that does not know :focus-visible (Safari before 15.4) throws
   away the whole rule it appears in, hover included. */
.ps-pdp .ps-sheets a:hover{
  background:var(--red-d);
  border-color:var(--red-d);
  color:#fff;
}
.ps-pdp .ps-sheets a:focus-visible{
  background:var(--red-d);
  border-color:var(--red-d);
  color:#fff;
}
.ps-pdp .ps-sheets a:hover .ps-ic{color:#fff}
.ps-pdp .ps-sheets a:focus-visible .ps-ic{color:#fff}
.ps-pdp .ps-sheets a .ps-ic{
  width:24px;
  height:24px;
  color:var(--red-d);
  flex:0 0 auto;
}
/* The safety data sheet line is a statement, not a link. It stays quieter. */
.ps-pdp .ps-sheets span{
  font-size:var(--fs-sm);
  font-weight:500;
  color:var(--muted);
  background:transparent;
  border-style:dashed;
  border-width:1px;
}
.ps-pdp .ps-sheets span .ps-ic{
  width:19px;
  height:19px;
  color:var(--faint);
  flex:0 0 auto;
}


/* ==========================================================================
   5. TABLES: black header, red row labels, white body
   ========================================================================== */

.ps-pdp .ps-specwrap{border-radius:var(--r-lg)}

.ps-pdp .ps-spectable,
.ps-pdp .ps-cure{width:100%;border-collapse:collapse}

/* The black header. On the two-up specification layout the tables have no
   head of their own, so .ps-cardhead above the pair does that job. */
.ps-pdp .ps-spectable thead th,
.ps-pdp .ps-cure thead th{
  background:var(--ink);
  color:#fff;
  font-size:var(--fs-xs);
  padding:13px 22px;
  text-align:left;
  border-bottom:0;
}
.ps-pdp .ps-cure thead th + th{box-shadow:inset 1px 0 0 rgba(255,255,255,.16)}

/* Row labels: Composition, Colour, Finish. Red, and no longer the
   faintest thing in the table. */
.ps-pdp .ps-spectable th,
.ps-pdp .ps-cure tbody th{
  text-align:left;
  padding:14px 22px;
  font-size:var(--fs-base);
  font-weight:700;
  color:var(--red-d);
  width:46%;
  vertical-align:top;
  line-height:1.4;
}
.ps-pdp .ps-spectable td,
.ps-pdp .ps-cure td{
  padding:14px 22px;
  font-size:var(--fs-base);
  font-weight:500;
  color:var(--ink);
  vertical-align:top;
  line-height:1.45;
}
.ps-pdp .ps-spectable tr,
.ps-pdp .ps-cure tbody tr{border-bottom:1px solid var(--line-soft)}
.ps-pdp .ps-spectable tr:last-child,
.ps-pdp .ps-cure tbody tr:last-child{border-bottom:0}
.ps-pdp .ps-spectable tbody tr:nth-child(odd),
.ps-pdp .ps-cure tbody tr:nth-child(odd){background:#FAFBFB}

/* The phone-table wrapper. inc/pro-struct-revision.php wraps each curing
   table in .ps-tscroll. Where the table fits, the wrapper is invisible: it
   takes over the table's 18px top margin, so the spacing is identical. On a
   phone, a table wider than the screen scrolls inside this box instead of
   pushing the whole page sideways, which the Polymer Modified Mortar table
   does on live today. overflow-y is hidden so a rounding error can never
   put a vertical scrollbar on it. */
.ps-pdp .ps-tscroll{
  margin-top:18px;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
}
.ps-pdp .ps-tscroll > .ps-cure{margin-top:0}

.ps-pdp .ps-tnote{
  font-size:var(--fs-sm);
  color:var(--muted);
  padding:14px 22px 0;
  margin:0;
}


/* ==========================================================================
   6. QUESTIONS: a block that looks openable
   ========================================================================== */

.ps-pdp .ps-acc details{border-bottom:1px solid var(--line-soft)}
.ps-pdp .ps-acc details:last-child{border-bottom:0}

.ps-pdp .ps-acc summary{
  list-style:none;
  cursor:pointer;
  padding:20px 24px;
  font-size:var(--fs-md);
  font-weight:600;
  line-height:1.4;
  color:var(--ink);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.ps-pdp .ps-acc summary::-webkit-details-marker{display:none}
.ps-pdp .ps-acc summary::marker{content:""}
.ps-pdp .ps-acc summary:hover{background:var(--surface-2)}

/* THE ARROW.
   Drawn in CSS rather than placed in the markup, for one good reason: the
   21 product descriptions hold 306 questions between them and not one of
   them contains an arrow. A pseudo-element puts the arrow on every question
   on every product at once, and there is nothing to forget when a new
   question is added later.

   It is a bare chevron in the Pro-Struct red. No disc, no fill. */
.ps-pdp .ps-acc summary::after{
  content:"";
  flex:0 0 auto;
  width:11px;
  height:11px;
  margin-right:4px;
  border-right:3px solid var(--red);
  border-bottom:3px solid var(--red);
  border-radius:1px;
  transform:translateY(-3px) rotate(45deg);
  transition:transform .18s ease, border-color .18s ease;
}
.ps-pdp .ps-acc summary:hover::after{
  border-right-color:var(--red-d);
  border-bottom-color:var(--red-d);
}
.ps-pdp .ps-acc details[open] summary::after{
  transform:translateY(3px) rotate(225deg);
}

/* If a summary does carry the old inline icon, hide it so there is never
   two arrows on one row. */
.ps-pdp .ps-acc summary .ps-ic{display:none}

.ps-pdp .ps-acc .ps-accbody{
  padding:2px 24px 22px;
  font-size:var(--fs-base);
  line-height:1.7;
  color:var(--muted);
}
.ps-pdp .ps-acc .ps-accbody b,
.ps-pdp .ps-acc .ps-accbody strong{color:var(--ink);font-weight:600}
.ps-pdp .ps-acc .ps-accbody li{margin:8px 0}

@media (prefers-reduced-motion:reduce){
  .ps-pdp .ps-acc summary::after{transition:none}
}


/* ==========================================================================
   7. THE BOX CONTENTS AND THE BLACK PANEL
   ========================================================================== */

/* "In the box" is the h3; .ps-ph3 is the line under it ("Single garage kit,
   6 litres of coating"). It stays a quiet subtitle, as in v1, one step up in
   size. Making it bold would put it above its own heading. */
.ps-pdp .ps-panel h3{margin-bottom:4px}
.ps-pdp .ps-panel .ps-ph3{
  font-size:var(--fs-base);
  font-weight:400;
  color:var(--muted);
  margin:0 0 16px;
}
.ps-pdp .ps-panel.ps-dark .ps-ph3{color:#A7ABB0}

/* The two panels sit in a grid. A grid item will not shrink below its
   content by default, so on a 320px phone the longest quantity line made the
   panel wider than the screen and the page scrolled sideways (live today, by
   up to 32px). min-width:0 lets the panel take the column's width; where the
   content already fits, this changes nothing. */
.ps-pdp .ps-two > *{min-width:0}

.ps-pdp .ps-itemlist li{
  font-size:var(--fs-base);
  line-height:1.5;
  padding:11px 0;
  border-bottom:1px solid var(--line-soft);
}
.ps-pdp .ps-panel.ps-dark .ps-itemlist li{border-bottom-color:rgba(255,255,255,.13)}
.ps-pdp .ps-itemlist li:last-child{border-bottom:0}
.ps-pdp .ps-itemlist .ps-qv{
  font-weight:700;
  color:var(--red-d);
}
/* In the dark panel the quantities stay grey, as they were. */

.ps-pdp .ps-panel .ps-foot{
  font-size:var(--fs-sm);
  color:var(--muted);
  margin:18px 0 0;
  line-height:1.55;
}
.ps-pdp .ps-panel.ps-dark .ps-foot{color:var(--silver)}

/* The all-in-one callout in the buy column. */
/* Pro-Struct said this block was right, so only its type changes. */
.ps-pdp .ps-kit p{font-size:var(--fs-sm)}
.ps-pdp .ps-kit strong{font-size:var(--fs-base)}


/* ==========================================================================
   8. THE METHOD STEPS, WITH THE PACKAGING ICONS
   ========================================================================== */

/* The step cards keep v1's layout exactly: number, heading, list, top to
   bottom. v1 already sets .ps-step to position:relative, so the packaging
   icon is pinned into the top-right corner without moving anything else.
   That keeps every heading on the same line across the three cards. */
.ps-pdp .ps-step .ps-rn{
  width:34px;
  height:34px;
  font-size:var(--fs-base);
}
.ps-pdp .ps-step h3{padding-right:52px}
.ps-pdp .ps-step li{font-size:var(--fs-base);line-height:1.55}

.ps-pdp .ps-method{
  position:absolute;
  top:20px;
  right:22px;
  width:44px;
  height:44px;
  color:var(--ink);
  opacity:.14;
  pointer-events:none;
}


/* ==========================================================================
   8a. APPLIED WITH: the packaging icons in the buy column
   Rendered by [ps_apply], which reads the product's pa_ps-application terms
   (Brush, Roller, Spray, Broom, Trowel) and draws the matching packaging
   icon from the sprite. New in v2, so nothing in v1 styles it: without this
   block the icons render at the browser's default SVG size.
   ========================================================================== */

.ps-pdp .ps-apply{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin:0 0 18px;
}
.ps-pdp .ps-applylab{
  font-size:var(--fs-xs);
  font-weight:600;
  color:var(--muted);
}
.ps-pdp .ps-applyset{display:flex;gap:20px;flex-wrap:wrap}
.ps-pdp .ps-applyitem{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:var(--fs-sm);
  font-weight:600;
  color:var(--ink);
}
.ps-pdp .ps-applyitem i{font-style:normal}
.ps-pdp .ps-applyic{
  width:30px;
  height:30px;
  color:var(--red);
  flex:0 0 auto;
}


/* ==========================================================================
   8b. REQUEST A QUOTE: directly under the quantity and Add to cart row
   An Elementor Button widget with the CSS class ps-quote, which will open
   an Elementor form popup. Outline, black on white, never red: Add to cart
   is the red action and this must not compete with it. It matches that
   row's width, height, radius and type so the two read as one group.

   Specificity: Elementor styles buttons from the kit (.elementor-kit-N
   .elementor-button) and from the widget's own Style tab (four classes).
   body.ps-product adds an element and a class on top, so this wins without
   !important. Leave the widget's Style tab at its defaults.
   ========================================================================== */

body.ps-product .ps-pdp .ps-quote .elementor-button-wrapper{display:block}
body.ps-product .ps-pdp .ps-quote .elementor-button,
body.ps-product .ps-pdp a.ps-quote-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:52px;
  min-height:52px;
  padding:0 24px;
  margin:0 0 16px;
  background:var(--surface);
  color:var(--ink);
  border:1.5px solid var(--ink);
  border-radius:var(--r);
  font-family:inherit;
  font-size:15.5px;
  font-weight:600;
  line-height:1;
  letter-spacing:0;
  text-transform:none;
  text-decoration:none;
  box-shadow:none;
  transition:background-color .15s ease;
}
body.ps-product .ps-pdp .ps-quote .elementor-button:hover,
body.ps-product .ps-pdp a.ps-quote-btn:hover{
  background:var(--surface-2);
  color:var(--ink);
  border-color:var(--ink);
}
body.ps-product .ps-pdp .ps-quote .elementor-button:focus-visible,
body.ps-product .ps-pdp a.ps-quote-btn:focus-visible{
  background:var(--surface-2);
  color:var(--ink);
  border-color:var(--ink);
}
body.ps-product .ps-pdp .ps-quote .elementor-button-text{color:inherit}


/* ==========================================================================
   9. THE FLOOR CHECK AND THE CLOCK
   ========================================================================== */

.ps-pdp .ps-check p{font-size:var(--fs-base);line-height:1.6}

/* "Wait 28 days", "Repair first": a darker grey block, no accent line.
   v1 had a silver line down the left; it goes, it does not turn red. */
.ps-pdp .ps-check .ps-verdict{
  font-size:var(--fs-sm);
  line-height:1.5;
  padding:10px 13px;
  border-radius:5px;
  background:var(--surface-3);
  border-left:0;
  margin-top:13px;
}
.ps-pdp .ps-check .ps-verdict b{font-weight:700;color:var(--ink)}

.ps-pdp .ps-clock .ps-ch{font-size:var(--fs-base)}
.ps-pdp .ps-clock h4{font-size:var(--fs-md);font-weight:700;margin:0 0 4px}
.ps-pdp .ps-clock .ps-win{
  font-size:28px;
  font-weight:700;
  letter-spacing:-.6px;
  color:var(--red-d);
}
.ps-pdp .ps-clock p{font-size:var(--fs-base);line-height:1.55;color:var(--muted)}


/* ==========================================================================
   10. THE CALCULATOR: unchanged in shape, bigger in type
   ========================================================================== */

/* Pro-Struct singled the calculator out as the part they like. So nothing
   about it changes except the type size: same colours, same padding, same
   weights, same black figures. v1 values are noted where they were. */
.ps-pdp .ps-calc-in h2{font-size:var(--fs-xl)}                  /* 22 */
.ps-pdp .ps-calc-in h2::after{display:none}
.ps-pdp .ps-calc-in .ps-sub{font-size:var(--fs-base)}           /* 14 */
.ps-pdp .ps-calc-in .ps-fine{font-size:var(--fs-xs)}            /* 12.5 */

.ps-pdp .ps-preset{font-size:var(--fs-sm)}                      /* 13 */
.ps-pdp .ps-finish .ps-flab{font-size:var(--fs-xs)}             /* 12.5 */
.ps-pdp .ps-fbtn{font-size:var(--fs-sm)}                        /* 12.5 */

.ps-pdp .ps-areafield label{font-size:var(--fs-xs)}             /* 12.5 */
.ps-pdp .ps-areafield input{font-size:24px}                     /* 22 */
.ps-pdp .ps-areafield .ps-un{font-size:var(--fs-base)}          /* 15 */

.ps-pdp .ps-result .ps-rn{font-size:var(--fs-num)}              /* 52 */
.ps-pdp .ps-result .ps-rt{font-size:var(--fs-base)}             /* 15 */
.ps-pdp .ps-result .ps-rt b{font-size:var(--fs-md)}             /* 16 */

.ps-pdp .ps-breakdown li{font-size:var(--fs-sm)}                /* 14 */
.ps-pdp .ps-breakdown .ps-rv{font-size:var(--fs-base)}          /* 14.5 */
.ps-pdp .ps-breakdown .ps-opt{font-size:var(--fs-xs)}           /* 12 */

/* The link up in the buy column that jumps down to the calculator. */
.ps-pdp .ps-calc-link .ps-cl,
.ps-pdp .ps-calc-link .ps-cr{font-size:var(--fs-sm)}            /* 13.5 */


/* ==========================================================================
   11. BUTTONS
   ========================================================================== */

/* White on --red-d is 5.47:1, so a red button passes at any size. v1 put
   white on --red, which was 4.27:1 and failed for a 14.5px label. */
.ps-pdp .ps-btn-red{
  font-size:var(--fs-md);
  font-weight:700;
  background:var(--red-d);
  border-color:var(--red-d);
  padding:15px 24px;
}
.ps-pdp .ps-btn-red:hover{background:var(--red-h);border-color:var(--red-h)}
.ps-pdp .ps-btn-red:focus-visible{background:var(--red-h);border-color:var(--red-h)}
.ps-pdp .ps-btn-line{
  font-size:var(--fs-md);
  font-weight:600;
  padding:15px 24px;
  border:1.5px solid var(--line);
}
.ps-pdp .ps-btn-line:hover{border-color:var(--red);color:var(--red-d)}


/* ==========================================================================
   12. RECOMMENDED PRODUCTS
   ========================================================================== */

/* The cards are links, so their text takes the link colour unless it is
   told otherwise. The headings were showing in the browser's link blue.
   They are black. */
.ps-pdp .ps-scard,
.ps-pdp .ps-scard:hover,
.ps-pdp .ps-scard:visited,
.ps-pdp .ps-scard h3{color:var(--ink)}
.ps-pdp .ps-scard h3{margin:0 0 8px}
.ps-pdp .ps-scard p{font-size:var(--fs-base);line-height:1.55;color:var(--muted)}
.ps-pdp .ps-scard .ps-srole{
  font-size:var(--fs-xs);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:var(--red-d);
  margin-bottom:7px;
}
.ps-pdp .ps-scard .ps-smeta{
  font-size:var(--fs-sm);
  border-top:1px solid var(--line-soft);
  padding-top:13px;
  margin-top:13px;
}
.ps-pdp .ps-scard .ps-smeta b{font-size:var(--fs-md);font-weight:700;color:var(--ink)}


/* ==========================================================================
   13. THE BRAND BAND
   ========================================================================== */

/* "Do it once." stays white, as it was. The band is already black and red;
   a red endline on it was one red too many. */
.ps-pdp .ps-endline{
  font-size:22px;
  color:#fff;
}
.ps-pdp .ps-band p{font-size:var(--fs-sm);line-height:1.5}
.ps-pdp .ps-band .ps-bl a{font-size:var(--fs-sm);font-weight:600}


/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */

@media (max-width:860px){
  .ps-pdp{
    --fs-xl:23px;
    --fs-lg:18.5px;
    --fs-md:17px;
    --fs-num:46px;
  }
  .ps-pdp .ps-spectable th,
  .ps-pdp .ps-spectable td,
  .ps-pdp .ps-cure th,
  .ps-pdp .ps-cure td,
  .ps-pdp .ps-cure thead th,
  .ps-pdp .ps-cure tbody th{padding:12px 16px}
  /* The 46% label column is for the two-column specification tables. On a
     three- to five-column table on a tablet or phone it forces the table
     wider than the screen. */
  .ps-pdp .ps-cure tbody th{width:auto}
  .ps-pdp .ps-acc summary{padding:17px 18px;gap:12px}
  .ps-pdp .ps-acc .ps-accbody{padding:4px 18px 20px 21px}
  .ps-pdp .ps-method{width:38px;height:38px;top:18px;right:18px}
  .ps-pdp .ps-step .ps-rn{width:32px;height:32px}
}

@media (max-width:560px){
  .ps-pdp .ps-sheets{font-size:var(--fs-base)}
}

/* The calculator's two halves sit in a grid too. Same fix as .ps-two: on
   the narrowest phones a grid item must be allowed to take the column's
   width rather than its content's. No effect wherever it already fits. */
.ps-pdp .ps-calc-grid > *{min-width:0}

/* Phones narrower than 360px (the first iPhone SE at 320, fold-phone cover
   screens at 280). Specification tables get the tighter cells and a long
   unbroken value such as "20g/m²/mm/24 h" may break; quantities in the item
   lists may wrap. So nothing is cut off at the edge of its card. Curing
   tables are left whole: they scroll inside .ps-tscroll instead, because
   breaking "2 packs" mid-word would be worse. Nothing here applies at
   360px or wider. */
@media (max-width:359px){
  .ps-pdp .ps-spectable th,
  .ps-pdp .ps-spectable td{padding:10px 12px;font-size:var(--fs-sm)}
  .ps-pdp .ps-spectable td{overflow-wrap:anywhere}
  .ps-pdp .ps-itemlist .ps-qv{white-space:normal;text-align:right}
}

/* Curing and coverage tables on phones: tighter cells and 14.5px type, still
   larger than the 13px live today. With this every table fits a 360px screen
   except the five-column Polymer Modified Mortar table, which scrolls inside
   its own box (see .ps-tscroll). */
@media (max-width:660px){
  .ps-pdp .ps-cure thead th,
  .ps-pdp .ps-cure tbody th,
  .ps-pdp .ps-cure td{padding:10px 12px}
  .ps-pdp .ps-cure tbody th,
  .ps-pdp .ps-cure td{font-size:var(--fs-sm)}
}

/* The band's pill strip on phones. v1 pads the strip so the first pill
   lines up with the logo, but the pills snap to the start of the strip, and
   snapping ignores padding unless scroll-padding says otherwise. So the
   strip loaded already scrolled 24px and "All Pro-Struct" sat flush against
   the edge of the screen. This is live today; it is fixed here, not caused
   here. */
@media (max-width:660px){
  .ps-pdp .ps-band .ps-bl{
    /* 24px is the band container's own side padding (build guide 3.4).
       Not calc(50vw - 50%): in scroll-padding a percentage is of the strip
       itself, which makes that expression zero. */
    scroll-padding-left:24px;
    scroll-padding-right:24px;
  }
}


/* ==========================================================================
   15. KIT VERSUS SOLD SEPARATELY (November 2026)

   The calculator's answer panel now has two parts: the kit, and a grey
   "Not in the kit. Sold separately." block where each extra has its own add
   to cart. The buy box kit callout gains a matching second row on the two
   kits. Built only from the tokens above, no new colours, no capitals.
   ========================================================================== */

/* The hidden attribute loses to any author display rule, so inside the
   calculator it is made to win. This also fixes the v1 "Set my quantity"
   button, which was display:inline-flex and so never actually hid. */
.ps-pdp .ps-calc [hidden]{display:none}

/* ---- the kit, in the answer panel ---------------------------------------- */
.ps-pdp .ps-kitonly{
  display:flex;
  align-items:flex-start;
  gap:7px;
  margin-top:8px;
  color:var(--red-d);            /* 5.47:1 on white */
  font-size:var(--fs-sm);
  font-weight:600;
  line-height:1.4;
}
.ps-pdp .ps-kitonly .ps-ic{width:17px;height:17px;margin-top:1px;color:var(--red)}
.ps-pdp .ps-kit-cta{padding-top:6px}

/* ---- sold separately ----------------------------------------------------- */
.ps-pdp .ps-extras{
  margin-top:22px;
  background:var(--surface-2);
  border-radius:var(--r);
  padding:16px 18px 4px;
}
.ps-pdp .ps-x-head{margin:0 0 6px;font-size:var(--fs-sm);line-height:1.45;color:var(--muted)}
.ps-pdp .ps-x-head b{display:block;color:var(--ink);font-size:var(--fs-md);font-weight:700;margin-bottom:2px}
.ps-pdp .ps-x-list{list-style:none;margin:0;padding:0}
.ps-pdp .ps-x{margin:0;padding:13px 0 14px;border-top:1px solid var(--line)}

.ps-pdp .ps-x-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  font-size:var(--fs-sm);
  color:var(--ink);
}
.ps-pdp .ps-x-name{font-weight:600;min-width:0}
/* --muted, not --faint: --faint is under 4.5:1 on the grey block. */
.ps-pdp .ps-x .ps-opt{display:block;color:var(--muted);font-size:var(--fs-xs);font-weight:400;margin-top:2px}
.ps-pdp .ps-x .ps-rv{font-weight:500;color:var(--ink);font-size:var(--fs-base);white-space:nowrap;font-variant-numeric:tabular-nums}

/* Colour choice, drawn like the [ps_family] swatches in the buy box. */
.ps-pdp .ps-x-pick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:11px}
.ps-pdp .ps-x-picklab{font-size:var(--fs-xs);color:var(--muted);margin-right:2px}
.ps-pdp .ps-x-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  margin:0;
  padding:6px 12px 6px 7px;
  background:var(--surface);
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:var(--r);
  font-size:var(--fs-sm);
  font-weight:500;
  line-height:1.2;
  letter-spacing:0;
  text-transform:none;
  box-shadow:none;
  cursor:pointer;
}
.ps-pdp .ps-x-chip i{width:22px;height:22px;border-radius:4px;border:1px solid rgba(0,0,0,.14);display:block;flex:none}
.ps-pdp .ps-x-chip small{font-size:var(--fs-xs);color:var(--muted)}
.ps-pdp .ps-x-chip:hover{background:var(--surface);color:var(--ink);border-color:var(--red)}
.ps-pdp .ps-x-chip[aria-pressed="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.ps-pdp .ps-x-chip:disabled{opacity:.55;cursor:not-allowed;border-color:var(--line)}

/* Price and the button. The button is the outline style on purpose: the red
   button belongs to the kit, so nothing here reads as "add everything". */
.ps-pdp .ps-x-act{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 14px;
  margin-top:11px;
}
.ps-pdp .ps-x-price{font-size:var(--fs-sm);color:var(--muted)}
.ps-pdp .ps-x-price .amount,
.ps-pdp .ps-x-price .woocommerce-Price-amount{color:var(--ink);font-weight:600}
.ps-pdp .ps-x-add{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin:0 0 0 auto;
  padding:10px 18px;
  background:var(--surface);
  color:var(--ink);
  border:1.5px solid var(--ink);
  border-radius:var(--r);
  font-size:var(--fs-sm);
  font-weight:600;
  line-height:1.2;
  letter-spacing:0;
  text-transform:none;
  box-shadow:none;
  cursor:pointer;
}
.ps-pdp .ps-x-add:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.ps-pdp .ps-x-add:disabled,
.ps-pdp .ps-x-add:disabled:hover{background:var(--surface);color:var(--muted);border-color:var(--line);cursor:not-allowed}

/* Added / could not add. Ink text with a green tick rather than green text,
   because --ok on the grey block is just under 4.5:1. */
.ps-pdp .ps-x-msg{margin:9px 0 0;font-size:var(--fs-xs);line-height:1.45;color:var(--ink)}
.ps-pdp .ps-x-msg:empty{display:none}
.ps-pdp .ps-x-msg.is-ok::before{content:"\2713";color:var(--ok);font-weight:700;margin-right:6px}
.ps-pdp .ps-x-msg.is-err{color:var(--red-d)}
.ps-pdp .ps-x-msg a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}

@media (max-width:660px){
  .ps-pdp .ps-extras{padding:14px 14px 2px}
}

/* ---- the buy box kit callout, kits only ---------------------------------- */
.ps-pdp .ps-kit.ps-kit-split{flex-direction:column;gap:0}
.ps-pdp .ps-kit-row{display:flex;align-items:flex-start;gap:12px}
.ps-pdp .ps-kit-row + .ps-kit-row{margin-top:13px;padding-top:13px;border-top:1px solid rgba(255,255,255,.16)}
.ps-pdp .ps-kit-x a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.ps-pdp .ps-kit-x a:hover{color:#fff;text-decoration-thickness:2px}
