/* Shop & product category archives */

.bz-catalog-page,
.bz-search-page {
  --bz-catalog-red: #a31820;
  --bz-catalog-red-hover: #86141b;
  --bz-brand: var(--bz-catalog-red);
  --bz-brand-dark: var(--bz-catalog-red-hover);
  --bz-red: var(--bz-catalog-red);
  --bz-red-dark: var(--bz-catalog-red-hover);
}

.bz-catalog-page {
  background: var(--bz-surface-muted);
}

.bz-catalog-page__shell {
  padding-block: var(--bz-section-pad-y);
}

.bz-catalog-page__container {
  width: min(100% - (2 * var(--bz-gutter)), var(--bz-container-wide));
  margin-inline: auto;
  padding-inline: 0;
  overflow-x: clip;
}

.bz-catalog-page__head {
  margin-bottom: 1rem;
}

.bz-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bz-muted);
}

.bz-breadcrumb a {
  color: var(--bz-brand);
  text-decoration: none;
}

.bz-breadcrumb a:hover {
  color: var(--bz-brand-dark);
  text-decoration: underline;
}

.bz-breadcrumb [aria-current="page"] {
  color: var(--bz-navy);
}

.bz-catalog-page__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--bz-navy);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.bz-catalog-page__lead {
  margin: 0.45rem 0 0;
  max-width: 48rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--bz-muted);
}

/* Sticky filter column */
@media (min-width: 960px) {
  .bz-catalog-sidebar {
    position: sticky;
    top: calc(var(--bz-header-offset, 5.5rem) + 0.75rem);
  }
}

.bz-catalog-sidebar {
  display: grid;
  gap: 0.75rem;
}

.bz-catalog-sidebar__clear {
  margin: 0;
  text-align: center;
}

.bz-catalog-sidebar__clear a {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bz-brand);
  text-decoration: none;
}

.bz-catalog-sidebar__clear a:hover {
  text-decoration: underline;
}

/* Price filter */
.bz-price-filter__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.bz-price-filter label {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bz-muted);
}

.bz-price-filter__field {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.5rem;
  background: var(--bz-surface-muted);
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-radius-sm, 0.3rem);
  color: var(--bz-navy);
  font-weight: 700;
}

.bz-price-filter__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  color: inherit;
  padding: 0;
}

.bz-price-filter__field input:focus {
  outline: none;
}

.bz-price-filter__hint {
  margin: 0.55rem 0 0.75rem;
  font-size: 0.75rem;
  color: var(--bz-muted);
}

.bz-price-filter__hint .woocommerce-Price-amount {
  font-weight: 700;
  color: var(--bz-navy);
}

.bz-price-filter__submit {
  width: 100%;
  min-height: 2.35rem;
  border: 0;
  border-radius: var(--bz-radius-sm, 0.3rem);
  background: var(--bz-brand);
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
}

.bz-price-filter__submit:hover {
  background: var(--bz-brand-dark);
}

.bz-price-filter__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.bz-price-filter__preset {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--bz-border);
  border-radius: 999px;
  background: #fff;
  color: var(--bz-navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.bz-price-filter__preset:hover,
.bz-price-filter__preset.is-active {
  border-color: var(--bz-catalog-red);
  color: var(--bz-catalog-red);
  background: rgba(163, 24, 32, 0.06);
}

.bz-product-card__badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 1.1rem);
  padding: 0.28rem 0.55rem;
  border-radius: var(--bz-radius, 10px);
  background: var(--bz-catalog-red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(163, 24, 32, 0.28);
}

.bz-product-card__badge--edr {
  background: var(--bz-catalog-red-hover);
}

.bz-product-card__actions .button,
.bz-product-card__actions .add_to_cart_button,
.bz-product-card__actions .product_type_simple,
.bz-product-card__actions .product_type_variable {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 !important;
  padding: 0.4rem 0.75rem !important;
  border: none !important;
  border-radius: var(--bz-radius) !important;
  font-family: var(--bz-font-family) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap;
  background: var(--bz-catalog-red) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(163, 24, 32, 0.25) !important;
}

.bz-product-card__actions .button:hover,
.bz-product-card__actions .add_to_cart_button:hover {
  background: var(--bz-catalog-red-hover) !important;
  color: #fff !important;
}

.bz-product-card__actions .added_to_cart {
  display: inline-flex;
  margin-left: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bz-brand);
  text-decoration: none;
}

.bz-catalog-page__description {
  margin: 0.5rem 0 0;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--bz-muted);
}

