/* Page-level layout for the templates (not reusable components). Mobile-first; breakpoints 640 / 900 / 1100. */
.wtd-main{display:block}
/* hero (front-page) */
.wtd-hero{position:relative;background:var(--wtd-color-navy);overflow:hidden}
.wtd-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wtd-hero__inner{position:relative;padding-block:24px}
@media (min-width:640px){.wtd-hero__inner{padding-block:56px}}
@media (min-width:900px){.wtd-hero__inner{padding-block:86px}}
.wtd-hero__card{background:#fff;padding:24px 22px;max-width:580px}
/* Direction D puts the headline straight onto the photograph, so the band
   carries a gradient dark enough for white type over any crop, and the card
   drops its own background. Without the gradient a pale worktop photograph
   leaves the headline unreadable, which is why the comp has one. */
.wtd-hero--tall::after{content:"";position:absolute;inset:0;background:linear-gradient(104deg,rgba(24,36,45,.9) 0%,rgba(24,36,45,.74) 42%,rgba(24,36,45,.3) 78%,rgba(24,36,45,.12) 100%)}
.wtd-hero--tall .wtd-hero__inner{z-index:1}
.wtd-hero--tall .wtd-hero__card{background:none;padding:0;max-width:40rem;color:var(--wtd-color-on-dark)}
.wtd-hero--tall .wtd-hero__card .wtd-kicker{color:var(--wtd-color-tan)}
.wtd-hero--tall .wtd-hero__card .wtd-h1{color:#fff;margin:14px 0 0}
.wtd-hero--tall .wtd-hero__card .wtd-lede{color:#d8e1dd;margin:20px 0 0;max-width:50ch}
.wtd-hero--tall .wtd-hero__ctas{margin-top:26px}
@media (min-width:640px){.wtd-hero--tall .wtd-hero__ctas .wtd-btn{flex:0 1 auto}}
@media (min-width:900px){.wtd-hero--tall .wtd-hero__inner{padding-block:104px}}
/* The second line is italic in the design. Only italic 400 is loaded, so the
   weight drops with it rather than being synthesised into a slanted 500. */
.wtd-h1--hero em{font-style:italic;font-weight:400}
@media (min-width:640px){.wtd-hero__card{padding:34px 32px}}
.wtd-hero__card .wtd-h1{margin:8px 0 12px}
.wtd-hero__card .wtd-lede{margin-bottom:10px}
.wtd-hero__sub{font-size:16px;color:var(--wtd-color-muted);margin-bottom:18px}
.wtd-hero__ctas{display:flex;flex-direction:column;gap:10px}
@media (min-width:640px){.wtd-hero__ctas{flex-direction:row}.wtd-hero__ctas .wtd-btn{flex:1}}
/* two equal routes */
.wtd-routes{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
@media (min-width:640px){.wtd-routes{grid-template-columns:repeat(var(--wtd-routes-count,2),minmax(0,1fr))}}
.wtd-route{display:flex;flex-direction:column;background:#fff;border:1px solid var(--wtd-color-line)}
.wtd-route__media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--wtd-color-sand-100)}
.wtd-route__media img{width:100%;height:100%;object-fit:cover}
.wtd-route__tag{position:absolute;left:0;bottom:0;background:var(--wtd-color-navy);color:#fff;font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:9px 14px}
.wtd-route__body{display:flex;flex-direction:column;flex-grow:1;padding:18px 18px 4px}
.wtd-route__body>p{margin-bottom:14px}
.wtd-route__body h2,.wtd-route__body h3{font-size:23px;margin-bottom:7px}
.wtd-route__body p{font-size:16px;line-height:1.45;margin:0 0 14px}
.wtd-route__how{font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--wtd-color-kicker);padding:0 18px 9px;margin:0}
.wtd-route__minis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--wtd-color-line-soft);margin:0 18px;list-style:none;padding:0}
.wtd-route__mini{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:64px;padding:12px 13px;background:var(--wtd-color-sand-100);text-decoration:none}
.wtd-route__mini:hover{background:var(--wtd-color-sand);text-decoration:none}
.wtd-route__mini b{font-family:var(--wtd-font-display);font-size:var(--wtd-text-sm);color:var(--wtd-color-ink)}
.wtd-route__mini span{font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);color:var(--wtd-color-muted);letter-spacing:.04em}
/* Direction D's tiles: a photograph of the material, its name and its real
   from-price. The swatch is a real product thumbnail rather than a CSS
   gradient, so a tile cannot show a decor the shop does not carry. */
.wtd-route__minis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--wtd-color-line-soft);border:1px solid var(--wtd-color-line-soft);margin:0;list-style:none;padding:0}
.wtd-route__minis--list{grid-template-columns:minmax(0,1fr)}
.wtd-route__minis--list .wtd-route__mini{min-height:52px;padding:12px 14px}
.wtd-route__minis--list .wtd-route__minitext{gap:3px}
.wtd-route__minis--list .wtd-route__minifrom{letter-spacing:0;font-size:var(--wtd-text-sm)}
.wtd-route__minicount{flex:none;font-family:var(--wtd-font-display);font-size:var(--wtd-text-sm);color:var(--wtd-color-muted);margin-left:auto}
/* With a count in the row the chevron must not also claim the free space. */
.wtd-route__minicount+.wtd-route__go{margin-left:10px}
.wtd-route__minis>li{display:flex;min-width:0}
.wtd-route__minis .wtd-route__mini{flex-direction:row;align-items:center;justify-content:flex-start;gap:11px;width:100%;min-height:58px;padding:13px 14px}
.wtd-route__mini--flat{background:var(--wtd-color-sand-100);cursor:default}
.wtd-route__swatch{flex:none;width:30px;height:30px;overflow:hidden;background:var(--wtd-color-sand);border:1px solid rgba(38,53,64,.12)}
.wtd-route__swatch img{width:100%;height:100%;object-fit:cover;display:block}
.wtd-route__minitext{display:flex;flex-direction:column;gap:2px;min-width:0}
.wtd-route__mininame{font-family:var(--wtd-font-display);font-size:var(--wtd-text-sm);font-weight:var(--wtd-weight-semibold);color:var(--wtd-color-ink)}
.wtd-route__minifrom{font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);color:var(--wtd-color-muted);letter-spacing:.04em}
/* Say that a tile is a link. Four material names in four boxes look like a
   specification table, not navigation: nothing on a flat tile tells you it
   does anything, and on a touch screen there is no hover to find out. So each
   one carries a chevron, and the whole tile responds on hover, focus and
   press. The chevron is only on tiles that actually lead somewhere. */
