/* =========================================================
   BeHome / InHome — Premium Experience Layer
   Mega menu · Mobile nav · Rails · Filters · Buy box · Gallery
   ========================================================= */

/* ----- Mega Menu (desktop) ----- */
.bh-mega-nav {
  position: relative;
  flex: 1;
  min-width: 0;
}
.bh-mega-nav__list {
  gap: 2px;
  flex-wrap: wrap;
}
.bh-mega-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: #1F2937;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.bh-mega-nav__trigger:hover,
.bh-mega-nav__item--categories.is-open .bh-mega-nav__trigger {
  background: rgba(105, 194, 231, 0.06);
  color: #69C2E7;
}
.bh-mega-nav__caret {
  font-size: 0.75rem;
  opacity: 0.65;
  transition: transform 0.2s ease;
}
.bh-mega-nav__item--categories.is-open .bh-mega-nav__caret {
  transform: rotate(180deg);
}
.bh-mega-nav__link {
  display: block;
  padding: 12px 12px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155 !important;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.bh-mega-nav__link:hover {
  background: rgba(105, 194, 231, 0.05);
  color: #69C2E7 !important;
}
.bh-mega-nav__link--accent {
  color: #69C2E7 !important;
}

.bh-mega-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: min(1080px, calc(100vw - 40px));
  z-index: 1050;
  padding-top: 8px;
}
.bh-mega-panel[hidden] { display: none !important; }
.bh-mega-panel__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 380px;
  max-height: min(70vh, 560px);
  background: #fff;
  border: 1px solid #D7ECF6;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}
