/* =========================================================
   home_b2b.css — новая B2B-главная Agroshop.site
   Hero / категории / плашки / рекламные блоки.
   Карточки объявлений здесь не трогаем.
   ========================================================= */

/* Пока файл создан как отдельный слой.
   Следующим шагом сюда переносим только стили новой главной. */

/* =========================================================
   HOME B2B 2026 — главная Agroshop.site
   Изолированный слой: карточки объявлений не трогаем
   ========================================================= */

.home-b2b-page{
  width:100%;
  box-sizing:border-box;
}


.home-b2b-hero{
  position:relative;
  overflow:hidden;
  width:min(100% - 20px, 1680px);
  min-height:260px;
  margin:10px auto 12px;
  padding:34px 64px;
  display:flex;
  align-items:center;
  border:1px solid rgba(25,95,38,.12);
  border-radius:16px;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.12) 58%, rgba(255,255,255,0) 100%),
    url("../images/home_hero_b2b_desktop.d2d15bbb3272.webp");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  box-shadow:none;
  box-sizing:border-box;
}

.home-b2b-hero::before,
.home-b2b-hero::after,
.home-b2b-hero__media,
.home-b2b-hero__bubble,
.home-b2b-hero picture,
.home-b2b-hero > img{
  content:none;
  display:none;
  background:none;
}

.home-b2b-hero__text,
.home-b2b-hero__content{
  position:relative;
  z-index:2;
  max-width:560px;
}

.home-b2b-hero h1{
  margin:0 0 14px;
  color:#073f22;
  font-size:40px;
  line-height:1.08;
  letter-spacing:-1.2px;
  font-weight:900;
}

.home-b2b-hero p{
  max-width:560px;
  margin:0 0 18px;
  color:#24382d;
  font-size:18px;
  line-height:1.35;
  font-weight:500;
}

.home-b2b-hero__actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin:0;
}

.home-b2b-btn{
  min-height:48px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:10px;
  font-size:16px;
  line-height:1;
  font-weight:800;
  text-decoration:none;
  box-sizing:border-box;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.home-b2b-btn:hover{
  transform:translateY(-1px);
}

.home-b2b-btn--primary{
  height:48px;
  background:#078c3c;
  color:#fff;
  
  box-shadow:0 8px 18px rgba(7,140,60,.18);
}

.home-b2b-btn--secondary{
  min-width:230px;
  gap:10px;
  background:#fff;
  color:#0b4d2b;
  border:2px solid #138343;
  box-shadow:0 8px 22px rgba(0,0,0,.07);
}

.home-b2b-btn__search-icon{
  position:relative;
  width:24px;
  height:24px;
  min-width:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-right:10px;
  color:transparent;
  font-size:0;
  line-height:0;
}

.home-b2b-btn__search-icon::before{
  content:"";
  width:15px;
  height:15px;
  display:block;
  border:2.2px solid #156f3b;
  border-radius:50%;
  box-sizing:border-box;
}

.home-b2b-btn__search-icon::after{
  content:"";
  position:absolute;
  right:1px;
  bottom:3px;
  width:8px;
  height:2.2px;
  background:#156f3b;
  border-radius:2px;
  transform:rotate(45deg);
  transform-origin:center;
}

@media (min-width:768px) and (max-width:1279.98px){
  .home-b2b-hero{
    min-height:300px;
    margin:0 0 14px;
    padding:34px 52px;
    background-position:center right;
  }

  .home-b2b-hero h1{
    font-size:36px;
    line-height:1.08;
    margin:0 0 18px;
  }

  .home-b2b-hero p{
    max-width:500px;
    font-size:18px;
    line-height:1.35;
    margin:0 0 22px;
  }
}

@media (max-width:767.98px){
  .home-b2b-hero{
    width:100%;
    min-height:auto;
    height:auto;
    margin:0 0 12px;
    padding:28px 18px 24px;
    border-radius:16px;
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 42%, rgba(255,255,255,.28) 72%, rgba(255,255,255,0) 100%),
      url("../images/home_hero_b2b_desktop.d2d15bbb3272.webp");
    background-size:cover;
    background-position:24% center;
    background-repeat:no-repeat;
  }

  .home-b2b-hero h1{
    font-size:30px;
    line-height:1.08;
    margin:0 0 16px;
  }

  .home-b2b-hero p{
    font-size:16px;
    line-height:1.35;
    margin:0 0 18px;
  }

  .home-b2b-hero__actions{
    width:100%;
    flex-direction:column;
    gap:10px;
  }

  .home-b2b-btn{
    width:100%;
    min-height:44px;
    height:44px;
    padding:0 18px;
  }

.home-b2b-btn--secondary{
    min-width:0;
  }
}