.wtd-route__minis .wtd-route__mini{position:relative;transition:background var(--wtd-motion-fast) var(--wtd-motion-ease),box-shadow var(--wtd-motion-fast) var(--wtd-motion-ease)}
.wtd-route__go{flex:none;margin-left:auto;width:15px;height:15px;color:var(--wtd-color-tan-700);transition:transform var(--wtd-motion-base) var(--wtd-motion-ease),color var(--wtd-motion-fast) var(--wtd-motion-ease)}
.wtd-route__minis a.wtd-route__mini:hover{background:var(--wtd-color-sand-100);text-decoration:none;box-shadow:inset 3px 0 0 var(--wtd-color-olive)}
.wtd-route__minis a.wtd-route__mini:hover .wtd-route__mininame{color:var(--wtd-color-olive-700);text-decoration:underline;text-underline-offset:3px}
.wtd-route__minis a.wtd-route__mini:hover .wtd-route__go{color:var(--wtd-color-olive);transform:translateX(3px)}
.wtd-route__minis a.wtd-route__mini:active{background:var(--wtd-color-sand)}
.wtd-route__minis a.wtd-route__mini:focus-visible{outline:2px solid var(--wtd-color-focus);outline-offset:-2px}
/* A finger has no hover, so the chevron carries the whole job on a phone and
   is drawn a little stronger there. */
@media (hover:none){
  .wtd-route__go{color:var(--wtd-color-olive)}
}
/* The doors card has no products behind it yet, so its media panel is empty
   rather than borrowing the worktop photograph from the card beside it. */
.wtd-route__media--empty{aspect-ratio:auto;min-height:104px;background:linear-gradient(142deg,var(--wtd-color-sand) 0%,var(--wtd-color-sand-100) 54%,var(--wtd-color-sand) 100%)}
.wtd-route__tag--soon{background:var(--wtd-color-brown)}
.wtd-route--soon .wtd-route__minis{background:var(--wtd-color-line-soft)}
.wtd-route__cta{margin-top:auto;padding:16px 0 14px;display:flex;flex-direction:column;gap:9px}
@media (min-width:900px){.wtd-route__cta{flex-direction:row;align-items:center}.wtd-route__cta .wtd-btn{flex:1}}
.wtd-band__foot{display:flex;justify-content:center;margin-top:var(--wtd-space-6)}
/* archive */
.wtd-archive-head{padding-bottom:var(--wtd-space-5)}
.wtd-archive-head h1{margin-bottom:8px}
.wtd-archive-head p{max-width:70ch;margin:0;font-size:16px}
.wtd-archive{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding-bottom:var(--wtd-space-9)}
@media (min-width:900px){.wtd-archive{grid-template-columns:var(--wtd-layout-sidebar-w) minmax(0,1fr);gap:34px}}
.wtd-archive__results{min-width:0}
.wtd-archive__after{margin-top:var(--wtd-space-7)}
/* doors: 3-step explainer */
.wtd-steps{display:flex;flex-wrap:wrap;border:1px solid var(--wtd-color-line);background:#fff;margin:0 0 22px;padding:0;list-style:none}
.wtd-step{flex:1 1 180px;min-width:0;display:flex;gap:11px;align-items:flex-start;padding:14px 16px;border-right:1px solid var(--wtd-color-line-soft)}
.wtd-step:last-child{border-right:0}
.wtd-step__no{display:grid;place-items:center;width:26px;height:26px;flex:none;background:var(--wtd-color-sand);color:var(--wtd-color-navy);font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);font-weight:700}
.wtd-step[aria-current="step"] .wtd-step__no{background:var(--wtd-color-olive);color:#fff}
.wtd-step b{display:block;font-family:var(--wtd-font-display);font-size:var(--wtd-text-sm);color:var(--wtd-color-ink)}
.wtd-step span{font-size:14px;color:var(--wtd-color-muted);line-height:1.35}
.wtd-range-hero{position:relative;background:var(--wtd-color-navy);margin-bottom:22px;overflow:hidden}
.wtd-range-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.4}
.wtd-range-hero__inner{position:relative;padding:26px 20px}
@media (min-width:640px){.wtd-range-hero__inner{padding:44px 32px}}
.wtd-range-hero h1{color:#fff;margin:6px 0 8px}
.wtd-range-hero p{color:#dde5ec;font-size:16px;margin:0;max-width:580px}
.wtd-range-hero__facts{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:14px;font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);color:#fff;list-style:none;padding:0}
.wtd-range-hero__facts b{color:var(--wtd-color-tan)}
/* single product */
.wtd-pdp{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;padding:6px 0 var(--wtd-space-8)}
@media (min-width:640px){.wtd-pdp{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;align-items:start}}
@media (min-width:900px){.wtd-pdp{gap:52px}}
.wtd-summary{min-width:0}
.wtd-summary__title{font-size:26px;margin:6px 0 10px}
@media (min-width:640px){.wtd-summary__title{font-size:32px}}
@media (min-width:900px){.wtd-summary__title{font-size:36px}}
.wtd-summary__rating{display:flex;align-items:center;gap:8px;font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);color:var(--wtd-color-muted);margin-bottom:12px}
.wtd-summary__rating .wtd-stars{color:var(--wtd-color-star);letter-spacing:2px;font-size:14px}
.wtd-summary__rating a{color:var(--wtd-color-muted)}
.wtd-summary__meta{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:10px 0 14px}
.wtd-summary__sku{font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);letter-spacing:.06em;color:var(--wtd-color-muted);text-transform:uppercase}
.wtd-summary__short{font-size:var(--wtd-text-base)}
.wtd-summary>*+.wtd-trust,.wtd-summary>*+.wtd-sample-cta,.wtd-summary>*+.wtd-pair{margin-top:14px}
.wtd-pdp-more{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;padding-bottom:var(--wtd-space-8)}
@media (min-width:900px){.wtd-pdp-more{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:52px;align-items:start}}
/* Not every product has upsells. Splitting the block in half regardless left
   the right half of the page empty beside a three line accordion, which is
   worse than the crowding the split was meant to fix. Where there is nothing
   to put beside the detail, it takes the width on its own and keeps a reading
   measure, and related products still run the full width underneath.

   A browser without :has() throws the whole rule away and keeps the even
   split, which is the safe way to be wrong. */
