/* Product configurator (single product summary) + sticky mobile buy bar. */
.wtd-config{display:flex;flex-direction:column;gap:16px;border-top:1px solid var(--wtd-color-line-soft);padding-top:18px;margin-top:6px}
.wtd-config__group{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:10px}
.wtd-config__legend{font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:var(--wtd-weight-bold);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-ink);padding:0;margin-bottom:2px}
.wtd-config__actions{display:flex;flex-direction:column;gap:10px}
.wtd-config__pending{font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);color:var(--wtd-color-muted);text-align:center;margin:0}
/* The hint is an instruction, so it goes once the instruction has been
   followed. It stayed up next to a resolved price and a live Add to basket
   button, still telling people to choose a colour and a size. */
.wtd-config:not(.is-pending) .wtd-config__pending{display:none}
/* WooCommerce prints its own price into .single_variation on every
   found_variation. The delivered-total panel above already carries it, so
   the page showed the same figure twice, the second time unlabelled. The
   element itself stays in the DOM because add-to-cart-variation.js writes
   to it and screen readers read the availability text it also holds. */
.wtd-config .woocommerce-variation-price{display:none}

/* Fixed, not sticky. Sticky pins the bar only while its own container is on
   screen, and the bar sits inside .wtd-pdp-more near the end of the page, so
   it vanished exactly when it was needed: scrolling a door range's eighty-odd
   size tiles. Fixed also lets it run edge to edge instead of being inset by
   the wrapper's gutter. .wtd-main carries matching bottom padding so the last
   of the page is not hidden behind it. */
.wtd-buybar{position:fixed;left:0;right:0;bottom:0;z-index:var(--wtd-z-buybar);display:flex;align-items:center;gap:12px;padding:10px var(--wtd-layout-gutter);padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--wtd-color-line);box-shadow:var(--wtd-shadow-sticky)}
.wtd-buybar__price{font-family:var(--wtd-font-display);line-height:1.15}
/* The number and the word "delivered" share a line and must not be separated:
   the figure is the delivered total, so on a 43.97 door it reads 73.92, and a
   bare 73.92 beside a colour name reads as the price of the door. */
.wtd-buybar__total{display:flex;align-items:baseline;gap:5px;min-width:0}
.wtd-buybar__price b{font-size:19px;font-weight:800;color:var(--wtd-color-ink);white-space:nowrap}
.wtd-buybar__delivered{flex:0 1 auto;min-width:0}
.wtd-buybar:not(.is-ready) .wtd-buybar__delivered{display:none}
.wtd-buybar__price span{font-size:var(--wtd-text-2xs);color:var(--wtd-color-muted);letter-spacing:.04em;text-transform:uppercase}
.wtd-buybar__choice:empty{display:none}
.wtd-buybar .wtd-btn{margin-left:auto;flex:1;max-width:230px}
/* The thumbnail follows the gallery, so the size being pressed is visible
   without scrolling back up past eighty tiles. */
.wtd-buybar__thumb{flex:0 0 auto;width:46px;height:46px;object-fit:contain;background:#fff;border:1px solid var(--wtd-color-line)}
.wtd-buybar__price{min-width:0}
.wtd-buybar__price span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wtd-buybar__choice{display:block}
/* Until a variation resolves the button scrolls to the choice rather than
   buying, so it reads as secondary. */
.wtd-buybar:not(.is-ready) .wtd-buybar__cta{background:var(--wtd-color-navy);border-color:var(--wtd-color-navy)}
@media (max-width:420px){
  .wtd-buybar{gap:9px;padding-left:12px;padding-right:12px}
  .wtd-buybar__thumb{width:40px;height:40px}
  .wtd-buybar__price b{font-size:17px}
  .wtd-buybar .wtd-btn{max-width:150px;padding-left:10px;padding-right:10px}
}
@media (max-width:899px){
  body.single-product .wtd-main{padding-bottom:86px}
}
@media (min-width:900px){.wtd-buybar{display:none}}
/* cross-category pairing prompt (worktop ⇄ door) */
.wtd-pair{display:flex;flex-wrap:wrap;gap:14px;align-items:center;border:1px solid var(--wtd-color-olive);background:var(--wtd-color-olive-50);padding:14px}
.wtd-pair__img{width:82px;height:82px;object-fit:cover;flex:none}
.wtd-pair__text{flex:1 1 190px;min-width:0}
.wtd-pair__title{font-family:var(--wtd-font-display);font-size:14px;font-weight:700;color:var(--wtd-color-ink);line-height:1.25;margin:0}
.wtd-pair__desc{font-size:15px;line-height:1.4;margin:3px 0 0}
.wtd-pair .wtd-btn{flex:1 1 auto}
/* spec accordion */
.wtd-acc{border-top:1px solid var(--wtd-color-line-soft)}
.wtd-acc:last-child{border-bottom:1px solid var(--wtd-color-line-soft)}
.wtd-acc__summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;min-height:52px;padding:14px 0;font-family:var(--wtd-font-display);font-size:var(--wtd-text-sm);font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--wtd-color-ink)}
.wtd-acc__summary::-webkit-details-marker{display:none}
.wtd-acc__summary::after{content:"+";font-size:20px;color:var(--wtd-color-muted)}
.wtd-acc[open] .wtd-acc__summary::after{content:"–"}
.wtd-acc__body{padding-bottom:16px}
.wtd-spec{font-size:16px}
.wtd-spec th,.wtd-spec td{padding:9px 0;border-bottom:1px solid var(--wtd-color-line-soft);text-align:left;vertical-align:top}
.wtd-spec th{font-weight:400;color:var(--wtd-color-muted);width:45%}
.wtd-spec td{font-family:var(--wtd-font-display);font-size:14px;color:var(--wtd-color-ink)}

/* WooCommerce's add-to-cart-variation.js only binds to '.variations select', so the
   wrapper has to exist. It is a JS contract, not a layout element: it must not
   introduce spacing of its own between the option groups and the fields. */
.wtd-config__fields{display:flex;flex-direction:column;gap:20px;min-width:0}
.wtd-config__fields>*{margin-bottom:0}
/* The order review on checkout. The class is WooCommerce's, because its script
   replaces this element wholesale when the delivery address or method changes. */
.wtd-review__order{min-width:0}