.home-b2b-section-title,.home-b2b-section-head{width:calc(100% - 20px);margin:0 auto 8px;}

.home-b2b-section-title,
.home-b2b-section-head h2{
  margin:0;
  color:#161f1a;
  font-size:22px;
  line-height:1.15;
  font-weight:900;
}

.home-b2b-section-title{
  display:block;
}

.home-b2b-section-title--new{
  margin-top:16px;
}

.home-b2b-stats{
  width:100%;
  margin:14px auto 14px;
  padding:13px 18px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:0;
  border-radius:14px;
  background:linear-gradient(90deg, #f4fbf5, #ffffff, #f3faf4);
  border:1px solid rgba(5,104,51,.09);
  box-shadow:0 8px 24px rgba(0,0,0,.045);
}

.home-b2b-stats div{
  min-width:0;
  padding:4px 14px;
  border-right:1px solid rgba(0,0,0,.08);
}

.home-b2b-stats div:last-child{
  border-right:0;
}

.home-b2b-stats strong{
  display:block;
  color:#07592e;
  font-size:18px;
  line-height:1.1;
  font-weight:900;
}

.home-b2b-stats span{
  display:block;
  margin-top:3px;
  color:#4a5f52;
  font-size:12px;
  line-height:1.18;
  font-weight:600;
}

@media (max-width: 991.98px){
  .home-b2b-hero{
    width:calc(100% - 20px);
    min-height:auto;
    margin:6px auto 10px;
    padding:22px 16px 18px;
    grid-template-columns:1fr;
    gap:14px;
    border-radius:16px;
  }

  .home-b2b-hero h1{
    font-size:30px;
    line-height:1.02;
    letter-spacing:-.035em;
  }

  .home-b2b-hero p{
    max-width:100%;
    margin-bottom:14px;
    font-size:14px;
    line-height:1.34;
  }

  .home-b2b-hero__actions{
    gap:8px;
  }

  .home-b2b-btn{
    min-height:40px;
    padding:0 12px;
    font-size:14px;
    border-radius:9px;
  }

  .home-b2b-hero__media{
    min-height:120px;
  }

  .home-b2b-hero__bubble{
    border-radius:14px;
  }

  .home-b2b-hero__bubble--tractor{
    left:0;
    top:10px;
    width:42%;
    height:92px;
  }

  .home-b2b-hero__bubble--agro{
    left:34%;
    top:0;
    width:32%;
    height:112px;
  }

  .home-b2b-hero__bubble--crop{
    right:0;
    top:12px;
    width:34%;
    height:92px;
  }

  .home-b2b-section-title,
  .home-b2b-section-head{
    width:calc(100% - 20px);
    margin:10px auto 7px;
  }

  .home-b2b-section-title,
  .home-b2b-section-head h2{
    font-size:18px;
  }

  .home-b2b-stats{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
    padding:10px;
  }

  .home-b2b-stats div{
    padding:8px;
    border-right:0;
    border-radius:10px;
    background:rgba(255,255,255,.72);
  }

  .home-b2b-stats strong{
    font-size:14px;
  }

  .home-b2b-stats span{
    font-size:10px;
  }
}

@media (min-width: 992px) and (max-width: 1280px){
}


/* 2026-05-09 CLEAN HOME FINAL
   Базовые правила страницы. Hero теперь живёт выше одним чистым блоком.
*/

body,
body .content,
.home-b2b-page{
  background:#fff;
}

body .content{
  padding-top:0;
}

@media (min-width:768px){
  body .home-b2b-page{
    width:calc(100% - 20px);
    max-width:none;
    margin:0 auto;
  }
}

/* Внутренние блоки внутри product_table должны занимать всю строку */
body .home-products-wrap .product_table > .home-b2b-stats,
body .home-products-wrap .product_table > .home-b2b-promos,
body .home-products-wrap .product_table > .home-b2b-section-title,
body .home-products-wrap .product_table > .home-b2b-section-title--new,
body .home-products-wrap .product_table > .home-b2b-section-head{
  flex:0 0 100% !important;
  width:100% !important;
  max-width:100% !important;
  min-width:100% !important;
  grid-column:1 / -1 !important;
  box-sizing:border-box !important;
  clear:both !important;
}


/* HOME stats source of truth */
body .home-products-wrap .product_table > .home-b2b-stats{
  grid-column:1 / -1;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:18px 0;
  padding:14px 18px;
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:0;
  align-items:center;
  box-sizing:border-box;
}

body .home-b2b-page .home-b2b-stats div{
  min-height:52px;
  padding:6px 18px;
  display:grid;
  grid-template-columns:42px minmax(0, 1fr);
  grid-template-rows:auto auto;
  column-gap:12px;
  align-items:center;
  box-sizing:border-box;
}

body .home-b2b-page .home-b2b-stats div img{
  grid-column:1;
  grid-row:1 / 3;
  width:34px;
  height:34px;
  max-width:34px;
  max-height:34px;
  display:block;
}

body .home-b2b-page .home-b2b-stats div strong{
  grid-column:2;
  margin:0;
  font-size:18px;
  line-height:1.05;
  font-weight:900;
}

body .home-b2b-page .home-b2b-stats div span{
  grid-column:2;
  margin:2px 0 0;
  font-size:12px;
  line-height:1.15;
}

@media (max-width:767.98px){
  body .home-products-wrap .product_table > .home-b2b-stats{
    width:100%;
    max-width:100%;
    min-width:0;
    margin:14px 0 16px;
    padding:10px;
    grid-template-columns:1fr;
    gap:8px;
  }

  body .home-b2b-page .home-b2b-stats div{
    width:100%;
    min-width:0;
    padding:8px 10px;
    grid-template-columns:42px minmax(0, 1fr);
    column-gap:12px;
    border-right:0;
  }

  body .home-b2b-page .home-b2b-stats div strong{
    font-size:15px;
    line-height:1.1;
  }

  body .home-b2b-page .home-b2b-stats div span{
    font-size:11px;
    line-height:1.15;
  }
}

/* 2026-05-09 FINAL: mobile stats + promo flush with product grid */
@media (max-width:767.98px){
  body .home-products-wrap .product_table > .home-b2b-stats,
  body .home-products-wrap .product_table > .home-b2b-promos{
    flex:0 0 100% !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
    grid-column:1 / -1 !important;
  }

  body .home-products-wrap .product_table > .home-b2b-stats{
    margin-top:14px;
    margin-bottom:16px;
    padding:10px;
    grid-template-columns:1fr;
    gap:8px;
  }

  body .home-products-wrap .product_table > .home-b2b-promos{
    margin-top:14px;
    margin-bottom:12px;
    padding:0;
  }

  body .home-products-wrap .product_table > .home-b2b-promos .home-b2b-section-head{
    width:100% !important;
    margin:0 0 8px !important;
  }

  body .home-products-wrap .product_table > .home-b2b-promos #home-promos,
  body .home-products-wrap .product_table > .home-b2b-promos .hero-banner,
  body .home-products-wrap .product_table > .home-b2b-promos .promo,
  body .home-products-wrap .product_table > .home-b2b-promos .promo__viewport,
  body .home-products-wrap .product_table > .home-b2b-promos .promo__track,
  body .home-products-wrap .product_table > .home-b2b-promos .promo__slide,
  body .home-products-wrap .product_table > .home-b2b-promos .promo__media{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }
}

/* 2026-05-09: supplier button lupa 1to1 */
body .home-b2b-page .home-b2b-btn--secondary .home-b2b-btn__search-icon{display:inline-flex;align-items:center;justify-content:center;position:relative;width:24px;height:24px;min-width:24px;margin-right:10px;font-size:0;line-height:0;color:transparent;transform:none}body .home-b2b-page .home-b2b-btn--secondary .home-b2b-btn__search-icon::before{content:"";display:block;width:15px;height:15px;border:2.2px solid #156f3b;border-radius:50%;box-sizing:border-box}body .home-b2b-page .home-b2b-btn--secondary .home-b2b-btn__search-icon::after{content:"";position:absolute;width:8px;height:2.2px;background:#156f3b;border-radius:2px;right:1px;bottom:3px;transform:rotate(45deg);transform-origin:center}

\n

/* 2026-05-09: HOME MOBILE LAW — main page outer blocks must be 10px from left/right */
@media (max-width: 767.98px){
  body .home-b2b-page .home-b2b-hero,
  body .home-b2b-page .home-b2b-section-title,
  body .home-products-wrap .product_table,
  body .home-products-wrap .product_table > .home-b2b-promos{
    width:calc(100% - 20px);
    min-width:calc(100% - 20px);
    max-width:calc(100% - 20px);
    margin-left:auto;
    margin-right:auto;
    box-sizing:border-box;
  }

  body .home-products-wrap .product_table{
    padding-left:0 !important;
    padding-right:0 !important;
  }
}

/* 2026-05-09: HOME products inner alignment — keep outer 10px law, remove old 8px side padding */
@media (max-width: 767.98px){
  body .home-products-wrap{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  body .home-products-wrap .product_table{
    width:calc(100% - 20px) !important;
    min-width:calc(100% - 20px) !important;
    max-width:calc(100% - 20px) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  body .home-products-wrap .product_table > .home-b2b-stats,
  body .home-products-wrap .product_table > .home-b2b-promos,
  body .home-products-wrap .product_table > .home-b2b-section-head,
  body .home-products-wrap .product_table > .home-b2b-section-title,
  body .home-products-wrap .product_table > .home-b2b-section-title--new{
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }
}

/* 2026-05-09: HOME real DOM 10px law — product grid / promos / CTA */
@media (max-width: 767.98px){
  body .home-b2b-page .home_screen_container,
  body .home-b2b-page .home_screen_inner,
  body .home-b2b-page .home_screen{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  body .home-b2b-page .home_screen .product_table,
  body .home-b2b-page .product_table,
  body .home-b2b-page .home-b2b-promos{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  body .home-b2b-page .home_screen .product_table > .home-b2b-promos,
  body .home-b2b-page .home_screen .product_table > .home-b2b-stats,
  body .home-b2b-page .home_screen .product_table > .home-b2b-section-head,
  body .home-b2b-page .home_screen .product_table > .home-b2b-section-title,
  body .home-b2b-page .home_screen .product_table > .home-b2b-section-title--new{
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }
}

/* 2026-07-10 MARKETPLACE EDGE LAW: desktop 10px, mobile 2px */
@media (min-width:768px){
  body .content{padding-left:0!important;padding-right:0!important;}
  body .home-b2b-page{width:calc(100% - 20px)!important;max-width:none!important;margin:0 auto!important;box-sizing:border-box!important;}
  body .home-b2b-page .home-b2b-hero,
  body .home-b2b-page > .home-b2b-section-title,
  body .home-b2b-page .home_screen_container,
  body .home-b2b-page .home_screen_inner,
  body .home-b2b-page .home_screen,
  body .home-b2b-page .flex_container,
  body .home-b2b-page .home-products-wrap,
  body .home-b2b-page .product_table,
  body .home-b2b-page .home-b2b-promos,
  body .home-b2b-page .home-b2b-stats{width:100%;max-width:100%;margin-left:0;margin-right:0;box-sizing:border-box;}
  body .home-b2b-page > .home-b2b-section-title{padding:0;margin-top:0;margin-bottom:10px;}
}

@media (max-width:767.98px){
  body .content{padding-left:0!important;padding-right:0!important;}
  body .home-b2b-page{
    width:100%;
    margin:0;
    padding:0 2px;
    box-sizing:border-box;
  }
  body .home-b2b-page .home-b2b-hero,
  body .home-b2b-page > .home-b2b-section-title,
  body .home-b2b-page .home_screen_container,
  body .home-b2b-page .home_screen_inner,
  body .home-b2b-page .home_screen,
  body .home-b2b-page .flex_container,
  body .home-b2b-page .home-products-wrap,
  body .home-b2b-page .product_table,
  body .home-b2b-page .home-b2b-promos,
  body .home-b2b-page .home-b2b-stats{width:100%;min-width:0;max-width:100%;margin-left:0;margin-right:0;box-sizing:border-box;}
  body .home-b2b-page .home-b2b-hero{position:relative;overflow:hidden;margin-bottom:12px;background-position:24% center;}
  body .home-b2b-page .home-b2b-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.88) 42%,rgba(255,255,255,.28) 72%,rgba(255,255,255,0) 100%);pointer-events:none;z-index:0;}
  body .home-b2b-page .home-b2b-hero > *{position:relative;z-index:1;}
  body .home-b2b-page > .home-b2b-section-title{padding:0;margin-top:10px;margin-bottom:8px;}
}



/* HOME section titles source of truth */
body .home-b2b-page > .home-b2b-section-title,
body .home-products-wrap .product_table > .home-b2b-section-title,
body .home-products-wrap .product_table > .home-b2b-section-title--new,
body .home-products-wrap .product_table > .home-b2b-section-head{
  grid-column:1 / -1;
  width:100%;
  max-width:100%;
  margin:0 0 8px;
  padding:0;
  box-sizing:border-box;
}

body .home-b2b-page > .home-b2b-section-title,
body .home-products-wrap .product_table > .home-b2b-section-title,
body .home-products-wrap .product_table > .home-b2b-section-title--new,
body .home-products-wrap .product_table > .home-b2b-section-head h2{
  color:#111827;
  font-size:24px;
  line-height:1.15;
  font-weight:900;
}

body .home-products-wrap .product_table > .home-b2b-section-head h2{
  margin:0;
  padding:0;
}

@media (max-width:767.98px){
  body .home-b2b-page > .home-b2b-section-title,
  body .home-products-wrap .product_table > .home-b2b-section-title,
  body .home-products-wrap .product_table > .home-b2b-section-title--new,
  body .home-products-wrap .product_table > .home-b2b-section-head{
    margin:10px 0 8px;
  }

  body .home-b2b-page > .home-b2b-section-title,
  body .home-products-wrap .product_table > .home-b2b-section-title,
  body .home-products-wrap .product_table > .home-b2b-section-title--new,
  body .home-products-wrap .product_table > .home-b2b-section-head h2{
    font-size:22px;
  }
}

/* HOME product grid source of truth */
body .home-b2b-page .home_screen_container,
body .home-b2b-page .home_screen_inner,
body .home-b2b-page .home_screen,
body .home-b2b-page .flex_container,
body .home-b2b-page .home-products-wrap{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body .home-b2b-page .product_table{
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  overflow:visible;
  box-sizing:border-box;
}

body .home-b2b-page .product_table > a{
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0;
  display:block;
  box-sizing:border-box;
  text-decoration:none;
}

body .home-b2b-page .product_table > a .product_card{
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0;
  box-sizing:border-box;
}

@media (max-width:1199.98px){
  body .home-b2b-page .product_table{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width:767.98px){
  body .home-b2b-page .product_table{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
}



/* HOME promos base source of truth */
.home-b2b-promos{
  grid-column:1 / -1;
  width:100%;
  max-width:100%;
  margin:14px 0 12px;
  padding:0;
  box-sizing:border-box;
}

.home-b2b-promos #home-promos.hero-banner,
.home-b2b-promos .hero-banner,
.home-b2b-promos .promo,
.home-b2b-promos .promo__viewport,
.home-b2b-promos .promo__track,
.home-b2b-promos .promo__slide,
.home-b2b-promos .promo__media{
  width:100%;
  max-width:100%;
  min-width:0;
  margin-left:0;
  margin-right:0;
  box-sizing:border-box;
}

.home-b2b-promos #home-promos .promo,
.home-b2b-promos .promo{
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.07);
  overflow:hidden;
}

.home-b2b-promos--mobile{
  display:none;
}

.home-b2b-promos--desktop{
  display:block;
}

@media (max-width:767.98px){
  .home-b2b-promos{
    margin:14px 0 12px;
  }

  .home-b2b-promos--mobile{
    display:block;
  }

  .home-b2b-promos--desktop{
    display:none;
  }
}

@media (min-width:768px){
  .home-b2b-promos--mobile{
    display:none;
  }

  .home-b2b-promos--desktop{
    display:block;
  }
}

/* HOME all ads CTA source of truth */
.home-all-ads-cta{
  width:calc(100% - 20px);
  max-width:1680px;
  margin:18px auto 24px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}

.home-all-ads-cta__btn{
  min-width:220px;
  min-height:46px;
  padding:0 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#078c3c;
  color:#fff;
  font-size:16px;
  font-weight:900;
  line-height:1;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(7,140,60,.18);
  box-sizing:border-box;
  transition:background .16s ease, transform .16s ease;
}

.home-all-ads-cta__btn:hover{
  background:#067735;
  transform:translateY(-1px);
}

@media (max-width:767.98px){
  .home-all-ads-cta{
    width:100%;
    margin:18px 0 24px;
    padding:0 2px;
  }

  .home-all-ads-cta__btn{
    width:100%;
    min-width:0;
    min-height:44px;
    font-size:15px;
  }
}

/* HOME CTA button dedupe source */
body .home-b2b-page .home-b2b-btn--primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}

body .home-b2b-page .home-b2b-btn__plus{
  width:22px;
  height:22px;
  min-width:22px;
  border:2px solid #fff;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:17px;
  line-height:1;
  font-weight:900;
  box-sizing:border-box;
}

body .home-b2b-page .home-b2b-btn__label{
  display:inline-block;
  color:#fff;
  font-size:16px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}

@media (max-width:767.98px){
  body .home-b2b-page .home-b2b-btn__plus{
    width:20px;
    height:20px;
    min-width:20px;
    font-size:15px;
  }

  body .home-b2b-page .home-b2b-btn__label{
    font-size:14px;
  }
}



/* 2026-05-10 HOME mobile categories alignment final */
@media (max-width:767.98px){
}
/* END HOME mobile categories alignment final */

/* =========================================================
   HOME CATEGORIES — SINGLE SOURCE OF TRUTH
   2026-08-23

   Logic:
   idle     = neutral grey
   hover    = category color
   JS auto  = category color
   touch    = category color
   ========================================================= */

.home-b2b-page .home-b2b-cats{
  width:100%;
  margin:0 0 14px;
  padding:0;
  box-sizing:border-box;

  display:grid;
  grid-template-columns:repeat(10, minmax(0, 1fr));
  gap:10px;

  overflow:visible;
}


.home-b2b-page .home-b2b-cats > .home_category_tile{
  --cat-accent:#36854f;
  --cat-bg:#e7f4eb;
  --cat-border:#abd1b6;
  --cat-shadow:rgba(54,133,79,.17);

  min-width:0;
  width:100%;
  min-height:96px;

  padding:12px 8px;
  box-sizing:border-box;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:8px;

  position:relative;

  border:1px solid #d2d7d3;
  border-radius:14px;

  background:#e9ecea;
  color:#36423b;

  text-decoration:none;
  text-align:center;

  box-shadow:
    0 5px 15px rgba(20,45,30,.045);

  transform:translateZ(0);
  transform-style:preserve-3d;

  transition:
    transform .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}


/* Individual active colors */

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(1){
  --cat-accent:#257c61;
  --cat-bg:#dff2e9;
  --cat-border:#9bcdb9;
  --cat-shadow:rgba(37,124,97,.19);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(2){
  --cat-accent:#3478ad;
  --cat-bg:#e2eef8;
  --cat-border:#a9cce7;
  --cat-shadow:rgba(52,120,173,.19);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(3){
  --cat-accent:#6d60b3;
  --cat-bg:#ebe8f7;
  --cat-border:#c2bae4;
  --cat-shadow:rgba(109,96,179,.19);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(4){
  --cat-accent:#609331;
  --cat-bg:#e8f3df;
  --cat-border:#bdd9a5;
  --cat-shadow:rgba(96,147,49,.19);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(5){
  --cat-accent:#987321;
  --cat-bg:#f5eedc;
  --cat-border:#ddc78f;
  --cat-shadow:rgba(152,115,33,.19);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(6){
  --cat-accent:#b1741b;
  --cat-bg:#f7ead8;
  --cat-border:#e1bf8c;
  --cat-shadow:rgba(177,116,27,.19);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(7){
  --cat-accent:#287e77;
  --cat-bg:#e0f2ef;
  --cat-border:#a4d1cb;
  --cat-shadow:rgba(40,126,119,.19);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(8){
  --cat-accent:#398a43;
  --cat-bg:#e3f2e5;
  --cat-border:#abd4ae;
  --cat-shadow:rgba(57,138,67,.19);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(9){
  --cat-accent:#b94957;
  --cat-bg:#f6e3e6;
  --cat-border:#dfadb4;
  --cat-shadow:rgba(185,73,87,.19);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:nth-child(10){
  --cat-accent:#bd6230;
  --cat-bg:#f6e6dc;
  --cat-border:#dfb59e;
  --cat-shadow:rgba(189,98,48,.19);
}


/* Icon */

.home-b2b-page .home-b2b-cats > .home_category_tile img{
  display:block;

  width:34px;
  height:34px;
  flex:0 0 34px;

  object-fit:contain;

  transform:translateZ(20px);

  transition:
    transform .22s ease,
    filter .22s ease;
}


/* Text */

.home-b2b-page .home-b2b-cats > .home_category_tile span{
  width:100%;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;

  overflow:hidden;
  text-overflow:ellipsis;

  color:#36423b;

  font-size:14px;
  line-height:1.12;
  font-weight:800;

  transform:translateZ(14px);

  transition:
    transform .22s ease,
    color .22s ease;
}


/* =========================================================
   ACTIVE STATE

   Same visual state for:
   - mouse hover
   - keyboard focus
   - JS automatic preview
   - JS pointer tilt
   ========================================================= */

.home-b2b-page .home-b2b-cats > .home_category_tile:hover,
.home-b2b-page .home-b2b-cats > .home_category_tile:focus-visible,
.home-b2b-page .home-b2b-cats > .home_category_tile.is-active-preview,
.home-b2b-page .home-b2b-cats > .home_category_tile.is-tilting{
  background:var(--cat-bg);
  border-color:var(--cat-border);

  box-shadow:
    0 15px 32px var(--cat-shadow);
}


/* Hover / JS preview lift */

.home-b2b-page .home-b2b-cats > .home_category_tile:hover,
.home-b2b-page .home-b2b-cats > .home_category_tile:focus-visible,
.home-b2b-page .home-b2b-cats > .home_category_tile.is-active-preview{
  transform:
    translateY(-4px)
    scale(1.02);
}


/* JS mouse tilt */

.home-b2b-page .home-b2b-cats > .home_category_tile.is-tilting{
  transform:
    perspective(720px)
    rotateX(var(--tile-tilt-y, 0deg))
    rotateY(var(--tile-tilt-x, 0deg))
    translateY(-4px)
    scale(1.02);
}


/* Active icon */

.home-b2b-page .home-b2b-cats > .home_category_tile:hover img,
.home-b2b-page .home-b2b-cats > .home_category_tile:focus-visible img,
.home-b2b-page .home-b2b-cats > .home_category_tile.is-active-preview img,
.home-b2b-page .home-b2b-cats > .home_category_tile.is-tilting img{
  transform:
    translateZ(30px)
    translateY(-2px)
    scale(1.09);

  filter:
    drop-shadow(
      0 7px 11px var(--cat-shadow)
    );
}


/* Active text */

.home-b2b-page .home-b2b-cats > .home_category_tile:hover span,
.home-b2b-page .home-b2b-cats > .home_category_tile:focus-visible span,
.home-b2b-page .home-b2b-cats > .home_category_tile.is-active-preview span,
.home-b2b-page .home-b2b-cats > .home_category_tile.is-tilting span{
  transform:
    translateZ(22px)
    translateY(1px);

  color:var(--cat-accent);
}


/* Keyboard */

.home-b2b-page .home-b2b-cats > .home_category_tile:focus-visible{
  outline:2px solid var(--cat-border);
  outline-offset:2px;
}


/* Touch / click */

.home-b2b-page .home-b2b-cats > .home_category_tile.is-touched{
  background:var(--cat-bg);
  border-color:var(--cat-border);

  box-shadow:
    0 10px 24px var(--cat-shadow);

  transform:scale(.975);
}

.home-b2b-page .home-b2b-cats > .home_category_tile.is-touched span{
  color:var(--cat-accent);
}

.home-b2b-page .home-b2b-cats > .home_category_tile:active{
  transform:scale(.975);
}


/* Tablet */

@media (max-width:1280px){

  .home-b2b-page .home-b2b-cats{
    grid-template-columns:
      repeat(5, minmax(0, 1fr));

    gap:8px;
  }

}


/* Mobile */

@media (max-width:767.98px){

  .home-b2b-page .home-b2b-cats{
    width:100%;
    margin:0 0 10px;

    grid-template-columns:
      repeat(5, minmax(0, 1fr));

    gap:7px;
  }

  .home-b2b-page .home-b2b-cats > .home_category_tile{
    min-height:74px;
    padding:7px 3px;
    gap:4px;

    border-radius:12px;
  }

  .home-b2b-page .home-b2b-cats > .home_category_tile img{
    width:28px;
    height:28px;
    flex-basis:28px;
  }

  .home-b2b-page .home-b2b-cats > .home_category_tile span{
    font-size:10px;
    line-height:1.08;
  }

  .home-b2b-page .home-b2b-cats > .home_category_tile.is-active-preview{
    transform:
      translateY(-2px)
      scale(1.015);
  }

  .home-b2b-page .home-b2b-cats > .home_category_tile.is-tilting{
    transform:none;
  }

}
