/* Test-site review build: scoped to the products CPT archive only. */
body.post-type-archive-products #content .tg-container {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  column-gap: 36px;
  align-items: start;
}
body.post-type-archive-products #content #primary.tsc-products-primary {
  min-width: 0;
  min-height: 55vh;
  width: auto;
  margin: 0 0 30px;
  float: none;
  grid-column: 2;
  grid-row: 1;
}
body.post-type-archive-products #content #secondary.tsc-products-sidebar {
  min-width: 0;
  width: auto;
  margin: 0;
  float: none;
  grid-column: 1;
  grid-row: 1;
}
body.post-type-archive-products .tsc-products-recovery .card-wrapper h2,
body.post-type-archive-products .tsc-products-recovery .card-wrapper h3 {
  text-align: center;
}
body.post-type-archive-products .tsc-products-recovery .card-wrapper h2 {
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.2;
  margin: 0 0 6px;
}
body.post-type-archive-products .tsc-products-recovery .card-wrapper h3 {
  font-size: clamp(19px, 2vw, 25px);
  margin: 0 0 22px;
}
body.post-type-archive-products .tsc-products-recovery .card_list ul.tsc-products-cards {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
body.post-type-archive-products .tsc-products-recovery .card_list li.tsc-product-card {
  list-style: none;
  min-width: 0;
  margin: 0;
  outline: 1px solid #ccc;
  background-color: #fff;
}
body.post-type-archive-products .tsc-products-recovery .card_list li[hidden] { display: none !important; }
body.post-type-archive-products .tsc-products-recovery .card_list figure { margin: 0; padding: 10px; }
body.post-type-archive-products .tsc-products-recovery .card_list .card_pict {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.post-type-archive-products .tsc-products-recovery .card_list .card_pict img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
body.post-type-archive-products .tsc-products-recovery .card_list figcaption { margin: 10px 0 0; color: #333; }
body.post-type-archive-products .tsc-products-recovery .card_list .card_tags {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
body.post-type-archive-products .tsc-products-recovery .card_list span[class$="category"] { font-size: 11px; }
body.post-type-archive-products .tsc-products-recovery .card_list .card_tag-category {
  display: inline-block;
  padding: 2px 6px;
  background: #000080;
  border-radius: 20px;
  color: #fff;
  font-weight: 600;
}
body.post-type-archive-products .tsc-products-recovery .card_list .card_name { font-size: 16px; line-height: 1.4; margin: 7px 0; }
body.post-type-archive-products .tsc-products-recovery .card_list .card_caption { margin: 6px 0 0; font-size: 13px; }
body.post-type-archive-products .tsc-products-recovery .card_list a { text-decoration: none; }
body.post-type-archive-products .tsc-products-recovery .card_list #no-result-message { text-align: center; margin: 24px 0; }
body.post-type-archive-products .tsc-products-recovery .card_list #no-result-message[hidden] { display: none; }
body.post-type-archive-products .tsc-products-sidebar .item_search { display: flex; gap: 6px; }
body.post-type-archive-products .tsc-products-sidebar .item_search input { min-width: 0; width: 100%; }
body.post-type-archive-products .tsc-products-sidebar button {
  cursor: pointer;
  background-color: #000080;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 12px;
}
body.post-type-archive-products .tsc-products-sidebar dl { margin-top: 20px; }
body.post-type-archive-products .tsc-products-sidebar dt { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.post-type-archive-products .tsc-products-sidebar dd { margin: 6px 0 0; }
body.post-type-archive-products .tsc-products-sidebar summary { cursor: pointer; padding: 6px 0; }
body.post-type-archive-products .tsc-products-sidebar ul { margin: 0; padding-left: 0; }
body.post-type-archive-products .tsc-products-sidebar li { list-style: none; margin: 0; padding: 6px 0; }
body.post-type-archive-products .tsc-products-sidebar input[type="checkbox"] { margin-right: 5px; }
@media (hover: hover) and (pointer: fine) {
  body.post-type-archive-products .tsc-products-recovery .card_pict img,
  body.post-type-archive-products .tsc-products-recovery .card_name { transition: opacity 0.3s, transform 0.3s, color 0.3s; }
  body.post-type-archive-products .tsc-products-recovery .tsc-product-card a:hover .card_pict img { opacity: 0.65; transform: scale(1.03); }
  body.post-type-archive-products .tsc-products-recovery .tsc-product-card a:hover .card_name { color: #30afb8; }
}
@media (max-width: 1100px) {
  body.post-type-archive-products #content .tg-container { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
  body.post-type-archive-products .tsc-products-recovery .card_list ul.tsc-products-cards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
}
@media (max-width: 768px) {
  body.post-type-archive-products #content .tg-container { display: flex; flex-direction: column; gap: 24px; }
  body.post-type-archive-products #content #primary.tsc-products-primary,
  body.post-type-archive-products #content #secondary.tsc-products-sidebar { width: 100%; max-width: 640px; margin: 0 auto; }
  body.post-type-archive-products #content #secondary.tsc-products-sidebar { order: 1; }
  body.post-type-archive-products #content #primary.tsc-products-primary { order: 2; }
  body.post-type-archive-products .tsc-products-recovery .card_list ul.tsc-products-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 440px) {
  body.post-type-archive-products .tsc-products-recovery .card_list ul.tsc-products-cards { grid-template-columns: 1fr; }
}
