:root {
  --bnspc-primary: #d71920;
  --bnspc-primary-dark: #b90f15;
  --bnspc-text: #16181d;
  --bnspc-muted: #667085;
  --bnspc-line: #e4e7ec;
  --bnspc-soft: #f4f6f8;
  --bnspc-white: #fff;
  --bnspc-radius: 14px;
  --bnspc-shadow: 0 8px 28px rgba(16, 24, 40, .07);
}

.bnspc-archive-main {
  width: 100%;
  padding: 24px 0 52px;
  background: var(--bnspc-soft);
}

.bnspc-archive-shell {
  width: min(1560px, calc(100% - 40px));
  margin: 0 auto;
}

.bnspc-catalog {
  width: 100%;
  color: var(--bnspc-text);
  font-size: 15px;
  line-height: 1.5;
}

.bnspc-catalog *,
.bnspc-catalog *::before,
.bnspc-catalog *::after {
  box-sizing: border-box;
}

.bnspc-catalog button,
.bnspc-catalog input,
.bnspc-catalog select {
  font: inherit;
}

.bnspc-catalog button {
  cursor: pointer;
}

.bnspc-catalog [hidden] {
  display: none !important;
}

.bnspc-breadcrumb {
  margin: 0 0 14px;
  color: var(--bnspc-muted);
  font-size: 13px;
}

.bnspc-breadcrumb a {
  color: inherit;
}

/* Category hero: WooCommerce category images are often square product photos.
 * Keep square/portrait images compact; only wide artwork behaves like a banner. */
.bnspc-category-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--bnspc-line);
  border-radius: var(--bnspc-radius);
  background: var(--bnspc-white);
}

.bnspc-category-hero.is-no-image {
  display: block;
  padding: 22px 24px;
}

.bnspc-category-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eef1f5;
}

.bnspc-category-hero.is-compact .bnspc-category-media {
  width: 220px;
  height: 178px;
}

.bnspc-category-hero.is-compact .bnspc-category-image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.bnspc-category-hero.is-wide {
  display: block;
  padding: 0;
}

.bnspc-category-hero.is-wide .bnspc-category-media {
  width: 100%;
  height: clamp(190px, 21vw, 320px);
  border-radius: 0;
  background: #fff;
}

.bnspc-category-hero.is-wide .bnspc-category-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bnspc-category-hero.is-wide .bnspc-category-copy {
  padding: 20px 24px 22px;
}

.bnspc-category-copy {
  min-width: 0;
}

.bnspc-category-copy h1 {
  margin: 0 0 7px;
  color: #111318;
  font-size: clamp(26px, 2.1vw, 34px);
  line-height: 1.2;
}

.bnspc-category-intro {
  max-width: 980px;
  color: var(--bnspc-muted);
}

.bnspc-category-intro p:last-child {
  margin-bottom: 0;
}

/* Discovery blocks */
.bnspc-section {
  margin: 16px 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--bnspc-line);
  border-radius: var(--bnspc-radius);
  background: var(--bnspc-white);
}

.bnspc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.bnspc-section-head h2 {
  margin: 0;
  color: #15171a;
  font-size: 21px;
  line-height: 1.25;
}

.bnspc-section-head p {
  margin: 4px 0 0;
  color: var(--bnspc-muted);
  font-size: 13px;
}

.bnspc-horizontal-scroller {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

.bnspc-horizontal-scroller::-webkit-scrollbar {
  display: none;
}

.bnspc-scroll-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.bnspc-scroll-controls[hidden] {
  display: none !important;
}

.bnspc-scroll-button {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bnspc-line);
  border-radius: 50%;
  background: #fff;
  color: #20242b;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .06);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, opacity .18s ease;
}

.bnspc-scroll-button span {
  display: block;
  margin-top: -2px;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}

.bnspc-scroll-button:hover:not(:disabled),
.bnspc-scroll-button:focus-visible:not(:disabled) {
  border-color: var(--bnspc-primary);
  color: var(--bnspc-primary);
  box-shadow: 0 4px 12px rgba(16, 24, 40, .12);
  outline: none;
}

.bnspc-scroll-button:disabled {
  opacity: .32;
  cursor: default;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .bnspc-horizontal-scroller.is-scrollable {
    cursor: grab;
  }

  .bnspc-horizontal-scroller.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
  }

  .bnspc-horizontal-scroller.is-dragging,
  .bnspc-horizontal-scroller.is-dragging * {
    user-select: none;
  }
}

.bnspc-card-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(205px, 225px);
  gap: 12px;
  overflow-x: auto;
  padding: 2px 1px 4px;
  scroll-snap-type: x proximity;
}

.bnspc-entry-card {
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--bnspc-line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-align: left;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

button.bnspc-entry-card {
  width: 100%;
}

.bnspc-entry-card:hover,
.bnspc-entry-card:focus-visible {
  border-color: #c5cad3;
  box-shadow: 0 7px 20px rgba(16, 24, 40, .08);
  transform: translateY(-1px);
  outline: none;
}

.bnspc-entry-image {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f8fa;
}

.bnspc-entry-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bnspc-entry-image.is-placeholder {
  color: #a1a8b3;
  background: linear-gradient(145deg, #f7f8fa, #eef1f5);
}

.bnspc-entry-image.is-placeholder svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bnspc-entry-copy {
  min-width: 0;
}

.bnspc-entry-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: #202228;
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bnspc-entry-card small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 5px;
  color: var(--bnspc-muted);
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bnspc-brand-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 1px 4px;
  scroll-snap-type: x proximity;
}

.bnspc-brand-button {
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--bnspc-line);
  border-radius: 10px;
  background: #fff;
  color: #25282e;
  font-weight: 650;
  white-space: nowrap;
  scroll-snap-align: start;
}