@media (min-width:900px){
  .wtd-pdp-more:not(:has(.wtd-upsells)){grid-template-columns:minmax(0,1fr)}
  .wtd-pdp-more:not(:has(.wtd-upsells)) .wtd-details{max-width:760px}
}
/* cart */
.wtd-cart{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding-bottom:var(--wtd-space-9)}
@media (min-width:900px){.wtd-cart{grid-template-columns:minmax(0,1fr) 380px;gap:40px;align-items:start}}
.wtd-cart__items{list-style:none;margin:0;padding:0;border-top:1px solid var(--wtd-color-line)}
.wtd-cart-row{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;padding:18px 0;border-bottom:1px solid var(--wtd-color-line-soft)}
@media (min-width:640px){.wtd-cart-row{grid-template-columns:110px minmax(0,1fr) 150px 110px;align-items:start}}
.wtd-cart-row__img{width:84px;height:84px;object-fit:cover;background:#fff;border:1px solid var(--wtd-color-line-soft)}
@media (min-width:640px){.wtd-cart-row__img{width:110px;height:110px}}
.wtd-cart-row__title{font-family:var(--wtd-font-display);font-size:14px;font-weight:700;color:var(--wtd-color-ink);text-decoration:none;line-height:1.3}
.wtd-cart-row__meta{list-style:none;margin:4px 0 0;padding:0;font-size:15px;color:var(--wtd-color-muted);line-height:1.45}
.wtd-cart-row__qty,.wtd-cart-row__sub{grid-column:2}
@media (min-width:640px){.wtd-cart-row__qty{grid-column:3}.wtd-cart-row__sub{grid-column:4;text-align:right}}
.wtd-cart-row__sub{font-family:var(--wtd-font-display);font-weight:800;font-size:var(--wtd-text-lg);color:var(--wtd-color-ink)}
.wtd-cart-row__sub small{display:block;font-size:var(--wtd-text-2xs);font-weight:500;color:var(--wtd-color-muted)}
.wtd-cart-row--sample .wtd-cart-row__sub{color:var(--wtd-color-olive-700)}
.wtd-cart__actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin-top:16px}
.wtd-coupon{display:flex;gap:0;flex:1 1 280px;max-width:420px}
.wtd-coupon .wtd-field__input{min-height:48px}
.wtd-cart__aside{display:flex;flex-direction:column;gap:14px}
@media (min-width:900px){.wtd-cart__aside{position:sticky;top:20px}}
.wtd-cart__aside h2{font-size:var(--wtd-text-md);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase}
.wtd-cart-empty{text-align:center;max-width:560px;margin:0 auto;padding:var(--wtd-space-9) 0}
.wtd-cart-empty svg{width:52px;height:52px;margin:0 auto 16px;color:var(--wtd-color-tan-700)}
.wtd-cart-empty .wtd-cluster{justify-content:center;margin-top:20px}
/* checkout */
.wtd-checkout-steps{display:flex;gap:0;list-style:none;margin:0 0 20px;padding:0;border-bottom:1px solid var(--wtd-color-line)}
.wtd-checkout-steps li{flex:1;text-align:center;padding:12px 6px;font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:700;letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-muted)}
.wtd-checkout-steps li[aria-current="step"]{color:var(--wtd-color-ink);box-shadow:inset 0 -3px 0 var(--wtd-color-olive)}
.wtd-checkout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding-bottom:var(--wtd-space-9)}
@media (min-width:900px){.wtd-checkout{grid-template-columns:minmax(0,1fr) 420px;gap:44px;align-items:start}}
.wtd-checkout__section{border:0;margin:0 0 26px;padding:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
@media (min-width:640px){.wtd-checkout__section{grid-template-columns:repeat(2,minmax(0,1fr))}.wtd-checkout__section .wtd-field--wide{grid-column:1/-1}}
.wtd-checkout__section legend{font-family:var(--wtd-font-display);font-size:var(--wtd-text-lg);font-weight:700;color:var(--wtd-color-ink);padding:0;margin-bottom:12px}
.wtd-review{background:var(--wtd-color-sand-100);border:1px solid var(--wtd-color-line);padding:18px}
@media (min-width:900px){.wtd-review{position:sticky;top:20px}}
.wtd-review h2{font-size:var(--wtd-text-md);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;margin-bottom:6px}
.wtd-review .wtd-minicart__items{padding:0}
.wtd-review .wtd-total{background:none;border:0;padding:8px 0 0}
.wtd-pay{display:flex;flex-direction:column;gap:8px;margin:16px 0;border:0;padding:0}
.wtd-pay legend{font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:700;letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-ink);margin-bottom:6px;padding:0}
.wtd-pay__box{background:#fff;border:1px solid var(--wtd-color-line);padding:12px 14px;font-size:15px}
.wtd-secure{display:flex;gap:8px;align-items:center;justify-content:center;font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);color:var(--wtd-color-muted);margin-top:10px}
/* account */
.wtd-account{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding-bottom:var(--wtd-space-9)}
@media (min-width:900px){.wtd-account{grid-template-columns:240px minmax(0,1fr);gap:40px}}
.wtd-account-nav ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--wtd-color-line-soft);display:flex;flex-direction:column}
@media (max-width:899px){.wtd-account-nav ul{flex-direction:row;overflow-x:auto;border:0;border-bottom:1px solid var(--wtd-color-line)}.wtd-account-nav a{white-space:nowrap}}
.wtd-account-nav a{display:flex;align-items:center;min-height:48px;padding:12px 14px;border-bottom:1px solid var(--wtd-color-line-soft);font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--wtd-color-ink);text-decoration:none}
.wtd-account-nav a:hover{background:var(--wtd-color-sand-100)}
.wtd-account-nav a[aria-current="page"]{background:var(--wtd-color-navy);color:#fff}
.wtd-account__tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:18px 0 28px}
.wtd-account__tile{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid var(--wtd-color-line);background:#fff;text-decoration:none;color:var(--wtd-color-body)}
.wtd-account__tile:hover{border-color:var(--wtd-color-navy);text-decoration:none}
.wtd-account__tile b{font-family:var(--wtd-font-display);font-size:14px;color:var(--wtd-color-ink)}
.wtd-orders{font-size:15px}
.wtd-orders th{font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:700;letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-ink);text-align:left;padding:10px 12px 10px 0;border-bottom:2px solid var(--wtd-color-navy)}
.wtd-orders td{padding:14px 12px 14px 0;border-bottom:1px solid var(--wtd-color-line-soft);vertical-align:middle}
.wtd-orders td:first-child a{font-family:var(--wtd-font-display);font-weight:700}
.wtd-status{display:inline-block;font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:5px 8px;background:var(--wtd-color-sand-100);color:var(--wtd-color-ink)}
.wtd-status--processing{background:var(--wtd-color-info-bg);color:var(--wtd-color-info)}
.wtd-status--completed{background:var(--wtd-color-success-bg);color:var(--wtd-color-success)}
.wtd-status--on-hold{background:var(--wtd-color-warning-bg);color:var(--wtd-color-warning)}
@media (max-width:639px){
.wtd-orders thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.wtd-orders tr{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:14px 0;border-bottom:1px solid var(--wtd-color-line-soft)}
.wtd-orders td{border:0;padding:0}
.wtd-orders td[data-title]::before{content:attr(data-title) ": ";font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);color:var(--wtd-color-muted);text-transform:uppercase;letter-spacing:.05em}
.wtd-orders td:last-child{grid-column:1/-1}
}
/* search */
.wtd-search-head{padding:6px 0 18px}
.wtd-search-head form{display:flex;max-width:640px;margin-top:14px}
.wtd-search-head .wtd-field__input{min-height:50px}
.wtd-search-tabs{display:flex;gap:0;list-style:none;margin:0 0 16px;padding:0;border-bottom:1px solid var(--wtd-color-line);overflow-x:auto}
.wtd-search-tabs a{display:flex;align-items:center;gap:6px;min-height:46px;padding:10px 16px;font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--wtd-color-muted);text-decoration:none;white-space:nowrap}
.wtd-search-tabs a[aria-current="page"]{color:var(--wtd-color-ink);box-shadow:inset 0 -3px 0 var(--wtd-color-olive)}
.wtd-empty{max-width:640px;padding:var(--wtd-space-7) 0}
.wtd-empty ul{padding-left:1.2em;margin:10px 0 20px}
.wtd-empty .wtd-cluster{margin-top:10px}
/* content page + 404 */
.wtd-page-head{background:var(--wtd-color-sand-100);padding:28px 0 30px;margin-bottom:var(--wtd-space-7)}
/* The range hero, finally used. The handoff's version is a fixed width block
   on a static mock; on the site it is full bleed with the content held to the
   page width, so the wrap sits inside the band and has to be lifted above the
   background image with it. Breadcrumbs stay outside and above, as in the
   handoff, which means they are dark on cream rather than light on navy. */
