/* STORE APP Patch 316
   Restores the current white Master Palm B2B collection/catalog language after
   the category hierarchy update.  This file intentionally replaces the old
   graphite masterpalm-industrial.css presentation on category and /product pages. */

body.masterpalm-store-white.mp-category-detail-page,
body.masterpalm-store-white.mp-tool-collections-page,
body.masterpalm-store-white.mp-product-catalog-page-body,
body.masterpalm-store-white.mp-category-detail-page #site-main,
body.masterpalm-store-white.mp-tool-collections-page #site-main,
body.masterpalm-store-white.mp-product-catalog-page-body #site-main{
  background:#fff!important;
  color:#11161d!important;
}

body.masterpalm-store-white :is(.mp-category-detail-page,.mp-tool-collections-page,.mp-product-catalog-page-body) #site-main{
  color:#11161d;
}

body.masterpalm-store-white.mp-category-detail-page .mp-header-container,
body.masterpalm-store-white.mp-tool-collections-page .mp-header-container,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-header-container{
  width:min(1320px,calc(100% - 40px));
  margin-inline:auto;
}

/* White, compact page headings. */
body.masterpalm-store-white.mp-category-detail-page .mp-page-hero,
body.masterpalm-store-white.mp-tool-collections-page .mp-page-hero,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-page-hero{
  min-height:0!important;
  padding:30px 0 24px!important;
  color:#11161d!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid #dbe1e7!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-page-hero::before,
body.masterpalm-store-white.mp-category-detail-page .mp-page-hero::after,
body.masterpalm-store-white.mp-tool-collections-page .mp-page-hero::before,
body.masterpalm-store-white.mp-tool-collections-page .mp-page-hero::after,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-page-hero::before,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-page-hero::after{
  display:none!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-page-hero-inner,
body.masterpalm-store-white.mp-tool-collections-page .mp-page-hero-inner,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-page-hero-inner{
  min-height:0!important;
  display:block!important;
  padding:0!important;
}
body.masterpalm-store-white :is(.mp-category-detail-page,.mp-tool-collections-page,.mp-product-catalog-page-body) .mp-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  color:#6a7581!important;
  font-size:.78rem;
  font-weight:800;
}
body.masterpalm-store-white.mp-category-detail-page .mp-breadcrumb a,
body.masterpalm-store-white.mp-tool-collections-page .mp-breadcrumb a,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-breadcrumb a{
  color:#29333e!important;
  text-decoration:none;
}
body.masterpalm-store-white.mp-category-detail-page .mp-breadcrumb a:hover,
body.masterpalm-store-white.mp-tool-collections-page .mp-breadcrumb a:hover,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-breadcrumb a:hover{
  color:#d71920!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-page-hero h1,
body.masterpalm-store-white.mp-tool-collections-page .mp-page-hero h1,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-page-hero h1{
  margin:0;
  color:#11161d!important;
  font-size:clamp(1.85rem,3vw,2.65rem)!important;
  line-height:1.07;
  font-weight:1000;
  letter-spacing:-.04em;
  text-transform:uppercase;
  text-shadow:none!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-page-hero h1::after,
body.masterpalm-store-white.mp-tool-collections-page .mp-page-hero h1::after,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-page-hero h1::after{
  content:"";
  display:block;
  width:96px;
  height:3px;
  margin-top:10px;
  background:#d71920;
}
body.masterpalm-store-white.mp-category-detail-page .mp-page-hero p,
body.masterpalm-store-white.mp-tool-collections-page .mp-page-hero p,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-page-hero p{
  max-width:880px;
  margin:13px 0 0;
  color:#46515d!important;
  font-size:.96rem;
  line-height:1.6;
  font-weight:650;
  text-shadow:none!important;
}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-catalog-kicker{
  display:inline-flex;
  margin:0 0 9px;
  padding:5px 9px;
  color:#fff!important;
  background:#d71920!important;
  border:0!important;
  font-size:.7rem;
  font-weight:1000;
  letter-spacing:.09em;
  text-transform:uppercase;
}

/* Category detail layout and hierarchy. */
body.masterpalm-store-white.mp-category-detail-page .mp-category-product-page,
body.masterpalm-store-white.mp-tool-collections-page .mp-collection-page,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-catalog-page{
  padding:28px 0 44px!important;
  background:#fff!important;
  color:#11161d!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-layout{
  display:grid;
  grid-template-columns:255px minmax(0,1fr);
  gap:24px;
  align-items:start;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-main{min-width:0;}
body.masterpalm-store-white.mp-category-detail-page .mp-category-sidebar{
  position:sticky;
  top:128px;
  padding:16px;
  color:#11161d!important;
  background:#f7f8fa!important;
  border:1px solid #dbe1e7!important;
  border-radius:5px;
  box-shadow:none!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-sidebar h2{
  margin:0 0 12px;
  color:#11161d!important;
  font-size:1rem;
  font-weight:1000;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-root,
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-children{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:5px;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-children{
  margin:5px 0 5px 10px!important;
  padding-left:10px!important;
  border-left:2px solid #dbe1e7!important;
  background:transparent!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px!important;
  gap:4px;
  align-items:stretch;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-row>a{
  display:flex!important;
  align-items:center;
  min-height:38px;
  padding:8px 10px!important;
  color:#28323d!important;
  background:#fff!important;
  border:1px solid #dbe1e7!important;
  border-radius:3px!important;
  font-size:.82rem;
  line-height:1.25;
  font-weight:850;
  text-decoration:none;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-row>a:hover,
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-row>a.is-active{
  color:#d71920!important;
  background:#fff5f5!important;
  border-color:#d71920!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-toggle{
  width:34px!important;
  min-width:34px!important;
  min-height:38px!important;
  display:grid!important;
  place-items:center;
  padding:0!important;
  color:#28323d!important;
  background:#fff!important;
  border:1px solid #dbe1e7!important;
  border-radius:3px!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-toggle:hover{
  color:#fff!important;
  background:#d71920!important;
  border-color:#d71920!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-toggle i{transition:transform .18s ease;}
body.masterpalm-store-white.mp-category-detail-page .is-open>.mp-category-nav-row .mp-category-nav-toggle i{transform:rotate(180deg);}
body.masterpalm-store-white.mp-category-detail-page .mp-category-nav-children[hidden]{display:none!important;}
body.masterpalm-store-white.mp-category-detail-page .mp-sidebar-quote{
  margin-top:16px;
  padding:15px;
  color:#11161d!important;
  background:#fff!important;
  border:1px solid #dbe1e7!important;
  border-left:4px solid #d71920!important;
  border-radius:4px;
}
body.masterpalm-store-white.mp-category-detail-page .mp-sidebar-quote strong,
body.masterpalm-store-white.mp-category-detail-page .mp-sidebar-quote span{display:block;color:#11161d!important;}
body.masterpalm-store-white.mp-category-detail-page .mp-sidebar-quote span{margin:5px 0 11px;color:#596472!important;font-size:.78rem;}
body.masterpalm-store-white.mp-category-detail-page .mp-sidebar-quote a{
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-height:36px;
  color:#fff!important;
  background:#d71920!important;
  border:1px solid #d71920!important;
  border-radius:3px!important;
  box-shadow:none!important;
  text-decoration:none;
  font-size:.75rem;
  font-weight:1000;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-copy{
  margin:0 0 22px;
  padding:20px;
  color:#28323d!important;
  background:#fff!important;
  border:1px solid #dbe1e7!important;
  border-left:4px solid #d71920!important;
  border-radius:4px;
  box-shadow:none!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-copy :where(h2,h3,h4){color:#11161d!important;}
body.masterpalm-store-white.mp-category-detail-page .mp-category-copy :where(p,li){color:#3f4a56!important;}

/* Related Collections are visible before products, exactly 16:9, max three per row. */
body.masterpalm-store-white.mp-category-detail-page .mp-related-collections{
  margin:0 0 28px;
  padding:0 0 25px;
  border-bottom:1px solid #dbe1e7;
}
body.masterpalm-store-white.mp-category-detail-page .mp-section-title-left{margin:0 0 13px;}
body.masterpalm-store-white.mp-category-detail-page .mp-section-title-left h2{
  margin:0;
  color:#11161d!important;
  font-size:1.35rem;
  font-weight:1000;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-category-detail-page .mp-section-title-left h2::after{
  content:"";
  display:block;
  width:70px;
  height:3px;
  margin-top:8px;
  background:#d71920;
}
body.masterpalm-store-white.mp-category-detail-page .mp-related-collections-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
body.masterpalm-store-white.mp-category-detail-page .mp-related-collection-card{
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  color:#11161d!important;
  background:#fff!important;
  border:1px solid #d7dde4;
  border-radius:5px;
  text-decoration:none!important;
  box-shadow:0 8px 22px rgba(17,22,29,.08);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.masterpalm-store-white.mp-category-detail-page .mp-related-collection-card:hover{
  transform:translateY(-2px);
  border-color:#d71920;
  box-shadow:0 15px 30px rgba(17,22,29,.13);
}
body.masterpalm-store-white.mp-category-detail-page .mp-related-collection-media{
  aspect-ratio:16/9;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#697582;
  background:#eef1f4;
  border-bottom:1px solid #e1e6eb;
  font-size:.75rem;
  font-weight:900;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-category-detail-page .mp-related-collection-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center;
}
body.masterpalm-store-white.mp-category-detail-page .mp-related-collection-copy{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:14px;
}
body.masterpalm-store-white.mp-category-detail-page .mp-related-collection-copy strong{
  color:#11161d!important;
  font-size:1rem;
  line-height:1.25;
  font-weight:1000;
}
body.masterpalm-store-white.mp-category-detail-page .mp-related-collection-copy small{
  display:block;
  margin-top:6px;
  color:#596472!important;
  line-height:1.45;
}
body.masterpalm-store-white.mp-category-detail-page .mp-related-collection-copy em{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:auto;
  padding-top:12px;
  color:#d71920!important;
  font-size:.73rem;
  font-style:normal;
  font-weight:1000;
  text-transform:uppercase;
}

/* Product result headings and search. */
body.masterpalm-store-white.mp-category-detail-page .mp-product-results-head,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-results-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin:0 0 14px;
  padding:0 0 13px;
  border-bottom:1px solid #dbe1e7!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-results-head span,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-results-head>div>span{
  display:block;
  margin-bottom:4px;
  color:#d71920!important;
  font-size:.72rem;
  font-weight:1000;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-results-head h2,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-results-head h2{
  margin:0;
  color:#11161d!important;
  font-size:clamp(1.2rem,2vw,1.7rem);
  font-weight:1000;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-results-head p{margin:5px 0 0;color:#66717d!important;font-size:.8rem;}
body.masterpalm-store-white.mp-category-detail-page .mp-inline-search{display:grid;grid-template-columns:minmax(180px,300px) auto;}
body.masterpalm-store-white.mp-category-detail-page .mp-inline-search input{
  height:42px;
  padding:0 12px;
  color:#11161d!important;
  background:#fff!important;
  border:1px solid #cbd3dc!important;
  border-right:0!important;
  border-radius:4px 0 0 4px;
}
body.masterpalm-store-white.mp-category-detail-page .mp-inline-search button{
  height:42px;
  padding:0 16px;
  color:#fff!important;
  background:#d71920!important;
  border:1px solid #d71920!important;
  border-radius:0 4px 4px 0;
  font-size:.75rem;
  font-weight:1000;
  text-transform:uppercase;
}

/* Product cards: white, visible IMG media, and a maximum of four on /product. */
body.masterpalm-store-white.mp-category-detail-page .mp-category-products-grid,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-catalog-grid{
  display:grid!important;
  gap:14px!important;
  align-items:stretch;
}
body.masterpalm-store-white.mp-category-detail-page .mp-category-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-card,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-card{
  min-width:0;
  height:100%;
  display:flex!important;
  flex-direction:column;
  overflow:hidden;
  color:#11161d!important;
  background:#fff!important;
  border:1px solid #d7dde4!important;
  border-radius:5px;
  box-shadow:0 4px 15px rgba(17,22,29,.06)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-card:hover,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-card:hover{
  transform:translateY(-2px);
  border-color:#d71920!important;
  box-shadow:0 14px 28px rgba(17,22,29,.12)!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-media,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-media{
  aspect-ratio:4/3;
  min-height:0!important;
  display:grid!important;
  place-items:center;
  overflow:hidden;
  padding:14px;
  color:#6d7884!important;
  background:#fff!important;
  border-bottom:1px solid #e5e9ed!important;
  text-decoration:none!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-media img,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-media.is-missing-image,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-media.is-missing-image{background:#f0f2f4!important;}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-media>span,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-media>span{font-size:.74rem;font-weight:1000;text-transform:uppercase;}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-body,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-body{
  display:flex!important;
  flex:1;
  flex-direction:column;
  min-height:0!important;
  padding:14px!important;
  background:#fff!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-sku,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-sku{
  color:#d71920!important;
  font-size:.7rem;
  font-weight:1000;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-body h3,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-body h3{margin:5px 0 0;font-size:.98rem;line-height:1.28;font-weight:1000;}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-body h3 a,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-body h3 a{color:#11161d!important;text-decoration:none!important;}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-body p,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-body p{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:8px 0 0!important;
  color:#596472!important;
  font-size:.78rem;
  line-height:1.45;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-actions,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px!important;
  margin-top:auto!important;
  padding-top:13px!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-actions a,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-actions a{
  min-height:34px;
  display:flex!important;
  align-items:center;
  justify-content:center;
  padding:0 11px!important;
  color:#11161d!important;
  background:#fff!important;
  border:1px solid #cbd3dc!important;
  border-radius:3px;
  font-size:.7rem!important;
  font-weight:1000!important;
  text-decoration:none!important;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-actions a:first-child,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-actions a:first-child{color:#fff!important;background:#d71920!important;border-color:#d71920!important;}

/* White /product filter panel. */
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-panel{
  margin:0 0 26px;
  padding:20px;
  color:#11161d!important;
  background:#f7f8fa!important;
  border:1px solid #d7dde4!important;
  border-top:4px solid #d71920!important;
  box-shadow:none!important;
}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-head span{display:block;color:#d71920!important;font-size:.7rem;font-weight:1000;letter-spacing:.08em;text-transform:uppercase;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-head h2{margin:3px 0 0;color:#11161d!important;font-size:clamp(1.2rem,2vw,1.7rem);font-weight:1000;text-transform:uppercase;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-head>a,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-clear-results{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 13px;
  color:#d71920!important;
  background:#fff!important;
  border:1px solid #d71920!important;
  font-size:.7rem;
  font-weight:1000;
  text-decoration:none;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-grid{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(150px,1fr)) auto;gap:11px;align-items:end;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-grid-advanced{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:13px;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-field{display:block;min-width:0;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-field>span{display:block;margin-bottom:6px;color:#48535f!important;font-size:.68rem;font-weight:1000;letter-spacing:.06em;text-transform:uppercase;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-field input,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-field select{
  width:100%;
  height:42px;
  padding:0 11px;
  color:#11161d!important;
  background:#fff!important;
  border:1px solid #c7d0d9!important;
  border-radius:3px;
  font-size:.8rem;
  font-weight:750;
}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-actions{display:flex;gap:7px;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-actions button,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-actions a{
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  color:#fff!important;
  background:#d71920!important;
  border:1px solid #d71920!important;
  border-radius:3px;
  font-size:.7rem;
  font-weight:1000;
  text-decoration:none;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-actions a{color:#11161d!important;background:#fff!important;border-color:#c7d0d9!important;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-advanced{margin-top:15px;padding-top:13px;border-top:1px solid #dbe1e7!important;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-advanced summary{cursor:pointer;color:#11161d!important;font-size:.74rem;font-weight:1000;text-transform:uppercase;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-relation-chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 15px;padding:11px;background:#fff;color:#596472;font-size:.76rem;border:1px solid #dbe1e7;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-relation-chips>a,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-relation-chips>span{display:inline-flex;gap:6px;padding:5px 8px;color:#11161d!important;background:#f7f8fa;border:1px solid #dbe1e7;text-decoration:none;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-relation-chips b{color:#d71920;text-transform:uppercase;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-empty{grid-column:1/-1;padding:34px;color:#11161d;background:#f7f8fa;border:1px dashed #bec8d1;text-align:center;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-empty h3{color:#11161d!important;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-empty p{color:#596472!important;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-empty a{display:inline-flex;padding:10px 15px;color:#fff!important;background:#d71920;text-decoration:none;font-weight:1000;text-transform:uppercase;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:30px 0 0;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-pagination a,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-pagination span{
  min-width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  color:#11161d!important;
  background:#fff!important;
  border:1px solid #cbd3dc!important;
  font-size:.72rem;
  font-weight:1000;
  text-decoration:none;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-pagination .is-current{color:#fff!important;background:#d71920!important;border-color:#d71920!important;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-pagination .is-disabled{opacity:.4;}
body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-pagination em{color:#75808b;font-style:normal;}

/* Tool Collections index remains white and uses 16:9 cards, max three columns. */
body.masterpalm-store-white.mp-tool-collections-page .mp-section-title{text-align:center;margin:0 0 20px;}
body.masterpalm-store-white.mp-tool-collections-page .mp-section-title h2{margin:0;color:#11161d!important;font-size:1.45rem;font-weight:1000;text-transform:uppercase;}
body.masterpalm-store-white.mp-tool-collections-page .mp-section-title p{margin:7px 0 0;color:#596472!important;}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-grid-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card{
  position:relative;
  aspect-ratio:16/9;
  min-height:0!important;
  display:flex!important;
  align-items:flex-end;
  overflow:hidden;
  color:#fff!important;
  background:#323941 center/cover no-repeat!important;
  background-image:var(--mp-bg)!important;
  border:1px solid #cbd3dc!important;
  border-radius:5px;
  text-decoration:none!important;
  box-shadow:0 9px 24px rgba(17,22,29,.12)!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,12,15,.04),rgba(9,12,15,.86));}
body.masterpalm-store-white.mp-tool-collections-page .mp-card-media{display:none!important;}
body.masterpalm-store-white.mp-tool-collections-page .mp-card-body{position:relative;z-index:1;display:block;width:100%;padding:16px;}
body.masterpalm-store-white.mp-tool-collections-page .mp-card-body strong{display:block;color:#fff!important;font-size:1.02rem;font-weight:1000;}
body.masterpalm-store-white.mp-tool-collections-page .mp-card-body small{display:block;margin-top:5px;color:rgba(255,255,255,.84)!important;line-height:1.4;}
body.masterpalm-store-white.mp-tool-collections-page .mp-card-more{display:inline-flex;margin-top:9px;color:#fff!important;font-size:.72rem;font-weight:1000;text-transform:uppercase;}
body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip,
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip{margin-top:22px;color:#11161d!important;background:#f7f8fa!important;border:1px solid #d7dde4!important;box-shadow:none!important;}
body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip :where(strong,span){color:#11161d!important;}
body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip a{color:#fff!important;background:#d71920!important;border-color:#d71920!important;}
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip strong{color:#11161d!important;}
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip span{color:#596472!important;}
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip i{color:#d71920!important;}

/* Restored collection CTA: clear white text and two distinct actions. */
body.masterpalm-store-white.mp-category-detail-page .mp-cta-band{
  padding:0!important;
  color:#fff!important;
  background:linear-gradient(105deg,#11161d 0%,#252c34 62%,#7f0d12 100%)!important;
  border-top:4px solid #d71920!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-cta-inner{
  min-height:132px;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding-block:25px;
}
body.masterpalm-store-white.mp-category-detail-page .mp-cta-inner>div:first-child{min-width:0;}
body.masterpalm-store-white.mp-category-detail-page .mp-cta-inner strong{
  display:block;
  color:#fff!important;
  font-size:clamp(1.25rem,2.2vw,1.9rem);
  line-height:1.15;
  font-weight:1000;
}
body.masterpalm-store-white.mp-category-detail-page .mp-cta-inner span{
  display:block;
  margin-top:7px;
  color:rgba(255,255,255,.82)!important;
  font-size:.94rem;
  line-height:1.5;
}
body.masterpalm-store-white.mp-category-detail-page .mp-cta-actions{display:flex!important;align-items:center;gap:10px;flex:0 0 auto;}
body.masterpalm-store-white.mp-category-detail-page .mp-cta-actions a{
  min-height:43px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  color:#fff!important;
  background:#d71920!important;
  border:1px solid #d71920!important;
  border-radius:3px;
  font-size:.76rem;
  font-weight:1000;
  text-decoration:none!important;
  text-transform:uppercase;
}
body.masterpalm-store-white.mp-category-detail-page .mp-cta-actions a:first-child{color:#11161d!important;background:#fff!important;border-color:#fff!important;}

@media(max-width:1199.98px){
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-search{grid-column:span 2;}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-grid-advanced{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:991.98px){
  body.masterpalm-store-white.mp-category-detail-page .mp-category-layout{grid-template-columns:1fr;}
  body.masterpalm-store-white.mp-category-detail-page .mp-category-sidebar{position:static;}
  body.masterpalm-store-white.mp-category-detail-page .mp-category-products-grid,
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.masterpalm-store-white.mp-category-detail-page .mp-related-collections-grid,
  body.masterpalm-store-white.mp-tool-collections-page .mp-category-grid-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-grid,
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-grid-advanced{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-search{grid-column:1/-1;}
}
@media(max-width:767.98px){
  body.masterpalm-store-white.mp-category-detail-page .mp-header-container,
  body.masterpalm-store-white.mp-tool-collections-page .mp-header-container,
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-header-container{width:min(100% - 24px,1320px);}
  body.masterpalm-store-white.mp-category-detail-page .mp-product-results-head,
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-results-head{display:block;}
  body.masterpalm-store-white.mp-category-detail-page .mp-inline-search{margin-top:13px;grid-template-columns:minmax(0,1fr) auto;}
  body.masterpalm-store-white.mp-category-detail-page .mp-cta-inner{align-items:flex-start;flex-direction:column;}
  body.masterpalm-store-white.mp-category-detail-page .mp-cta-actions{width:100%;}
  body.masterpalm-store-white.mp-category-detail-page .mp-cta-actions a{flex:1;}
}
@media(max-width:575.98px){
  body.masterpalm-store-white.mp-category-detail-page .mp-related-collections-grid,
  body.masterpalm-store-white.mp-category-detail-page .mp-category-products-grid,
  body.masterpalm-store-white.mp-tool-collections-page .mp-category-grid-list,
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-catalog-grid{grid-template-columns:1fr!important;}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-panel{padding:15px;}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-head{display:block;}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-head>a{margin-top:11px;}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-grid,
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-grid-advanced{grid-template-columns:1fr;}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-search{grid-column:auto;}
  body.masterpalm-store-white.mp-product-catalog-page-body .mp-catalog-filter-actions{display:grid;grid-template-columns:1fr 1fr;}
  body.masterpalm-store-white.mp-category-detail-page .mp-cta-actions{display:grid!important;grid-template-columns:1fr;width:100%;}
}

/* STORE APP Patch 317
   Self-contained collection/catalog layout. Patch 316 removed the legacy
   industrial stylesheet, so these components must define their own structure
   rather than inheriting display, grid, padding, and media rules. */

body.masterpalm-store-white.mp-tool-collections-page .mp-collection-page{
  display:block!important;
  padding:34px 0 52px!important;
  background:#fff!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-section-title{
  display:grid!important;
  grid-template-columns:minmax(30px,1fr) auto minmax(30px,1fr)!important;
  align-items:center!important;
  gap:16px!important;
  margin:0 0 24px!important;
  text-align:center!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-section-title>span{
  display:block!important;
  width:100%!important;
  height:2px!important;
  background:linear-gradient(90deg,transparent,#d71920,transparent)!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-section-title>p{
  grid-column:1/-1!important;
  margin:-5px 0 0!important;
}

/* Collection cards: separate 16:9 media and content areas. */
body.masterpalm-store-white.mp-tool-collections-page .mp-category-grid-list{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card{
  position:relative!important;
  min-width:0!important;
  min-height:0!important;
  height:100%!important;
  aspect-ratio:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  overflow:hidden!important;
  padding:0!important;
  color:#11161d!important;
  background:#fff!important;
  background-image:none!important;
  border:1px solid #d7dde4!important;
  border-radius:6px!important;
  box-shadow:0 8px 24px rgba(17,22,29,.09)!important;
  text-decoration:none!important;
  isolation:isolate!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card::before,
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card::after{
  display:none!important;
  content:none!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card:hover{
  transform:translateY(-3px)!important;
  border-color:#d71920!important;
  box-shadow:0 16px 34px rgba(17,22,29,.14)!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card .mp-card-media{
  position:relative!important;
  z-index:0!important;
  width:100%!important;
  min-height:0!important;
  aspect-ratio:16/9!important;
  display:block!important;
  flex:0 0 auto!important;
  background-color:#f3f5f7!important;
  background-image:var(--mp-card-bg,none)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  border-bottom:1px solid #e0e5ea!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card.is-missing-image .mp-card-media{
  background-color:#353c44!important;
  background-image:linear-gradient(135deg,#353c44,#1f252b)!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card .mp-card-body{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  min-height:0!important;
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:0!important;
  padding:16px 17px 17px!important;
  color:#11161d!important;
  background:#fff!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card .mp-card-body strong{
  display:block!important;
  width:100%!important;
  padding:0!important;
  color:#11161d!important;
  font-size:1.03rem!important;
  line-height:1.25!important;
  font-weight:1000!important;
  text-transform:none!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card .mp-card-body small{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  margin:7px 0 0!important;
  padding:0!important;
  color:#596472!important;
  font-size:.79rem!important;
  line-height:1.5!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-category-card .mp-card-more{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:auto 0 0!important;
  padding:13px 0 0!important;
  color:#d71920!important;
  background:transparent!important;
  border:0!important;
  font-size:.72rem!important;
  line-height:1!important;
  font-weight:1000!important;
  text-transform:uppercase!important;
}

/* Checkout strip: do not rely on masterpalm-industrial.css. */
body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:24px!important;
  margin:26px 0 0!important;
  padding:21px 22px!important;
  color:#11161d!important;
  background:#f7f8fa!important;
  border:1px solid #d7dde4!important;
  border-left:5px solid #d71920!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip-copy{
  min-width:0!important;
  display:block!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip-copy strong{
  display:block!important;
  margin:0!important;
  color:#11161d!important;
  font-size:clamp(1.05rem,1.7vw,1.35rem)!important;
  line-height:1.2!important;
  font-weight:1000!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip-copy p{
  display:block!important;
  max-width:780px!important;
  margin:6px 0 0!important;
  color:#596472!important;
  font-size:.88rem!important;
  line-height:1.5!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip>a{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 17px!important;
  color:#fff!important;
  background:#d71920!important;
  border:1px solid #d71920!important;
  border-radius:3px!important;
  text-decoration:none!important;
  font-size:.74rem!important;
  font-weight:1000!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip>a:hover{
  color:#fff!important;
  background:#a90f15!important;
  border-color:#a90f15!important;
}

/* Feature strip: four real cards instead of unstyled text nodes. */
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:0!important;
  margin:18px 0 0!important;
  padding:0!important;
  color:#11161d!important;
  background:#fff!important;
  border:1px solid #d7dde4!important;
  border-radius:5px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip>article{
  min-width:0!important;
  min-height:104px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
  padding:18px!important;
  background:#fff!important;
  border:0!important;
  border-right:1px solid #e0e5ea!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip>article:last-child{
  border-right:0!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip>article>i{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  color:#d71920!important;
  background:#fff1f1!important;
  border-radius:50%!important;
  font-size:1.25rem!important;
  line-height:1!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip>article>div{
  min-width:0!important;
  display:block!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip strong{
  display:block!important;
  margin:0!important;
  color:#11161d!important;
  font-size:.82rem!important;
  line-height:1.25!important;
  font-weight:1000!important;
  text-transform:uppercase!important;
}
body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip span{
  display:block!important;
  margin:5px 0 0!important;
  color:#596472!important;
  font-size:.75rem!important;
  line-height:1.35!important;
}

/* Product-card media uses a CSS background so every source image is contained
   without cropping, stretching, or depending on <img> sizing rules. */
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-media,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-media{
  position:relative!important;
  width:100%!important;
  aspect-ratio:4/3!important;
  min-height:0!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  padding:14px!important;
  background-color:#fff!important;
  background-image:var(--mp-product-card-bg,none)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  border-bottom:1px solid #e5e9ed!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-media.is-missing-image,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-media.is-missing-image{
  background-color:#f0f2f4!important;
  background-image:none!important;
}
body.masterpalm-store-white.mp-category-detail-page .mp-product-list-media img,
body.masterpalm-store-white.mp-product-catalog-page-body .mp-product-list-media img{
  display:none!important;
}

@media(max-width:991.98px){
  body.masterpalm-store-white.mp-tool-collections-page .mp-category-grid-list{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip>article:nth-child(2){
    border-right:0!important;
  }
  body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip>article:nth-child(-n+2){
    border-bottom:1px solid #e0e5ea!important;
  }
}
@media(max-width:767.98px){
  body.masterpalm-store-white.mp-tool-collections-page .mp-section-title{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.masterpalm-store-white.mp-tool-collections-page .mp-section-title>span{
    display:none!important;
  }
  body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip{
    grid-template-columns:1fr!important;
    gap:15px!important;
  }
  body.masterpalm-store-white.mp-tool-collections-page .mp-quote-strip>a{
    width:100%!important;
  }
}
@media(max-width:575.98px){
  body.masterpalm-store-white.mp-tool-collections-page .mp-category-grid-list,
  body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip{
    grid-template-columns:1fr!important;
  }
  body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip>article{
    min-height:0!important;
    border-right:0!important;
    border-bottom:1px solid #e0e5ea!important;
  }
  body.masterpalm-store-white.mp-tool-collections-page .mp-mini-feature-strip>article:last-child{
    border-bottom:0!important;
  }
}
