/* =========================================================
   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-page .home_category_tiles.home-b2b-cats{
  width:100% !important;
  margin:0 0 14px !important;
  padding:0 !important;
  display:grid !important;
  grid-template-columns:repeat(10, minmax(0, 1fr)) !important;
  gap:10px !important;
  overflow:visible !important;
}

.home-b2b-page .home_category_tile{
  min-width:0 !important;
  width:auto !important;
  max-width:none !important;
  min-height:96px !important;
  flex:initial !important;
  padding:12px 8px !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  gap:8px !important;
  text-align:center !important;
  border-radius:14px !important;
  background:#fff !important;
  color:#10271b !important;
  border:1px solid rgba(8,90,45,.10) !important;
  box-shadow:0 8px 22px rgba(17,70,38,.07) !important;
}

.home-b2b-page .home_category_tile:hover{
  background:#f7fff9 !important;
  box-shadow:0 12px 28px rgba(17,70,38,.12) !important;
}

.home-b2b-page .home_category_tile img{
  width:34px !important;
  height:34px !important;
  flex:0 0 34px !important;
}

.home-b2b-page .home_category_tile span{
  font-size:13px !important;
  line-height:1.12 !important;
  font-weight:900 !important;
  white-space:normal !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
}

.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:12px;
    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-page .home_category_tiles.home-b2b-cats{
    width:100% !important;
    grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
    gap:7px !important;
    margin-bottom:10px !important;
  }

  .home-b2b-page .home_category_tile{
    min-height:74px !important;
    padding:7px 3px !important;
    border-radius:12px !important;
    gap:4px !important;
  }

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

  .home-b2b-page .home_category_tile span{
    font-size:9px !important;
    line-height:1.08 !important;
  }

  .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){
  .home-b2b-page .home_category_tiles.home-b2b-cats{
    grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  }
}


/* 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_category_tiles.home-b2b-cats,
  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-05-10 HOME UI LAW FINAL: единый внешний край 10px */
@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_category_tiles.home-b2b-cats,
  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_category_tiles.home-b2b-cats{padding:0!important;}
  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%!important;margin:0!important;padding:0 10px!important;box-sizing:border-box!important;}
  body .home-b2b-page .home-b2b-hero,
  body .home-b2b-page .home_category_tiles.home-b2b-cats,
  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_category_tiles.home-b2b-cats{padding:0!important;}
  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;
  }

  .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){
  body .home-b2b-page .home_category_tiles.home-b2b-cats{
    width:100%;
    max-width:100%;
    margin:0 0 14px;
    padding:0;
    box-sizing:border-box;
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:7px;
    overflow:visible;
  }

  body .home-b2b-page .home_category_tiles.home-b2b-cats .home_category_tile{
    width:100%;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
}
/* END HOME mobile categories alignment final */
