/* Shared product-list design for test search results and catalog sections. */
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .acctech-search-rating { display:inline-flex;align-items:center;gap:5px;color:#0e0e0e;font:400 14px/16.40625px Roboto,Arial,sans-serif;white-space:nowrap; }
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__reviews.acctech-search-reviews--with-rating{display:none}
@media (min-width: 769px) {
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) { padding: 20px 0 60px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__main { gap: 55px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__sidebar { flex: 0 0 236px; width: 236px; margin: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .section-content { flex: 1 1 auto; width: auto; min-width: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; margin: 0 0 32px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) h1 { grid-column: 1 / -1; margin: 0 0 0 1px; font-size: 26px !important; line-height: 30px; font-weight: 500; text-transform: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__counts { display: block; margin: 0; color: #999; font-size: 16px; line-height: 19px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .sorting-panel--desktop { grid-column: 2; grid-row: 2; position: relative; inset: auto; transform: none; align-self: start; justify-self: end; margin: -4px 0 0; font-size: 16px; line-height: 19px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .sorting-panel__active { font-size: 16px; line-height: 19px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__main-controls { display: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog-filter__heading { font-weight: 500; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog-filter__reset-all { margin-left: 17px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog-filter__header { height: 45px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog-filter__stock { height: 81px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .filter-item--price { margin-bottom: 40px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .filter-item--price.filter-item--range-ready .filter-item__content { min-height: 81px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .filter-item:not(.filter-item--price) .filter-item__content { padding-top: 14px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .filter-item__input .form-control { height: 44px; border: 0; border-radius: 4px; box-shadow: none; background-color: #f1f1f2; font-size: 16px; line-height: 19px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .filter-form__btn-holder { display: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .products-list--catalog { width: 100%; max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 31px; margin: 0; padding: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .products-list--catalog > .products-list__item { position: relative; display: flex; min-width: 0; width: auto; margin: 0; padding: 0 !important; border: 0 !important; background: none !important; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item { width: 100%; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__price { white-space: normal; }
}
@media (min-width: 769px) and (max-width: 1440px) {
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__sidebar { flex-basis: 236px; width: 236px; }
}
@media (min-width: 1001px) and (max-width: 1279px) {
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .products-list--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 769px) and (max-width: 1000px) {
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__main { gap: 20px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__sidebar { flex-basis: 240px; width: 240px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .sorting-panel--desktop { grid-column: 1; grid-row: 3; justify-self: start; margin: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .products-list--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  body.acctech-test-search-results #wrapper { padding-top: 51px; }
  body.acctech-test-search-results .header-main > .container { min-height: 50px; padding-bottom: 0; }
  body.acctech-test-search-results:not(.acctech-search-active):not(.acctech-test-search-empty) .header-main .search-form,
  body.acctech-test-search-results:not(.acctech-search-active):not(.acctech-test-search-empty) .header-main .acctech-mobile-chat { display: none; }
  body.acctech-test-search-results.acctech-search-active .header-main > .container { min-height: 111px; padding-bottom: 8px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) { padding: 22px 0 30px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) > .container { padding: 0 10px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__head { margin: 0 0 22px 1px; padding: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) h1 { margin: 0 0 6px; font-size: 18px !important; line-height: 24px; font-weight: 500; text-transform: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__counts { display: block; margin: 0; font-size: 14px; line-height: 16px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__main-controls { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 0; width: 100%; min-height: 28px; height: 28px; margin: 0 0 13px; padding: 0; border: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__view { display: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__filters-opener { display: flex; position: relative; order: -1; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; margin: 0; padding: 0; border: 0; background: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__filters-opener .icon-filters { display: block; flex: 0 0 20px; width: 20px; height: 20px; background: url('/local/templates/acctech_next/assets/images/search-filters.svg') center / contain no-repeat; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__filters-opener__badge { position: absolute; left: 17px; top: 0; width: 18px; height: 18px; font-size: 11px; line-height: 14px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__filters-opener .icon-filters::before { content: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .sorting-panel--mobile { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .sorting-panel__active { font-size: 14px; line-height: 16px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .products-list--catalog { width: 100%; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; margin: 0; padding: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .products-list--catalog > .products-list__item { display: flex; min-width: 0; width: auto; margin: 0; padding: 0 !important; border: 0 !important; background: none !important; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item { display: flex; flex-direction: column; width: 100%; max-width: none; min-width: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item > .product-item__visual { flex: none; width: 100%; height: auto; aspect-ratio: 1; padding: 0; margin: 0 0 10px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__slider { display: block; width: 100%; height: 100%; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__slider:not(.slick-initialized) > .product-item__visual:not(:first-child) { display: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__slider:not(.slick-initialized) > .product-item__visual:first-child { display: block; width: 100%; height: 100%; margin: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__visual img { width: 100%; height: 100%; object-fit: contain; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__sale-sticker { top: auto; right: auto; bottom: 6px; left: 6px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__content { display: flex; flex: 1; flex-direction: column; min-width: 0; padding-left: 1px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .instock_label { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; order: -3; margin: 0 0 8px; font-size: 13px; line-height: 15px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .instock_label img { width: 5px; height: 5px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__reviews { height: auto; min-height: 0; margin-left: auto; font-size: 12px; line-height: 15px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__reviews[hidden] { display: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__reviews.acctech-search-reviews--with-rating { display: none; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .acctech-search-rating { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #0e0e0e; font-size: 13px; line-height: 15.234375px; white-space: nowrap; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .acctech-search-rating__star { color: #000; font-size: 13px; line-height: 15px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__reviews .stars-list { display: inline-flex; gap: 0; font-size: 9px; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__reviews .stars-list__item { margin: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__title { order: -2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: 38px !important; min-height: 38px; margin: 0 0 5px; font-size: 14px; line-height: 19px; overflow-wrap: anywhere; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__description { order: -1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; height: 54px; max-height: 54px !important; margin: 0 0 10px; font-size: 13px; line-height: 18px; color: #111; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__price { margin: 0 0 10px; font-size: 18px; line-height: 21px; font-weight: 500; color: #111; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__discount-price { color: #111; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__price > span:not(.product-item__old-price) { color: #111; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__old-price { font-size: 13px; color: #999; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__btn-panel { display: block; margin-top: auto; padding-top: 0; }
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__btn-panel .btn { display: flex; justify-content: center; align-items: center; width: 100%; min-width: 0; height: 40px; padding: 0 5px; font-size: 14px; line-height: 16px; font-weight: 400; border-radius: 4px; }
  #acctech-test-search-empty > .acctech-search-panel__no-results { display: block; }
  #acctech-test-search-empty { padding: 0 20px 30px; }
  #acctech-test-search-empty .acctech-test-search-empty__fallback { display: none; }
  body.acctech-test-search-empty #wrapper { padding-top: 112px; }
  body.acctech-test-search-empty .header-main > .container { min-height: 111px; padding-bottom: 8px; }
  body.acctech-test-search-empty #search-page { padding-top: 0; }
  body.acctech-test-search-empty #search-page > .container { padding: 0; }
  body.acctech-test-search-empty .header-main .acctech-mobile-chat { display: none; }
  body.acctech-test-search-empty .header-main .search-form { flex-basis: calc(100% - 60px); }
  body.acctech-test-search-empty .header-main .search-form__inner::before { display: none; }
  body.acctech-test-search-empty .header-main .acctech-search-cancel { display: flex; flex: 0 0 44px; order: 5; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 9px 0 0 16px; padding: 0; color: #696969; font-size: 12px; }
  body.acctech-test-search-empty .header-main .search-form__inner { height: 40px; border: 1.5px solid #171717; background: #fff; }
  body.acctech-test-search-empty .header-main .search-form__form-control { height: 38px; padding: 0 42px 0 9px; }
  body.acctech-test-search-empty .header-main .search-form__btn { display: none; }
  body.acctech-test-search-empty .header-main .search-form__reset { display: flex; top: 9px; right: 10px; bottom: auto; width: 20px; height: 20px; border-radius: 50%; background: #c1c1c1; }
  body.acctech-test-search-empty .header-main .search-form__reset i { color: #fff; font-size: 10px; }
  body.acctech-test-search-empty .header-main .search-form__reset::after { display: none; }
  :is(#search-page, .acctech-test-catalog-section) .products-list__item { position: relative; }
  :is(#search-page, .acctech-test-catalog-section) .acctech-search-favorite { display: grid; place-items: center; position: absolute; z-index: 3; right: 0; top: 0; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  :is(#search-page, .acctech-test-catalog-section) .acctech-search-favorite::before { content: ''; width: 20px; height: 18px; background: url('/local/templates/acctech_next/assets/images/favorite-figma.svg') center / contain no-repeat; }
  :is(#search-page, .acctech-test-catalog-section) .acctech-search-favorite[aria-pressed='true']::before { background-image: url('/local/templates/acctech_next/assets/images/favorite-filled.svg'); }
  :is(#search-page, .acctech-test-catalog-section) .acctech-search-favorite:focus-visible { outline: 2px solid #111; }
}

body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .acctech-search-rating__star{display:block;flex:none;width:16.042px;height:16.085px;background:currentColor;mask:url('/local/templates/acctech_next/assets/images/rating-star-figma.svg') center/contain no-repeat}

@media(max-width:768px){body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .acctech-search-rating__star{width:14px;height:14px}}

/* Product results use the brand-card design (Figma 720:814 / 722:1010).
   Keep the native product links, gallery, basket and preorder controls. */
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item{position:relative;display:flex;flex-direction:column;height:100%;padding:0;border:0;box-shadow:none;background:#fff;color:#0e0e0e}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .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 :is(#search-page, .acctech-test-catalog-section) .product-item>.product-item__visual::before{display:none}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__slider{position:absolute;inset:0;display:block;width:100%;height:100%}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__slider .product-item__visual{width:100%;height:100%;margin:0;padding:0;aspect-ratio:auto}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__slider:not(.slick-initialized)>.product-item__visual:not(:first-child){display:none}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__visual img{width:100%;height:100%;object-fit:contain}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__content{display:flex;flex:1;flex-direction:column;min-width:0;padding:0;background:none}
/* 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 :is(#search-page, .acctech-test-catalog-section) .product-item__content>.product-item__reviews{display:none}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .instock_label{order:-3;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 :is(#search-page, .acctech-test-catalog-section) .instock_label img{display:none}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .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 :is(#search-page, .acctech-test-catalog-section) .instock_label:has(img[src$="/redEllipse.png"])::before{background:#f96363}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .instock_label>span:not(.acctech-rating){white-space:nowrap}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .instock_label>.acctech-rating{margin-left:auto}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__reviews:not(:has(*)),body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__reviews[hidden]{display:none}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__title{order:-2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:37.5px!important;min-height:37.5px;margin:0 0 14px;font:500 16px/18.75px Roboto,Arial,sans-serif;color:#0e0e0e;overflow-wrap:anywhere}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__description{order:-1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;height:51px;max-height:51px!important;margin:0 0 14px;font:400 14px/17px Roboto,Arial,sans-serif;color:#6e6e6e}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__price{position:static;display:block;margin:auto 0 18px;font:500 20px/23.4375px Roboto,Arial,sans-serif;color:#0e0e0e;white-space:normal}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__price>span:not(.product-item__old-price){color:inherit}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__old-price{font-size:14px;font-weight:400;line-height:1;vertical-align:baseline;color:#999}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__btn-panel{position:static;display:block;margin:0;padding:0}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .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}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .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 :is(#search-page, .acctech-test-catalog-section) .acctech-search-favorite::before{content:'';display:block;width:24px;height:22px}
body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .acctech-search-favorite:focus-visible{outline:2px solid #111}
@media(min-width:769px) and (max-width:1440px){
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .catalog__main{gap:26px}
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .products-list--catalog{column-gap:20px}
}
@media(max-width:768px){
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item>.product-item__visual{margin-bottom:15px}
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .instock_label{gap:5px;min-height:16px;margin-bottom:10px;font-size:13px;line-height:15.234375px}
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .instock_label::before{flex-basis:5px;width:5px;height:5px}
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__title{height:38px!important;min-height:38px;margin-bottom:5px;font-size:14px;line-height:19px}
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__description{height:54px;max-height:54px!important;margin-bottom:10px;font-size:13px;line-height:18px}
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__price{margin-bottom:10px;font-size:18px;line-height:21.09375px}
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__old-price{font-size:13px}
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .product-item__btn-panel .btn{height:40px;min-height:40px}
  body.acctech-test-template :is(#search-page, .acctech-test-catalog-section) .acctech-search-favorite::before{width:20px;height:18px}
}
