.bc-product-category-archive {
  width: min(100% - 32px, 1440px);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 58px) 0 clamp(44px, 6vw, 86px);
}

.bc-product-category-archive__header {
  margin: 0 0 clamp(22px, 3.2vw, 42px);
  text-align: center;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: opacity, transform;
}

.bc-product-category-archive__header.is-in-view,
.bc-product-category-archive__header.is-animating-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.bc-product-category-archive__header.is-out-of-view,
.bc-product-category-archive__header.is-animating-out {
  opacity: 0;
  transform: translate3d(-34px, 0, 0);
  pointer-events: none;
}

.bc-product-category-archive__header.is-animating-in {
  animation: bcProductCategoryHeaderIn 760ms cubic-bezier(.22, 1, .36, 1) both;
}

.bc-product-category-archive__header.is-animating-in .bc-product-category-archive__title::after {
  animation: bcProductCategoryUnderlineIn 720ms cubic-bezier(.22, 1, .36, 1) 120ms both;
}

.bc-product-category-archive__header.is-animating-out {
  animation: bcProductCategoryHeaderOut 520ms cubic-bezier(.55, .06, .68, .19) both;
}

.bc-product-category-archive__header.is-animating-out .bc-product-category-archive__title::after {
  animation: bcProductCategoryUnderlineOut 420ms cubic-bezier(.55, .06, .68, .19) both;
}

.bc-product-category-archive__title {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 3px;
  color: #050505;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 3vw, 46px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  opacity: 0;
  transform: translate3d(-34px, 0, 0);
  animation: bcProductCategoryTitleIn 760ms cubic-bezier(.22, 1, .36, 1) 120ms forwards;
}

.bc-product-category-archive__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #ffbb3a;
  transform: scaleX(0);
  transform-origin: left center;
  animation: bcProductCategoryUnderlineIn 720ms cubic-bezier(.22, 1, .36, 1) 620ms forwards;
}

.bc-product-category-archive__description {
  max-width: 780px;
  margin-top: 16px;
  color: #383838;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  opacity: 0;
  transform: translate3d(-18px, 0, 0);
  animation: bcProductCategoryFadeIn 620ms ease 420ms forwards;
}

.bc-product-category-archive__description > *:first-child {
  margin-top: 0;
}

.bc-product-category-archive__description > *:last-child {
  margin-bottom: 0;
}

.bc-product-category-archive__grid-wrap {
  width: 100%;
}

.bc-product-category-archive__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: -8px 0 18px;
}

.bc-product-category-filter-toggle {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: auto;
  max-width: none;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #050505;
  font: 900 13px/1 Inter, Arial, Helvetica, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  box-shadow: none;
  text-shadow: none;
  transition: opacity 160ms ease;
}

.bc-product-category-filter-toggle:hover,
.bc-product-category-filter-toggle:focus-visible {
  background: transparent;
  transform: none;
  box-shadow: none;
  opacity: .72;
  outline: none;
}

.bc-product-category-filter-toggle i {
  display: none;
}

.bc-product-category-filter-toggle__icon {
  display: none;
}

.bc-product-category-filter-clear {
  color: #050505;
  font: 900 13px/1 Inter, Arial, Helvetica, sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 160ms ease;
}

.bc-product-category-filter-clear:hover,
.bc-product-category-filter-clear:focus-visible {
  opacity: .72;
  outline: none;
}

.bc-product-category-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 99980;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.bc-product-category-filter-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bc-product-category-filter-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 99990;
  width: min(92vw, 390px);
  max-width: 100%;
  visibility: hidden;
  pointer-events: none;
}

.bc-product-category-filter-drawer__panel {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  color: #050505;
  border-right: 1px solid rgba(0,0,0,.12);
  box-shadow: 16px 0 38px rgba(0,0,0,.2);
  transform: translate3d(-104%, 0, 0);
  transition: transform 280ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: auto;
  outline: none;
}

.bc-product-category-filter-drawer.is-active,
body.bc-category-filter-open .bc-product-category-filter-drawer {
  visibility: visible;
  pointer-events: auto;
}

.bc-product-category-filter-drawer.is-active .bc-product-category-filter-drawer__panel,
body.bc-category-filter-open .bc-product-category-filter-drawer__panel {
  transform: translate3d(0, 0, 0);
}

.bc-product-category-filter-drawer__head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  background: #ffbb3a;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.bc-product-category-filter-drawer__head h2 {
  margin: 0;
  color: #050505;
  font: 900 20px/1 Inter, Arial, Helvetica, sans-serif;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.bc-product-category-filter-drawer__close {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  border: 1.5px solid #050505;
  border-radius: 999px;
  background: #fff;
  color: #050505;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.bc-product-category-filter-form {
  padding: 18px;
}

