/* 0.1.32 / Shop Parts catalogue redesign.
   Scope everything to the WooCommerce archive template: HOME / other pages unchanged.
   Uses genuine WooCommerce categories, links, images and approved product records.
   All template sections use Gutenberg blocks and remain movable/editable. */
.fts-shop-redesign-032{background:#fff;color:#173044}
.fts-shop-redesign-032 :where(.fts-shop-cover-032,.fts-shop-search-032,.fts-shop-directory-032,.fts-shop-manufacturer-032,.fts-shop-approved-032){box-sizing:border-box}
.fts-shop-redesign-032 .fts-shop-cover-032{
 background:linear-gradient(112deg,#f7fafc 0%,#eef5f9 58%,#eaf2f7 100%);
 padding:37px 0 48px;border-bottom:1px solid #dce7ee;margin:0!important;
}
.fts-shop-redesign-032 .fts-shop-cover-columns-032{width:min(calc(100% - 70px),1280px)!important;max-width:1280px!important;margin:0 auto!important;gap:clamp(22px,4vw,63px)!important;align-items:center}
.fts-shop-redesign-032 .fts-shop-cover-columns-032>.wp-block-column{min-width:0}
.fts-shop-redesign-032 .fts-block-shop-heading>.eyebrow{
 color:#42627a!important;font-size:10px!important;line-height:1.4;font-weight:800;letter-spacing:.17em;margin:0 0 12px!important
}
.fts-shop-redesign-032 .fts-block-shop-heading h1{
 color:#183044!important;font-weight:790;font-size:clamp(32px,3.05vw,43px)!important;
 line-height:1.11!important;letter-spacing:-.043em;margin:0 0 12px!important;max-width:740px;
}
.fts-shop-redesign-032 .fts-block-shop-heading p{
 color:#5b7283;font-size:14px!important;line-height:1.65!important;max-width:660px!important;margin:0!important;
}
.fts-shop-redesign-032 .fts-shop-cover-032 .fts-status-note{
 display:inline-block;margin:18px 0 0!important;padding:7px 11px!important;
 color:#5b7080;font-size:11px!important;line-height:1.4!important;
 border:1px solid #d2e0e8;background:rgba(255,255,255,.65);box-shadow:none;
}
.fts-shop-redesign-032 .fts-shop-help-card-032{
 max-width:390px;border-left:2px solid #0a77b7;padding:12px 3px 12px 24px!important;
 margin:0!important;background:transparent;
}
.fts-shop-redesign-032 .fts-shop-help-card-032 .fts-shop-help-kicker-032{
 font-size:10px!important;letter-spacing:.16em;line-height:1.3;font-weight:800;color:#0872af!important;margin:0 0 10px!important;
}
.fts-shop-redesign-032 .fts-shop-help-card-032 h3{
 font-size:18px!important;line-height:1.28;letter-spacing:-.025em;font-weight:760;color:#1e394d!important;margin:0 0 8px!important;
}
.fts-shop-redesign-032 .fts-shop-help-card-032 p:not(.fts-shop-help-kicker-032){
 color:#587184;font-size:12.5px!important;line-height:1.55;margin:0 0 9px!important;
}
.fts-shop-redesign-032 .fts-shop-help-card-032 .fts-shop-help-link-032{margin:0!important}
.fts-shop-redesign-032 .fts-shop-help-link-032 a{color:#086eae;font-size:12.5px!important;font-weight:770;text-decoration:none}
.fts-shop-redesign-032 .fts-shop-help-link-032 a:hover{text-decoration:underline}
/* Compact, functioning tabbed search: all four routes are from the existing core block. */
.fts-shop-redesign-032 .fts-shop-search-032{
 margin:-24px auto 0!important;position:relative;z-index:3;padding:0!important;
 width:min(calc(100% - 70px),1280px)!important;max-width:1280px!important;
}
.fts-shop-redesign-032 .fts-shop-search-032 .search-panel{
 background:#fff;border:1px solid #dbe5eb;border-radius:3px;padding:0 17px 12px!important;
 box-shadow:0 15px 32px rgba(15,42,60,.08)!important;margin:0!important;
}
.fts-shop-redesign-032 .fts-shop-search-032 .fts-search-routes{
 margin:0 -17px 10px!important;background:#f7fafc;border-bottom:1px solid #e4ecf0;
}
.fts-shop-redesign-032 .fts-shop-search-032 .fts-search-route{
 padding:11px 19px!important;min-height:42px!important;font-size:12px!important;
}
.fts-shop-redesign-032 .fts-shop-search-032 .fts-search-panel-body{margin:0!important}
.fts-shop-redesign-032 .fts-shop-search-032 .search-label{
 display:flex;gap:12px;align-items:center;font-size:11px!important;line-height:1.3;letter-spacing:.05em;
 margin:5px 0 8px!important;color:#1d3548;
}
.fts-shop-redesign-032 .fts-shop-search-032 .search-label-secondary{font-size:11px!important;color:#657b8d!important}
.fts-shop-redesign-032 .fts-shop-search-032 .search-fields{gap:9px;margin:0!important;align-items:stretch}
.fts-shop-redesign-032 .fts-shop-search-032 .search-fields input{
 height:44px!important;min-height:44px!important;background:#fff;border:1px solid #cbdbe5;
 border-radius:2px;font-size:13px!important;padding:10px 15px;
}
.fts-shop-redesign-032 .fts-shop-search-032 .search-fields button{min-height:44px!important;padding:11px 19px!important}
.fts-shop-redesign-032 .fts-shop-search-032 .search-hint{
 font-size:11px!important;color:#657b8a;margin:8px 0 0!important;line-height:1.4;
}
/* A reference-search state has its own substantive content; no phantom empty gap. */
.fts-shop-redesign-032 .fts-shop-reference-results-032{padding:16px 0 0!important;margin:0 auto!important}
.fts-shop-redesign-032 .fts-shop-reference-results-032:not(:has(.fts-core-section)){display:none!important}
/* Family cards and the 19 real categories use the same full-width visual rhythm. */
.fts-shop-redesign-032 .fts-shop-directory-032{
 width:min(calc(100% - 70px),1280px)!important;max-width:1280px!important;
 padding:39px 0 50px!important;margin:0 auto!important;scroll-margin-top:26px;
}
.fts-shop-redesign-032 .fts-shop-directory-032 .fts-core-section,
.fts-shop-redesign-032 .fts-shop-directory-032 .fts-catalogue-intro{width:100%!important;max-width:none!important}
.fts-shop-redesign-032 .fts-catalogue-intro .eyebrow{
 margin:0 0 6px;font-size:10px;font-weight:800;letter-spacing:.16em;color:#4b6b7f;
}
.fts-shop-redesign-032 .fts-catalogue-intro h2{
 color:#193144;font-size:clamp(25px,2.6vw,34px)!important;letter-spacing:-.037em;line-height:1.16;
 font-weight:760;margin:0 0 7px!important;
}
.fts-shop-redesign-032 .fts-catalogue-intro p{font-size:13.5px;color:#5e7686;margin:0!important;max-width:820px}
.fts-shop-redesign-032 .fts-featured-families{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important;
 margin:22px 0 36px!important;
}
.fts-shop-redesign-032 .fts-featured-family{
 border:1px solid #dce6ec;display:flex;flex-direction:column;min-width:0;
 background:#fff;overflow:hidden;border-radius:2px;
 transition:border-color .16s,box-shadow .16s;
}
.fts-shop-redesign-032 .fts-featured-family:hover,
.fts-shop-redesign-032 .fts-featured-family:focus-visible{border-color:#b7d3e4;box-shadow:0 10px 25px rgba(17,48,71,.08)}
.fts-shop-redesign-032 .fts-featured-family-image{
 width:100%;height:168px!important;min-height:168px!important;background:#f2f6f8;
 display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e2eaf0;
}
.fts-shop-redesign-032 .fts-featured-family-image img{
 display:block!important;width:100%;height:100%;object-fit:contain;padding:13px!important;
 max-width:100%;transition:transform .18s ease;
}
.fts-shop-redesign-032 .fts-featured-family:hover img{transform:scale(1.035)}
.fts-shop-redesign-032 .fts-featured-family-name{
 margin-top:auto;display:flex;align-items:center;justify-content:space-between;
 gap:8px;min-height:50px;padding:12px 15px!important;color:#1b364a;
 font-size:13px!important;font-weight:735;line-height:1.3;
}
.fts-shop-redesign-032 .fts-featured-family-name span[aria-hidden]{color:#0876ba}
.fts-shop-redesign-032 .fts-family-groups{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));
 gap:26px!important;align-items:start;margin:0!important;
}
.fts-shop-redesign-032 .fts-family-group{
 border-top:2px solid #274255;padding:14px 0 0!important;min-width:0;
}
.fts-shop-redesign-032 .fts-family-group h3{
 color:#193144;margin:0 0 10px!important;font-size:16px;letter-spacing:-.02em;line-height:1.3;font-weight:760;
}
.fts-shop-redesign-032 .fts-family-group-links{border-bottom:0!important}
.fts-shop-redesign-032 .fts-family-group-links a{
 min-width:0;min-height:40px;display:flex;align-items:center;justify-content:space-between;
 gap:9px;padding:10px 0!important;border-top:1px solid #e3ebf0;
 color:#344e5f;font-size:12.5px!important;line-height:1.35;font-weight:610;
}
.fts-shop-redesign-032 .fts-family-group-links a:hover{color:#086cac;border-top-color:#c6dce8}
.fts-shop-redesign-032 .fts-family-action{flex:none;font-size:0!important;color:#086eae}
.fts-shop-redesign-032 .fts-family-action:after{content:'→';font-size:13px;line-height:1;color:#0876ba}
/* The real sourced manufacturer directory is a distinct technical destination. */
.fts-shop-redesign-032 .fts-shop-manufacturer-032{
 width:min(calc(100% - 70px),1280px)!important;max-width:1280px!important;
 margin:0 auto!important;padding:0 0 35px!important;
}
.fts-shop-redesign-032 .fts-shop-manufacturer-032:empty{display:none}
.fts-shop-redesign-032 .fts-fi-teaser{
 margin:0!important;padding:29px 32px 28px!important;
 background:linear-gradient(135deg,#f5f9fc,#edf4f8);border:1px solid #d7e4ed;
 border-top:2px solid #a6c7dc;
}
.fts-shop-redesign-032 .fts-fi-teaser .fts-fi-head{gap:18px;margin:0 0 18px}
.fts-shop-redesign-032 .fts-fi-teaser .fts-fi-head h2{font-size:clamp(22px,2.4vw,29px)!important}
.fts-shop-redesign-032 .fts-fi-teaser .fts-fi-head p{font-size:13px;line-height:1.6}
.fts-shop-redesign-032 .fts-fi-teaser .fts-fi-head .btn{
 min-height:42px;padding:10px 17px;white-space:normal;font-size:12px;
}
.fts-shop-redesign-032 .fts-shop-approved-032{
 width:min(calc(100% - 70px),1280px)!important;max-width:1280px!important;
 margin:0 auto!important;padding:18px 0 55px!important;
}
.fts-shop-redesign-032 .fts-shop-approved-032 .fts-catalogue-empty{
 background:#f6f9fb;border:1px solid #dce6eb;margin:0!important;
 padding:20px 24px!important;font-size:13px;color:#5f7483;
}
.fts-shop-redesign-032 .fts-shop-approved-032 ul.products{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;
}
@media(max-width:1100px){
 .fts-shop-redesign-032 .fts-shop-cover-columns-032{gap:26px!important}
 .fts-shop-redesign-032 .fts-family-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 32px!important}
 .fts-shop-redesign-032 .fts-featured-families{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fts-shop-redesign-032 .fts-shop-approved-032 ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:781px){
 .fts-shop-redesign-032 .fts-shop-cover-032{padding:31px 0 42px!important}
 .fts-shop-redesign-032 .fts-shop-cover-columns-032{width:min(calc(100% - 40px),1280px)!important;gap:16px!important}
 .fts-shop-redesign-032 .fts-shop-cover-columns-032>.wp-block-column{width:100%!important;flex-basis:100%!important}
 .fts-shop-redesign-032 .fts-shop-help-card-032{max-width:none;padding:8px 0 8px 17px!important;margin:0!important}
 .fts-shop-redesign-032 .fts-shop-help-card-032 h3{font-size:16px!important}
 .fts-shop-redesign-032 .fts-shop-search-032,
 .fts-shop-redesign-032 .fts-shop-directory-032,
 .fts-shop-redesign-032 .fts-shop-manufacturer-032,
 .fts-shop-redesign-032 .fts-shop-approved-032{width:min(calc(100% - 40px),1280px)!important}
 .fts-shop-redesign-032 .fts-shop-directory-032{padding-top:32px!important}
 .fts-shop-redesign-032 .fts-shop-search-032 .search-panel{padding:0 13px 12px!important}
 .fts-shop-redesign-032 .fts-shop-search-032 .fts-search-routes{margin:0 -13px 11px!important;overflow-x:auto}
 .fts-shop-redesign-032 .fts-shop-search-032 .fts-search-route{font-size:11.3px!important;padding:10px 13px!important;flex:none}
 .fts-shop-redesign-032 .fts-fi-teaser{padding:22px!important}
}
@media(max-width:560px){
 .fts-shop-redesign-032 .fts-shop-cover-032{padding:26px 0 36px!important}
 .fts-shop-redesign-032 .fts-block-shop-heading h1{font-size:32px!important;line-height:1.13!important}
 .fts-shop-redesign-032 .fts-block-shop-heading p{font-size:13px!important}
 .fts-shop-redesign-032 .fts-shop-cover-032 .fts-status-note{margin-top:11px!important;padding:6px 8px!important}
 .fts-shop-redesign-032 .fts-shop-help-card-032 p:not(.fts-shop-help-kicker-032){font-size:12px!important}
 .fts-shop-redesign-032 .fts-shop-search-032,
 .fts-shop-redesign-032 .fts-shop-directory-032,
 .fts-shop-redesign-032 .fts-shop-manufacturer-032,
 .fts-shop-redesign-032 .fts-shop-approved-032,
 .fts-shop-redesign-032 .fts-shop-cover-columns-032{width:min(calc(100% - 30px),1280px)!important}
 .fts-shop-redesign-032 .fts-shop-search-032{margin-top:-17px!important}
 .fts-shop-redesign-032 .fts-shop-search-032 .search-fields{display:flex;flex-direction:column!important}
 .fts-shop-redesign-032 .fts-shop-search-032 .search-fields button{width:100%!important}
 .fts-shop-redesign-032 .fts-shop-search-032 .search-label{display:block!important}
 .fts-shop-redesign-032 .fts-shop-search-032 .search-label-secondary{display:block;margin-left:0!important;margin-top:2px}
 .fts-shop-redesign-032 .fts-featured-families{grid-template-columns:1fr!important;gap:9px!important;margin:19px 0 30px!important}
 .fts-shop-redesign-032 .fts-featured-family{display:grid;grid-template-columns:122px minmax(0,1fr);min-height:104px}
 .fts-shop-redesign-032 .fts-featured-family-image{width:122px;height:104px!important;min-height:104px!important;border-bottom:0;border-right:1px solid #e2eaf0}
 .fts-shop-redesign-032 .fts-featured-family-image img{padding:8px!important}
 .fts-shop-redesign-032 .fts-featured-family-name{height:100%;margin:0;padding:11px 14px!important;font-size:13px!important}
 .fts-shop-redesign-032 .fts-family-groups{grid-template-columns:1fr!important;gap:23px!important}
 .fts-shop-redesign-032 .fts-shop-directory-032{padding-bottom:35px!important}
 .fts-shop-redesign-032 .fts-fi-teaser{padding:20px 17px!important}
 .fts-shop-redesign-032 .fts-shop-approved-032 ul.products{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){.fts-shop-redesign-032 .fts-featured-family-image img{transition:none}}
/* Gutenberg columns are laid out side-by-side at desktop in the editor as well. */
@media(min-width:782px){
 .fts-shop-redesign-032 .fts-shop-cover-columns-032{
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
 }
 .fts-shop-redesign-032 .fts-shop-cover-columns-032>.wp-block-column{min-width:0!important;flex-grow:0!important;flex-shrink:1!important}
 .fts-shop-redesign-032 .fts-shop-cover-columns-032>.wp-block-column:first-child{flex-basis:69%!important}
 .fts-shop-redesign-032 .fts-shop-cover-columns-032>.wp-block-column:last-child{flex-basis:31%!important}
}
@media(max-width:781px){
 .fts-shop-redesign-032 .fts-shop-cover-columns-032{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important}
}
@media(max-width:560px){
 .fts-shop-redesign-032 .fts-shop-search-032 .fts-search-routes{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  overflow:visible!important;min-width:0;
 }
 .fts-shop-redesign-032 .fts-shop-search-032 .fts-search-route{
  min-width:0;min-height:40px!important;text-align:center;white-space:normal!important;
  padding:9px 6px!important;border-bottom:1px solid #e4ebef;
 }
 .fts-shop-redesign-032 .fts-shop-search-032 .fts-search-route.is-current:after{height:2px}
}
@media(max-width:560px){
 .fts-shop-redesign-032 .fts-shop-help-card-032{
  padding-top:6px!important;padding-bottom:4px!important;
 }
 .fts-shop-redesign-032 .fts-shop-help-card-032 .fts-shop-help-kicker-032{margin-bottom:5px!important}
 .fts-shop-redesign-032 .fts-shop-help-card-032 h3{margin-bottom:5px!important}
 .fts-shop-redesign-032 .fts-shop-help-card-032 p:not(.fts-shop-help-kicker-032){line-height:1.4!important}
 .fts-shop-redesign-032 .fts-fi-department-grid{
  display:grid!important;grid-template-columns:1fr!important;gap:8px!important;
 }
 .fts-shop-redesign-032 .fts-fi-department{
  min-height:0!important;padding:13px 35px 13px 13px!important;
 }
 .fts-shop-redesign-032 .fts-fi-department>span:last-child{top:20px!important;right:12px!important}
}
