.bw-style-intro{padding-block:clamp(44px,7vw,96px) 34px}
.bw-style-intro h1{font-size:clamp(2.4rem,6vw,4.5rem);margin:8px 0 14px}
.bw-style-intro p{max-width:62ch}
.bw-style-nav{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 16px}
.bw-style-note{font-size:.9rem;color:#565650}
.bw-style-section{padding-block:24px 48px;scroll-margin-top:100px}
.bw-style-section h2{margin:0 0 18px}
.bw-style-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:16px}
.bw-style-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #e6e1d8;border-radius:12px;background:#fff}
.bw-style-card img{display:block;width:100%;height:230px;object-fit:contain;padding:16px;background:#f4f1eb}
.bw-style-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:9px;padding:16px}
.bw-style-card h3{font-size:1.08rem;margin:0 0 auto}
.bw-style-card .bw-button{min-height:40px;padding:8px 12px}
.bw-style-quote{font-size:.88rem;text-decoration:underline}
.bw-designer-header{padding-block:42px 20px}
.bw-designer-header h1{font-size:clamp(1.9rem,4vw,3.25rem);margin:8px 0 18px}
.bw-designer-picker{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.bw-designer-picker label,.bw-reference-quote label{font-weight:650}
.bw-designer-picker select{max-width:100%;padding:10px}
.bw-designer-picker a{margin-inline-start:6px;text-decoration:underline}
.bw-designer-reference{display:grid;grid-template-columns:minmax(130px,240px) minmax(0,1fr);gap:clamp(16px,4vw,44px);align-items:center;background:#f4f1eb;padding:24px;border-radius:14px;margin-block:0 32px}
.bw-designer-reference img{width:100%;height:240px;object-fit:contain}
.bw-designer-reference h2{margin:6px 0 10px}
.bw-reference-quote{max-width:520px}
.bw-reference-quote .bw-button{margin-block-start:12px}
@media(max-width:550px){.bw-designer-reference{grid-template-columns:1fr}.bw-designer-reference img{height:200px}}
#configure-shaker [hidden]{display:none}
.bw-style-picker{margin-block:12px 14px}
.bw-style-picker [data-style-options]{flex-wrap:wrap;gap:6px}
.bw-style-picker [data-style-options] label{min-width:0;max-width:100%}
.bw-style-picker [data-style-options] span{
  min-width:0;
  min-height:32px;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  padding:6px 9px;
  font-size:12px;
  line-height:1.3;
}

[data-sheet-add][hidden]{display:none!important}
#configure-shaker .bw-door-form-col :is([data-classic-only],[data-style-frame])>.bw-pill-selector{margin-bottom:10px}

/* Collapse unavailable controls and any rows they leave empty. */
#configure-shaker [data-option-blank]{display:none}
#configure-shaker .bw-inputs-two:has(> [data-option-blank]){
  grid-template-columns:minmax(0,1fr)
}
#configure-shaker .bw-inputs-two:has(> [data-option-blank]):not(:has(> :not([data-option-blank]))){
  display:none
}
#configure-shaker select:disabled{opacity:.65}

.bw-style-card:has(.bw-style-premium){position:relative}
.bw-style-premium{
  position:absolute;
  inset:12px auto auto 12px;
  padding:5px 10px;
  border-radius:4px;
  background:#ead199;
  color:#453211;
  font-size:.75rem;
  font-weight:700;
}

.bw-catalogue-slot:empty,
.bw-catalogue-slot:not(:has(.bw-catalogue-reference:not([hidden]))){display:none}
.bw-catalogue-reference{margin-block:10px 0}
.bw-catalogue-reference summary{
  cursor:pointer;
  padding-block:7px;
  font-size:.84rem;
  font-weight:650;
}
.bw-catalogue-reference [data-catalogue-label]{
  display:block;
  font-size:.77rem;
  font-weight:400;
}
.bw-catalogue-reference img{
  display:block;
  width:100%;
  max-width:220px;
  height:clamp(145px,15vw,210px);
  object-fit:contain;
  margin:0 auto;
  background:#f4f1eb;
  border-radius:6px;
}
@media(max-width:980px){
  #configure-shaker .bw-catalogue-slot{grid-column:1/-1}
  #configure-shaker .bw-catalogue-slot:has(.bw-catalogue-reference:not([hidden])) + .bw-price-lines{
    grid-column:1/-1;
    grid-row:auto;
  }
}

.bw-style-card:not([data-style-id="wardrobe-integrated-vertical-pull"]):not([data-style-id="wardrobe-glazed-wardrobe"]):not([data-style-id="wardrobe-fretwork-wardrobe"]) img{
  background:#fff;
}

.bw-shaker-hero-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.7rem 1rem;
}
.bw-premium-sticker {
  display:block;
  width:108px;
  height:auto;
  margin-left:clamp(12px, 9vw, 140px);
  filter:drop-shadow(0 2px 3px #49341130);
}
@media (max-width: 979px) {
  .bw-premium-sticker {
    width:88px;
    margin-left:0;
  }
}

#configure-shaker .bw-beading-select .bw-profile-tile img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:5 / 3;
  object-fit:contain;
  background:#eef0f1;
}

.bw-style-intro{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(20px,4vw,60px);
}
.bw-style-intro-image{
  display:block;
  width:100%;
  height:auto;
  max-height:390px;
  object-fit:contain;
}
@media(max-width:900px){
  .bw-style-intro{grid-template-columns:minmax(0,1fr)}
  .bw-style-intro-image{
    max-width:480px;
    max-height:300px;
    justify-self:center;
  }
}

/* Keep checkout actions close to each door's price breakdown. */
#configure-shaker .bw-order-card[data-classic-only] > .bw-order-total,
#configure-shaker .bw-order-card[data-style-quote] [data-specialist-checkout] > .bw-order-total {
  margin-top: 12px;
}