.bnspc-brand-button img {
  width: 54px;
  height: 24px;
  object-fit: contain;
}

.bnspc-brand-button small {
  color: #98a2b3;
  font-size: 11px;
  font-weight: 500;
}

.bnspc-brand-button:hover,
.bnspc-brand-button.is-active {
  border-color: var(--bnspc-brand-color, var(--bnspc-primary));
  color: var(--bnspc-brand-color, var(--bnspc-primary));
  background: #fff8f8;
}

/* Quick filters */

.bnspc-quick-filter-box {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--bnspc-line);
  border-radius: var(--bnspc-radius);
  background: #fff;
}

.bnspc-quick-filter-title {
  margin-bottom: 10px;
  color: #202228;
  font-size: 15px;
}

.bnspc-inline-count:empty,
.bnspc-count-badge:empty { display: none; }

.bnspc-count-badge {
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--bnspc-primary);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.bnspc-promoted {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
  overflow-x: auto;
  margin: 0;
  padding: 1px 1px 4px;
  scroll-snap-type: x proximity;
}

.bnspc-promoted-button,
.bnspc-mobile-action {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #d9dde4;
  border-radius: 9px;
  background: #fff;
  color: #292c32;
  font-weight: 650;
  white-space: nowrap;
  scroll-snap-align: start;
}

.bnspc-promoted-button:hover {
  border-color: var(--bnspc-primary);
  color: var(--bnspc-primary);
}

.bnspc-promoted-button.is-active {
  border-color: var(--bnspc-primary);
  background: #fff3f3;
  color: var(--bnspc-primary);
  box-shadow: inset 0 0 0 1px var(--bnspc-primary);
}

.bnspc-promoted-button.is-all {
  border-color: #202228;
  background: #202228;
  color: #fff;
}

/* Main product region */
.bnspc-shop-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 18px;
  margin-top: 16px;
  align-items: start;
}

.bnspc-results {
  min-width: 0;
}

.bnspc-sidebar.is-sticky {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow: auto;
  scrollbar-width: thin;
}

.bnspc-filter-form {
  overflow: hidden;
  border: 1px solid var(--bnspc-line);
  border-radius: var(--bnspc-radius);
  background: #fff;
}

.bnspc-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--bnspc-line);
}

.bnspc-sidebar-head strong {
  font-size: 16px;
}

.bnspc-sidebar-head button,
.bnspc-clear-group,
.bnspc-see-more,
.bnspc-applied > button {
  border: 0;
  background: none;
  color: var(--bnspc-primary);
  font-weight: 600;
}

.bnspc-filter-group {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--bnspc-line);
}

.bnspc-filter-group:last-of-type {
  border-bottom: 0;
}

.bnspc-filter-group legend {
  width: 100%;
  display: block;
  padding: 0;
}

.bnspc-filter-group legend button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border: 0;
  background: #fff;
  color: #202228;
  text-align: left;
  font-weight: 700;
}

.bnspc-filter-group legend i {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-left: 5px;
  border: 1px solid #98a2b3;
  border-radius: 50%;
  color: #667085;
  font-size: 11px;
  font-style: normal;
}

.bnspc-filter-group legend b {
  transition: transform .18s ease;
}

.bnspc-filter-group.is-open legend b {
  transform: rotate(180deg);
}

.bnspc-filter-body {
  display: none;
  padding: 0 15px 15px;
}

.bnspc-filter-group.is-open .bnspc-filter-body {
  display: block;
}

.bnspc-option-search {
  width: 100%;
  height: 39px;
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid #d9dde4;
  border-radius: 8px;
  background: #fff;
}

.bnspc-options {
  display: grid;
  gap: 2px;
}

.bnspc-option {
  min-height: 37px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: #344054;
}

.bnspc-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--bnspc-primary);
}

.bnspc-option small {
  color: #98a2b3;
  font-size: 11px;
}

.bnspc-option.is-disabled {
  opacity: .42;
}

.bnspc-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bnspc-price-inputs label {
  color: var(--bnspc-muted);
  font-size: 11px;
}

.bnspc-price-inputs input {
  width: 100%;
  height: 39px;
  display: block;
  margin-top: 4px;
  padding: 7px 8px;
  border: 1px solid #d9dde4;
  border-radius: 7px;
}

.bnspc-clear-group {
  margin-top: 8px;
  padding: 4px 0;
  font-size: 11px;
}

.bnspc-see-more {
  padding: 7px 0 1px;
}

.bnspc-fallback-submit {
  width: calc(100% - 30px);
  min-height: 42px;
  margin: 14px 15px;
  border: 0;
  border-radius: 8px;
  background: var(--bnspc-primary);
  color: #fff;
  font-weight: 700;
}

.js .bnspc-fallback-submit {
  display: none;
}

/* Toolbar */
.bnspc-toolbar {
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 13px 14px;
  border: 1px solid var(--bnspc-line);
  border-radius: var(--bnspc-radius);
  background: #fff;
}

.bnspc-toolbar > div {
  display: grid;
  gap: 2px;
}

.bnspc-toolbar > div strong {
  font-size: 15px;
}

.bnspc-toolbar > div span {
  color: var(--bnspc-muted);
  font-size: 12px;
}

.bnspc-search-label {
  position: relative;
  min-width: 0;
}

.bnspc-search-label input {
  width: 100%;
  height: 42px;
  padding: 9px 38px 9px 13px;
  border: 1px solid #d9dde4;
  border-radius: 9px;
  background: #fff;
}

.bnspc-search-label button {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #667085;
  font-size: 20px;
}