.wtd-range-hero__over{padding-top:14px;padding-bottom:10px}
.wtd-range-hero__wrap{position:relative}
.wtd-range-hero__inner{padding-left:0;padding-right:0}
.wtd-range-hero{margin-bottom:0}
.wtd-range-hero+.wtd-catpage{border-top:0}
.wtd-page-head h1{margin-top:6px}
.wtd-page{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;padding-bottom:var(--wtd-space-9)}
@media (min-width:900px){.wtd-page{grid-template-columns:minmax(0,1fr) 300px;gap:56px}}
.wtd-page__aside{display:flex;flex-direction:column;gap:14px}
/* Widgets in the page aside.

   Nothing styled these, so a nav menu widget fell through to the prose rules
   in base.css: disc bullets, olive underlined links at body size, and a
   line-height set for reading paragraphs. Thirteen guide titles rendered that
   way wrap onto two lines each and the column becomes a wall of underlines.

   Treated as a list of destinations instead: a labelled panel, one row per
   link, hairlines between them, and the title doing the work the underline
   was doing. The markup is WordPress's own widget output, so all of this is
   done from the wrapper down. */
.wtd-page__aside>.wtd-stack{gap:0;border:1px solid var(--wtd-color-line);background:#fff}
.wtd-page__aside>.wtd-stack>h2{margin:0;padding:12px 16px;background:var(--wtd-color-sand-100);border-bottom:1px solid var(--wtd-color-line);font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);font-weight:var(--wtd-weight-bold);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-kicker)}
.wtd-page__aside>.wtd-stack ul{list-style:none;margin:0;padding:0}
.wtd-page__aside>.wtd-stack li{margin:0;border-top:1px solid var(--wtd-color-line-soft)}
.wtd-page__aside>.wtd-stack li:first-child{border-top:0}
.wtd-page__aside>.wtd-stack li a{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:11px 16px;font-family:var(--wtd-font-display);font-size:var(--wtd-text-md);font-weight:var(--wtd-weight-medium);line-height:1.35;color:var(--wtd-color-ink);text-decoration:none}
.wtd-page__aside>.wtd-stack li a::after{content:"\203A";flex:none;font-size:17px;line-height:1;color:var(--wtd-color-tan);transform:translateY(1px);transition:transform .15s ease}
.wtd-page__aside>.wtd-stack li a:hover{background:var(--wtd-color-sand-100);color:var(--wtd-color-olive-700)}
.wtd-page__aside>.wtd-stack li a:hover::after{transform:translate(2px,1px);color:var(--wtd-color-olive-700)}
.wtd-page__aside>.wtd-stack li a:focus-visible{outline:2px solid var(--wtd-color-focus);outline-offset:-2px}
.wtd-page__aside>.wtd-stack li .current-menu-item>a,.wtd-page__aside>.wtd-stack li.current-menu-item>a,.wtd-page__aside>.wtd-stack li a[aria-current="page"]{background:var(--wtd-color-sand-100);box-shadow:inset 3px 0 0 var(--wtd-color-olive)}
/* A widget that is prose rather than links keeps its padding and its paragraph
   rules; only the chrome above is shared. */