.bc-product-category-filter-group {
  padding: 0 0 20px;
  margin: 0 0 20px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.bc-product-category-filter-group h3 {
  margin: 0 0 13px;
  color: #050505;
  font: 900 15px/1.15 Inter, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.bc-product-category-filter-radios {
  display: grid;
  gap: 10px;
}

.bc-product-category-filter-radios label {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  background: #f8f8f8;
  cursor: pointer;
}

.bc-product-category-filter-radios input {
  width: 17px;
  height: 17px;
  accent-color: #ffbb3a;
}

.bc-product-category-filter-radios span {
  font: 800 13px/1.25 Inter, Arial, Helvetica, sans-serif;
  color: #111;
}

.bc-product-category-filter-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bc-product-category-filter-price label {
  display: grid;
  gap: 7px;
}

.bc-product-category-filter-price span {
  font: 800 12px/1 Inter, Arial, Helvetica, sans-serif;
  color: #333;
  text-transform: uppercase;
}

.bc-product-category-filter-price input {
  width: 100%;
  min-height: 43px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: #050505;
  font: 800 14px/1 Inter, Arial, Helvetica, sans-serif;
  outline: none;
}

.bc-product-category-filter-price input:focus {
  border-color: #050505;
  box-shadow: 0 0 0 3px rgba(255,187,58,.28);
}

.bc-product-category-filter-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 10px;
  padding: 14px 0 2px;
  background: #fff;
}

.bc-product-category-filter-actions__reset,
.bc-product-category-filter-actions__apply {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #050505;
  border-radius: 999px;
  font: 900 13px/1 Inter, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
}

.bc-product-category-filter-actions__reset {
  background: #fff;
  color: #050505;
}

.bc-product-category-filter-actions__apply {
  background: #ffbb3a;
  color: #050505;
}

body.bc-category-filter-open {
  overflow: hidden;
}

.bc-product-category-archive__missing-grid {
  padding: 18px 20px;
  border: 1px solid #ffbb3a;
  border-radius: 12px;
  background: rgba(255, 187, 58, 0.12);
  color: #111;
  font-weight: 700;
}

@keyframes bcProductCategoryTitleIn {
  from {
    opacity: 0;
    transform: translate3d(-34px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bcProductCategoryUnderlineIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes bcProductCategoryHeaderIn {
  from {
    opacity: 0;
    transform: translate3d(-34px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bcProductCategoryHeaderOut {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-34px, 0, 0);
  }
}

@keyframes bcProductCategoryUnderlineOut {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@keyframes bcProductCategoryFadeIn {
  from {
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


@media (max-width: 767px) {
  .bc-product-category-archive {
    width: 100%;
    max-width: 100%;
    padding: 22px 10px clamp(44px, 6vw, 86px);
    overflow-x: hidden;
  }

  .bc-product-category-archive__toolbar {
    justify-content: flex-end;
    margin: -4px 0 18px;
  }

  .bc-product-category-filter-toggle {
    width: auto;
    min-height: 0;
    padding: 0;
    font-size: 13px;
  }

  .bc-product-category-archive__header {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    text-align: center;
  }

  .bc-product-category-archive__title {
    max-width: calc(100vw - 20px);
    padding-bottom: 1px;
    font-size: clamp(18px, 5.85vw, 24px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.014em;
    white-space: nowrap;
    transform: translate3d(-18px, 0, 0);
  }

  .bc-product-category-archive__title::after {
    bottom: -2px;
    height: 7px;
  }
}

@media (max-width: 390px) {
  .bc-product-category-archive {
    padding-inline: 9px;
  }

  .bc-product-category-archive__title {
    max-width: calc(100vw - 18px);
    font-size: clamp(17px, 5.55vw, 22px);
    letter-spacing: -0.016em;
  }
}

@media (max-width: 340px) {
  .bc-product-category-archive {
    padding-inline: 8px;
  }

  .bc-product-category-archive__title {
    max-width: calc(100vw - 16px);
    font-size: clamp(15px, 5.35vw, 18px);
    letter-spacing: -0.01em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-product-category-archive__header,
  .bc-product-category-archive__header.is-in-view,
  .bc-product-category-archive__header.is-out-of-view,
  .bc-product-category-archive__header.is-animating-in,
  .bc-product-category-archive__header.is-animating-out,
  .bc-product-category-archive__header.is-animating-in .bc-product-category-archive__title::after,
  .bc-product-category-archive__header.is-animating-out .bc-product-category-archive__title::after,
  .bc-product-category-archive__title,
  .bc-product-category-archive__title::after,
  .bc-product-category-archive__description {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }

  .bc-product-category-archive__title::after {
    transform: scaleX(1);
  }
}


.bc-product-category-native-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.bc-product-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(146, 214, 58, .45);
  border-radius: 18px;
  background: #fff;
  color: #050505;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.bc-product-category-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f7f7;
  text-decoration: none;
}

.bc-product-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bc-product-category-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-height: 24px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e91e63;
  color: #fff;
  font: 900 11px/1 Inter, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.bc-product-category-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 15px 14px 16px;
  text-align: center;
}

.bc-product-category-card__title {
  margin: 0;
  color: #050505;
  font: 900 clamp(13px, 1.2vw, 16px)/1.25 Inter, Arial, Helvetica, sans-serif;
  letter-spacing: -.015em;
}

.bc-product-category-card__title a {
  color: inherit;
  text-decoration: none;
}

.bc-product-category-card__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 18px;
  font-size: 12px;
}

.bc-product-category-card__rating .star-rating {
  margin: 0;
  float: none;
}

.bc-product-category-card__price {
  color: #050505;
  font: 800 14px/1.2 Inter, Arial, Helvetica, sans-serif;
}

.bc-product-category-card__price del {
  color: #e85e70;
  opacity: 1;
  margin-right: 6px;
}

.bc-product-category-card__button {
  margin-top: auto;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #050505;
  border-radius: 999px;
  background: #ffbb3a;
  color: #050505 !important;
  font: 900 13px/1 Inter, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-decoration: none !important;
  letter-spacing: .02em;
}

.bc-product-category-empty {
  width: min(100%, 760px);
  margin: 20px auto 0;
  padding: 28px 22px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.bc-product-category-empty h2 {
  margin: 0 0 8px;
  color: #050505;
  font: 900 24px/1.1 Inter, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.bc-product-category-empty p {
  margin: 0;
  color: #555;
  font: 600 15px/1.5 Inter, Arial, Helvetica, sans-serif;
}

.bc-product-category-pagination {
  margin-top: 28px;
  text-align: center;
}

.bc-product-category-pagination ul {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-product-category-pagination a,
.bc-product-category-pagination span {
  min-width: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  color: #050505;
  background: #fff;
  font: 900 13px/1 Inter, Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.bc-product-category-pagination .current {
  background: #ffbb3a;
  border-color: #050505;
}

@media (max-width: 960px) {
  .bc-product-category-native-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bc-product-category-native-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .bc-product-category-card {
    border-radius: 16px;
  }

  .bc-product-category-card__body {
    padding: 13px 10px 14px;
  }

  .bc-product-category-card__title {
    font-size: 13px;
  }

  .bc-product-category-card__button {
    min-height: 39px;
    font-size: 12px;
  }
}


/* v1.18.2 tighter/thicker heading underline */
.bc-product-category-archive__title {
  padding-bottom: 2px !important;
}

.bc-product-category-archive__title::after {
  bottom: -2px !important;
  height: 9px !important;
}


/* ==========================================================================
   Sticky Sub-Category / Catalog Navigation Bar (2026)
   ========================================================================== */

.bc-subcategory-bar {
	position: sticky;
	top: var(--bc-flower-admin-offset, 0px);
	z-index: 90;
	width: 100%;
	margin: 14px 0 clamp(24px, 3vw, 40px);
	padding: 0;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
	transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.admin-bar .bc-subcategory-bar {
	--bc-flower-admin-offset: 32px;
}

.bc-subcategory-bar__inner {
	width: min(calc(100% - 24px), 1200px);
	margin: 0 auto;
	padding: 10px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.bc-subcategory-bar__inner::-webkit-scrollbar {
	display: none;
}

.bc-subcategory-bar__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 38px;
	padding: 8px 18px;
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: 999px;
	background: #f8fafc;
	color: #1e293b !important;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	font-size: 12.5px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-decoration: none !important;
	text-transform: uppercase;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all .22s cubic-bezier(.16, 1, .3, 1);
	cursor: pointer;
	user-select: none;
}

.bc-subcategory-bar__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #22c55e;
	transition: all .2s ease;
	opacity: 0.75;
}

.bc-subcategory-bar__button:hover,
.bc-subcategory-bar__button:focus-visible {
	background: #111827;
	border-color: #111827;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}

.bc-subcategory-bar__button:hover .bc-subcategory-bar__dot,
.bc-subcategory-bar__button:focus-visible .bc-subcategory-bar__dot {
	background: #4ade80;
	opacity: 1;
	transform: scale(1.25);
}

.bc-subcategory-bar__button.is-active {
	background: #000000 !important;
	border-color: #000000 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
	transform: translateY(0);
}

.bc-subcategory-bar__button.is-active .bc-subcategory-bar__dot {
	background: #22c55e !important;
	box-shadow: 0 0 6px rgba(34, 197, 94, 0.9);
	opacity: 1 !important;
	transform: scale(1.2);
}

@media (max-width: 900px) {
	.bc-subcategory-bar__inner {
		justify-content: flex-start;
		padding: 8px 16px;
		gap: 6px;
	}
	.bc-subcategory-bar__button {
		padding: 7px 14px;
		font-size: 12px;
		min-height: 34px;
	}
}
