/* Per-category art direction. Commerce form controls remain in the WooCommerce theme. */
.sf-home .sf-hero {grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr);height:386px;min-height:0;border:0;color:var(--ink);background:var(--paper);display:grid}
.sf-home .sf-hero::after {content:none}
.sf-home .sf-hero .b5-hero-copy {position:relative;inset:auto;transform:none;width:auto;max-width:none;margin:0;text-align:left;border:0;background:none;padding:clamp(14px,2vw,28px) clamp(18px,4vw,60px);grid-area:1/1}
.sf-home .sf-hero .b5-hero-copy h1 {font-size:clamp(2rem,3.8vw,3.5rem)}
.sf-home .sf-hero .b5-hero-copy p {margin:.85rem 0 1.15rem}
.sf-home .sf-hero .b5-hero-media {position:relative;inset:auto;grid-area:1/2;margin:0;height:100%;border:0;border-radius:0}
.sf-home .sf-hero .b5-hero-media img {object-fit:contain;object-position:center}
.sf-hero-workstation-grid .sf-hero h1,.sf-hero-tool-workbench .sf-hero h1,.sf-hero-drawer-cabinet .sf-hero h1 {font-size:clamp(2rem,3.4vw,3.2rem)}
.sf-hero-note {display:flex;gap:1rem;align-items:center;padding:10px 4.5vw;background:var(--ink);color:white;font-size:.88rem}
.sf-hero-note span {font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;font-weight:750}
.sf-hero-beauty-atelier .sf-home .sf-hero {grid-template-columns:1.04fr .96fr;background:var(--wash)}
.sf-hero-beauty-atelier .sf-home .sf-hero .b5-hero-media {margin:18px 30px 18px 0;height:calc(100% - 36px);border-radius:48% 48% 0 0;background:var(--paper)}
.sf-hero-vanity-panorama .sf-home .sf-hero {grid-template-columns:1fr 1fr;height:400px;background:var(--ink);color:white}
.sf-hero-vanity-panorama .sf-home .sf-hero .b5-hero-media {grid-area:1/1/2/-1;background:var(--ink)}
.sf-hero-vanity-panorama .sf-home .sf-hero .b5-hero-media img {object-position:92% center;width:72%;left:auto}
.sf-hero-vanity-panorama .sf-home .sf-hero::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--ink) 5%,var(--ink) 30%,transparent 78%)}
.sf-hero-workstation-grid .sf-home .sf-hero {grid-template-columns:1fr 1.3fr;grid-template-rows:minmax(0,1fr) auto;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:24px 24px}
.sf-hero-workstation-grid .sf-hero-note,.sf-hero-tool-workbench .sf-hero-note,.sf-hero-drawer-cabinet .sf-hero-note {grid-column:1/-1}
.sf-hero-workstation-grid .sf-home .sf-hero .b5-hero-media {background:none}
.sf-hero-screen-split .sf-home .sf-hero {grid-template-columns:1.15fr .85fr;background:var(--ink);color:#fff}
.sf-hero-screen-split .sf-home .sf-hero .b5-hero-media {grid-area:1/1;border-right:14px solid var(--primary)}
.sf-hero-screen-split .sf-home .sf-hero .b5-hero-copy {grid-area:1/2}
.sf-hero-entryway-rail .sf-home .sf-hero {grid-template-columns:.82fr 1.18fr;background:var(--wash);border-top:10px solid var(--primary)}
.sf-hero-entryway-rail .sf-home .sf-hero .b5-hero-media {border-left:14px double var(--ink)}
.sf-hero-drawer-cabinet .sf-home .sf-hero {grid-template-columns:1.13fr .87fr;grid-template-rows:minmax(0,1fr) auto}
.sf-hero-drawer-cabinet .sf-home .sf-hero .b5-hero-media {border:12px solid var(--wash)}
.sf-hero-shelf-mosaic .sf-home .sf-hero {grid-template-columns:.86fr 1.14fr;border:12px solid var(--wash)}
.sf-hero-shelf-mosaic .sf-home .sf-hero .b5-hero-media {border-radius:0 74px 0 0;border-left:12px solid var(--wash)}
.sf-hero-surface-band .sf-home .sf-hero {grid-template-columns:.9fr 1.1fr;border-bottom:20px solid var(--ink);background:var(--wash)}
.sf-hero-surface-band .sf-home .sf-hero .b5-hero-copy {border-inline-start:14px solid var(--accent)}
.sf-hero-travel-fieldnote .sf-home .sf-hero {grid-template-columns:.9fr 1.1fr 50px}
.sf-hero-travel-fieldnote .sf-hero-note {writing-mode:vertical-rl;justify-content:center;padding:10px}
.sf-hero-fit-sidecar .sf-home .sf-hero {grid-template-columns:.85fr 1.15fr}
.sf-hero-fit-sidecar .sf-home .sf-hero .b5-hero-media {margin:16px 24px 16px 0;height:calc(100% - 32px);border-radius:45px 0 0 45px}
.sf-hero-garden-botanical .sf-home .sf-hero {grid-template-columns:.95fr 1.05fr;background:var(--wash)}
.sf-hero-garden-botanical .sf-home .sf-hero .b5-hero-media {border-radius:48% 0 0 48%;border-left:12px solid var(--paper)}
.sf-hero-tool-workbench .sf-home .sf-hero {grid-template-columns:1.28fr .72fr;grid-template-rows:minmax(0,1fr) auto;background:var(--ink);color:#fff}
.sf-hero-tool-workbench .sf-home .sf-hero .b5-hero-copy {grid-area:1/2}
.sf-hero-tool-workbench .sf-home .sf-hero .b5-hero-media {grid-area:1/1}
.sf-hero-tool-workbench .sf-hero-note {background:var(--primary)}
.sf-hero-routing-reverse .sf-home .sf-hero {grid-template-columns:1.25fr .75fr;border-bottom:8px solid var(--primary)}
.sf-hero-routing-reverse .sf-home .sf-hero .b5-hero-copy {grid-area:1/2}
.sf-hero-routing-reverse .sf-home .sf-hero .b5-hero-media {grid-area:1/1;border-right:1px solid var(--line)}
.sf-hero-bath-soft .sf-home .sf-hero {grid-template-columns:1fr 1fr;background:var(--wash)}
.sf-hero-bath-soft .sf-home .sf-hero .b5-hero-copy {text-align:center;padding-inline:clamp(16px,3.5vw,60px)}
.sf-hero-bath-soft .sf-home .sf-hero .b5-hero-copy p {margin-inline:auto}
.sf-hero-bath-soft .sf-home .sf-hero .b5-hero-media {border-radius:90px 0 0 0}
.sf-hero-pet-centerfold .sf-home .sf-hero {grid-template-columns:1fr 1.1fr 1fr;background:var(--wash)}
.sf-hero-pet-centerfold .sf-home .sf-hero .b5-hero-media {grid-area:1/1/2/-1}
.sf-hero-pet-centerfold .sf-home .sf-hero .b5-hero-media img {left:0;right:auto;width:40%;object-position:center}
.sf-hero-pet-centerfold .sf-home .sf-hero .b5-hero-copy {grid-area:1/2/2/-1;margin-right:7vw;background:var(--paper);text-align:center;padding:20px 28px}
.sf-hero-pet-centerfold .sf-home .sf-hero .b5-hero-copy p {margin-inline:auto}
.sf-typeface-soft {--sf-font:Georgia,"Times New Roman",serif;--sf-body:Verdana,system-ui,sans-serif}
.sf-typeface-editorial {--sf-font:"Palatino Linotype","Book Antiqua",Georgia,serif;--sf-body:system-ui,sans-serif}
.sf-typeface-technical {--sf-font:ui-monospace,"Courier New",monospace;--sf-body:system-ui,sans-serif}
.sf-typeface-clean {--sf-font:system-ui,sans-serif;--sf-body:Arial,sans-serif}
.sf-typeface-condensed {--sf-font:"Arial Narrow","Liberation Sans Narrow",Arial,sans-serif;--sf-body:system-ui,sans-serif}
.sf-typeface-classic {--sf-font:"Times New Roman",Georgia,serif;--sf-body:Georgia,serif}
.sf-typeface-strong {--sf-font:"Trebuchet MS",Arial,sans-serif;--sf-body:system-ui,sans-serif}
.sf-typeface-journal {--sf-font:Georgia,serif;--sf-body:"Trebuchet MS",system-ui,sans-serif}
.sf-home,.b5-product-page,.b5-shop {font-family:var(--sf-body)}
.sf-home h1,.sf-home h2,.b5-product-page h1,.b5-product-page h2,.b5-shop h1 {font-family:var(--sf-font)}
.sf-home .b5-featured {padding-block:32px 24px}
.sf-featured-lookbook .sf-featured .b5-card {border:0}
.sf-featured-lookbook .sf-featured .b5-card-photo {aspect-ratio:1;background:var(--wash)}
.sf-featured-showroom .sf-featured {border-bottom:3px double var(--line)}
.sf-featured-showroom .sf-featured .b5-card {border-radius:24px 24px 0 0;overflow:hidden}
.sf-featured-showroom .sf-featured .b5-card-photo {aspect-ratio:5/4;background:var(--paper)}
.sf-featured-comparison .sf-featured .b5-products {gap:1px;background:var(--line);border:1px solid var(--line)}
.sf-featured-comparison .sf-featured .b5-card {border:0;padding:8px}
.sf-featured-comparison .sf-featured .b5-card-photo {aspect-ratio:16/10;background:white}
.sf-featured-rail .sf-featured .b5-products {grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row}
.sf-featured-rail .sf-featured .b5-card {border:0;border-bottom:4px solid var(--primary)}
.sf-featured-shelf .sf-featured .b5-products {gap:22px}
.sf-featured-shelf .sf-featured .b5-card-photo {border-bottom:5px solid var(--accent);background:var(--paper)}
.sf-category-list {list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0}
.sf-category-list a {display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;height:100%;padding:10px;background:var(--paper);text-decoration:none;font-weight:650;overflow-wrap:anywhere}
.sf-category-list img {width:76px;height:72px;object-fit:contain;mix-blend-mode:multiply}
.sf-category-list li {min-width:0}
.sf-categories-portraits .sf-category-list {grid-template-columns:repeat(6,minmax(0,1fr))}
.sf-categories-portraits .sf-category-list a {grid-template-columns:1fr auto;align-content:start;border:1px solid var(--line);background:white}
.sf-categories-portraits .sf-category-list img {width:100%;height:115px;grid-column:1/-1}
.sf-categories-directory .sf-category-list {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.sf-categories-directory .sf-category-list a {grid-template-columns:1fr auto;background:white;border-bottom:1px solid var(--line);padding-block:16px}
.sf-categories-index .sf-category-list {counter-reset:category}
.sf-categories-index .sf-category-list a {grid-template-columns:auto auto 1fr auto;border-left:3px solid var(--primary)}
.sf-categories-index .sf-category-list a::before {counter-increment:category;content:counter(category,decimal-leading-zero);font:700 .75rem ui-monospace,monospace;color:var(--ink)}
.sf-categories-rows .sf-category-list {grid-template-columns:repeat(2,minmax(0,1fr))}
.sf-categories-rows .sf-category-list a {background:var(--wash);padding:8px 16px}
.sf-categories-rows .sf-category-list img {width:108px;height:68px}
.sf-categories-tiles .sf-category-list a {border:1px solid var(--line)}
.sf-module-row {display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:clamp(16px,3vw,46px);margin-block:18px}
.sf-module {min-width:0;padding:clamp(15px,2.4vw,32px);background:var(--paper)}
.sf-module h2 {font-size:clamp(1.35rem,2.3vw,2.4rem)}
.sf-module h3 {margin-top:.85rem}
.sf-module.sf-story {padding:0;background:white}
.sf-story .b5-use-cases {width:100%;padding:16px 0;border-bottom:0}
.sf-module-row:has(.sf-module + .sf-module) .b5-story-items {grid-template-columns:1fr}
.sf-brand {background:var(--wash)}
.sf-guide {border-left:4px solid var(--primary)}
.sf-faq {background:white;border:1px solid var(--line)}
.sf-faq details {border-bottom:1px solid var(--line);padding:.55em 0}
.sf-service {background:var(--wash)}
.sf-service h3 {font-size:1rem}
.b5-shop .sf-archive-nav {display:flex;flex-wrap:wrap;gap:8px}
.sf-categories-directory .sf-archive-nav,.sf-categories-index .sf-archive-nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.sf-categories-rows .sf-archive-nav a {background:var(--wash)}
.b5-product-page .sf-pdp-content {margin-block:clamp(16px,3vw,42px);display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.sf-pdp-content section,.sf-pdp-content details {min-width:0;overflow-wrap:anywhere;border:1px solid var(--line);padding:clamp(12px,2vw,26px)}
.sf-pdp-content h2 {font-size:clamp(1.2rem,2vw,1.9rem);margin-bottom:.5em}
.sf-pdp-content details>summary {font-weight:750}
.sf-pdp-content details>summary::after {content:"+";float:right}
.sf-pdp-content details[open]>summary::after {content:"−"}
.sf-pdp-content details h2 {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.sf-pdp-content table {border-collapse:collapse;width:100%;text-align:left}
.sf-pdp-content th,.sf-pdp-content td {padding:7px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.sf-pdp-content th {width:38%}
.sf-pdp-content .sf-fit-guide {background:var(--paper)}
.sf-pdp-studio .b5-product-page .b5-pdp-top {grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);column-gap:clamp(20px,4vw,62px)}
.sf-pdp-studio .sf-pdp-content {grid-template-columns:1.15fr .85fr}
.sf-pdp-studio .sf-product-description {grid-row:span 2;background:var(--paper)}
.sf-pdp-manual .b5-product-page .b5-summary {background:var(--wash);padding:clamp(14px,2.8vw,36px)}
.sf-pdp-manual .sf-pdp-content {grid-template-columns:1fr 1fr}
.sf-pdp-manual .sf-product-description {grid-column:1/-1;border:0;border-block:1px solid var(--line)}
.sf-pdp-compare .b5-product-page .b5-pdp-top {grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px}
.sf-pdp-compare .b5-product-page .b5-summary {border-top:4px solid var(--primary);padding-top:12px}
.sf-pdp-compare .sf-pdp-content {grid-template-columns:1fr 1fr}
.sf-pdp-compare .sf-fit-guide {grid-column:1/-1}
.sf-pdp-ledger .b5-product-page .b5-pdp-top {grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)}
.sf-pdp-ledger .sf-pdp-content {grid-template-columns:1.3fr .7fr}
.sf-pdp-ledger .sf-product-specs {grid-row:span 2;border-left:4px solid var(--primary)}
.sf-pdp-workshop .b5-product-page .b5-summary {border-block:4px double var(--primary);padding-block:14px}
.sf-pdp-workshop .sf-pdp-content {grid-template-columns:1fr 1fr}
.sf-pdp-workshop .sf-fit-guide {grid-column:1/-1;background:var(--ink);color:white}
.sf-pdp-folds .b5-product-page .b5-summary {background:var(--paper);padding:clamp(12px,2vw,28px)}
.sf-pdp-folds .sf-pdp-content {max-width:860px;margin-inline:auto}
@media(min-width:761px) {
  :is(.sf-hero-workstation-grid,.sf-hero-tool-workbench,.sf-hero-surface-band,.sf-hero-routing-reverse) .sf-home .sf-hero .b5-hero-copy {
    align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-height:0;padding-block:12px
  }
  :is(.sf-hero-workstation-grid,.sf-hero-tool-workbench,.sf-hero-surface-band,.sf-hero-routing-reverse) .sf-home .sf-hero .b5-hero-copy h1 {font-size:clamp(2rem,3.4vw,3.1rem)}
  :is(.sf-hero-workstation-grid,.sf-hero-tool-workbench,.sf-hero-surface-band,.sf-hero-routing-reverse) .sf-home .sf-hero .b5-btn {align-self:flex-start}
}
:is(.sf-hero-tool-workbench,.sf-hero-vanity-panorama,.sf-hero-screen-split) .sf-home .sf-hero .b5-btn {
  color:var(--ink);background:white;border-color:white
}
@media(max-width:760px) {
  body[class*="sf-hero-"] .sf-home .sf-hero {grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;height:auto;border:0}
  body[class*="sf-hero-"] .sf-home .sf-hero .b5-hero-copy {grid-area:1/1;margin:0;padding:18px 16px;max-width:100%;text-align:left}
  body[class*="sf-hero-"] .sf-home .sf-hero .b5-hero-copy h1 {font-size:clamp(1.7rem,7vw,2.8rem)}
  body[class*="sf-hero-"] .sf-home .sf-hero .b5-hero-copy p {margin:.55rem 0 .75rem}
  body[class*="sf-hero-"] .sf-home .sf-hero .b5-hero-media {grid-area:2/1;margin:0;height:clamp(150px,48vw,285px);border:0;border-radius:0}
  body[class*="sf-hero-"] .sf-home .sf-hero .b5-hero-media img {width:100%;height:100%;object-position:center}
  .sf-hero-vanity-panorama .sf-home .sf-hero::after {content:none}
  .sf-hero-travel-fieldnote .sf-hero-note {writing-mode:horizontal-tb;justify-content:start}
  body.sf-hero-bath-soft .sf-home .sf-hero .b5-hero-copy,body.sf-hero-pet-centerfold .sf-home .sf-hero .b5-hero-copy {text-align:center}
  body.sf-hero-screen-split .sf-home .sf-hero .b5-hero-media,body.sf-hero-routing-reverse .sf-home .sf-hero .b5-hero-media {grid-area:1/1}
  body.sf-hero-screen-split .sf-home .sf-hero .b5-hero-copy,body.sf-hero-routing-reverse .sf-home .sf-hero .b5-hero-copy {grid-area:2/1}
  .sf-home .b5-featured {padding-block:20px}
  .sf-featured-rail .sf-featured .b5-products {grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}
  .sf-featured-shelf .sf-featured .b5-products {gap:10px}
  .sf-category-list,.sf-categories-portraits .sf-category-list {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .sf-categories-index .sf-category-list,.sf-categories-rows .sf-category-list {grid-template-columns:1fr}
  .sf-category-list a {gap:6px;padding:8px}
  .sf-category-list img {width:46px;height:48px}
  .sf-module-row {grid-auto-flow:row;gap:10px;margin-block:10px}
  .sf-categories-directory .sf-archive-nav,.sf-categories-index .sf-archive-nav {grid-template-columns:repeat(2,minmax(0,1fr))}
  .b5-product-page .b5-pdp .b5-pdp-top,.b5-product-page .b5-pdp .sf-pdp-content {grid-template-columns:minmax(0,1fr);gap:12px}
  .b5-product-page .sf-pdp-content section,.b5-product-page .sf-pdp-content details {grid-column:auto;grid-row:auto}
  .sf-pdp-content th,.sf-pdp-content td {padding:6px}
}