.bz-catalog-page__description p {
  margin: 0;
}

.bz-catalog-page__description--footer {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  max-width: none;
  background: #fff;
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-radius-md);
  box-shadow: 0 2px 12px rgba(12, 35, 64, 0.05);
}

.bz-catalog-page__description--footer p + p {
  margin-top: 0.75rem;
}

.bz-catalog-page__layout {
  display: grid;
  gap: 1rem;
  align-items: start;
  min-width: 0;
}

.bz-catalog-page__layout--solo {
  display: block;
}

.bz-catalog-page__main,
.bz-catalog-sidebar {
  min-width: 0;
  max-width: 100%;
}

.bz-catalog-sidebar {
  display: none !important;
}

@media (min-width: 960px) {
  .bz-catalog-page__layout:not(.bz-catalog-page__layout--solo) {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
  }
}

/* Sidebar */
.bz-catalog-sidebar__panel {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-radius-md);
  box-shadow: 0 2px 12px rgba(12, 35, 64, 0.05);
}

.bz-catalog-sidebar__title {
  margin: 0 0 0.6rem;
  padding-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bz-muted);
  border-bottom: 1px solid var(--bz-border);
}

.bz-catalog-sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bz-catalog-sidebar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  border-bottom: 1px solid var(--bz-border);
}

.bz-catalog-sidebar__item:last-child {
  border-bottom: 0;
}

.bz-catalog-sidebar__item a {
  flex: 1;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bz-navy);
  text-decoration: none;
}

.bz-catalog-sidebar__item a:hover {
  color: var(--bz-brand);
}

.bz-catalog-sidebar__item.is-active a {
  color: var(--bz-brand);
}

.bz-catalog-sidebar__count {
  flex-shrink: 0;
  min-width: 1.5rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  color: var(--bz-muted);
  background: var(--bz-surface-muted);
  border-radius: var(--bz-radius);
}

.bz-catalog-sidebar__item.is-active .bz-catalog-sidebar__count {
  color: #fff;
  background: var(--bz-brand);
}

/* Main panel */
.bz-catalog-page__main {
  padding: 0.85rem 1rem 1rem;
  background: #fff;
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-radius-md);
  box-shadow: 0 2px 12px rgba(12, 35, 64, 0.05);
}

.bz-catalog-page__main .woocommerce-notices-wrapper {
  margin-bottom: 0.75rem;
}

.bz-catalog-page__main .woocommerce-info,
.bz-catalog-page__main .woocommerce-message,
.bz-catalog-page__main .woocommerce-error {
  margin: 0 0 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  border-radius: var(--bz-radius-sm);
  list-style: none;
}

/* Toolbar: result count + sort */
.bz-catalog-page .woocommerce-result-count {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bz-muted);
}

.bz-catalog-page .woocommerce-ordering {
  margin: 0;
}

.bz-catalog-page .woocommerce-ordering select {
  min-height: 38px;
  padding: 0.35rem 2rem 0.35rem 0.65rem;
  font-family: var(--bz-font-family);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bz-navy);
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-radius-sm);
  background-color: #fff;
}

.bz-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--bz-border);
}

/* Product grid — normalize WooCommerce floats to a CSS grid at all widths.
   Desktop column counts follow the WooCommerce columns-N class (see below);
   the 2-column layout is applied on mobile only. */
.bz-catalog-page ul.products.bz-catalog-grid,
.bz-site ul.products.bz-catalog-grid {
  display: grid !important;
  gap: 1rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  clear: none !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}

.bz-catalog-page ul.products.bz-catalog-grid.columns-1,
.bz-site ul.products.bz-catalog-grid.columns-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.bz-catalog-page ul.products.bz-catalog-grid.columns-2,
.bz-site ul.products.bz-catalog-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.bz-catalog-page ul.products.bz-catalog-grid.columns-3,
.bz-site ul.products.bz-catalog-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.bz-catalog-page ul.products.bz-catalog-grid.columns-4,
.bz-site ul.products.bz-catalog-grid.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.bz-catalog-page ul.products.bz-catalog-grid.columns-5,
.bz-site ul.products.bz-catalog-grid.columns-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

/* Fallback when no columns-N class is present */
.bz-catalog-page ul.products.bz-catalog-grid:not([class*="columns-"]),
.bz-site ul.products.bz-catalog-grid:not([class*="columns-"]) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.bz-catalog-page ul.products.bz-catalog-grid::before,
.bz-catalog-page ul.products.bz-catalog-grid::after,
.bz-site ul.products.bz-catalog-grid::before,
.bz-site ul.products.bz-catalog-grid::after {
  display: none !important;
  content: none !important;
}

