/* Three clear STEEPLINE directions: machines, components and wood products. */
.wood-context-only{display:none!important}

body.machine-commerce-context .direction-nav-machines,
body.components-commerce-context .direction-nav-components,
body.wood-commerce-context .direction-nav-wood{
  color:#b9000b!important;
  font-weight:700;
  border-bottom:2px solid #b9000b;
  padding-bottom:5px
}

body.wood-commerce-context .wood-context-only{display:inline-flex!important}
body.wood-commerce-context .machine-context-only,
body.wood-commerce-context .components-context-only,
body.wood-commerce-context [data-machine-quiz],
body.wood-commerce-context .machine-quiz-float,
body.wood-commerce-context .machine-cart-shell,
body.wood-commerce-context #steepline-promo-popup{display:none!important}

.catalog-other-directions{
  display:grid;
  gap:0;
  margin:18px 0 0;
  border:1px solid #d8dde2;
  border-radius:5px;
  overflow:hidden;
  background:#fff
}
.catalog-other-directions strong{
  padding:14px 16px 10px;
  color:#222;
  font-size:15px;
  line-height:1.3
}
.catalog-other-directions a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:44px;
  padding:10px 16px;
  border-top:1px solid #edf0f2;
  color:#41464b;
  font-size:14px;
  line-height:1.3;
  text-decoration:none
}
.catalog-other-directions a:hover,
.catalog-other-directions a:focus-visible{color:#b9000b;background:#f7f8f9;outline:0}
.catalog-other-directions a span{color:#c8000d;font-size:18px}
.catalog-local-filter{display:grid;grid-template-columns:minmax(180px,1fr) minmax(155px,.55fr) minmax(155px,.55fr) auto;align-items:end;gap:12px;margin:24px 0;padding:16px;border:1px solid #d9dee2;border-radius:5px;background:#f6f7f8}.catalog-local-filter label>span{display:block;margin-bottom:6px;color:#555;font-size:13px;font-weight:700}.catalog-local-filter input,.catalog-local-filter select,.catalog-local-filter button{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #cfd5da;background:#fff;padding:0 11px;font:inherit}.catalog-local-filter button{width:auto;border-color:#444;background:#fff;color:#333;font-weight:700;cursor:pointer}.catalog-local-filter p{grid-column:1/-1;margin:0;color:#666;font-size:13px}.catalog-local-filter [hidden]{display:none!important}

.header-in{position:relative}
.direction-menu-toggle{display:inline-flex;align-items:center;gap:5px;margin:0;padding:0;border:0;background:transparent;color:#555;font:inherit;line-height:1.3;white-space:nowrap;cursor:pointer}
.direction-menu-toggle>span{display:inline-block;font-size:.85em;line-height:1;transform:translateY(-1px)}
.direction-menu-toggle:hover,.direction-menu-toggle:focus-visible{color:#b9000b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;outline:0}
.direction-mega-menu{position:absolute;z-index:80;top:39px;right:0;width:min(920px,calc(100vw - 32px));padding:18px;border:1px solid #d4d9de;border-top:3px solid #c50010;border-radius:0 0 7px 7px;background:#fff;box-shadow:0 18px 45px rgba(20,27,31,.18)}
.direction-mega-close{display:none;position:absolute;top:10px;right:10px;width:44px;height:44px;border:1px solid #bbb;background:#fff;color:#a9000d;font-size:28px;cursor:pointer}
.direction-mega-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:16px}
.direction-mega-tabs button{min-height:44px;border:1px solid #d8dde2;background:#f4f6f7;color:#292d31;font-weight:700;cursor:pointer}
.direction-mega-tabs button[aria-selected="true"]{border-color:#c50010;background:#c50010;color:#fff}
.direction-mega-tabs button:focus-visible,.direction-mega-panel a:focus-visible{outline:3px solid rgba(197,0,16,.28);outline-offset:2px}
.direction-search{margin:0 0 14px}.direction-search>label{display:block;margin-bottom:6px;font-size:13px;font-weight:700;color:#555}.direction-search>div{display:grid;grid-template-columns:minmax(160px,1fr) 190px 84px;align-items:stretch}.direction-search>div>*{min-width:0;box-sizing:border-box}.direction-search input,.direction-search select,.direction-search button{width:100%;height:44px;min-height:44px;margin:0;border:1px solid #cfd5da;border-radius:0;padding:0 12px;font:inherit;background:#fff}.direction-search select{border-left:0}.direction-search button{border-color:#c50010;background:#c50010;color:#fff;font-weight:700;cursor:pointer}.direction-search input:focus,.direction-search select:focus,.direction-search button:focus-visible{position:relative;z-index:2;outline:3px solid rgba(197,0,16,.24);outline-offset:1px}
/* JCF replaces the native select with this visible wrapper. Keep it in the
   middle grid column so the three controls form one straight 44 px row. */
.direction-search .jcf-select{display:block;width:100%;height:44px;min-width:0;margin:0;box-sizing:border-box;border:1px solid #cfd5da;border-left:0;border-radius:0;background:#fff;color:#222;box-shadow:none;vertical-align:top}.direction-search .jcf-select .jcf-select-text{display:block;height:42px;margin:0 38px 0 12px;color:#222;font:inherit;line-height:42px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.direction-search .jcf-select .jcf-select-opener{width:38px;height:42px;top:0;right:0;bottom:auto}.direction-search .jcf-select .jcf-select-opener:after{top:19px;left:15px}.direction-search .jcf-select select{position:absolute;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;inset:0;cursor:pointer}.direction-search .jcf-select.jcf-focus{position:relative;z-index:2;outline:3px solid rgba(197,0,16,.24);outline-offset:1px}
.direction-mega-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}
.direction-mega-panel[hidden]{display:none!important}
.direction-mega-panel a{display:flex;align-items:center;min-height:44px;padding:7px 10px;border-bottom:1px solid #edf0f2;color:#3d4246;text-decoration:none;line-height:1.25}
.direction-mega-panel a:hover{color:#b9000b;background:#fafafa}
.direction-mega-panel .direction-mega-all{color:#ba0010;font-weight:700}

.wood-hub{padding:0 0 64px;color:#24272a}
.wood-hub .bread-crumbs{margin-bottom:22px}
.wood-hero{padding:52px clamp(24px,5vw,70px);border-radius:8px;background:linear-gradient(120deg,#1c1713 0%,#443326 100%);color:#fff}
.wood-hero__eyebrow{display:block;margin-bottom:12px;color:#e8b984;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.wood-hero h1{max-width:820px;margin:0 0 18px;font-size:clamp(34px,4.5vw,58px);line-height:1.05}
.wood-hero p{max-width:760px;margin:0 0 26px;font-size:18px;line-height:1.55;color:#f2ece7}
.wood-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:4px;background:#c60010;color:#fff!important;font-weight:700;text-decoration:none}
.wood-button:hover,.wood-button:focus-visible{background:#a8000d;outline:3px solid rgba(198,0,16,.25);outline-offset:3px}
.wood-section{padding-top:48px}
.wood-section h2{margin:0 0 12px;font-size:clamp(28px,3vw,42px);line-height:1.15}
.wood-section__intro{max-width:820px;margin:0 0 24px;color:#5d6268;font-size:17px;line-height:1.55}
.wood-category-grid,.wood-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.wood-category-card,.wood-product-card{display:grid;border:1px solid #d9dee3;border-radius:6px;background:#fff;overflow:hidden;text-decoration:none;color:#222;transition:box-shadow .2s,transform .2s}
.wood-category-card:hover,.wood-product-card:hover{box-shadow:0 12px 28px rgba(26,22,18,.12);transform:translateY(-2px)}
.wood-category-card img{width:100%;height:250px;object-fit:contain;background:#f4f1ed}
.wood-category-card__body,.wood-product-card__body{padding:20px}
.wood-category-card h3,.wood-product-card h3{margin:0 0 9px;font-size:23px;line-height:1.2}
.wood-category-card p,.wood-product-card p{margin:0;color:#666;line-height:1.5}
.wood-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.wood-product-card img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f7f5f2}
.wood-product-card__price{display:block;margin-top:14px;color:#ba0010;font-weight:700;font-size:18px}
.wood-maker-link{display:grid;grid-template-columns:1.4fr auto;align-items:center;gap:24px;margin-top:48px;padding:32px;border-radius:7px;background:#111c22;color:#fff}
.wood-maker-link h2{margin:0 0 8px;font-size:30px}.wood-maker-link p{margin:0;color:#d7dfe3;line-height:1.5}
.wood-product-origin{margin:38px 0;padding:28px 32px;border-left:5px solid #c50010;background:#f3f4f5}.wood-product-origin>span{color:#ba0010;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.wood-product-origin h2{margin:7px 0 10px;font-size:30px}.wood-product-origin p{max-width:900px;margin:0 0 14px;color:#555;line-height:1.6}.wood-product-origin a{color:#b7000d;font-weight:700}
.direction-search-page{padding:0 0 60px}.direction-search-page h1{font-size:42px;margin:12px 0 24px}.direction-search--page{max-width:900px;padding:22px;border:1px solid #dbe0e4;background:#f6f7f8}.direction-search-summary{margin:28px 0 18px;font-size:18px}.direction-search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.direction-search-results article{border:1px solid #dbe0e4;background:#fff}.direction-search-results a{display:block;color:#222;text-decoration:none}.direction-search-results img{width:100%;height:220px;object-fit:contain;background:#f5f6f7}.direction-search-results span{display:block;padding:16px}.direction-search-results small{color:#777}.direction-search-results h2{margin:7px 0 14px;font-size:20px;line-height:1.25}.direction-search-results b{color:#bd0010;font-size:18px}.direction-search-empty{margin-top:24px;padding:24px;background:#f6f7f8}

@media(max-width:1100px){
  .main-nav>ul{gap:12px!important}.main-nav>ul>li>a{font-size:14px!important}
  .wood-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
  .direction-menu-toggle{min-height:44px;width:100%;justify-content:space-between;text-align:left}
  .direction-mega-menu{position:fixed;z-index:10000;inset:0;width:100%;max-height:none;box-sizing:border-box;overflow:auto;padding:66px 14px 24px;border:0;border-top:4px solid #c50010;border-radius:0}
  .direction-mega-close{display:block}
  .direction-mega-tabs{grid-template-columns:1fr;margin-bottom:10px}
  .direction-mega-tabs button{text-align:left;padding:0 14px}
  .direction-mega-panel{grid-template-columns:1fr}
  .direction-search>div{grid-template-columns:1fr}.direction-search select{border-left:1px solid #cfd5da;border-top:0}.direction-search .jcf-select{border-left:1px solid #cfd5da;border-top:0}.direction-search button{border-top:0}
  .catalog-other-directions{margin:12px 0 20px}
  .catalog-other-directions a{font-size:15px}
  .catalog-local-filter{grid-template-columns:1fr;margin:18px 0;padding:14px}.catalog-local-filter button{width:100%}
  .wood-hub{padding-bottom:40px}
  .wood-hero{padding:34px 20px;border-radius:0;margin-left:-15px;margin-right:-15px}
  .wood-hero p{font-size:16px}
  .wood-section{padding-top:36px}
  .wood-category-grid,.wood-product-grid{grid-template-columns:1fr}
  .wood-category-card img{height:220px}
  .wood-product-card{grid-template-columns:118px minmax(0,1fr);align-items:center}
  .wood-product-card img{height:100%;min-height:150px;aspect-ratio:auto}
  .wood-product-card__body{padding:16px}.wood-product-card h3{font-size:18px}
  .wood-maker-link{grid-template-columns:1fr;padding:24px 20px}.wood-maker-link h2{font-size:26px}
  .wood-product-origin{margin:26px 0;padding:22px 18px}.wood-product-origin h2{font-size:25px}
  .direction-search-page h1{font-size:32px}.direction-search--page{padding:14px}.direction-search-results{grid-template-columns:1fr}.direction-search-results article a{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center}.direction-search-results img{height:150px}
}
