.bp-explore {
  margin: 2rem auto;
  max-width: 980px;
  padding: 0 12px;
  position: relative;
}

.bp-explore__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bp-explore__title {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.bp-explore__view-all {
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.bp-explore__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.bp-explore__filter {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1;
  padding: 9px 13px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.bp-explore__filter:hover,
.bp-explore__filter.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
  transform: translateY(-1px);
}

.bp-explore__filter--tag {
  opacity: .9;
}

.bp-explore__grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bp-explore__mosaic-block {
  --bp-feature-ratio: 1.7778;
  --bp-feature-column: 1.7778fr;
  --bp-tiles-column: 1fr;
  aspect-ratio: 2.7778 / 1;
  direction: ltr;
  display: grid;
  gap: 6px;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  width: 100%;
}

.bp-explore__mosaic-block--feature-right {
  grid-template-areas: "tiles feature";
  grid-template-columns: minmax(0, var(--bp-tiles-column)) minmax(0, var(--bp-feature-column));
}

.bp-explore__mosaic-block--feature-left {
  grid-template-areas: "feature tiles";
  grid-template-columns: minmax(0, var(--bp-feature-column)) minmax(0, var(--bp-tiles-column));
}

.bp-explore__feature,
.bp-explore__tiles {
  grid-row: 1;
  min-height: 0;
  min-width: 0;
}

.bp-explore__feature {
  grid-area: feature;
  height: 100%;
}

.bp-explore__tiles {
  grid-area: tiles;
}

.bp-explore__tiles {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 100%;
}

.bp-explore-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.bp-explore-card__media {
  background: #111;
  cursor: zoom-in;
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.bp-explore-card__asset {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
  width: 100%;
}

.bp-explore__feature .bp-explore-card__asset {
  object-fit: contain;
}

.bp-explore-card:hover .bp-explore-card__asset {
  filter: brightness(.78);
  transform: scale(1.035);
}

.bp-explore-card__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72));
  bottom: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
  left: 0;
  opacity: 0;
  padding: 46px 12px 12px;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.bp-explore-card:hover .bp-explore-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.bp-explore-card__overlay strong,
.bp-explore-card__overlay span {
  color: #fff;
  line-height: 1.25;
}

.bp-explore-card__overlay span {
  font-size: .78rem;
}

.bp-explore-card__badge {
  align-items: center;
  background: rgba(0,0,0,.52);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: .75rem;
  height: 26px;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 26px;
}

.bp-explore-card__stats {
  align-items: center;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  color: rgba(0, 0, 0, .72);
  display: flex;
  font-size: .72rem;
  gap: 8px;
  left: 8px;
  padding: 5px 8px;
  position: absolute;
  top: 8px;
  z-index: 2;
}

.bp-explore-stat {
  align-items: center;
  display: inline-flex;
  gap: 3px;
  line-height: 1;
}

.bp-explore-stat__icon {
  font-size: 12px;
  line-height: 1;
}

.bp-explore-stat__value {
  font-weight: 800;
}

.bp-explore-card__products {
  background: rgba(255, 255, 255, .96);
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  left: 0;
  max-height: 80%;
  overflow: auto;
  padding: 7px;
  position: absolute;
  right: 0;
  transform: translateY(calc(100% - 6px));
  transition: transform .22s ease;
  z-index: 3;
}
.bp-explore-card__products[data-bp-card-products][hidden] {
  display: none !important;
}


.bp-explore-card:hover .bp-explore-card__products,
.bp-explore-card:focus-within .bp-explore-card__products {
  transform: translateY(0);
}

.bp-explore-card__product {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 8px;
  min-height: 52px;
  text-decoration: none;
}

.bp-explore-card__product-link {
  align-items: center;
  color: inherit;
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.bp-explore-card__product-link:hover {
  color: inherit;
  text-decoration: none;
}

.bp-explore-card__product img {
  border-radius: 10px;
  flex: 0 0 38px;
  height: 38px;
  object-fit: cover;
  width: 38px;
}

.bp-explore-card__product-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bp-explore-card__product-name {
  font-size: .82rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-explore-card__product-price {
  font-size: .78rem;
  font-weight: 700;
  opacity: .8;
}

.bp-explore-card__cart {
  background: #111;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: .72rem;
  font-weight: 700;
  padding: 7px 10px;
  transition: opacity .18s ease, transform .18s ease;
}

.bp-explore-card__cart:hover {
  transform: translateY(-1px);
}

.bp-explore-card__cart:disabled,
.bp-explore-card__cart.is-loading {
  cursor: wait;
  opacity: .55;
}

.bp-explore__loader {
  font-size: .95rem;
  padding: 18px;
  text-align: center;
}

.bp-explore__sentinel {
  height: 1px;
}

.bp-explore__toast {
  background: rgba(17, 17, 17, .92);
  border-radius: 999px;
  bottom: 16px;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  left: 50%;
  padding: 10px 16px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 10050;
}

.bp-explore-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, .88);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 0;
  padding: 28px 72px;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity .22s ease;
  z-index: 1050;
}

.bp-explore-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.bp-explore-lightbox__dialog {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  max-width: min(1180px, 94vw);
  min-width: 280px;
}

.bp-explore-lightbox__media {
  align-items: center;
  display: flex;
  justify-content: center;
  max-height: 76vh;
  max-width: 94vw;
  min-height: 160px;
}

.bp-explore-lightbox__media img,
.bp-explore-lightbox__media video {
  background: #050505;
  border-radius: 14px;
  box-shadow: 0 16px 52px rgba(0,0,0,.35);
  display: block;
  height: auto;
  max-height: 76vh;
  max-width: 94vw;
  object-fit: contain;
  width: auto;
}

.bp-explore-lightbox__caption {
  color: #fff;
  margin-top: 14px;
  max-width: min(720px, 92vw);
  text-align: center;
}

.bp-explore-lightbox__caption strong {
  color: #fff;
  display: block;
  font-size: 1rem;
  line-height: 1.3;
}

.bp-explore-lightbox__caption span {
  color: rgba(255,255,255,.82);
  display: block;
  font-size: .9rem;
  line-height: 1.45;
  margin-top: 4px;
}

.bp-explore-lightbox__products {
  margin-top: 12px;
  max-width: min(720px, 92vw);
  width: 100%;
}

.bp-explore-lightbox__products .bp-explore-card__products {
  background: #fff;
  border-radius: 14px;
  max-height: 170px;
  overflow: auto;
  position: static;
  transform: none;
}

.bp-explore-lightbox__close,
.bp-explore-lightbox__nav {
  align-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 46px;
  justify-content: center;
  line-height: 1;
  position: fixed;
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
  width: 46px;
  z-index: 10001;
}

.bp-explore-lightbox__close:hover,
.bp-explore-lightbox__nav:hover {
  background: rgba(255,255,255,.24);
  transform: scale(1.04);
}

.bp-explore-lightbox__close {
  right: 18px;
  top: 18px;
}

.bp-explore-lightbox__nav--prev {
  right: 20px;
  top: calc(50% - 62px);
}

.bp-explore-lightbox__nav--next {
  bottom: calc(50% - 62px);
  right: 20px;
}

.bp-explore-lightbox__nav:disabled {
  cursor: default;
  opacity: .28;
  transform: none;
}

.bp-explore-lightbox.is-next .bp-explore-lightbox__dialog {
  animation: bpExploreNext .26s ease both;
}

.bp-explore-lightbox.is-prev .bp-explore-lightbox__dialog {
  animation: bpExplorePrev .26s ease both;
}

@keyframes bpExploreNext {
  from { opacity: 0; transform: translateY(34px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bpExplorePrev {
  from { opacity: 0; transform: translateY(-34px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

body.bp-explore-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .bp-explore {
    padding: 0 4px;
  }

  .bp-explore__grid,
  .bp-explore__mosaic-block,
  .bp-explore__tiles {
    gap: 3px;
  }

  .bp-explore__filters {
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .bp-explore__filter {
    flex: 0 0 auto;
    font-size: .78rem;
    padding: 8px 11px;
  }

  .bp-explore-card {
    border-radius: 8px;
  }

  .bp-explore-card__overlay,
  .bp-explore-card__stats,
  .bp-explore-card__products {
    display: none;
  }

  .bp-explore-card__badge {
    height: 22px;
    right: 5px;
    top: 5px;
    width: 22px;
  }

  .bp-explore-lightbox {
    align-items: stretch;
    padding: 0;
    touch-action: pan-y;
  }

  .bp-explore-lightbox__dialog {
    justify-content: center;
    max-height: 100vh;
    max-width: 100vw;
    min-height: 100vh;
    width: 100%;
  }

  .bp-explore-lightbox__media {
    max-height: 72vh;
    max-width: 100vw;
    width: 100%;
  }

  .bp-explore-lightbox__media img,
  .bp-explore-lightbox__media video {
    border-radius: 0;
    max-height: 72vh;
    max-width: 100vw;
  }

  .bp-explore-lightbox__caption {
    margin: 10px auto 0;
    padding: 0 14px;
    text-align: left;
  }

  .bp-explore-lightbox__products {
    margin: 10px auto 0;
    padding: 0 10px 18px;
  }

  .bp-explore-lightbox__products .bp-explore-card__products {
    display: flex;
    max-height: 22vh;
  }

  .bp-explore-lightbox__nav {
    display: none;
  }

  .bp-explore-lightbox__close {
    background: rgba(0,0,0,.48);
    right: 10px;
    top: 10px;
  }
}

.bp-explore-stories {
  margin: 1.25rem auto;
  max-width: 980px;
  padding: 0 12px;
}

.bp-explore-stories__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.bp-explore-stories__title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.bp-explore-stories__rail {
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
}

.bp-explore-stories__rail::-webkit-scrollbar {
  height: 6px;
}

.bp-explore-stories__rail::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .16);
  border-radius: 999px;
}

.bp-explore-story-card {
  flex: 0 0 84px;
  min-width: 84px;
  position: relative;
  scroll-snap-align: start;
  text-align: center;
}

.bp-explore-story-card__button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  text-align: center;
  width: 100%;
}

.bp-explore-story-card__ring {
  align-items: center;
  background: linear-gradient(135deg, #ff7a18, #d62976, #7638fa);
  border-radius: 999px;
  display: flex;
  height: 76px;
  justify-content: center;
  padding: 3px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  width: 76px;
}

.bp-explore-story-card__button:hover .bp-explore-story-card__ring,
.bp-explore-story-card__button:focus .bp-explore-story-card__ring {
  transform: translateY(-2px) scale(1.02);
}

.bp-explore-story-card__thumb {
  background: #111;
  border: 2px solid #fff;
  border-radius: 999px;
  display: block;
  height: 70px;
  object-fit: cover;
  width: 70px;
}

.bp-explore-story-card__video-badge {
  align-items: center;
  background: rgba(0, 0, 0, .66);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  bottom: 2px;
  color: #fff;
  display: flex;
  font-size: 9px;
  height: 20px;
  justify-content: center;
  position: absolute;
  right: 2px;
  width: 20px;
}

.bp-explore-story-card__title {
  color: rgba(0, 0, 0, .82);
  display: block;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-explore-story-card > .bp-explore-card__products {
  display: none;
}

@media (max-width: 767px) {
  .bp-explore-stories {
    padding: 0 8px;
  }

  .bp-explore-stories__rail {
    gap: 12px;
    padding-bottom: 8px;
  }

  .bp-explore-story-card {
    flex-basis: 76px;
    min-width: 76px;
  }

  .bp-explore-story-card__ring {
    height: 68px;
    width: 68px;
  }

  .bp-explore-story-card__thumb {
    height: 62px;
    width: 62px;
  }

  .bp-explore-story-card__title {
    max-width: 76px;
  }
}

.bp-explore-like {
  align-items: center;
  appearance: none;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
  color: #222;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  line-height: 1;
  margin: 8px 8px 0;
  padding: 8px 10px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.bp-explore-like:hover,
.bp-explore-like:focus {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
  transform: translateY(-1px);
}

.bp-explore-like.is-liked {
  background: rgba(255, 235, 241, .98);
  color: #e11d48;
}

.bp-explore-like__heart {
  font-size: 18px;
  line-height: .8;
}

.bp-explore-card > .bp-explore-like {
  bottom: 10px;
  left: 10px;
  margin: 0;
  position: absolute;
  z-index: 4;
}

.bp-explore-story-card .bp-explore-like--story {
  box-shadow: none;
  font-size: 0;
  height: 26px;
  justify-content: center;
  margin: 4px auto 0;
  padding: 0;
  width: 26px;
}

.bp-explore-story-card .bp-explore-like--story .bp-explore-like__count {
  display: none;
}

.bp-explore-story-card .bp-explore-like--story .bp-explore-like__heart {
  font-size: 17px;
}

.bp-explore-lightbox__actions {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 8px 14px 0;
}

.bp-explore-like--lightbox {
  margin: 0;
  min-width: 86px;
  justify-content: center;
}

/* v1.1.9: share/comments/deep-link lightbox refinements */
.bp-explore-lightbox__media {
  position: relative;
}

.bp-explore-lightbox__stage {
  align-items: center;
  display: flex;
  justify-content: center;
  max-height: 76vh;
  max-width: 94vw;
  min-height: 160px;
}

.bp-explore-lightbox__stage img,
.bp-explore-lightbox__stage video {
  background: #050505;
  border-radius: 14px;
  box-shadow: 0 16px 52px rgba(0,0,0,.35);
  display: block;
  height: auto;
  max-height: 76vh;
  max-width: 94vw;
  object-fit: contain;
  width: auto;
}

.bp-explore-lightbox__titlebar {
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(8px);
  border-radius: 14px 14px 0 0;
  color: #fff;
  left: 0;
  padding: 12px 72px 12px 16px;
  position: absolute;
  right: 0;
  text-align: left;
  top: 0;
  z-index: 4;
}

.bp-explore-lightbox__titlebar[hidden] {
  display: none;
}

.bp-explore-lightbox__titlebar strong {
  color: #fff;
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.bp-explore-lightbox__titlebar span {
  color: rgba(255,255,255,.86);
  display: block;
  font-size: .87rem;
  line-height: 1.45;
  margin-top: 4px;
}

.bp-explore-lightbox__actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.bp-explore-lightbox__action,
.bp-explore-like--lightbox {
  align-items: center;
  background: rgba(0, 0, 0, .46);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-width: 44px;
  padding: 0 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,.24);
  transition: transform .18s ease, background .18s ease;
}

.bp-explore-lightbox__action:hover,
.bp-explore-like--lightbox:hover {
  background: rgba(0, 0, 0, .68);
  transform: translateY(-1px) scale(1.03);
}

.bp-explore-lightbox__action b,
.bp-explore-like--lightbox .bp-explore-like__count {
  font-size: 11px;
  font-weight: 800;
  margin-left: 4px;
}

.bp-explore-like--lightbox.is-liked {
  background: rgba(225, 29, 72, .82);
  color: #fff;
}

.bp-explore-lightbox__products {
  margin-top: 12px;
  max-width: min(840px, 94vw);
  width: 100%;
}

.bp-explore-lightbox__products .bp-explore-card__products {
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border-radius: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  position: static;
  transform: none;
}

.bp-explore-lightbox__products .bp-explore-card__product {
  background: rgba(255,255,255,.96);
  border-radius: 14px;
  flex: 0 0 230px;
  min-height: 70px;
  padding: 8px;
}

.bp-explore-lightbox__comments {
  background: rgba(255,255,255,.98);
  border-radius: 16px;
  box-shadow: 0 18px 56px rgba(0,0,0,.24);
  margin-top: 12px;
  max-height: 34vh;
  max-width: min(840px, 94vw);
  overflow: hidden;
  width: 100%;
}

.bp-explore-lightbox__comments[hidden] {
  display: none;
}

.bp-explore-lightbox__comments-head {
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
}

.bp-explore-lightbox__comments-head button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.bp-explore-lightbox__comments-list {
  max-height: 18vh;
  overflow: auto;
  padding: 10px 14px;
}

.bp-explore-lightbox__comment {
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 8px 0;
}

.bp-explore-lightbox__comment:last-child {
  border-bottom: 0;
}

.bp-explore-lightbox__comment strong {
  display: block;
  font-size: .84rem;
  margin-bottom: 3px;
}

.bp-explore-lightbox__comment p {
  font-size: .86rem;
  line-height: 1.45;
  margin: 0;
}

.bp-explore-lightbox__comment-empty {
  color: rgba(0,0,0,.55);
  font-size: .9rem;
  padding: 8px 0;
  text-align: center;
}

.bp-explore-lightbox__comment-form {
  border-top: 1px solid rgba(0,0,0,.08);
  display: grid;
  gap: 8px;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  padding: 10px 14px;
}

.bp-explore-lightbox__comment-form input,
.bp-explore-lightbox__comment-form textarea {
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 10px;
  font-size: .86rem;
  min-height: 38px;
  padding: 8px 10px;
}

.bp-explore-lightbox__comment-form textarea {
  min-height: 38px;
  resize: vertical;
}

.bp-explore-lightbox__comment-form button {
  background: #111;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 16px;
}

.bp-explore-card__overlay {
  background: rgba(0, 0, 0, .42);
  bottom: auto;
  padding: 10px 12px;
  top: 0;
  transform: translateY(-8px);
}

.bp-explore-card:hover .bp-explore-card__overlay {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .bp-explore-lightbox__stage,
  .bp-explore-lightbox__stage img,
  .bp-explore-lightbox__stage video {
    border-radius: 0;
    max-height: 72vh;
    max-width: 100vw;
    width: auto;
  }

  .bp-explore-lightbox__titlebar {
    border-radius: 0;
    padding: 48px 70px 10px 12px;
  }

  .bp-explore-lightbox__actions {
    right: 10px;
  }

  .bp-explore-lightbox__action,
  .bp-explore-like--lightbox {
    height: 40px;
    min-width: 40px;
  }

  .bp-explore-lightbox__products {
    margin: 10px auto 0;
    padding: 0 10px;
  }

  .bp-explore-lightbox__products .bp-explore-card__products {
    max-height: none;
  }

  .bp-explore-lightbox__products .bp-explore-card__product {
    flex-basis: 210px;
  }

  .bp-explore-lightbox__comments {
    border-radius: 14px 14px 0 0;
    margin: 8px 8px 0;
    max-height: 36vh;
    width: calc(100% - 16px);
  }

  .bp-explore-lightbox__comment-form {
    grid-template-columns: 1fr auto;
  }

  .bp-explore-lightbox__comment-form input {
    grid-column: 1 / -1;
  }
}

/* v1.1.10: moderation UI, RTL overlays and local inline SVG icons */
.bp-icon {
  display: block;
  fill: currentColor;
  height: 1em;
  width: 1em;
}

.bp-explore-card__badge .bp-icon,
.bp-explore-story-card__video-badge .bp-icon {
  height: 14px;
  width: 14px;
}

.bp-explore-stat__icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.bp-explore-stat__icon .bp-icon {
  height: 15px;
  width: 15px;
}

.bp-explore-like__heart {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.bp-explore-like__heart .bp-icon {
  height: 18px;
  width: 18px;
}

.bp-explore-lightbox__action .bp-icon,
.bp-explore-like--lightbox .bp-icon {
  height: 20px;
  width: 20px;
}

.bp-explore-lightbox__titlebar {
  direction: rtl;
  padding: 12px 72px 12px 16px;
  text-align: right;
}

.bp-explore-lightbox__comments {
  direction: rtl;
  left: auto;
  margin: 0;
  max-height: calc(100% - 96px);
  max-width: min(380px, calc(100vw - 120px));
  overflow: hidden;
  position: absolute;
  right: 72px;
  text-align: right;
  top: 72px;
  width: 380px;
  z-index: 8;
}

.bp-explore-lightbox__comments-list {
  max-height: 30vh;
}

.bp-explore-lightbox__comment-form {
  grid-template-columns: 1fr;
}

.bp-explore-lightbox__comment-form input,
.bp-explore-lightbox__comment-form textarea {
  text-align: right;
}

.bp-explore-lightbox__comment-form button {
  min-height: 38px;
}

.bp-explore-lightbox__comment-notice {
  color: rgba(0,0,0,.58);
  font-size: .82rem;
  line-height: 1.45;
  margin: -2px 0 0;
}

.bp-explore-lightbox__comment-notice.is-success {
  color: #15803d;
  font-weight: 700;
}

@media (max-width: 767px) {
  .bp-explore-lightbox__titlebar {
    direction: rtl;
    padding: 48px 70px 10px 12px;
    text-align: right;
  }

  .bp-explore-lightbox__comments {
    border-radius: 16px 16px 0 0;
    bottom: 0;
    left: 8px;
    margin: 0;
    max-height: 54vh;
    max-width: none;
    position: fixed;
    right: 8px;
    top: auto;
    width: auto;
  }

  .bp-explore-lightbox__comments-list {
    max-height: 28vh;
  }

  .bp-explore-lightbox__comment-form {
    grid-template-columns: 1fr;
  }
}

.bp-explore-lightbox__close .bp-icon,
.bp-explore-lightbox__nav .bp-icon {
  height: 22px;
  width: 22px;
}

.bp-explore-story-card .bp-explore-like--story {
  display: none !important;
}


/* v1.1.11: Hide like buttons on explore post cards. Likes remain available in the lightbox. */
.bp-explore-card > .bp-explore-like {
  display: none !important;
}

/* v1.1.25: Reels-style media sizing. Opened posts now fill the mobile viewport and use a phone-sized vertical frame on desktop. */
.bp-explore__feature .bp-explore-card__asset {
  object-fit: cover;
}

.bp-explore-lightbox {
  align-items: center;
  justify-content: center;
  padding: 0;
}

.bp-explore-lightbox__dialog {
  height: auto;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  max-width: none;
  min-height: 0;
  min-width: 0;
  overflow: visible;
  position: relative;
  width: min(430px, calc(100vw - 32px), 52vh);
  width: min(430px, calc(100vw - 32px), 52dvh);
}

.bp-explore-lightbox__media,
.bp-explore-lightbox__stage {
  aspect-ratio: 9 / 16;
  background: #050505;
  border-radius: 22px;
  box-shadow: 0 20px 64px rgba(0,0,0,.42);
  height: auto;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  max-width: none;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.bp-explore-lightbox__media img,
.bp-explore-lightbox__media video,
.bp-explore-lightbox__stage img,
.bp-explore-lightbox__stage video {
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.bp-explore-lightbox__products {
  bottom: 10px;
  left: 10px;
  margin: 0;
  max-width: none;
  position: absolute;
  right: 10px;
  width: auto;
  z-index: 7;
}

.bp-explore-lightbox__products[hidden] {
  display: none;
}

.bp-explore-lightbox__products .bp-explore-card__products {
  padding-bottom: 0;
}

.bp-explore-lightbox__comments {
  right: 12px;
  top: 72px;
}

@media (max-width: 767px) {
  .bp-explore-lightbox {
    align-items: stretch;
    background: #000;
  }

  .bp-explore-lightbox__dialog {
    height: 100vh;
    height: 100dvh;
    max-height: none;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100vw;
  }

  .bp-explore-lightbox__media,
  .bp-explore-lightbox__stage {
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    max-width: none;
    width: 100vw;
  }

  .bp-explore-lightbox__media img,
  .bp-explore-lightbox__media video,
  .bp-explore-lightbox__stage img,
  .bp-explore-lightbox__stage video {
    height: 100vh;
    height: 100dvh;
    max-height: none;
    max-width: none;
    object-fit: cover;
    width: 100vw;
  }

  .bp-explore-lightbox__titlebar {
    background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,0));
  }

  .bp-explore-lightbox__actions {
    right: 10px;
  }

  .bp-explore-lightbox__products {
    bottom: 12px;
    left: 8px;
    margin: 0;
    max-width: none;
    padding: 0;
    right: 8px;
    width: auto;
  }
}

/* v1.1.31: HLS quality selector for imported VOD videos */
.bp-explore-quality-select {
  background: rgba(0, 0, 0, .68);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  inset-inline-end: 10px;
  max-width: 120px;
  padding: 5px 8px;
  position: absolute;
  top: 10px;
  z-index: 6;
}

.bp-explore-quality-select option {
  color: #111;
}

/* v1.1.34: minimal video controls and VOD warm-up */
.bp-explore-lightbox__stage {
  position: relative;
}

/* v1.1.49: visible download/startup loader for post and story videos */
.bp-explore-lightbox__stage.is-video-loading::before,
.bp-explore-lightbox__stage.is-video-loading::after {
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  z-index: 6;
}

.bp-explore-lightbox__stage.is-video-loading::before {
  animation: bpExploreVideoLoadingSpin .78s linear infinite;
  border: 3px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  border-top-color: #fff;
  content: '';
  height: 44px;
  top: calc(50% - 38px);
  width: 44px;
}

.bp-explore-lightbox__stage.is-video-loading::after {
  background: rgba(0, 0, 0, .58);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #fff;
  content: 'در حال بارگذاری...';
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  padding: 7px 14px;
  text-align: center;
  top: calc(50% + 18px);
  white-space: nowrap;
}

@keyframes bpExploreVideoLoadingSpin {
  from {
    transform: translateX(-50%) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.bp-explore-player-controls {
  align-items: center;
  background: rgba(0, 0, 0, .46);
  border-radius: 999px;
  bottom: 14px;
  display: flex;
  gap: 10px;
  inset-inline: 14px;
  padding: 8px 10px;
  position: absolute;
  z-index: 7;
}

.bp-explore-player-controls__mute {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.bp-explore-player-controls__mute .bp-icon {
  fill: currentColor;
  height: 20px;
  width: 20px;
}

.bp-explore-player-controls__progress {
  -webkit-appearance: none;
  appearance: none;
  accent-color: #fff;
  background: linear-gradient(to right, #fff 0 var(--bp-video-progress, 0%), rgba(255, 255, 255, .34) var(--bp-video-progress, 0%) 100%);
  border-radius: 999px;
  cursor: pointer;
  direction: ltr;
  flex: 1 1 auto;
  height: 4px;
  min-width: 90px;
}

.bp-explore-player-controls__progress::-webkit-slider-runnable-track {
  background: transparent;
  border: 0;
  height: 4px;
}

.bp-explore-player-controls__progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 0;
  border-radius: 999px;
  height: 12px;
  margin-top: -4px;
  width: 12px;
}

.bp-explore-player-controls__progress::-moz-range-track {
  background: rgba(255, 255, 255, .34);
  border: 0;
  border-radius: 999px;
  height: 4px;
}

.bp-explore-player-controls__progress::-moz-range-progress {
  background: #fff;
  border: 0;
  border-radius: 999px;
  height: 4px;
}

.bp-explore-player-controls__progress::-moz-range-thumb {
  background: #fff;
  border: 0;
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.bp-explore-lightbox__stage video[data-bp-minimal-player="1"]::-webkit-media-controls {
  display: none !important;
}

@media (max-width: 575px) {
  .bp-explore-player-controls {
    bottom: 10px;
    inset-inline: 10px;
    padding: 7px 8px;
  }

  .bp-explore-player-controls__mute {
    flex-basis: 32px;
    height: 32px;
    width: 32px;
  }
}

/* v1.1.38: lightbox action buttons without icon background */
.bp-explore-lightbox__actions {
  gap: 14px;
}

.bp-explore-lightbox__action,
.bp-explore-like--lightbox {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #111827 !important;
  display: inline-flex !important;
  flex-direction: column !important;
  gap: 4px;
  height: auto !important;
  line-height: 1 !important;
  min-height: 42px;
  min-width: 42px !important;
  padding: 0 !important;
  text-shadow: none !important;
}

.bp-explore-lightbox__action:hover,
.bp-explore-like--lightbox:hover,
.bp-explore-like--lightbox.is-liked {
  background: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
}

.bp-explore-lightbox__action > span,
.bp-explore-like--lightbox .bp-explore-like__heart {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.bp-explore-lightbox__action .bp-icon,
.bp-explore-like--lightbox .bp-icon {
  color: #111827 !important;
  fill: currentColor;
  height: 23px;
  width: 23px;
}

.bp-explore-lightbox__action b,
.bp-explore-like--lightbox .bp-explore-like__count {
  color: #111827 !important;
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  margin: 0 !important;
  min-height: 12px;
  min-width: 1px;
  text-align: center;
}

/* v1.1.44: product strip + quickview behavior */
.bp-explore-card__products {
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, .94);
  border-radius: 14px;
  bottom: 8px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  left: 8px;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px;
  position: absolute;
  right: 8px;
  scrollbar-width: none;
  transform: none;
  transition: none;
  z-index: 6;
}

.bp-explore-card__products::-webkit-scrollbar {
  display: none;
}

.bp-explore-card:hover .bp-explore-card__products,
.bp-explore-card:focus-within .bp-explore-card__products {
  transform: none;
}

.bp-explore-card__product {
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  flex: 0 0 174px;
  min-height: 58px;
  min-width: 0;
  padding: 6px;
}

.bp-explore-card__product-link {
  cursor: pointer;
  min-width: 0;
  width: 100%;
}

.bp-explore-card__product-image {
  background: rgba(0, 0, 0, .06);
  border-radius: 10px;
  display: block;
  flex: 0 0 44px;
  height: 44px;
  overflow: hidden;
  width: 44px;
}

.bp-explore-card__product-image img,
.bp-explore-card__product img {
  border-radius: 10px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.bp-explore-card__product-name {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-size: .78rem;
  line-height: 1.25;
  max-height: 2.5em;
  min-height: 2.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.bp-explore-card__cart {
  display: none !important;
}

.bp-explore-lightbox__products .bp-explore-card__products {
  background: transparent;
  border-radius: 0;
  bottom: auto;
  left: auto;
  max-height: none;
  padding: 2px 2px 8px;
  position: static;
  right: auto;
}

.bp-explore-lightbox__products .bp-explore-card__product {
  flex-basis: 176px;
}

.bp-explore-story-card > .bp-explore-card__products {
  display: none;
}

@media (max-width: 767px) {
  .bp-explore-card__overlay,
  .bp-explore-card__stats {
    display: none;
  }

  .bp-explore-card__products {
    bottom: 6px;
    display: flex;
    gap: 6px;
    left: 6px;
    padding: 5px;
    right: 6px;
  }

  .bp-explore-card__product {
    flex-basis: calc((100vw - 54px) / 2);
    max-width: 168px;
    min-height: 56px;
    padding: 5px;
  }

  .bp-explore-card__product-image {
    flex-basis: 40px;
    height: 40px;
    width: 40px;
  }

  .bp-explore-card__product-name {
    font-size: .74rem;
  }

  .bp-explore-lightbox__products .bp-explore-card__product {
    flex-basis: calc((100vw - 34px) / 2);
    max-width: 174px;
  }
}

/* v1.1.48: keep related products/categories below the video progress bar in the lightbox. */
.bp-explore-lightbox.has-products .bp-explore-player-controls {
  bottom: 104px;
  z-index: 8;
}

.bp-explore-lightbox.has-products .bp-explore-lightbox__products {
  bottom: 10px;
  z-index: 7;
}

.bp-explore-lightbox__products .bp-explore-card__products {
  padding-bottom: 0;
}

.bp-explore-card__product-image:empty::before {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
}

@media (max-width: 575px) {
  .bp-explore-lightbox.has-products .bp-explore-player-controls {
    bottom: 96px;
  }
}

/* v1.1.50: custom post/story link button above the video progress bar */
.bp-explore-lightbox__link-button {
  align-items: center;
  background: rgba(0, 0, 0, .52);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  bottom: 72px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  justify-content: center;
  left: 50%;
  line-height: 1.2;
  max-width: calc(100% - 48px);
  min-height: 38px;
  opacity: .86;
  padding: 9px 16px;
  pointer-events: auto;
  position: absolute;
  text-align: center;
  text-decoration: none;
  transform: translateX(-50%);
  transition: opacity .16s ease, background .16s ease, transform .16s ease;
  white-space: nowrap;
  z-index: 9;
}

.bp-explore-lightbox__link-button:hover,
.bp-explore-lightbox__link-button:focus {
  background: rgba(0, 0, 0, .72);
  color: #fff;
  opacity: 1;
  text-decoration: none;
  transform: translateX(-50%) translateY(-1px);
}

.bp-explore-lightbox__link-icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.bp-explore-lightbox__link-icon .bp-icon {
  fill: currentColor;
  height: 16px;
  width: 16px;
}

.bp-explore-lightbox__link-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-explore-lightbox.has-products .bp-explore-lightbox__link-button {
  bottom: 160px;
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .bp-explore-lightbox__link-button {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 575px) {
  .bp-explore-lightbox__link-button {
    bottom: 64px;
    max-width: calc(100% - 32px);
    min-height: 36px;
    padding: 8px 14px;
  }

  .bp-explore-lightbox.has-products .bp-explore-lightbox__link-button {
    bottom: 150px;
  }
}

.bp-product-video-badge-host {
  position: relative;
}

.bp-product-video-badge {
  align-items: center;
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  color: #fff !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  line-height: 1;
  max-width: calc(100% - 16px);
  padding: 7px 9px;
  position: absolute;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
  z-index: 8;
}

.bp-product-video-badge:hover,
.bp-product-video-badge:focus {
  background: rgba(0, 0, 0, .88);
  color: #fff !important;
  opacity: 1;
  transform: translateY(-1px);
}

.bp-product-video-badge--top-right {
  right: 8px;
  top: 8px;
}

.bp-product-video-badge--top-left {
  left: 8px;
  top: 8px;
}

.bp-product-video-badge--bottom-right {
  bottom: 8px;
  right: 8px;
}

.bp-product-video-badge--bottom-left {
  bottom: 8px;
  left: 8px;
}

.bp-product-video-badge__icon {
  align-items: center;
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  height: 18px;
  justify-content: center;
  line-height: 1;
  padding-left: 1px;
  width: 18px;
}

.bp-product-video-badge__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-cover .bp-product-video-badge,
.images-container .bp-product-video-badge {
  font-size: 13px;
  padding: 8px 11px;
}

@media (max-width: 575px) {
  .bp-product-video-badge {
    font-size: 0;
    gap: 0;
    padding: 7px;
  }

  .product-cover .bp-product-video-badge,
  .images-container .bp-product-video-badge {
    font-size: 12px;
    gap: 5px;
    padding: 8px 10px;
  }

  .bp-product-video-badge__text {
    max-width: 112px;
  }
}

.bp-product-video-badge--hook {
  bottom: auto !important;
  left: auto !important;
  margin: 4px 0;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  vertical-align: middle;
  z-index: 1;
}

.bp-product-video-badge--placement-side,
.bp-product-video-badge--placement-before,
.bp-product-video-badge--placement-after,
.bp-product-video-badge--hook {
  bottom: auto !important;
  left: auto !important;
  margin: 6px 0;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  vertical-align: middle;
  z-index: 3;
}

.bp-product-video-badge--placement-side {
  margin-inline-start: 8px;
  margin-inline-end: 8px;
}

.bp-product-video-badge--placement-before {
  margin-bottom: 8px;
}

.bp-product-video-badge--placement-after {
  margin-top: 8px;
}

.bp-product-video-badge-flow-parent > .bp-product-video-badge--placement-side,
.bp-product-video-badge-flow-parent > .bp-product-video-badge--placement-before,
.bp-product-video-badge-flow-parent > .bp-product-video-badge--placement-after {
  max-width: max-content;
}