.bz-catalog-page ul.products.bz-catalog-grid li.product,
.bz-site ul.products.bz-catalog-grid li.product,
.woocommerce ul.products.bz-catalog-grid li.product,
.woocommerce-page ul.products.bz-catalog-grid li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}

/* Mobile: force 2 columns regardless of desktop columns-N class */
@media (max-width: 767px) {
  .bz-catalog-page ul.products.bz-catalog-grid,
  .bz-site ul.products.bz-catalog-grid,
  .bz-catalog-page ul.products.bz-catalog-grid[class*="columns-"],
  .bz-site ul.products.bz-catalog-grid[class*="columns-"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem;
  }
}

/* Related courses on single product — desktop restores original 3–5 columns */
.bz-product-page .bz-product-related ul.products.bz-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  clear: none;
}

@media (min-width: 1100px) {
  .bz-product-page .bz-product-related ul.products.bz-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .bz-product-page .bz-product-related ul.products.bz-catalog-grid,
  .bz-product-page .bz-product-related ul.products.bz-catalog-grid.columns-3,
  .bz-product-page .bz-product-related ul.products.bz-catalog-grid.columns-4,
  .bz-product-page .bz-product-related ul.products.bz-catalog-grid.columns-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
  }
}

/* Mobile: related courses 2 columns */
@media (max-width: 767px) {
  .bz-product-page .bz-product-related ul.products.bz-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

.bz-product-page .bz-product-related ul.products.bz-catalog-grid::before,
.bz-product-page .bz-product-related ul.products.bz-catalog-grid::after {
  display: none;
  content: none;
}

.bz-product-page .bz-product-related ul.products.bz-catalog-grid li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

/* Product card — soft UI shell (inset image, pill CTA, large radius) */
.bz-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: none;
  border-radius: 1.15rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.bz-product-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.04),
    0 20px 44px rgba(15, 23, 42, 0.09);
}

.bz-product-card__media {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: calc(100% - 1.5rem);
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  margin: 0.75rem 0.75rem 0;
  padding: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-sizing: border-box;
}

.bz-product-card__media-frame {
  position: absolute;
  inset: 0.65rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #fff;
}

.bz-product-card__media img,
.bz-product-card__media .bz-product-card__img,
.bz-product-card__media .woocommerce-placeholder {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0.85rem !important;
  background: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bz-product-card .onsale {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  left: auto;
  z-index: 2;
  min-height: auto;
  margin: 0;
  padding: 0.28rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.2;
  border-radius: var(--bz-radius, 10px);
  background: var(--bz-catalog-red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(163, 24, 32, 0.28);
}

.bz-product-card__media:has(.bz-product-card__badge) .onsale {
  top: auto;
  bottom: 0.55rem;
}

.bz-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  padding: 0.85rem 1rem 1rem;
}

.bz-product-card__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  min-height: 0;
}

.bz-product-card__category {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bz-product-card__category a {
  color: var(--bz-muted);
  text-decoration: none;
}

.bz-product-card__category a:hover {
  color: var(--bz-brand);
}

.bz-product-card__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
}

.bz-product-card__title a {
  color: var(--bz-navy);
  text-decoration: none;
}

.bz-product-card__title a:hover {
  color: var(--bz-brand);
}

.bz-product-card__main .star-rating {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
}

.bz-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.bz-product-card__stats {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--bz-muted);
}

.bz-product-card .price,
.bz-product-card .price ins,
.bz-product-card .price .woocommerce-Price-amount,
.bz-product-card .price bdi,
.bz-product-card .price .amount {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--bz-navy) !important;
  background: transparent !important;
  text-decoration: none;
  white-space: nowrap;
}

.bz-product-card .price del,
.bz-product-card .price del .woocommerce-Price-amount,
.bz-product-card .price del .amount,
.bz-product-card .price del bdi {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bz-muted) !important;
  opacity: 1;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
}

.bz-product-card .affirm-as-low-as {
  display: none !important;
}