.wtd-page__aside>.wtd-stack>:not(h2):not(ul):not(div){padding:12px 16px}
.wtd-page__aside>.wtd-stack>div>ul{margin:0}
/* The same body on a listing page, where the copy is short and the guides are
   many. One column: the copy at a reading measure, then the guides across the
   full width in three. Each cell keeps a hairline above it, so the rows line
   up as a table rather than as thirteen stranded links, and the panel header
   drops its own rule because the first row of cells now draws it. */
.wtd-page--listing{gap:var(--wtd-space-6)}
.wtd-page--listing>.wtd-prose{max-width:68ch}
@media (min-width:900px){
  .wtd-page--listing{grid-template-columns:minmax(0,1fr);gap:var(--wtd-space-7)}
}
.wtd-page--listing .wtd-page__aside>.wtd-stack>h2{border-bottom:0}
.wtd-page--listing .wtd-page__aside>.wtd-stack ul{display:grid;grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){.wtd-page--listing .wtd-page__aside>.wtd-stack ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.wtd-page--listing .wtd-page__aside>.wtd-stack ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
.wtd-page--listing .wtd-page__aside>.wtd-stack li,
.wtd-page--listing .wtd-page__aside>.wtd-stack li:first-child{border-top:1px solid var(--wtd-color-line-soft)}
.wtd-page--listing .wtd-page__aside>.wtd-stack li a{height:100%}
/* The contact button is a button, not a banner, so it stops being full width
   once the column it was sized for has gone. */
.wtd-page--listing .wtd-page__aside>.wtd-btn--block{align-self:start;min-width:240px;width:auto}
.wtd-404{text-align:center;padding:var(--wtd-space-9) 0;max-width:680px;margin:0 auto}
.wtd-404__code{font-family:var(--wtd-font-display);font-size:96px;font-weight:800;line-height:1;color:var(--wtd-color-sand);letter-spacing:-.04em}
.wtd-404 form{display:flex;max-width:480px;margin:22px auto 0}
.wtd-404 .wtd-routes{margin-top:30px;text-align:left}

/* Theme additions beyond the handoff.
   The configurator needs a unit suffix on the length field, which the design
   never specified because the static mockup used a plain number input. */
.wtd-field__group{display:flex;align-items:stretch}
.wtd-field__group .wtd-field__input{flex:1;min-width:0}
.wtd-field__suffix{display:grid;place-items:center;flex:none;padding:0 12px;border:1px solid var(--wtd-color-line);border-left:0;background:var(--wtd-color-sand-100);font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);font-weight:600;letter-spacing:var(--wtd-tracking-ui);text-transform:uppercase;color:var(--wtd-color-muted)}

/* The accordion stack on a product page. The components file styles each
   .wtd-acc; this is only the column they sit in. */
.wtd-details{min-width:0}
/* Account content column. Carries WooCommerce's woocommerce-MyAccount-content too,
   which is what extensions target when they add a panel. */
.wtd-account__content{min-width:0}
.wtd-account__content>h2:first-of-type,.wtd-account__content>h3:first-of-type{margin-top:0}
/* is-active is WooCommerce's own marker on the current nav item. The link also
   carries aria-current, which is what the nav styling uses, so this only has to
   make sure the list item itself is not left looking different. */
.wtd-account-nav .is-active>a{background:var(--wtd-color-navy);color:#fff}
/* Search results: products as cards, pages as prose, each in its own group. */
.wtd-search__group{margin-bottom:var(--wtd-space-8)}
.wtd-search__group:last-child{margin-bottom:0}
.wtd-search__group>.wtd-h3{margin:0 0 16px}
/* Category description under the archive heading. WooCommerce wraps it in
   .term-description, and the design shows it as a lede: a short intro at
   reading width rather than full-bleed body copy. */
.wtd-archive-head .term-description,.wtd-archive-head>p{max-width:58ch;margin:10px 0 0}
.wtd-archive-head .term-description p{margin:0 0 .6em;font-size:var(--wtd-text-md);line-height:1.55;color:var(--wtd-color-body)}
.wtd-archive-head .term-description p:last-child{margin-bottom:0}
/* The sort control sits in the toolbar; its form must not add layout of its own. */
.wtd-toolbar__sortform{margin:0}
/* The routes grid is two cards in the design. Doors are not imported yet, so it
   currently draws one, and a fixed two-column grid left half the row empty. The
   template sets --wtd-routes-count and the grid above follows it. */
/* With only one route card the two-column grid stretches it the full width and
   the 16:10 media becomes a 600px-tall photograph. Until doors land, a single
   card sits at the width it was designed for rather than filling the row. */
/* Left-aligned, the lone card left an empty right half that read as a card
   that had failed to render. The section head above it is centred, so the card
   is too: one card, centred, reads as the whole of the section. */
@media (min-width:640px){
  .wtd-routes:has(.wtd-route:only-child){grid-template-columns:minmax(0,calc(50% - 9px));justify-content:center}
}
@supports not selector(:has(*)){
  @media (min-width:640px){
    .wtd-routes{grid-template-columns:repeat(var(--wtd-routes-count,2),minmax(0,1fr));justify-content:center}
    .wtd-routes>.wtd-route{max-width:520px}
  }
}

/* Direction D's two route cards. The material band that used to live here
   is gone: it was the one-route stand-in from before the doors route existed,
   and its four material links are now the left-hand card's own tiles. */
.wtd-band--tight{padding-block:var(--wtd-space-8)}

/* The two halves of .wtd-pdp-more: the detail accordions read on the left and
   the upsells browse on the right, each given the same width. The reading
   column used to take 1.3 of the 2.3 and the cards were squeezed into what was
   left, which is why they wrapped at two and their names clipped.

   Column counts are stated rather than auto-filled. .wtd-grid switches to
   three and then four columns on a media query, and a media query asks the
   viewport, not the column the grid is sitting in, so inside half a page it
   would set four 114px cards. Auto-fill fixed the squeeze but made the column
   count unknowable, and a count nobody can predict cannot be matched to a
   product count, which is how four related products became a row of three and
   an orphan. Two here, four when the block spans the page, and
   wtd_even_loop_count() trims the products to suit. */
.wtd-pdp-more .wtd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Related products span both columns: they are a browsing row at the foot of
   the page, not a footnote to the description. */
.wtd-related{grid-column:1/-1}
@media (min-width:1000px){.wtd-pdp-more .wtd-related .wtd-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.wtd-upsells>h2,.wtd-related>h2{margin:0 0 var(--wtd-space-5)}

/* A page that shadows a product category grows the category's grid below its
   copy. Full width, outside .wtd-page's two-column grid, with a sand band to
   separate the browsing from the reading. */
.wtd-catpage{background:var(--wtd-color-sand-100);border-bottom:1px solid var(--wtd-color-line-soft);padding-block:var(--wtd-space-8);margin-bottom:var(--wtd-space-8)}
.wtd-catpage__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--wtd-space-4);margin-bottom:var(--wtd-space-5)}
.wtd-catpage__groups{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}
.wtd-catpage__groups .wtd-chip{padding-right:11px;background:#fff}
.wtd-catpage__groups .wtd-chip.is-on{background:var(--wtd-color-navy);border-color:var(--wtd-color-navy);color:var(--wtd-color-on-dark)}
.wtd-catpage__groups .wtd-chip.is-on:hover{color:var(--wtd-color-on-dark)}
.wtd-catpage__pages{display:flex;align-items:center;justify-content:center;gap:var(--wtd-space-4);margin-top:var(--wtd-space-6)}
.wtd-catpage__where{margin:0;font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-muted)}
.wtd-catpage__all{margin:0;flex-basis:100%}
.wtd-catpage__all a{font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-navy)}

