/* Catalog grids, collections, recommendations, favorites and article products.
   Brand cards retain their own design in brand-page.css. */
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item{position:relative;display:flex;flex-direction:column;height:100%;margin:0;padding:0;border:0;box-shadow:none;background:#fff;color:#0e0e0e}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item>.product-item__visual{position:relative;display:block;flex:none;width:100%;height:auto;aspect-ratio:1;padding:0;margin:0 0 32px;background:#f5f5f5}

body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item>.product-item__visual::before{display:none}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__slider{position:absolute;inset:0;display:block;width:100%;height:100%}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__slider .product-item__visual{width:100%;height:100%;margin:0;padding:0;aspect-ratio:auto}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__slider:not(.slick-initialized)>.product-item__visual:not(:first-child){display:none}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__visual img{width:100%;height:100%;object-fit:contain}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__content{display:flex;flex:1;flex-direction:column;min-width:0;padding:0;background:none}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .products-list__item{position:relative;min-width:0}
body.acctech-test-template #main .products-list--inline{align-items:stretch}
body.acctech-test-template #main .products-list--inline:not(.slick-initialized){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 24px;width:100%;max-width:none;margin:0;padding:0}
body.acctech-test-template #main .products-list--inline:not(.slick-initialized)>.products-list__item{width:auto;margin:0;padding:0}
body.acctech-test-template #main .products-list--inline .slick-track{display:flex}
body.acctech-test-template #main .products-list--inline .slick-slide{height:auto}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item{width:100%;max-width:none}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__sale-sticker{top:auto;right:auto;bottom:6px;left:6px}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__badges{top:6px;left:6px}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__content>.acctech-home-card-status,
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__content>.instock_label{order:0}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__content>.product-item__title{order:1}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__content>.product-item__description{order:2}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__content>.product-item__price{order:3}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__content>.product-item__btn-panel{order:5}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__content>.acctech-brand-express-slot{order:4}
/* Reviews are moved into the stock row by figma-header.js. Reserve no space below
   the button before that script runs, otherwise the entire card row jumps. */
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__content>.product-item__reviews{display:none}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .instock_label{display:flex;align-items:center;flex-wrap:nowrap;gap:9px;min-height:17px;margin:0 0 20px;font:400 14px/16.40625px Roboto,Arial,sans-serif;color:#000}
/* The legacy 8x7 PNG distorts at small sizes; draw an exact circle instead. */
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .instock_label img{display:none}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .instock_label::before{content:'';display:block;flex:0 0 6.5px;width:6.5px;height:6.5px;border-radius:50%;background:#a9da2c}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .instock_label:has(img[src$="/redEllipse.png"])::before{background:#f96363}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .instock_label>span:not(.acctech-rating){white-space:nowrap}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .instock_label>.acctech-rating{margin-left:auto}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__reviews:not(:has(*)),body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__reviews[hidden]{display:none}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__title{margin:0 0 14px;font:500 16px/18.75px Roboto,Arial,sans-serif;color:#0e0e0e;overflow-wrap:anywhere}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__description{margin:0 0 17px;color:#6e6e6e}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__price{position:static;display:flex;margin:0 0 18px;font:500 18px/21.09375px Roboto,Arial,sans-serif;color:#0e0e0e;white-space:normal}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__price>span:not(.product-item__old-price){color:inherit}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__price>span{white-space:nowrap}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__old-price,body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__price>del{position:static;width:auto;font-size:18px;font-weight:500;line-height:1.171875;vertical-align:baseline;white-space:nowrap;color:#999}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__btn-panel{position:static;display:block;margin:0;padding:0}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__btn-panel .btn{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:44px;min-height:44px;padding:0 8px;border:0;border-radius:4px;font:500 14px/16.40625px Roboto,Arial,sans-serif}
/* Embedded Landing styles set a global important line-height for .btn. */
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__btn-panel .btn{line-height:16.40625px!important}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .acctech-search-favorite{position:absolute;z-index:3;display:grid;place-items:center;top:4px;right:4px;width:32px;height:32px;margin:0;padding:0;border:0;background:none;cursor:pointer}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .acctech-search-favorite::before{content:'';display:block;width:24px;height:22px}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .acctech-search-favorite>svg{display:none}
body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .acctech-search-favorite:focus-visible{outline:2px solid #111}
body.acctech-test-template #main .ac-promotion-products .products-list--catalog{gap:40px 24px}
/* Match the catalog's reset of legacy inline employee highlighting as well. */
body.acctech-test-template #main .ac-promotion-products .products-list__item{display:flex;min-width:0;margin:0;padding:0!important;border:0!important;background:none!important}
body.acctech-test-template #main .acctech-storefront-article>.container{container-type:inline-size}
body.acctech-test-template #main .acctech-storefront-article .article-catalog-products{width:100cqw}
@media(min-width:769px){
  body.acctech-test-template #main .cabinet__main:has(.products-list--favorites){gap:32px}
  body.acctech-test-template #main .cabinet__main:has(.products-list--favorites)>.cabinet__sidebar{flex:0 0 236px;width:236px;margin-right:0}
  body.acctech-test-template #main .cabinet__main:has(.products-list--favorites)>.section-content{flex:1 1 auto;min-width:0;width:auto;max-width:none}
  body.acctech-test-template #main .products-list--favorites:not(.slick-initialized){grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:1001px) and (max-width:1279px){
  body.acctech-test-template #main .ac-promotion-products .products-list--catalog{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.acctech-test-template #main .products-list--favorites:not(.slick-initialized){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:769px) and (max-width:1000px){
  body.acctech-test-template #main .ac-promotion-products .products-list--catalog{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.acctech-test-template #main .cabinet__main:has(.products-list--favorites)>.cabinet__sidebar{flex-basis:240px;width:240px}
  body.acctech-test-template #main .products-list--favorites:not(.slick-initialized){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:769px) and (max-width:1180px){
  body.acctech-test-template #main .products-list--inline:not(.slick-initialized):not(.products-list--favorites){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:768px){
  body.acctech-test-template #main .ac-promotion-products .product-item__title{max-height:none!important}
  body.acctech-test-template #main .products-list--inline:not(.slick-initialized){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
  body.acctech-test-template #main .ac-promotion-products .products-list--catalog{width:calc(100% + 20px);max-width:none;margin:0 -10px;gap:16px 10px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item>.product-item__visual{margin-bottom:15px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .instock_label{gap:5px;min-height:16px;margin-bottom:10px;font-size:13px;line-height:15.234375px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .instock_label::before{flex-basis:5px;width:5px;height:5px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__title{margin-bottom:5px;font-size:14px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__description{margin-bottom:12px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__price{margin-bottom:10px;font-size:18px;line-height:21.09375px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__old-price{font-size:18px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__price>del{font-size:18px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .product-item__btn-panel .btn{height:40px;min-height:40px}
  body.acctech-test-template #main .products-list:not(.acctech-brand-grid) .acctech-search-favorite::before{width:20px;height:18px}
}