.bz-product-card__actions {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.bz-product-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 30px;
  margin: 0 !important;
  padding: 0.4rem 0.75rem !important;
  border: none !important;
  border-radius: var(--bz-radius) !important;
  font-family: var(--bz-font-family) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  background: var(--bz-catalog-red) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(163, 24, 32, 0.25) !important;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.bz-product-card__cta:hover {
  background: var(--bz-catalog-red-hover) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(134, 20, 27, 0.3) !important;
  transform: translateY(-1px);
}

.bz-product-card__cta:focus-visible {
  outline: 2px solid var(--bz-catalog-red);
  outline-offset: 2px;
}

/* All interactive buttons / control accents on shop */
.bz-catalog-page .bz-price-filter__submit,
.bz-catalog-page .woocommerce-pagination ul li span.current {
  background: var(--bz-catalog-red) !important;
  border-color: var(--bz-catalog-red) !important;
}

.bz-catalog-page .bz-price-filter__submit:hover {
  background: var(--bz-catalog-red-hover) !important;
}

.bz-catalog-page .woocommerce-pagination ul li a:hover {
  border-color: var(--bz-catalog-red);
  color: var(--bz-catalog-red);
}

/* Pagination */
.bz-catalog-page .woocommerce-pagination {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bz-border);
}

.bz-catalog-page .woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

.bz-catalog-page .woocommerce-pagination ul li {
  margin: 0;
  border: 0;
}

.bz-catalog-page .woocommerce-pagination ul li a,
.bz-catalog-page .woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bz-navy);
  border: 1px solid var(--bz-border);
  border-radius: var(--bz-radius-sm);
  text-decoration: none;
}

.bz-catalog-page .woocommerce-pagination ul li span.current {
  background: var(--bz-brand);
  border-color: var(--bz-brand);
  color: #fff;
}

.bz-catalog-page .woocommerce-pagination ul li a:hover {
  border-color: var(--bz-brand);
  color: var(--bz-brand);
}

/* No products */
.bz-catalog-page .woocommerce-no-products-found {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--bz-surface-muted);
  border-radius: var(--bz-radius-md);
}

.bz-catalog-page .woocommerce-no-products-found .woocommerce-info {
  margin: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 959px) {
  .bz-catalog-sidebar {
    max-width: 100%;
    overflow: hidden;
  }

  .bz-catalog-sidebar__panel {
    position: sticky;
    top: calc(74px + 0.5rem);
    z-index: 2;
    max-width: 100%;
    overflow: hidden;
  }

  .bz-catalog-sidebar__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .bz-catalog-sidebar__item {
    flex: 0 0 auto;
    border: 1px solid var(--bz-border);
    border-radius: var(--bz-radius);
    background: var(--bz-surface-muted);
  }

  .bz-catalog-sidebar__item a {
    padding: 0.35rem 0.65rem;
    white-space: nowrap;
  }

  .bz-catalog-sidebar__count {
    display: none;
  }

  .bz-catalog-sidebar__title {
    display: none;
  }
}

/* Mobile product cards — compact 2-up grid */
@media (max-width: 767px) {
  .bz-catalog-page__main {
    padding: 0.65rem 0.5rem 0.75rem;
  }

  .bz-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .bz-catalog-page .woocommerce-ordering select {
    width: 100%;
  }

  .bz-product-card {
    border-radius: var(--bz-radius);
    box-shadow: 0 8px 22px rgba(12, 35, 64, 0.08);
  }

  .bz-product-card:hover {
    transform: none;
  }

  .bz-product-card__media {
    width: calc(100% - 0.65rem);
    margin: 0.45rem 0.325rem 0;
    border-radius: var(--bz-radius);
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .bz-product-card__media-frame {
    inset: 0.55rem;
  }

  .bz-product-card__media img,
  .bz-product-card__media .bz-product-card__img,
  .bz-product-card__media .woocommerce-placeholder {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .bz-product-card__badge {
    top: 0.4rem;
    left: 0.4rem;
    padding: 0.22rem 0.4rem;
    font-size: 0.5625rem;
  }

  .bz-product-card__body {
    padding: 0.45rem 0.55rem 0.6rem;
  }

  .bz-product-card__main {
    margin-bottom: 0.45rem;
    gap: 0.15rem;
  }

  .bz-product-card__category {
    font-size: 0.5625rem;
  }

  .bz-product-card__title {
    font-size: 0.6875rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .bz-product-card__main .star-rating {
    display: none;
  }

  .bz-product-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .bz-product-card .price,
  .bz-product-card .price .woocommerce-Price-amount,
  .bz-product-card .price bdi {
    font-size: 0.75rem;
    white-space: normal;
  }

  .bz-product-card__cta {
    width: 100%;
    min-height: 28px;
    padding: 0.35rem 0.45rem !important;
    font-size: 0.6875rem !important;
    white-space: normal;
    line-height: 1.15 !important;
  }
}
/*bz-pad*/