/* Advice guide cards. Their own component, because an advice article is not a
   product: the headline is a sentence and the excerpt is prose, so neither
   wants the product card's uppercase label treatment. */
.wtd-guides{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;list-style:none;margin:0;padding:0}
/* The component sets margin:0, which beats .wtd-prose>*+* and left the grid
   touching the paragraph above it. The gap belongs to the prose context, so
   it is set here rather than on the component. */
.wtd-prose.wtd-prose>.wtd-guides{margin-top:var(--wtd-space-7)}
@media (min-width:620px){.wtd-guides{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.wtd-guides{grid-template-columns:repeat(3,minmax(0,1fr))}}
.wtd-guide{position:relative;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--wtd-color-line-soft);transition:border-color var(--wtd-motion-fast)}
.wtd-guide:hover,.wtd-guide:focus-within{border-color:var(--wtd-color-navy)}
.wtd-guide__media{aspect-ratio:16/10;overflow:hidden;background:#fff;border-bottom:1px solid var(--wtd-color-line-soft)}
.wtd-guide__media img{width:100%;height:100%;object-fit:cover;display:block}
.wtd-guide__body{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;flex:1}
.wtd-guide__title{margin:0;font-family:var(--wtd-font-body);font-size:var(--wtd-text-lg);font-weight:var(--wtd-weight-medium);line-height:1.25;letter-spacing:0;text-transform:none;color:var(--wtd-color-ink);text-wrap:balance}
.wtd-guide__title a{color:inherit;text-decoration:none}
.wtd-guide__title a::after{content:"";position:absolute;inset:0}
.wtd-guide__title a:focus-visible{outline:2px solid var(--wtd-color-focus);outline-offset:3px}
.wtd-guide__excerpt{margin:0;font-size:var(--wtd-text-md);line-height:1.5;color:var(--wtd-color-body);text-transform:none;letter-spacing:0;font-family:var(--wtd-font-body);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.wtd-guide__more{margin-top:auto;padding-top:4px;font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:var(--wtd-weight-semibold);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-kicker)}
.wtd-guide:hover .wtd-guide__more{color:var(--wtd-color-olive-700)}

/* Door and worktop pairings. Colour is the subject, so the page is mostly
   colour: a chooser of measured door swatches, a drawn run of cabinets under
   the chosen worktop, then the ranked suggestions with the reason written out. */
.wtd-pairing{margin-block:var(--wtd-space-6)}
.wtd-pairing__head{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;justify-content:space-between;margin-bottom:16px}
.wtd-pairing__head h2{margin:0}
.wtd-pairing__moods{display:inline-flex;border:1px solid var(--wtd-color-line);background:#fff}
.wtd-pairing__moods label{position:relative;cursor:pointer}
.wtd-pairing__moods input{position:absolute;opacity:0;pointer-events:none}
.wtd-pairing__moods span{display:block;font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:var(--wtd-weight-semibold);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;padding:10px 14px;color:var(--wtd-color-muted)}
.wtd-pairing__moods input:checked ~ span{background:var(--wtd-color-navy);color:var(--wtd-color-on-dark)}
.wtd-pairing__moods input:focus-visible ~ span{outline:2px solid var(--wtd-color-olive);outline-offset:-2px}
.wtd-pairing__swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:9px}
.wtd-pairing__swatch{position:relative;cursor:pointer;display:block}
.wtd-pairing__swatch input{position:absolute;opacity:0;pointer-events:none}
.wtd-pairing__chip{display:block;height:54px;border:1px solid var(--wtd-color-line);border-bottom:0}
.wtd-pairing__name{display:block;font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:var(--wtd-weight-semibold);line-height:1.3;padding:7px 8px;border:1px solid var(--wtd-color-line);background:#fff;color:var(--wtd-color-ink)}
.wtd-pairing__count{display:block;font-weight:var(--wtd-weight-regular);letter-spacing:0;text-transform:none;color:var(--wtd-color-muted)}
.wtd-pairing__swatch input:checked ~ .wtd-pairing__chip{box-shadow:inset 0 0 0 3px var(--wtd-color-olive)}
.wtd-pairing__swatch input:checked ~ .wtd-pairing__name{border-color:var(--wtd-color-olive);box-shadow:inset 0 -3px 0 var(--wtd-color-olive)}
.wtd-pairing__swatch input:focus-visible ~ .wtd-pairing__chip{outline:2px solid var(--wtd-color-focus);outline-offset:2px}
.wtd-pairing__subhead{margin:var(--wtd-space-6) 0 0}
.wtd-pairing__elevation{margin:14px 0 0;border:1px solid var(--wtd-color-line);background:#fff;overflow:hidden}
.wtd-pairing__slab{height:58px;border-bottom:2px solid rgba(0,0,0,.26);background-size:cover;background-position:center}
.wtd-pairing__run{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px;background:rgba(0,0,0,.09);height:250px}
.wtd-pairing__run span{position:relative;display:block}
.wtd-pairing__run span::before{content:"";position:absolute;inset:13%;border:1px solid rgba(0,0,0,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.wtd-pairing__run span::after{content:"";position:absolute;top:7%;left:50%;transform:translateX(-50%);width:38%;height:5px;border-radius:3px;background:rgba(255,255,255,.5);box-shadow:0 1px 2px rgba(0,0,0,.3)}
.wtd-pairing__elevation figcaption{display:flex;flex-wrap:wrap;gap:4px 14px;padding:10px 14px;border-top:1px solid var(--wtd-color-line-soft);font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-muted)}
.wtd-pairing__results{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;list-style:none;margin:18px 0 0;padding:0}
.wtd-pairing__card{position:relative;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--wtd-color-line-soft)}
.wtd-pairing__card:hover,.wtd-pairing__card:focus-within{border-color:var(--wtd-color-navy)}
.wtd-pairing__pair{display:grid;grid-template-columns:1fr 1fr;height:92px;border-bottom:1px solid var(--wtd-color-line-soft)}
.wtd-pairing__pair-door{position:relative;display:block}
.wtd-pairing__pair-door::before{content:"";position:absolute;inset:16% 14%;border:1px solid rgba(0,0,0,.18)}
.wtd-pairing__pair-top{display:block;overflow:hidden;background:#fff}
.wtd-pairing__pair-top img{width:100%;height:100%;object-fit:cover;display:block}
.wtd-pairing__card-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px;flex:1}
.wtd-pairing__card-title{margin:0;font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);font-weight:var(--wtd-weight-bold);letter-spacing:.02em;text-transform:uppercase;line-height:1.3;color:var(--wtd-color-ink)}
.wtd-pairing__card-title a{color:inherit;text-decoration:none}
.wtd-pairing__card-title a::after{content:"";position:absolute;inset:0}
.wtd-pairing__why{margin:0;font-size:var(--wtd-text-md);line-height:1.45;color:var(--wtd-color-body)}
.wtd-pairing__card-foot{margin:auto 0 0;padding-top:6px;display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-muted)}
.wtd-pairing__card-foot b{font-family:var(--wtd-font-body);font-size:var(--wtd-text-lg);font-weight:var(--wtd-weight-medium);letter-spacing:0;text-transform:none;color:var(--wtd-color-ink)}
@media (max-width:520px){.wtd-pairing__run{grid-template-columns:repeat(2,1fr);height:190px}}

/* Advice article.

   A guide runs to a couple of thousand words under a dozen headings. The body
   keeps a reading measure, which on a wide screen leaves a column of blank
   paper down the right. A contents list earns that column and gives a reader
   a way into the middle of a guide instead of scrolling for it.

   Three tracks: the measure, a flexible gutter, then the rail pinned to the
   same right edge as the page head band above it. The rail comes first in the
   markup so that on a narrow screen the contents sit above the article, where
   they are useful, rather than below it, where they are not. */
.wtd-article__body{min-width:0}
.wtd-article:not(.wtd-article--railed) .wtd-article__body{max-width:var(--wtd-measure)}
.wtd-article__rail{margin-bottom:var(--wtd-space-7)}
.wtd-toc{border-top:2px solid var(--wtd-color-ink);padding-top:var(--wtd-space-3)}
.wtd-toc__title{margin:0 0 var(--wtd-space-1);font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);font-weight:var(--wtd-weight-bold);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-kicker)}
.wtd-toc__list{list-style:none;margin:0;padding:0}
.wtd-toc__list li{margin:0;border-top:1px solid var(--wtd-color-line-soft)}
.wtd-toc__list li:first-child{border-top:0}
.wtd-toc__list a{display:block;padding:9px 0;font-family:var(--wtd-font-display);font-size:var(--wtd-text-md);line-height:1.35;color:var(--wtd-color-body);text-decoration:none}
.wtd-toc__list a:hover{color:var(--wtd-color-olive-700)}
.wtd-toc__list a:focus-visible{outline:2px solid var(--wtd-color-focus);outline-offset:2px}
@media (min-width:1000px){
.wtd-article--railed{display:grid;grid-template-columns:minmax(0,var(--wtd-measure)) minmax(var(--wtd-space-9),1fr) 230px;align-items:start}
.wtd-article--railed .wtd-article__body{grid-column:1;grid-row:1}
.wtd-article--railed .wtd-article__rail{grid-column:3;grid-row:1;margin-bottom:0;position:sticky;top:var(--wtd-space-6)}
.wtd-toc__list{max-height:calc(100vh - 160px);overflow:auto}
}

