/* Limit grid rules to BTEC collections; preserve the theme's product-card styling. */
.btec-collection ul.products {
  display: grid !important;
  grid-template-columns: repeat(var(--btec-cols, 5), minmax(0, 1fr)) !important;
  gap: 22px 18px;
  margin: 0;
  padding: 0;
}
.btec-collection ul.products::before,
.btec-collection ul.products::after { display: none !important; }
.btec-collection ul.products li.product {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}
@media (max-width: 1024px) {
  .btec-collection ul.products { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}
@media (max-width: 600px) {
  .btec-collection ul.products { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 14px 10px; }
}
/* Progressive enhancement: no JS => all products remain visible. */
.btec-collection ul.products li.product[hidden],
.btec-collection .btec-show-more-wrap[hidden] { display: none !important; }
.btec-show-more-wrap { text-align: center; margin: 26px 0 8px; }
.btec-show-more-button {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 12px 32px; border: 1px solid #292929;
  background: #292929; color: #fff; font: inherit; font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.btec-show-more-button:hover, .btec-show-more-button:focus-visible {
  background: #fff; color: #292929;
}
/* 1.2.0: progressive controls, isolated from product-card styling. */
.btec-collection .btec-collection-actions { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:12px; }
.btec-collection .btec-progress-text { margin:0 0 10px; font-size:14px; color:#555; }
.btec-collection .btec-progress-track { max-width:320px; height:6px; background:#e9e9e9; border-radius:100px; margin:0 auto 18px; overflow:hidden; }
.btec-collection .btec-progress-fill { height:100%; width:0; background:#292929; border-radius:100px; transition:width .22s ease; }
.btec-collection .btec-collapse-button { cursor:pointer; padding:12px 28px; background:#fff; color:#292929; font:inherit; font-weight:600; border:1px solid #999; transition:background-color .2s ease; }
.btec-collection .btec-collapse-button:hover, .btec-collection .btec-collapse-button:focus-visible { background:#f2f2f2; }
.btec-collection .btec-show-more-button[hidden], .btec-collection .btec-collapse-button[hidden] { display:none !important; }
.btec-collection { scroll-margin-top:90px; }
@media (prefers-reduced-motion:reduce) { .btec-collection .btec-progress-fill {transition:none;} }