.bnspc-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bnspc-muted);
  white-space: nowrap;
}

.bnspc-sort-label select {
  min-width: 185px;
  height: 42px;
  padding: 8px 34px 8px 10px;
  border: 1px solid #d9dde4;
  border-radius: 9px;
  background: #fff;
  color: #292c32;
}

.bnspc-live-status {
  min-height: 0;
  color: var(--bnspc-muted);
  font-size: 12px;
}

.bnspc-applied {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding: 9px 11px;
  border: 1px solid var(--bnspc-line);
  border-radius: 11px;
  background: #fff;
}

.bnspc-applied > strong {
  flex: 0 0 auto;
  font-size: 13px;
}

.bnspc-chip-list {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.bnspc-chip {
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid #f3b7ba;
  border-radius: 999px;
  background: #fff5f5;
  color: #9d161b;
  font-size: 12px;
}

/* Product grid and cards */
.bnspc-product-grid,
.bnspc-skeleton {
  display: grid;
  grid-template-columns: repeat(var(--bnspc-cols-desktop, 5), minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}

.bnspc-product-card {
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bnspc-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .02);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bnspc-product-card:hover {
  border-color: #cdd2da;
  box-shadow: var(--bnspc-shadow);
  transform: translateY(-2px);
}

.bnspc-product-image {
  position: relative;
  width: 100%;
  height: clamp(180px, 13vw, 225px);
  display: grid;
  place-items: center;
  padding: 14px;
  overflow: hidden;
  background: #fff;
}

.bnspc-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform .22s ease;
}

.bnspc-product-card:hover .bnspc-product-image img {
  transform: scale(1.025);
}

.bnspc-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.bnspc-badges em {
  padding: 4px 7px;
  border-radius: 6px;
  background: #202228;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
}

.bnspc-badges .is-sale,
.bnspc-badges .is-flash {
  background: var(--bnspc-primary);
}

.bnspc-badges .is-out {
  background: #151515;
}

.bnspc-badges .is-new,
.bnspc-badges .is-backorder {
  background: #175cd3;
}

.bnspc-product-body {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px;
}

.bnspc-product-body h3 {
  min-height: 42px;
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 8px;
  color: #17191e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bnspc-product-body h3 a {
  color: inherit;
  text-decoration: none;
}

.bnspc-card-spec-area {
  min-height: 56px;
  overflow: hidden;
}

.bnspc-specs {
  max-height: 54px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bnspc-specs li {
  max-width: 100%;
  min-width: 0;
  padding: 4px 7px;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f5f8;
  color: #586174;
  font-size: 10.5px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bnspc-specs li:nth-child(n+4) {
  display: none;
}

.bnspc-card-meta {
  min-height: 127px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bnspc-rating {
  min-height: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f79009;
  font-size: 11px;
}

.bnspc-rating small {
  color: var(--bnspc-muted);
}

.bnspc-rating.is-empty {
  visibility: hidden;
}

.bnspc-price {
  min-height: 45px;
  display: -webkit-box;
  overflow: hidden;
  color: #111318;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bnspc-price del {
  margin-right: 5px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 500;
}

.bnspc-price ins {
  color: #111318;
  font-size: 15px;
  text-decoration: none;
}

.bnspc-promo {
  min-height: 24px;
  display: -webkit-box;
  overflow: hidden;
  padding: 4px 6px;
  border-radius: 6px;
  background: #f7f8fa;
  color: #667085;
  font-size: 10px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.bnspc-promo.is-empty {
  visibility: hidden;
}

.bnspc-flash-mini {
  color: var(--bnspc-primary);
  font-size: 11px;
}

.bnspc-flash-mini i {
  height: 4px;
  display: block;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #fee4e2;
}

.bnspc-flash-mini b {
  height: 100%;
  display: block;
  background: var(--bnspc-primary);
}

.bnspc-stock {
  min-height: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #067647;
  font-size: 11px;
}

.bnspc-stock > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.bnspc-stock.is-outofstock {
  color: #b42318;
}

.bnspc-stock.is-onbackorder {
  color: #b54708;
}




.bnspc-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 231, 236, .9);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #667085;
  font-size: 21px;
  box-shadow: 0 3px 10px rgba(16, 24, 40, .08);
}

.bnspc-wishlist:hover,
.bnspc-wishlist.is-active {
  background: #fff1f1;
  color: var(--bnspc-primary);
}

.bnspc-pagination {
  margin: 22px 0 4px;
  text-align: center;
}

.bnspc-load-more,
.bnspc-primary {
  min-height: 44px;
  padding: 10px 23px;
  border: 0;
  border-radius: 9px;
  background: var(--bnspc-primary);
  color: #fff;
  font-weight: 750;
}

.bnspc-load-more:hover,
.bnspc-primary:hover {
  background: var(--bnspc-primary-dark);
}

.bnspc-primary:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.bnspc-page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.bnspc-page-numbers button {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--bnspc-line);
  border-radius: 8px;
  background: #fff;
}

.bnspc-page-numbers button.is-current {
  border-color: var(--bnspc-primary);
  background: var(--bnspc-primary);
  color: #fff;
}

.bnspc-page-gap {
  padding: 0 3px;
  color: var(--bnspc-muted);
}

.bnspc-empty {
  padding: 42px 20px;
  border: 1px dashed #c9ced6;
  border-radius: var(--bnspc-radius);
  background: #fff;
  text-align: center;
}

.bnspc-empty h3 {
  margin-top: 0;
}

.bnspc-empty div {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.bnspc-empty button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--bnspc-line);
  border-radius: 8px;
  background: #fff;
}

/* Loading */
.bnspc-skeleton-card {
  padding: 10px;
  border: 1px solid var(--bnspc-line);
  border-radius: var(--bnspc-radius);
  background: #fff;
}

.bnspc-skeleton-card i,
.bnspc-skeleton-card b,
.bnspc-skeleton-card span {
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, #f2f4f7 25%, #e5e8ed 37%, #f2f4f7 63%);
  background-size: 400% 100%;
  animation: bnspc-shimmer 1.3s infinite;
}

.bnspc-skeleton-card i {
  aspect-ratio: 1;
}

.bnspc-skeleton-card b {
  height: 34px;
  margin-top: 10px;
}

.bnspc-skeleton-card span {
  height: 18px;
  margin-top: 8px;
}

@keyframes bnspc-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* Mobile actions, drawers and sheets */
.bnspc-mobile-sticky {
  display: none;
}

.bnspc-drawer,
.bnspc-sort-sheet {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.bnspc-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, .5);
}