/* Door ranges, filtered by price tier.

   Named tierfilter, not ranges: .wtd-ranges is already the worktop range
   tile grid in components/range-tile.css, and reusing the name turned the
   fieldset into a three column grid with the tabs in one cell and twelve
   87px cards in another.

   The filter is a radio group, not a tab set, so it needs no script: each
   input sits ahead of the grid and hides the cards that do not match it. One
   rule per tier, which is the cost of doing it in CSS. A tier added through
   the wtd_door_tiers filter without a rule here still lists and still badges;
   choosing it just shows everything, which is the safe way round. */
.wtd-tierfilter{border:0;margin:0;padding:0;min-width:0}
.wtd-tierfilter__tabs{display:flex;flex-wrap:wrap;gap:2px;border-bottom:1px solid var(--wtd-color-line);margin-bottom:var(--wtd-space-6)}
.wtd-tierfilter__tab{display:inline-flex;align-items:baseline;gap:7px;padding:10px 16px;margin-bottom:-1px;border:1px solid transparent;border-bottom-color:transparent;font-family:var(--wtd-font-display);font-size:var(--wtd-text-md);font-weight:var(--wtd-weight-medium);color:var(--wtd-color-muted);cursor:pointer}
.wtd-tierfilter__tab:hover{color:var(--wtd-color-ink);background:var(--wtd-color-sand-100)}
.wtd-tierfilter__n{font-size:var(--wtd-text-xs);font-variant-numeric:tabular-nums;color:var(--wtd-color-tan-700)}
.wtd-tierfilter__radio:focus-visible+.wtd-tierfilter__tabs .wtd-tierfilter__tab,.wtd-tierfilter__radio:focus-visible~.wtd-tierfilter__tabs .wtd-tierfilter__tab{outline:none}
.wtd-tierfilter__radio:focus-visible~.wtd-tierfilter__tabs{outline:2px solid var(--wtd-color-focus);outline-offset:3px}
#wtd-range-tier-all:checked~.wtd-tierfilter__tabs .wtd-tierfilter__tab[for="wtd-range-tier-all"],
#wtd-range-tier-best-value:checked~.wtd-tierfilter__tabs .wtd-tierfilter__tab[for="wtd-range-tier-best-value"],
#wtd-range-tier-mid-range:checked~.wtd-tierfilter__tabs .wtd-tierfilter__tab[for="wtd-range-tier-mid-range"],
#wtd-range-tier-premium:checked~.wtd-tierfilter__tabs .wtd-tierfilter__tab[for="wtd-range-tier-premium"]{background:#fff;border-color:var(--wtd-color-line);border-bottom-color:#fff;color:var(--wtd-color-ink);font-weight:var(--wtd-weight-bold)}
#wtd-range-tier-best-value:checked~.wtd-tierfilter__grid>li:not([data-wtd-tier="best-value"]),
#wtd-range-tier-mid-range:checked~.wtd-tierfilter__grid>li:not([data-wtd-tier="mid-range"]),
#wtd-range-tier-premium:checked~.wtd-tierfilter__grid>li:not([data-wtd-tier="premium"]){display:none}
.wtd-tierfilter__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--wtd-space-4)}
@media (min-width:560px){.wtd-tierfilter__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px){.wtd-tierfilter__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1180px){.wtd-tierfilter__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.wtd-tierfilter__grid>li{margin:0;min-width:0}
.wtd-rangecard{display:flex;flex-direction:column;gap:5px;height:100%;padding:16px 18px 18px;background:#fff;border:1px solid var(--wtd-color-line);text-decoration:none;color:inherit;transition:border-color .15s ease,box-shadow .15s ease}
a.wtd-rangecard:hover{border-color:var(--wtd-color-tan);box-shadow:0 2px 10px rgba(38,53,64,.07)}
a.wtd-rangecard:focus-visible{outline:2px solid var(--wtd-color-focus);outline-offset:2px}
.wtd-rangecard__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.wtd-rangecard__name{font-family:var(--wtd-font-display);font-size:var(--wtd-text-xl);line-height:1.2;color:var(--wtd-color-ink)}
.wtd-rangecard__price{font-family:var(--wtd-font-display);font-size:var(--wtd-text-md);font-weight:var(--wtd-weight-bold);color:var(--wtd-color-ink)}
.wtd-rangecard__price .amount,.wtd-rangecard__price bdi{white-space:nowrap}
.wtd-rangecard__finishes{font-size:var(--wtd-text-md);line-height:1.4;color:var(--wtd-color-body)}
.wtd-rangecard__count{margin-top:auto;padding-top:9px;font-family:var(--wtd-font-display);font-size:var(--wtd-text-xs);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-tan-700)}

/* The tier badge. Three flat colours off the existing palette rather than the
   red and amber of a sale flash: this is a price band, not an offer. */
.wtd-tier{flex:none;padding:3px 8px 4px;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;line-height:1.1;white-space:nowrap}
.wtd-tier--best-value{background:var(--wtd-color-olive-50);color:var(--wtd-color-success)}
.wtd-tier--mid-range{background:var(--wtd-color-sand-100);color:var(--wtd-color-kicker)}
.wtd-tier--premium{background:var(--wtd-color-navy);color:var(--wtd-color-kicker-on-dark)}

/* The article head band, full bleed.

   The band used to sit inside the wrap, so it ended at the content width and
   the heading pressed against its own left edge. Now the colour runs the full
   window and a wrap inside supplies the gutter, which puts the heading on the
   same left edge as the body text below it. Same construction as the range
   hero, which is what Nick pointed at. */
.wtd-page-head--bleed{padding:34px 0 38px;margin-bottom:var(--wtd-space-8)}
@media (min-width:640px){.wtd-page-head--bleed{padding:52px 0 56px}}
.wtd-page-head--bleed .wtd-h1{margin:0;max-width:22ch}
.wtd-page-head--bleed .wtd-lede{margin-top:12px;max-width:var(--wtd-measure);color:var(--wtd-color-body)}

/* Supplier credentials on a door page.

   Renders only when a supplier has confirmed something, so most of the time
   this is dead CSS. That is the intended state: see inc/door-credentials.php. */
.wtd-creds{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--wtd-color-line-soft);display:flex;flex-wrap:wrap;gap:10px 26px}
.wtd-creds__item{margin:0;display:flex;flex-direction:column;gap:1px}
.wtd-creds__label{font-family:var(--wtd-font-display);font-size:var(--wtd-text-md);font-weight:var(--wtd-weight-bold);color:var(--wtd-color-ink)}
.wtd-creds__note{font-size:var(--wtd-text-xs);color:var(--wtd-color-muted)}

/* The tier badge sits on the baseline of the product title, not above it. */
.wtd-summary__title .wtd-tier{display:inline-block;vertical-align:middle;margin-left:10px;transform:translateY(-2px)}

/* The article ran straight into the footer. Nothing in index.php had any
   bottom padding: .wtd-page carries it for the page template, and this
   template never used .wtd-page. */
.wtd-page-body{padding-bottom:var(--wtd-space-10)}