.bh-mega-panel__left {
  background: #f8fafc;
  border-right: 1px solid #D7ECF6;
  overflow-y: auto;
  padding: 10px 8px;
}
.bh-mega-cat {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: #1F2937;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none !important;
}
.bh-mega-cat:hover,
.bh-mega-cat.is-active {
  background: #fff;
  color: #69C2E7;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.bh-mega-cat__meta {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}
.bh-mega-cat--collections .bh-mega-cat__name {
  color: #69C2E7;
}
.bh-mega-panel__right {
  overflow-y: auto;
  padding: 18px 20px 20px;
}
.bh-mega-content[hidden] { display: none !important; }
.bh-mega-content__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.bh-mega-content__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
  color: #1F2937;
}
.bh-mega-shopall {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #69C2E7 !important;
  text-decoration: none !important;
}
.bh-mega-section-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.bh-mega-children__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}
@media (min-width: 1100px) {
  .bh-mega-children__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.bh-mega-children__list a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 550;
  border-bottom: 1px solid transparent;
}
.bh-mega-children__list a:hover {
  color: #69C2E7 !important;
}
.bh-mega-children__list small {
  color: #94a3b8;
  font-size: 0.75rem;
}
.bh-mega-featured-cols {
  margin-bottom: 16px;
}
.bh-mega-featured-cols__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bh-mega-col-chip {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(105, 194, 231, 0.06);
  color: #69C2E7 !important;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none !important;
}
.bh-mega-col-chip:hover {
  background: rgba(105, 194, 231, 0.12);
}
.bh-mega-popular__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bh-mega-pop-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid #D7ECF6;
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bh-mega-pop-card:hover {
  border-color: rgba(105, 194, 231, 0.25);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.bh-mega-pop-card__img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
  flex-shrink: 0;
}
.bh-mega-pop-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bh-mega-pop-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}
.bh-mega-pop-card__price {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  font-weight: 750;
  color: #69C2E7;
}
.bh-mega-content__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 992px) {
  .bh-mega-content__grid {
    grid-template-columns: 1fr 180px;
  }
}
.bh-mega-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 160px;
  background: #f1f5f9;
  display: block;
  text-decoration: none !important;
}
.bh-mega-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
}
.bh-mega-banner__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.75));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.bh-mega-collections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bh-mega-collection-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid #D7ECF6;
  border-radius: 12px;
  text-decoration: none !important;
  color: #1F2937 !important;
  font-weight: 700;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bh-mega-collection-card:hover {
  border-color: rgba(105, 194, 231, 0.3);
  color: #69C2E7 !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

/* ----- Mobile nav ----- */
.bh-mnav-toggle {
  border: 0;
  background: transparent;
  color: #1F2937;
  padding: 6px;
  line-height: 1;
  cursor: pointer;
}
.bh-mnav[hidden] { display: none !important; }
.bh-mnav {
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.bh-mnav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}
.bh-mnav__panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(88vw, 360px);
  background: #fff;
  box-shadow: 12px 0 40px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.bh-mnav.is-open .bh-mnav__panel {
  transform: translateX(0);
}
.bh-mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 8px;
  border-bottom: 1px solid #eef2f6;
}
.bh-mnav__logo { max-height: 36px; width: auto; }
.bh-mnav__close {
  border: 0;
  background: #f1f5f9;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.25rem;
  cursor: pointer;
}
.bh-mnav__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 14px;
  padding: 0 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.bh-mnav__search i { color: #94a3b8; font-size: 1.1rem; }
.bh-mnav__search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 0;
  font-size: 0.95rem;
  outline: none;
}
.bh-mnav__search-btn {
  border: 0;
  background: #69C2E7;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 8px;
}
.bh-mnav__account {
  display: flex;
  gap: 8px;
  padding: 0 14px 10px;
}
.bh-mnav__account-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  background: #f8fafc;
  color: #1F2937 !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 650;
}
.bh-mnav__stack {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.bh-mnav__level {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 8px 14px 40px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.bh-mnav__level.is-active {
  transform: translateX(0);
  position: relative;
}
.bh-mnav__level[hidden] { display: none !important; }
.bh-mnav__section-label {
  margin: 14px 0 8px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
}
.bh-mnav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bh-mnav__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: transparent;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1F2937 !important;
  text-decoration: none !important;
  cursor: pointer;
}
.bh-mnav__item small { color: #94a3b8; font-weight: 500; }
.bh-mnav__list--chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bh-mnav__chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(105, 194, 231, 0.07);
  color: #69C2E7 !important;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none !important;
}
.bh-mnav__back {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 0 14px;
  font-size: 1rem;
  font-weight: 750;
  color: #1F2937;
  cursor: pointer;
}
.bh-mnav__shopall {
  display: block;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #1F2937;
  color: #fff !important;
  text-align: center;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 0.9rem;
}
body.bh-mnav-open {
  overflow: hidden;
}

/* ----- Product rails / related carousel fix ----- */
.bh-product-rail {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #D7ECF6;
  margin: 16px 0;
  overflow: hidden;
}
.bh-product-rail__header {
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f6;
  text-align: center;
}
.bh-product-rail__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: #1F2937;
}
.bh-product-rail__body {
  padding: 14px 8px 18px;
  position: relative;
}
.bh-rail-carousel {
  margin: 0 !important;
}
.bh-rail-carousel .slick-list {
  margin: 0 -6px;
  overflow: hidden;
}
.bh-rail-carousel .slick-track {
  display: flex !important;
  align-items: stretch;
}
.bh-rail-carousel .slick-slide {
  height: auto !important;
  float: none;
}
.bh-rail-carousel .slick-slide > div {
  height: 100%;
}
.bh-rail-slide {
  padding: 0 6px;
  height: 100%;
  box-sizing: border-box;
}
.bh-rail-slide .product-card,
.bh-rail-slide .product-card--premium {
  height: 100%;
  margin-bottom: 0 !important;
  max-width: 100%;
}
.bh-rail-carousel .slick-arrow {
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.bh-rail-carousel .slick-prev { left: 2px; }
.bh-rail-carousel .slick-next { right: 2px; }
.bh-rail-carousel .slick-disabled {
  opacity: 0.35;
  pointer-events: none;
}
/* Kill empty trailing space from infinite clones when few items */
.bh-rail-carousel .slick-slide:not(.slick-active) .product-card {
  /* keep equal heights only */
}

/* Recently viewed uses product grid */
#recently-viewed-grid.bh-product-grid,
#recently-viewed-grid.product-grid-fluid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 768px) {
  #recently-viewed-grid.bh-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  #recently-viewed-grid.bh-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ----- Filters ----- */
.bh-filters__panel {
  background: #fff;
}
@media (min-width: 1200px) {
  .bh-filters.fungrow-filter-sidebar,
  .bh-filters.sidebar-xl {
    position: sticky !important;
    top: 90px;
    align-self: flex-start;
    max-height: calc(100vh - 110px);
    overflow: visible;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    z-index: 2;
  }
  .bh-filters .collapse-sidebar,
  .bh-filters.sidebar-xl .collapse-sidebar {
    position: relative !important;
    transform: none !important;
    -webkit-transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    box-shadow: none !important;
    border: 1px solid #D7ECF6;
    border-radius: 12px;
    opacity: 1 !important;
    visibility: visible !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }
  .bh-filters .overlay { display: none !important; }
}
.bh-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f6;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.bh-filters__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 750;
}
.bh-filters__clear {
  border: 0;
  background: transparent;
  color: #69C2E7;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  margin-right: 8px;
}
.bh-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.bh-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}
.bh-filter-chip__x {
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  color: #6B7280;
}
.bh-filter-group {
  border-bottom: 1px solid #f1f5f9;
}
.bh-filter-group__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1F2937;
  cursor: pointer;
  text-align: left;
}
.bh-filter-group__header.is-static {
  cursor: default;
}
.bh-filter-group__body {
  padding: 0 14px 14px;
}
.bh-filter-search {
  margin-bottom: 10px;
}
.bh-filter-search input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.85rem;
  background: #f8fafc;
  outline: none;
}
.bh-filter-search input:focus {
  border-color: rgba(105, 194, 231, 0.35);
  background: #fff;
}
.bh-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 2px !important;
  margin: 0 !important;
  cursor: pointer;
  font-size: 0.88rem;
  color: #334155;
}
.bh-check input {
  width: 16px;
  height: 16px;
  accent-color: #69C2E7;
}
.bh-checkbox-list {
  max-height: 220px;
  overflow-y: auto;
}
.bh-filter-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bh-filter-cat-list a {
  display: block;
  padding: 8px 0;
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 0.88rem;
}
.bh-filter-cat-list a:hover { color: #69C2E7 !important; }

/* Hide old filter title if present */
.fungrow-filter-sidebar > h4.custom-title,
.fungrow-filter-sidebar > hr,
.fungrow-filter-sidebar > br {
  display: none;
}

/* =========================================================
   ENTERPRISE PDP — title, price, buy box, sticky CTA
   Brand: #69C2E7 (sky blue)
   ========================================================= */

/* Product title hierarchy */
.pdp-buy-info {
  max-width: 100%;
}
.pdp-title,
h1.pdp-title.product_detail_name {
  margin: 0 0 10px !important;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em;
  color: var(--bh-ink, #1F2937) !important;
}
.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.pdp-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--bh-ink, #1F2937);
  font-size: 0.88rem;
}
.pdp-rating__count {
  color: var(--bh-muted, #6B7280);
  font-weight: 500;
}
.pdp-brand-link {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--bh-brand, #69C2E7) !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
}
.pdp-brand-link:hover {
  text-decoration: underline !important;
}

/* Overview under buy info */
.pdp-buybox-overview {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--bh-line, #D7ECF6);
}
.pdp-buybox-overview__label {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bh-muted, #6B7280);
}
.pdp-buybox-overview__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #334155;
}
.pdp-buybox-overview__text p { margin: 0 0 0.5em; }

/* Trust chips — single-line icon + label */
.pdp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}
.pdp-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--bh-mist, #F8FCFE);
  border: 1px solid var(--bh-line, #D7ECF6);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bh-ink, #1F2937);
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
}
.pdp-trust__item i {
  color: var(--bh-brand, #69C2E7);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.pdp-trust__item span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----- Price block ----- */
.bh-price-block {
  margin: 0;
}
.bh-price-block--hero {
  padding: 4px 0 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}
.bh-price-block__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 12px;
}
.bh-price-block__current {
  font-size: clamp(1.65rem, 1.4rem + 0.8vw, 2rem);
  font-weight: 800;
  color: var(--bh-brand, #69C2E7);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.bh-price-block__original {
  font-size: 1.05rem;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.bh-price-block__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--bh-brand-soft, rgba(105, 194, 231, 0.08));
  color: var(--bh-brand, #69C2E7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bh-price-block__save {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: #15803d;
  font-weight: 500;
}
.bh-price-block__meta {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
}
.bh-price-block__unit { color: #6B7280; font-weight: 500; }
.bh-price-block__dot { opacity: 0.5; }
.bh-price-block__tax { color: #94a3b8; }

/* ----- Buy box (enterprise) ----- */
.bh-buybox {
  background: #fff;
  border: 1px solid var(--bh-line, #D7ECF6);
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.bh-buybox__section {
  padding: 14px 16px;
}
.bh-buybox__section + .bh-buybox__section {
  border-top: 1px solid #f1f5f9;
}
.bh-buybox__section--price {
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  padding: 16px 16px 12px;
}
.bh-buybox__section--price .bh-price-block__current {
  font-size: 1.55rem;
}
.bh-buybox__section--stock {
  padding: 10px 16px;
}
.bh-buybox__avail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
}
.bh-buybox__avail i {
  font-size: 1.15rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}
.bh-buybox__avail.is-in { color: #15803d; }
.bh-buybox__avail.is-out { color: #b91c1c; }
.bh-buybox__avail-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bh-buybox__avail-text strong {
  font-weight: 700;
  color: inherit;
}
.bh-buybox__ship {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6B7280;
}
.bh-buybox__section--qty {
  padding: 12px 16px;
}
.bh-buybox__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bh-buybox__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
  white-space: nowrap;
}
.bh-qty-selector {
  display: inline-flex;
  align-items: stretch;
  width: 120px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.bh-qty-btn {
  width: 36px;
  min-height: 40px;
  border: 0 !important;
  background: #f8fafc !important;
  color: #1F2937 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 0 !important;
  cursor: pointer;
  flex-shrink: 0;
}
.bh-qty-btn:hover:not(:disabled) {
  background: #f1f5f9 !important;
  color: var(--bh-brand, #69C2E7) !important;
}
.bh-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.bh-qty-input {
  flex: 1;
  min-width: 0;
  height: 40px !important;
  border: 0 !important;
  border-left: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  background: #fff !important;
  font-weight: 700;
  font-size: 0.95rem !important;
  text-align: center;
  -moz-appearance: textfield;
  border-radius: 0 !important;
  padding: 0 !important;
}
.bh-qty-input::-webkit-outer-spin-button,
.bh-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bh-buybox__section--actions {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.bh-btn:active { transform: translateY(1px); }
.bh-btn--primary {
  background: var(--bh-brand, #69C2E7);
  color: var(--bh-on-brand, #fff) !important;
  box-shadow: 0 6px 16px rgba(105, 194, 231, 0.32);
  order: -1; /* Buy Now first / primary visual */
}
.bh-btn--primary:hover {
  background: var(--bh-brand-hover, #4DB5DF);
  color: var(--bh-on-brand, #fff) !important;
  box-shadow: 0 8px 20px rgba(77, 181, 223, 0.4);
}
.bh-btn--secondary {
  background: #fff;
  color: var(--bh-ink, #1F2937) !important;
  border-color: #cbd5e1;
  box-shadow: none;
}
.bh-btn--secondary:hover {
  border-color: var(--bh-brand, #69C2E7);
  color: var(--bh-brand, #69C2E7) !important;
  background: var(--bh-brand-soft, rgba(105, 194, 231, 0.04));
}
.bh-btn--muted {
  background: #e2e8f0;
  color: #6B7280 !important;
}
.bh-buybox__trust {
  list-style: none;
  margin: 0;
  padding: 12px 16px 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fafbfc;
}
.bh-buybox__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 550;
  color: #475569;
  line-height: 1.25;
  white-space: nowrap;
}
.bh-buybox__trust-item i {
  width: 18px;
  text-align: center;
  color: var(--bh-brand, #69C2E7);
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}
.bh-buybox__section--share {
  padding: 10px 16px 14px;
  background: #fafbfc;
  border-top: 1px solid #f1f5f9;
}

/* ----- Share popover (compact) ----- */
.bh-share {
  position: relative;
  margin: 0;
}
.bh-share--compact .bh-share__btn {
  min-height: 36px;
  width: auto;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
  background: transparent;
  border-color: transparent;
  color: #6B7280;
  justify-content: flex-start;
}
.bh-share--compact .bh-share__btn:hover {
  background: #fff;
  border-color: #e2e8f0;
  color: var(--bh-brand, #69C2E7);
}
.bh-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 650;
  font-size: 0.88rem;
  color: #1F2937;
  cursor: pointer;
}
.bh-share__btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.bh-share__menu {
  position: absolute;
  left: 0;
  right: auto;
  bottom: calc(100% + 6px);
  min-width: 200px;
  background: #fff;
  border: 1px solid #D7ECF6;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  padding: 6px;
  z-index: 40;
}
.bh-share__menu[hidden] { display: none !important; }
.bh-share__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #1F2937 !important;
  text-decoration: none !important;
  cursor: pointer;
}
.bh-share__item:hover {
  background: #f8fafc;
  color: var(--bh-brand, #69C2E7) !important;
}
.bh-share__item i {
  width: 18px;
  text-align: center;
  font-size: 1.05rem;
}

/* Desktop sticky buy box — only the right column, not mobile */
@media (min-width: 992px) {
  .bh-buybox-sticky {
    position: sticky;
    top: 88px;
  }
}

/* Kill full-box sticky on mobile (was covering content) */
.add_card_mobile,
.add_card_mobile.bh-buybox-inline,
.bh-buybox-inline {
  position: static !important;
  bottom: auto !important;
  box-shadow: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  z-index: auto !important;
}
@media (max-width: 991.98px) {
  .add_card_mobile,
  .add_card_mobile.bh-buybox-inline {
    position: static !important;
    margin-top: 12px;
    margin-bottom: 8px;
  }
}

/* Mobile sticky CTA bar — CTAs only */
.bh-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid #D7ECF6;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}
.bh-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.bh-sticky-cta[hidden] { display: none !important; }
.bh-sticky-cta.is-visible[hidden] { display: block !important; }
.bh-sticky-cta__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bh-sticky-cta__price {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.bh-sticky-cta__amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bh-brand, #69C2E7);
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.bh-sticky-cta__was {
  font-size: 0.72rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.bh-sticky-cta__actions {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}
.bh-sticky-cta__btn {
  min-height: 44px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 8px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.bh-sticky-cta__btn--primary {
  background: var(--bh-brand, #69C2E7);
  color: #fff;
  order: 2;
}
.bh-sticky-cta__btn--secondary {
  background: #fff;
  color: var(--bh-ink, #1F2937);
  border-color: #cbd5e1;
  order: 1;
}
.bh-sticky-cta__btn--muted {
  grid-column: 1 / -1;
  background: #e2e8f0;
  color: #6B7280;
}
/* Only show sticky CTA on smaller viewports */
@media (min-width: 992px) {
  .bh-sticky-cta { display: none !important; }
}
/* Space so last content isn't hidden under bar when visible */
body.bh-sticky-cta-active {
  padding-bottom: 76px;
}

/* ----- Product gallery ----- */
.bh-gallery {
  background: #fff;
}
.bh-gallery__main {
  position: relative;
  border: 1px solid #D7ECF6;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}
.bh-gallery__overlays {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.bh-gallery__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  color: #1F2937;
}
.bh-gallery__share-wrap .bh-share {
  margin: 0;
}
.bh-gallery__share-wrap .bh-share__btn {
  width: auto;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.95);
}
.bh-gallery__share-wrap .bh-share__btn span {
  display: none;
}
@media (min-width: 768px) {
  .bh-gallery__share-wrap .bh-share__btn span {
    display: inline;
  }
}
.bh-gallery__share-wrap .bh-share__menu {
  left: auto;
  right: 0;
  bottom: auto;
  top: calc(100% + 6px);
  width: 220px;
}
.bh-gallery__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  overflow: hidden;
}
.bh-gallery__img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.35s ease;
}
.bh-gallery__zoom-link {
  display: block;
  cursor: zoom-in;
}
@media (min-width: 992px) {
  .bh-gallery__img-wrap:hover .bh-gallery__img {
    transform: scale(1.06);
  }
}
.bh-gallery__thumbs {
  margin-top: 12px;
}
.bh-gallery__thumb {
  border: 2px solid transparent !important;
  border-radius: 10px;
  overflow: hidden;
  padding: 4px !important;
  background: #fff;
  margin: 0 4px;
  transition: border-color 0.15s ease;
}
.bh-gallery__thumb.is-active,
.bh-gallery__thumb.slick-current {
  border-color: #69C2E7 !important;
}
.bh-gallery__thumb img {
  width: 100%;
  height: 64px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: #f8fafc;
}
.bh-gallery__thumb-video {
  position: relative;
}
.bh-gallery__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  background: rgba(0, 0, 0, 0.25);
}
.bh-gallery__empty {
  border: 1px solid #D7ECF6;
  border-radius: 12px;
  padding: 24px;
  background: #f8fafc;
}

/* Hide legacy social share row if any remain */
.fungrow-share:empty { display: none; }
.fungrow-share { display: none !important; }

/* Quantity buttons inside buybox shouldn't look like old primary pills */
.bh-buybox .fungrow-plus-minus .btn-primary,
.bh-buybox .fungrow-plus-minus .btn {
  background: transparent !important;
  border: 0 !important;
  color: #1F2937 !important;
  box-shadow: none !important;
}

/* Ensure product grid items fill cards */
.product-grid-item .product-card {
  height: 100%;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .bh-mega-nav { display: none !important; }
  .bh-price-block--hero .bh-price-block__current { font-size: 1.55rem; }
}

/* Collection page enterprise polish */
.bh-collection-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
.bh-collection-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  background: #1F2937;
  border-radius: 16px;
  overflow: hidden;
  min-height: 220px;
}
@media (min-width: 768px) {
  .bh-collection-hero {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 280px;
  }
}
.bh-collection-hero__copy {
  padding: 28px 24px;
  color: #fff;
}
.bh-collection-hero__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}
.bh-collection-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}
.bh-collection-hero__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 42ch;
}
.bh-collection-hero__media {
  min-height: 200px;
  background: #1e293b;
}
.bh-collection-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.bh-collection-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 16px;
}
.bh-collection-toolbar h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
  color: #1F2937;
}
.bh-collection-toolbar__count {
  font-size: 0.88rem;
  color: #6B7280;
  font-weight: 500;
}

/* Mobile filter drawer polish */
#listing_sidebare_sheet .downupPopup-content {
  border-radius: 16px 16px 0 0;
  padding-bottom: 24px;
}
#listing_sidebare_sheet ._filtertab {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 12px 8px;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid #eef2f6;
}
#listing_sidebare_sheet ._filtertablinks,
#listing_sidebare_sheet .filt_button {
  flex: 0 0 auto;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  border: 0 !important;
  white-space: nowrap;
}
#listing_sidebare_sheet ._filtertablinks.active,
#listing_sidebare_sheet .filt_button.active {
  background: #69C2E7 !important;
  color: #fff !important;
}
#listing_sidebare_sheet ._filtertabcontent {
  padding: 12px 14px 20px;
}
#listing_sidebare_sheet .fungrow-checkbox {
  padding: 10px 4px !important;
}

/* Ensure half-outside arrows don't clip product cards */
.bh-product-rail .half-outside-arrow {
  padding-left: 8px;
  padding-right: 8px;
}

/* Hide obsolete rv-card styles if residual markup exists */
.rv-card { display: none !important; }

/* Desktop listing sticky filter column */
@media (min-width: 1200px) {
  .listing-page-shell .col-xl-3 {
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow: auto;
  }
}
/* =========================================================
   FINAL QA LAYER — highlights, listing AJAX, category merch, cards
   ========================================================= */

/* Key Highlights — compact horizontal rows */
.pdp-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 576px) {
  .pdp-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }
}
.pdp-highlights__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--bh-line, #D7ECF6);
  border-radius: 10px;
  background: #fff;
  min-height: 0;
}
.pdp-highlights__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bh-brand-soft, rgba(105, 194, 231, 0.07));
  color: var(--bh-brand, #69C2E7);
  font-size: 1rem;
  flex-shrink: 0;
}
.pdp-highlights__text {
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--bh-ink, #1F2937);
  margin: 0;
}

/* Buy box v2 — tighter groups */
.bh-buybox--v2 {
  border-radius: 14px;
}
.bh-buybox--v2 .bh-buybox__group {
  padding: 14px 16px;
  border-top: 1px solid #f1f5f9;
}
.bh-buybox--v2 .bh-buybox__group:first-child {
  border-top: 0;
  padding-top: 16px;
}
.bh-buybox--v2 .bh-buybox__group--tight {
  padding-top: 10px;
  padding-bottom: 10px;
}
.bh-buybox--v2 .bh-buybox__group--actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 14px;
}
.bh-buybox--v2 .bh-buybox__group--assurance {
  background: #fafbfc;
  padding-top: 12px;
  padding-bottom: 12px;
}
.bh-buybox--v2 .bh-buybox__assurance-title {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
}
.bh-buybox--v2 .bh-buybox__trust {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 7px;
}
.bh-buybox--v2 .bh-buybox__group--share {
  padding-top: 8px;
  padding-bottom: 12px;
  background: #fafbfc;
}
.bh-buybox--v2 .bh-buybox__avail {
  align-items: center;
}
.bh-buybox--v2 .bh-buybox__ship {
  font-weight: 500;
  color: #6B7280;
}

/* Hide gallery share remnants */
.bh-gallery__share-wrap { display: none !important; }

/* Listing toolbar + active chips */
.bh-listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 12px;
  flex-wrap: wrap;
}
.bh-listing-count {
  font-size: 0.9rem;
  font-weight: 650;
  color: #334155;
}
.bh-listing-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bh-sort-select {
  min-width: 160px;
  border-radius: 8px !important;
  border-color: #e2e8f0 !important;
  height: 36px;
  font-size: 0.85rem;
}
.bh-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px 0;
}
.bh-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 650;
  color: #334155;
  cursor: pointer;
  line-height: 1.2;
}
.bh-active-chip:hover {
  border-color: var(--bh-brand, #69C2E7);
  color: var(--bh-brand, #69C2E7);
}
.bh-active-chip i { font-size: 0.85rem; opacity: 0.7; }
.bh-active-clear {
  border: 0;
  background: transparent;
  color: var(--bh-brand, #69C2E7);
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
  padding: 4px 6px;
}
.bh-load-more-wrap { margin-bottom: 12px; }
.bh-load-more {
  min-width: 180px;
  min-height: 44px !important;
}
#bh-products-root.is-loading {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.bh-listing-loading[hidden] { display: none !important; }
.bh-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
@media (min-width: 768px) {
  .bh-skeleton-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .bh-skeleton-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.bh-skeleton-card {
  border-radius: 12px;
  border: 1px solid #eef2f6;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
  background-size: 400% 100%;
  animation: bh-skel 1.2s ease infinite;
  min-height: 280px;
}
@keyframes bh-skel {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* Category merchandising */
.bh-cat-hero__eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.bh-cat-intro__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  max-width: 70ch;
}
.bh-cat-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 768px) {
  .bh-cat-subgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .bh-cat-subgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.bh-cat-subcard {
  display: flex;
  flex-direction: column;
  border: 1px solid #D7ECF6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.bh-cat-subcard:hover {
  border-color: rgba(105, 194, 231, 0.25);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.bh-cat-subcard__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  overflow: hidden;
}
.bh-cat-subcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bh-cat-subcard__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bh-cat-subcard__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.3;
}
.bh-cat-subcard__count {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}
.bh-cat-inspire {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid #D7ECF6;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
@media (min-width: 768px) {
  .bh-cat-inspire { grid-template-columns: 1.1fr 0.9fr; }
}
.bh-cat-inspire__media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}
.bh-cat-inspire__copy {
  padding: 18px 20px 22px;
}
.bh-cat-inspire__cta {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 750;
  color: var(--bh-brand, #69C2E7) !important;
  text-decoration: none !important;
}
.bh-cat-faq__list { display: flex; flex-direction: column; gap: 8px; }
.bh-cat-faq__item {
  border: 1px solid #D7ECF6;
  border-radius: 10px;
  background: #fff;
  padding: 0;
}
.bh-cat-faq__item summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1F2937;
  list-style: none;
}
.bh-cat-faq__item summary::-webkit-details-marker { display: none; }
.bh-cat-faq__item p {
  margin: 0;
  padding: 0 14px 12px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #6B7280;
}
.bh-cat-products-label {
  border-top: 1px solid #eef2f6;
  padding-top: 8px;
  margin-top: 8px;
}

/* Product card density polish */
.product-card .product-details,
.product-card--premium .product-details {
  min-height: 0 !important;
  gap: 3px !important;
  padding: 10px 12px 12px !important;
}
.product-card .product-title,
.product-card--premium .product-title {
  margin-bottom: 2px !important;
  font-size: 0.86rem !important;
}
.product-card .product-short-desc,
.product-card--premium .product-short-desc {
  margin-bottom: 6px !important;
  min-height: calc(1.35em * 2) !important;
  max-height: calc(1.35em * 2) !important;
}
.product-card .product-price,
.product-card--premium .product-price {
  font-size: 0.95rem !important;
}
.product-card .product-brand {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 650;
  margin: 0;
}

/* Home rails stay exactly 4/3/2 */
.home-product-row {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (min-width: 768px) {
  .home-product-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 992px) {
  .home-product-row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
/* Never stretch beyond 4 on home */
@media (min-width: 1600px) {
  .home-product-row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* Listing grid: keep 4 max for calm density (not 5) */
@media (min-width: 1600px) {
  .listing-page-shell .product-grid-fluid,
  .listing-page-shell .bh-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Category breadcrumb */
.bh-cat-breadcrumb { margin: 0 0 12px; }
.bh-cat-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.82rem;
  color: #94a3b8;
}
.bh-cat-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.bh-cat-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #cbd5e1;
  margin-left: 2px;
}
.bh-cat-breadcrumb a {
  color: #6B7280 !important;
  text-decoration: none !important;
  font-weight: 500;
}
.bh-cat-breadcrumb a:hover { color: #69C2E7 !important; }
.bh-cat-breadcrumb span { color: #1F2937; font-weight: 650; }

/* Highlight icon safety + equal rows */
.pdp-highlights__item {
  min-height: 48px;
  height: 100%;
}
.pdp-highlights__icon {
  flex-shrink: 0;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.pdp-highlights__icon i {
  font-size: 1.05rem;
  line-height: 1;
  display: block;
}
.pdp-highlights__icon:empty::before {
  content: "\f058";
  font-family: "Line Awesome Free", "LineAwesome", sans-serif;
  font-weight: 900;
  color: #69C2E7;
}
.pdp-highlights__text {
  display: flex;
  align-items: center;
  min-height: 34px;
}

/* Product card air + hierarchy */
.product-card--premium .product-image {
  background: #f8fafc;
}
.product-card--premium:hover {
  border-color: rgba(105, 194, 231,0.18);
}
.product-card .product-price del {
  font-size: 0.8em;
  font-weight: 500;
  color: #94a3b8;
  margin-right: 6px;
}
.product-card .product-collection-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #69C2E7;
  background: rgba(105, 194, 231,0.06);
  padding: 3px 8px;
  border-radius: 999px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
   Collection + Filters + Product Grid rebuild layer
   ========================================================= */

/* Force listing/collection grids: 2 / 3 / 4 */
.bh-product-grid--4,
.listing-page-shell .bh-product-grid,
.bh-collection-page .bh-product-grid,
.bh-product-grid.product-grid-fluid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch;
}
@media (min-width: 768px) {
  .bh-product-grid--4,
  .listing-page-shell .bh-product-grid,
  .bh-collection-page .bh-product-grid,
  .bh-product-grid.product-grid-fluid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}
@media (min-width: 992px) {
  .bh-product-grid--4,
  .listing-page-shell .bh-product-grid,
  .bh-collection-page .bh-product-grid,
  .bh-product-grid.product-grid-fluid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

.product-grid-item {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.product-grid-item .product-card {
  flex: 1 1 auto;
  width: 100%;
  margin-bottom: 0 !important;
}

/* Premium product card — hover NEVER moves layout */
.product-card--premium {
  border-radius: 14px !important;
  border: 1px solid #D7ECF6 !important;
  background: #fff !important;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: box-shadow 240ms ease, border-color 240ms ease !important;
  transform: none !important;
}
.product-card--premium:hover {
  transform: none !important;
  box-shadow: 0 6px 18px rgba(15,23,42,0.08) !important;
  border-color: rgba(105, 194, 231,0.16) !important;
  /* border stays 1px — no width change */
}
.product-card--premium .product-image {
  aspect-ratio: 1 / 1 !important;
  background: #f8fafc !important;
  position: relative;
  overflow: hidden !important;
}
.product-card--premium .product-image img {
  transition: transform 240ms ease !important;
  object-fit: contain !important;
  padding: 14px !important;
  transform: scale(1) !important;
  transform-origin: center center;
}
.product-card--premium:hover .product-image img {
  transform: scale(1.02) !important;
}
.product-card--premium .product-action-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.product-card--premium:hover .product-action-icons {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 991.98px) {
  .product-card--premium .product-action-icons {
    opacity: 1;
    transform: none;
  }
}
.product-card--premium .action-icon,
.product-card--premium .bh-wish-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: rgba(255,255,255,0.96);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
  cursor: pointer;
  color: #1F2937;
  padding: 0;
  line-height: 1;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.product-card--premium .bh-wish-btn:hover {
  color: #69C2E7;
  border-color: rgba(105, 194, 231,0.3);
}
.product-card--premium .bh-wish-btn.is-animating {
  animation: bh-heart-pop .45s cubic-bezier(.22,1,.36,1);
  color: #69C2E7;
}
.product-card--premium .bh-wish-btn.is-animating i {
  color: #69C2E7;
}
@keyframes bh-heart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.product-card--premium .product-details {
  padding: 12px 14px 14px !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0 !important;
}
.product-card--premium .product-brand {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}
.product-card--premium .product-title {
  font-size: 0.88rem !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  margin: 0 0 2px !important;
}
.product-card--premium .product-short-desc {
  font-size: 0.76rem !important;
  line-height: 1.4 !important;
  color: #6B7280 !important;
  margin: 0 0 6px !important;
}
.product-card--premium .product-price {
  margin-top: auto !important;
  font-size: 0.98rem !important;
  font-weight: 750 !important;
  color: #1F2937 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.product-card--premium .product-price del {
  font-size: 0.8em;
  color: #94a3b8;
  font-weight: 500;
}
.product-card--premium .product-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1F2937 !important;
  text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.product-card--premium .product-card-cta:hover {
  border-color: #69C2E7;
  color: #69C2E7 !important;
  background: rgba(105, 194, 231,0.04);
}

/* Filter accordion rebuild — override broken max-height/rotate */
.bh-filters .panel-content,
.bh-filters .bh-filter-group__body.panel-content {
  max-height: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  padding: 0 14px !important;
  transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1), padding 0.2s ease !important;
  opacity: 1;
}
.bh-filters .panel-content.show,
.bh-filters .bh-filter-group__body.panel-content.show {
  max-height: 360px !important;
  overflow-y: auto !important;
  padding: 0 14px 14px !important;
  transform: none !important;
}
.bh-filters .panel-header,
.bh-filters .bh-filter-group__header {
  position: relative;
}
.bh-filters .panel-header.active i,
.bh-filters .bh-filter-group__header.active i {
  transform: rotate(180deg);
}

/* Collection related strip */
.bh-collection-related {
  margin: 28px 0 8px;
}
.bh-collection-related__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 750;
  color: #1F2937;
}
.bh-collection-related__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 768px) {
  .bh-collection-related__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.bh-collection-related__card {
  display: flex;
  flex-direction: column;
  border: 1px solid #D7ECF6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow .2s ease, transform .2s ease;
}
.bh-collection-related__card:hover {
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}
.bh-collection-related__card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #f8fafc;
}
.bh-collection-related__name {
  padding: 10px 12px 2px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1F2937;
}
.bh-collection-related__count {
  padding: 0 12px 12px;
  font-size: 0.75rem;
  color: #94a3b8;
}
.bh-collection-hero__meta {
  margin: 10px 0 0;
  font-size: 0.85rem;
  font-weight: 650;
  color: rgba(255,255,255,0.75);
}

/* Add to cart micro feedback */
.bh-btn.add-to-cart.is-loading,
.bh-btn.buy-now.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

/* ===== Final filter accordion (native details) ===== */
.bh-filters__panel {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #D7ECF6;
  box-shadow: 0 4px 20px rgba(15,23,42,0.05);
  overflow: hidden;
}
.bh-acc {
  border-bottom: 1px solid #f1f5f9;
  margin: 0;
  background: #fff;
}
.bh-acc:last-of-type { border-bottom: 0; }
.bh-acc__sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1F2937;
  user-select: none;
}
.bh-acc__sum::-webkit-details-marker { display: none; }
.bh-acc__sum::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-top: -4px;
}
.bh-acc[open] > .bh-acc__sum::after {
  transform: rotate(-135deg);
  margin-top: 2px;
  border-color: #69C2E7;
}
.bh-acc[open] > .bh-acc__sum { color: #69C2E7; }
.bh-acc__body {
  padding: 0 14px 14px;
  max-height: 280px;
  overflow-y: auto;
}
.bh-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 4px !important;
  margin: 0 !important;
  cursor: pointer;
  font-size: 0.86rem;
  color: #334155;
  border-radius: 8px;
}
.bh-check:hover { background: #f8fafc; }
.bh-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bh-check__box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  transition: border-color .15s, background .15s;
}
.bh-check__box--round { border-radius: 50%; }
.bh-check input:checked + .bh-check__box {
  background: #69C2E7;
  border-color: #69C2E7;
}
.bh-check input:checked + .bh-check__box:not(.bh-check__box--round)::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.bh-check__label { line-height: 1.3; }
.bh-filters__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid #f1f5f9;
}

/* Kill legacy panel styles inside new filters */
.bh-filters .panel-content,
.bh-filters .panel-header {
  all: unset;
}

/* Filter mode header */
.bh-filter-mode-header {
  margin: 8px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f6;
}
.bh-filter-mode-header__title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 750;
  color: #1F2937;
  letter-spacing: -0.02em;
}
.bh-filter-mode-header__sub {
  margin: 0;
  font-size: 0.85rem;
  color: #6B7280;
  font-weight: 500;
}
body.bh-is-filter-mode [data-merch-root] {
  display: none !important;
}

/* Color swatches max 4 + more */
.bh-card-swatches {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  max-height: 36px;
  overflow: hidden;
}
.bh-card-swatches .colour-colorDisplay {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden;
  flex: 0 0 auto;
  padding: 0 !important;
  margin: 0 !important;
}
.bh-card-swatches .colour-colorDisplay img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
.bh-swatch-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569 !important;
  font-size: 0.68rem;
  font-weight: 750;
  text-decoration: none !important;
  line-height: 1;
}
.bh-swatch-more:hover {
  background: rgba(105, 194, 231,0.08);
  color: #69C2E7 !important;
}

/* =========================================================
   FINAL POLISH — calm motion, card stability, variant loader
   ========================================================= */
:root {
  --bh-motion: 240ms cubic-bezier(0.22, 1, 0.36, 1);
  --bh-lift: 3px;
  --bh-zoom: 1.03;
}

/* Product card hover — ZERO layout shift (no translateY, no card scale) */
.product-card,
.product-card--premium,
a.product-card {
  transform: none !important;
  transition: box-shadow 240ms ease, border-color 240ms ease !important;
  will-change: box-shadow;
}
.product-card:hover,
.product-card--premium:hover,
a.product-card:hover {
  transform: none !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(105, 194, 231, 0.16) !important;
  border-width: 1px !important;
}
/* Image zoom only inside overflow:hidden container */
.product-card .product-image,
.product-card--premium .product-image {
  overflow: hidden !important;
}
.product-card .product-image img,
.product-card--premium .product-image img {
  transition: transform 240ms ease !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
}
.product-card:hover .product-image img,
.product-card--premium:hover .product-image img {
  transform: scale(1.02) !important;
}
/* Details never move on hover */
.product-card:hover .product-details,
.product-card--premium:hover .product-details {
  transform: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding-top: inherit;
}

/* Fixed content regions — no height jump */
.product-card--premium .product-details {
  display: flex !important;
  flex-direction: column !important;
  min-height: 168px !important;
  height: auto !important;
}
.product-card--premium .product-brand {
  min-height: 1rem;
  margin: 0;
}
.product-card--premium .product-title {
  height: 2.7em !important;
  max-height: 2.7em !important;
  min-height: 2.7em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
  margin: 0 0 4px !important;
}
.product-card--premium .product-title a {
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.product-card--premium .product-short-desc {
  height: 2.6em !important;
  min-height: 2.6em !important;
  max-height: 2.6em !important;
  margin: 0 0 6px !important;
  overflow: hidden !important;
}
.product-card--premium .bh-card-swatches,
.product-card--premium .color-options {
  min-height: 28px !important;
  height: 28px !important;
  margin: 4px 0 6px !important;
  overflow: hidden !important;
}
.product-card--premium .product-price {
  min-height: 1.5em !important;
  margin-top: auto !important;
}
.product-card--premium .product-card-cta {
  margin-top: 8px !important;
  flex-shrink: 0;
}

/* Image: reserve ratio + soft skeleton */
.product-card--premium .product-image {
  aspect-ratio: 1 / 1 !important;
  background:
    linear-gradient(90deg, #f1f5f9 25%, #D7ECF6 37%, #f1f5f9 63%) !important;
  background-size: 400% 100%;
}
.product-card--premium .product-image img.lazyload:not(.lazyloaded) {
  opacity: 0;
}
.product-card--premium .product-image img.lazyloaded,
.product-card--premium .product-image img:not(.lazyload) {
  opacity: 1;
  transition: opacity 220ms ease, transform var(--bh-motion);
}

/* Variant loading overlay */
#detail_page {
  position: relative;
  transition: opacity 200ms ease;
}
#detail_page.bh-variant-loading {
  pointer-events: none;
}
#detail_page.bh-variant-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  z-index: 40;
  backdrop-filter: blur(1px);
}
.bh-variant-loader {
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translate(-50%, -50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #D7ECF6;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  font-size: 0.82rem;
  font-weight: 650;
  color: #334155;
}
.bh-variant-loader__spin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid #e2e8f0;
  border-top-color: #69C2E7;
  animation: bh-spin 0.7s linear infinite;
}
@keyframes bh-spin {
  to { transform: rotate(360deg); }
}
#detail_page.bh-variant-fade-out {
  opacity: 0.35;
}
#detail_page.bh-variant-fade-in {
  animation: bh-fade-in 240ms ease;
}
@keyframes bh-fade-in {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Consistent micro-motion */
.bh-btn,
.bh-share__btn,
.bh-acc__sum,
.bh-mega-nav__trigger,
.bh-check,
.product-card-cta {
  transition: background var(--bh-motion), border-color var(--bh-motion), color var(--bh-motion), box-shadow var(--bh-motion), transform var(--bh-motion) !important;
}
.bh-wish-btn.is-animating {
  animation: bh-heart-soft 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
@keyframes bh-heart-soft {
  0% { transform: scale(1); }
  45% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Gallery image fade */
.bh-gallery__img {
  transition: opacity 220ms ease, transform var(--bh-motion);
}

/* =========================================================
   PRODUCT CARD HOVER — HARD LOCK (no layout shift)
   Last rule wins over fungrow-desktop/mobile
   ========================================================= */
.product-card,
.product-card--premium,
.home-product-row .product-card,
.bh-product-grid .product-card,
.bh-rail-slide .product-card,
.product-grid-item .product-card {
  transform: none !important;
  -webkit-transform: none !important;
  transition: box-shadow 240ms ease, border-color 240ms ease !important;
}

.product-card:hover,
.product-card--premium:hover,
.home-product-row .product-card:hover,
.bh-product-grid .product-card:hover,
.bh-rail-slide .product-card:hover,
.product-grid-item .product-card:hover,
a.product-card:hover {
  transform: none !important;
  -webkit-transform: none !important;
  /* Do NOT reset margin/padding/height on hover — that causes grid jump */
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(105, 194, 231, 0.16) !important;
  border-width: 1px !important;
}

/* Kill fungrow scale(1.1) and any translate on card internals except image */
.product-card:hover .product-details,
.product-card--premium:hover .product-details {
  transform: none !important;
  -webkit-transform: none !important;
  max-height: none !important;
  position: relative !important;
  top: auto !important;
}

.product-card:hover .product-image img,
.product-card--premium:hover .product-image img {
  transform: scale(1.02) !important;
  -webkit-transform: scale(1.02) !important;
}

/* Swatch selected state: ring via outline, not layout border growth */
.product-card .colour-colorDisplay.selected,
.product-card--premium .colour-colorDisplay.selected {
  transform: none !important;
  border: 1px solid #69C2E7 !important;
  box-shadow: 0 0 0 1px rgba(105, 194, 231, 0.25);
}

/* Ensure overflow clips image zoom so height never grows */
.product-card .product-image,
.product-card--premium .product-image {
  overflow: hidden !important;
  flex-shrink: 0;
}