.bnspc-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, .18);
}

.bnspc-drawer-panel header,
.bnspc-drawer-panel footer {
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--bnspc-line);
  background: #fff;
}

.bnspc-drawer-panel header strong {
  margin-right: auto;
  font-size: 17px;
}

.bnspc-drawer-panel header button {
  border: 0;
  background: none;
}


.bnspc-drawer-panel header > div {
  min-width: 0;
  margin-right: auto;
}

.bnspc-drawer-panel header small {
  display: block;
  margin-top: 2px;
  color: var(--bnspc-muted);
  font-size: 11px;
}

.bnspc-drawer-reset-link {
  color: var(--bnspc-primary);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.bnspc-drawer-panel footer {
  box-shadow: 0 -5px 18px rgba(16, 24, 40, .06);
}

.bnspc-drawer-close {
  font-size: 28px;
}

.bnspc-drawer-content {
  overflow: auto;
  padding-bottom: 100px;
}

.bnspc-drawer-content .bnspc-filter-form {
  border: 0;
  border-radius: 0;
}

.bnspc-drawer-content .bnspc-sidebar-head {
  display: none;
}

.bnspc-drawer-panel footer {
  border-top: 1px solid var(--bnspc-line);
  border-bottom: 0;
}

.bnspc-drawer-panel footer button {
  flex: 1;
}

.bnspc-secondary {
  min-height: 44px;
  border: 1px solid var(--bnspc-line);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.bnspc-sort-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 80vh;
  padding-bottom: max(15px, env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0;
  background: #fff;
}

.bnspc-sort-panel header {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--bnspc-line);
}

.bnspc-sort-panel header button {
  border: 0;
  background: none;
  font-size: 24px;
}

.bnspc-sort-panel [data-sort-options] {
  display: grid;
  padding: 8px 16px;
}

.bnspc-sort-panel [data-sort-options] button {
  min-height: 46px;
  border: 0;
  border-bottom: 1px solid #f0f1f3;
  background: #fff;
  text-align: left;
}

.bnspc-sort-panel [data-sort-options] button.is-active {
  color: var(--bnspc-primary);
  font-weight: 700;
}

.bnspc-modal-open {
  overflow: hidden !important;
}


/* SEO */
.bnspc-seo {
  position: relative;
  max-width: 950px;
  margin: 36px auto 0;
  padding: 26px 28px;
  border: 1px solid var(--bnspc-line);
  border-radius: var(--bnspc-radius);
  background: #fff;
}

.bnspc-seo-toc {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 9px;
  background: var(--bnspc-soft);
}

.bnspc-seo-toc ol {
  margin: 8px 0 0;
  padding-left: 22px;
}

.bnspc-seo-toc .h3 {
  margin-left: 18px;
}

.bnspc-seo-body {
  font-size: 16px;
  line-height: 1.75;
}

.bnspc-seo-toggle {
  display: none;
}

.bnspc-faq {
  margin-top: 28px;
}

.bnspc-faq details {
  padding: 12px 0;
  border-top: 1px solid var(--bnspc-line);
}

.bnspc-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.bnspc-faq details > div {
  padding-top: 8px;
  color: #475467;
}

.bnspc-noscript {
  padding: 12px;
  border: 1px solid #ffe69c;
  background: #fff3cd;
}

@media (max-width: 1280px) {
  .bnspc-archive-shell {
    width: min(100% - 28px, 1380px);
  }

  .bnspc-product-grid,
  .bnspc-skeleton {
    grid-template-columns: repeat(var(--bnspc-cols-laptop, 4), minmax(0, 1fr));
  }

  .bnspc-product-image {
    height: 205px;
  }

  .bnspc-toolbar {
    grid-template-columns: minmax(160px, auto) minmax(230px, 1fr) auto;
  }
}

@media (max-width: 1040px) {
  .bnspc-shop-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 14px;
  }

  .bnspc-product-grid,
  .bnspc-skeleton {
    grid-template-columns: repeat(var(--bnspc-cols-tablet, 3), minmax(0, 1fr));
  }

  .bnspc-toolbar {
    grid-template-columns: 1fr auto;
  }

  .bnspc-toolbar > div {
    grid-row: 1 / 3;
  }

  .bnspc-search-label {
    grid-column: 2;
  }

  .bnspc-sort-label {
    grid-column: 2;
  }
}

@media (min-width: 850px) and (max-width: 1040px) {
  .bnspc-category-hero {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
  }

  .bnspc-category-hero.is-compact .bnspc-category-media {
    width: 170px;
    height: 145px;
  }
}

@media (max-width: 849px) {

  .bnspc-quick-filter-box {
    margin: 10px 0;
    padding: 12px 10px 9px;
    border-radius: 11px;
  }

  .bnspc-quick-filter-title {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .bnspc-promoted {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-right: -10px;
    padding-right: 10px;
    scrollbar-width: none;
  }

  .bnspc-promoted::-webkit-scrollbar { display: none; }

  .bnspc-promoted-button {
    min-height: 38px;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 12px;
  }

  .bnspc-mobile-sticky {
    position: sticky;
    top: 0;
    z-index: 110;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    margin: 0 -10px 10px;
    padding: 0 10px;
    border-top: 1px solid var(--bnspc-line);
    border-bottom: 1px solid var(--bnspc-line);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(9px);
    box-shadow: 0 4px 12px rgba(16, 24, 40, .05);
  }

  .bnspc-mobile-action {
    position: relative;
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 3px;
    border: 0;
    border-right: 1px solid #eceef1;
    border-radius: 0;
    background: transparent;
    color: #4b5563;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
  }

  .bnspc-mobile-action:last-child { border-right: 0; }
  .bnspc-mobile-action.is-active { color: var(--bnspc-primary); background: #fff6f6; }
  .bnspc-mobile-action .bnspc-count-badge { position: absolute; transform: translate(22px, -12px); }

  .bnspc-drawer-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(92vh, 820px);
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -14px 38px rgba(0, 0, 0, .2);
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }

  .bnspc-drawer-panel header {
    border-radius: 18px 18px 0 0;
    padding: 14px 14px 12px;
  }

  .bnspc-drawer-content {
    padding: 0 14px 18px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .bnspc-drawer-content .bnspc-filter-group {
    border-bottom: 1px solid #eceef1;
  }

  .bnspc-drawer-content .bnspc-filter-group legend button {
    min-height: 50px;
    padding: 14px 2px;
    font-size: 14px;
  }

  .bnspc-drawer-content .bnspc-filter-body {
    padding: 0 0 15px;
  }

  .bnspc-drawer-content .bnspc-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .bnspc-drawer-content .bnspc-option {
    min-width: 0;
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 8px 9px;
    border: 1px solid #e1e5e9;
    border-radius: 9px;
    background: #fff;
    text-align: center;
  }

  .bnspc-drawer-content .bnspc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .bnspc-drawer-content .bnspc-option span {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bnspc-drawer-content .bnspc-option small {
    font-size: 10px;
  }

  .bnspc-drawer-content .bnspc-option.is-selected,
  .bnspc-drawer-content .bnspc-option:has(input:checked) {
    border-color: var(--bnspc-primary);
    background: #fff3f3;
    color: var(--bnspc-primary);
    box-shadow: inset 0 0 0 1px var(--bnspc-primary);
  }

  .bnspc-drawer-content .bnspc-price-inputs {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .bnspc-drawer-panel footer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 9px;
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  }

  .bnspc-drawer-panel footer button { width: 100%; min-height: 48px; }

  .bnspc-card-meta { min-height: 104px; }
  .bnspc-wishlist { top: 7px; right: 7px; width: 31px; height: 31px; font-size: 18px; }
  .bnspc-archive-main {
    padding: 12px 0 34px;
    background: #f5f6f8;
  }

  .bnspc-archive-shell {
    width: 100%;
    padding: 0 10px;
  }

  .bnspc-catalog {
    font-size: 13px;
  }

  .bnspc-breadcrumb {
    margin: 2px 2px 10px;
  }

  .bnspc-category-hero {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 12px;
  }

  .bnspc-category-hero.is-no-image {
    padding: 16px;
  }

  .bnspc-category-hero.is-compact .bnspc-category-media {
    width: 92px;
    height: 92px;
    border-radius: 10px;
  }

  .bnspc-category-hero.is-compact .bnspc-category-image {
    padding: 5px;
  }

  .bnspc-category-hero.is-wide {
    display: block;
    padding: 0;
  }

  .bnspc-category-hero.is-wide .bnspc-category-media {
    height: clamp(132px, 42vw, 190px);
  }

  .bnspc-category-hero.is-wide .bnspc-category-copy {
    padding: 14px 16px 16px;
  }

  .bnspc-category-copy h1 {
    margin-bottom: 4px;
    font-size: 23px;
  }

  .bnspc-category-intro {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .bnspc-category-intro p {
    margin: 0;
  }

  .bnspc-section {
    margin: 10px 0;
    padding: 14px;
    border-radius: 12px;
  }

  .bnspc-section-head {
    margin-bottom: 11px;
  }

  .bnspc-section-head h2 {
    font-size: 19px;
  }

  .bnspc-section-head p {
    font-size: 12px;
  }

  .bnspc-card-scroller {
    grid-auto-columns: calc((100vw - 48px) / 2.28);
    gap: 9px;
    margin-right: -14px;
    padding-right: 14px;
  }

  .bnspc-entry-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    text-align: center;
  }

  .bnspc-entry-image {
    width: 60px;
    height: 60px;
  }

  .bnspc-entry-image.is-placeholder svg {
    width: 32px;
    height: 32px;
  }

  .bnspc-entry-card strong {
    font-size: 12.5px;
  }

  .bnspc-entry-card small {
    margin-top: 3px;
    font-size: 10.5px;
    -webkit-line-clamp: 1;
  }

  .bnspc-brand-list {
    margin-right: -14px;
    padding-right: 14px;
  }

  .bnspc-brand-button {
    min-width: 102px;
    min-height: 44px;
    padding: 8px 11px;
  }

  .bnspc-brand-button small {
    display: none;
  }


  .bnspc-shop-layout {
    display: block;
    margin-top: 8px;
  }

  .bnspc-sidebar {
    display: none;
  }




  .bnspc-toolbar {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px;
  }

  .bnspc-toolbar > div {
    grid-row: auto;
  }

  .bnspc-search-label {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .bnspc-sort-label {
    display: none;
  }

  .bnspc-applied {
    align-items: flex-start;
    overflow: hidden;
  }

  .bnspc-applied > strong {
    padding-top: 8px;
    white-space: nowrap;
  }

  .bnspc-chip-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .bnspc-chip-list::-webkit-scrollbar {
    display: none;
  }

  .bnspc-chip {
    min-height: 38px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .bnspc-product-grid,
  .bnspc-skeleton {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .bnspc-product-card {
    border-radius: 11px;
  }

  .bnspc-product-image {
    height: clamp(142px, 43vw, 190px);
    padding: 8px;
  }

  .bnspc-product-body {
    padding: 9px;
  }

  .bnspc-product-body h3 {
    min-height: 38px;
    margin-bottom: 6px;
    font-size: 12.5px;
    line-height: 1.48;
  }

  .bnspc-card-spec-area {
    min-height: 45px;
  }

  .bnspc-specs {
    max-height: 43px;
    gap: 3px;
  }

  .bnspc-specs li {
    max-width: 100%;
    padding: 3px 5px;
    font-size: 9px;
  }

  .bnspc-specs li:nth-child(n+3) {
    display: none;
  }

  .bnspc-card-meta {
    min-height: 104px;
    gap: 5px;
  }

  .bnspc-rating {
    font-size: 10px;
  }

  .bnspc-price {
    min-height: 43px;
    font-size: 12px;
  }

  .bnspc-price del {
    display: block;
    margin: 0;
    font-size: 10px;
  }

  .bnspc-price ins {
    font-size: 13px;
  }

  .bnspc-promo {
    min-height: 22px;
    padding: 3px 5px;
    font-size: 9px;
  }

  .bnspc-stock {
    font-size: 10px;
  }





  .bnspc-badges {
    top: 7px;
    left: 7px;
  }

  .bnspc-badges em {
    padding: 3px 6px;
    font-size: 9px;
  }













  .bnspc-seo {
    max-height: 520px;
    overflow: hidden;
    margin-top: 24px;
    padding: 18px 15px;
  }

  .bnspc-seo::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100px;
    background: linear-gradient(transparent, #fff);
  }

  .bnspc-seo.is-open {
    max-height: none;
  }

  .bnspc-seo.is-open::after {
    display: none;
  }

  .bnspc-seo-toggle {
    position: relative;
    z-index: 2;
    min-height: 42px;
    display: block;
    margin: 14px auto 0;
    padding: 8px 16px;
    border: 1px solid var(--bnspc-line);
    border-radius: 8px;
    background: #fff;
  }

  .bnspc-seo.is-open .bnspc-seo-toggle {
    position: static;
  }
}

@media (max-width: 390px) {
  .bnspc-card-scroller {
    grid-auto-columns: calc((100vw - 44px) / 2.18);
  }

  .bnspc-product-grid,
  .bnspc-skeleton {
    gap: 6px;
  }

  .bnspc-product-image {
    height: 145px;
  }

  .bnspc-product-body {
    padding: 8px;
  }


}

@media (min-width: 783px) {
  body.admin-bar .bnspc-sidebar.is-sticky { top: 124px; }
}

@media (max-width: 782px) {
  body.admin-bar .bnspc-mobile-sticky { top: 46px; }
}

/* 1.0.5: archive cleanup and clearer filter states */
body.bnspc-archive-active .shop-page-title,
body.bnspc-archive-active .category-page-title,
body.bnspc-archive-active .page-title.shop-page-title,
body.bnspc-archive-active .category-filter-row,
body.bnspc-archive-active .shop-page-title + .category-filtering {
  display: none !important;
}

.bnspc-filter-title-text {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bnspc-group-selected-count {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff0f0;
  color: var(--bnspc-primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.bnspc-price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.bnspc-price-preset {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #dde1e7;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 11px;
  font-weight: 650;
}

.bnspc-price-preset:hover,
.bnspc-price-preset.is-active {
  border-color: var(--bnspc-primary);
  background: #fff3f3;
  color: var(--bnspc-primary);
}

.bnspc-apply-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.bnspc-apply-filter strong {
  font-size: inherit;
}

.bnspc-sheet-handle {
  width: 42px;
  height: 4px;
  display: block;
  margin: 8px auto 0;
  border-radius: 999px;
  background: #d0d5dd;
}

.bnspc-mobile-action svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bnspc-need-card.is-active {
  border-color: var(--bnspc-primary);
  background: #fff7f7;
  box-shadow: inset 0 0 0 1px var(--bnspc-primary);
}

@media (max-width: 849px) {
  .bnspc-archive-main {
    padding-top: 8px;
  }

  .bnspc-breadcrumb {
    margin: 0 4px 8px;
    font-size: 12px;
  }

  .bnspc-breadcrumb .woocommerce-breadcrumb {
    margin: 0;
  }

  .bnspc-category-hero {
    margin-bottom: 10px;
  }

  .bnspc-category-hero .bnspc-category-intro {
    font-size: 12px;
    line-height: 1.55;
  }

  .bnspc-mobile-sticky {
    top: var(--flatsome-scroll-padding-top, 0px);
    z-index: 120;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    margin: 0 0 10px;
    padding: 7px;
    border: 1px solid #e3e6eb;
    border-radius: 13px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 7px 20px rgba(16, 24, 40, .08);
  }

  .bnspc-mobile-action {
    min-height: 58px;
    flex-direction: column;
    gap: 3px;
    padding: 6px 2px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #344054;
    font-size: 10.5px;
    line-height: 1.2;
  }

  .bnspc-mobile-action:last-child {
    border-right: 1px solid transparent;
  }

  .bnspc-mobile-action:hover,
  .bnspc-mobile-action:focus-visible,
  .bnspc-mobile-action.is-active {
    border-color: #f2b9bc;
    background: #fff3f3;
    color: var(--bnspc-primary);
    outline: none;
  }

  .bnspc-mobile-action .bnspc-count-badge {
    position: absolute;
    top: 3px;
    right: 8px;
    transform: none;
  }

  .bnspc-section {
    margin: 10px 0;
    padding: 14px;
    border-radius: 13px;
  }

  .bnspc-section-head h2 {
    font-size: 18px;
  }

  .bnspc-section-head p {
    margin-top: 2px;
  }

  .bnspc-quick-filter-box {
    margin: 10px 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .bnspc-quick-filter-title {
    display: none;
  }

  .bnspc-promoted {
    margin-right: -10px;
    padding: 1px 10px 4px 0;
  }

  .bnspc-promoted-button {
    min-height: 38px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(16,24,40,.04);
  }

  .bnspc-promoted-button.is-all {
    border-color: #1f2937;
    background: #1f2937;
  }

  .bnspc-drawer-panel {
    height: min(92dvh, 840px);
  }

  .bnspc-drawer-panel header {
    min-height: 66px;
  }

  .bnspc-drawer-panel header strong {
    font-size: 18px;
  }

  .bnspc-drawer-content {
    padding: 0 14px 20px;
  }

  .bnspc-drawer-content .bnspc-filter-group {
    scroll-margin-top: 12px;
  }

  .bnspc-drawer-content .bnspc-filter-group legend button {
    min-height: 54px;
    padding: 15px 1px;
  }

  .bnspc-drawer-content .bnspc-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .bnspc-drawer-content .bnspc-option {
    position: relative;
    min-height: 46px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 9px;
    border-radius: 10px;
    text-align: left;
  }

  .bnspc-drawer-content .bnspc-option span {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow: visible;
    white-space: normal;
    line-height: 1.25;
  }

  .bnspc-drawer-content .bnspc-option span::before {
    content: "";
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: inline-grid;
    place-items: center;
    border: 1.5px solid #c4cbd4;
    border-radius: 5px;
    background: #fff;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
  }

  .bnspc-drawer-content .bnspc-option.is-selected span::before,
  .bnspc-drawer-content .bnspc-option:has(input:checked) span::before {
    content: "✓";
    border-color: var(--bnspc-primary);
    background: var(--bnspc-primary);
  }

  .bnspc-drawer-content .bnspc-option.is-selected,
  .bnspc-drawer-content .bnspc-option:has(input:checked) {
    border-color: var(--bnspc-primary);
    background: #fff6f6;
    color: #991b1b;
    box-shadow: none;
  }

  .bnspc-drawer-content .bnspc-option.is-disabled {
    opacity: .42;
  }

  .bnspc-drawer-content .bnspc-option-search {
    height: 43px;
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .bnspc-drawer-content .bnspc-price-presets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .bnspc-drawer-content .bnspc-price-preset {
    min-height: 42px;
    border-radius: 10px;
    font-size: 12px;
  }

  .bnspc-drawer-content .bnspc-price-inputs label span {
    display: block;
    margin-bottom: 5px;
    color: #475467;
    font-size: 11px;
    font-weight: 650;
  }

  .bnspc-drawer-content .bnspc-price-inputs input {
    height: 44px;
    border-radius: 10px;
    font-size: 13px;
  }

  .bnspc-drawer-content .bnspc-clear-group {
    min-height: 34px;
    margin-top: 9px;
    padding: 4px 0;
  }

  .bnspc-drawer-panel footer {
    gap: 9px;
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  }

  .bnspc-drawer-panel footer .bnspc-secondary {
    color: #344054;
  }

  .bnspc-sort-panel [data-sort-options] button {
    position: relative;
    padding-right: 34px;
  }

  .bnspc-sort-panel [data-sort-options] button.is-active::after {
    content: "✓";
    position: absolute;
    right: 5px;
    color: var(--bnspc-primary);
  }

  .bnspc-toolbar {
    margin-top: 2px;
    border-radius: 12px;
  }
}

@media (max-width: 390px) {
  .bnspc-mobile-action {
    font-size: 9.8px;
  }

  .bnspc-mobile-action svg {
    width: 18px;
    height: 18px;
  }

  .bnspc-drawer-content .bnspc-options {
    gap: 7px;
  }
}

.bnspc-option.is-selected {
  color: #9f171c;
  font-weight: 650;
}

.bnspc-clear-group:not([hidden]) {
  display: block;
}

@media (max-width: 849px) {
  .bnspc-promoted-button.is-all {
    display: none;
  }
}

body.bnspc-archive-active .category-filtering,
body.bnspc-archive-active .filter-button,
body.bnspc-archive-active .woocommerce-ordering,
body.bnspc-archive-active .woocommerce-result-count {
  display: none !important;
}


/* 1.0.8: refine left filter column and category image background */
.bnspc-sidebar-head strong {
  font-size: 15px;
  line-height: 1.35;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.bnspc-sidebar-head button,
.bnspc-clear-group,
.bnspc-see-more,
.bnspc-applied > button {
  font-size: 12px;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.bnspc-sidebar-head button {
  white-space: normal;
  text-align: right;
}

.bnspc-filter-group legend button {
  min-height: 44px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.bnspc-filter-title-text {
  font-size: 14px;
  line-height: 1.35;
}

.bnspc-option {
  min-height: 35px;
  font-size: 13px;
}

.bnspc-option span,
.bnspc-option small,
.bnspc-see-more,
.bnspc-clear-group,
.bnspc-group-selected-count {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.bnspc-category-media,
.bnspc-category-hero.is-compact .bnspc-category-media,
.bnspc-category-hero.is-wide .bnspc-category-media {
  background: #fff;
}

@media (max-width: 849px) {
  .bnspc-category-hero.is-compact .bnspc-category-media {
    border: 1px solid #edf0f4;
  }
}

/* 1.0.8: compact desktop filters, clean category media and legacy captions. */
.bnspc-category-hero.is-compact .bnspc-category-media {
  background: #fff;
}

@media (min-width: 850px) {
  .bnspc-shop-layout {
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 16px;
  }

  .bnspc-sidebar .bnspc-filter-form,
  .bnspc-sidebar .bnspc-filter-form button,
  .bnspc-sidebar .bnspc-filter-form input,
  .bnspc-sidebar .bnspc-filter-form label,
  .bnspc-sidebar .bnspc-filter-form legend,
  .bnspc-sidebar .bnspc-filter-form span,
  .bnspc-sidebar .bnspc-filter-form strong,
  .bnspc-sidebar .bnspc-filter-form small {
    text-transform: none !important;
    letter-spacing: normal !important;
  }

  .bnspc-sidebar-head {
    gap: 6px;
    padding: 12px 13px;
  }

  .bnspc-sidebar-head strong {
    min-width: 0;
    color: #202228;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    white-space: nowrap;
  }

  .bnspc-sidebar-head button {
    flex: 0 0 auto;
    padding: 2px 0;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }

  .bnspc-sidebar .bnspc-filter-group legend button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
  }

  .bnspc-sidebar .bnspc-filter-title-text {
    gap: 5px;
  }

  .bnspc-sidebar .bnspc-filter-group legend i {
    width: 16px;
    height: 16px;
    margin-left: 3px;
    font-size: 10px;
  }

  .bnspc-sidebar .bnspc-group-selected-count {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
  }

  .bnspc-sidebar .bnspc-filter-body {
    padding: 0 12px 12px;
  }

  .bnspc-sidebar .bnspc-option-search {
    height: 36px;
    margin-bottom: 7px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .bnspc-sidebar .bnspc-options {
    gap: 1px;
  }

  .bnspc-sidebar .bnspc-option {
    min-height: 32px;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 6px;
    font-size: 12.5px;
    line-height: 1.25;
  }

  .bnspc-sidebar .bnspc-option input {
    width: 15px;
    height: 15px;
  }

  .bnspc-sidebar .bnspc-option small {
    font-size: 10px;
  }

  .bnspc-sidebar .bnspc-price-presets {
    gap: 5px;
    margin-bottom: 9px;
  }

  .bnspc-sidebar .bnspc-price-preset {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 10.5px;
  }

  .bnspc-sidebar .bnspc-price-inputs {
    gap: 6px;
  }

  .bnspc-sidebar .bnspc-price-inputs label {
    font-size: 10.5px;
  }

  .bnspc-sidebar .bnspc-price-inputs input {
    height: 36px;
    padding: 6px 7px;
    font-size: 12px;
  }

  .bnspc-sidebar .bnspc-clear-group,
  .bnspc-sidebar .bnspc-see-more {
    font-size: 11px;
    font-weight: 600;
  }

  .bnspc-sidebar .bnspc-fallback-submit {
    min-height: 38px;
    font-size: 12.5px;
  }
}

@media (min-width: 850px) and (max-width: 1040px) {
  .bnspc-shop-layout {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 12px;
  }
}

/* Flatsome may uppercase buttons globally; keep the catalog controls natural. */
.bnspc-drawer-panel button,
.bnspc-sort-panel button,
.bnspc-mobile-action,
.bnspc-promoted-button {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Responsive classic-editor captions and category SEO media. */
.bnspc-seo-body img,
.bnspc-seo-body video,
.bnspc-seo-body iframe {
  max-width: 100%;
}

.bnspc-seo-body img {
  height: auto;
}

.bnspc-seo-body .wp-caption,
.bnspc-seo-body figure,
.bnspc-seo-body .wp-block-image {
  width: auto !important;
  max-width: 100% !important;
  margin: 22px auto !important;
  background: #fff;
  text-align: center;
}

.bnspc-seo-body .wp-caption img,
.bnspc-seo-body figure img,
.bnspc-seo-body .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto;
}

.bnspc-seo-body .wp-caption-text,
.bnspc-seo-body figcaption {
  margin: 8px auto 0;
  padding: 0 8px;
  color: #667085;
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
  text-align: center;
}

.bnspc-seo-body .aligncenter {
  display: block;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 849px) {
  .bnspc-category-hero.is-compact .bnspc-category-media {
    background: #fff;
  }

  .bnspc-seo-body .wp-caption,
  .bnspc-seo-body figure,
  .bnspc-seo-body .wp-block-image {
    margin: 16px auto !important;
  }

  .bnspc-seo-body .wp-caption-text,
  .bnspc-seo-body figcaption {
    font-size: 12px;
  }
}

.bnspc-category-hero.is-compact .bnspc-category-image {
  background: #fff;
}

@media (max-width: 849px) {
  .bnspc-scroll-controls {
    display: none !important;
  }
}

/* v1.0.11: keep desktop category cards clickable while supporting mouse-drag scrolling. */
.bnspc-horizontal-scroller .bnspc-entry-card,
.bnspc-horizontal-scroller .bnspc-entry-card * {
  -webkit-user-drag: none;
}

.bnspc-horizontal-scroller .bnspc-entry-card {
  pointer-events: auto;
}
