.bkmu,
.bkmu * {
  box-sizing: border-box;
}

.bkmu {
  display: grid;
  gap: 26px;
}

.bkmu-empty,
.bkmu-noimage {
  padding: 24px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
}

.bkmu-noimage {
  min-height: var(--bkmu-image-height, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ece7e2;
  color: #6f665f;
}

.bkmu-noimage a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   LIST
========================= */

.bkmu-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.bkmu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
}

.bkmu-card__grid {
  display: grid;
  grid-template-columns: clamp(260px, 31%, 360px) minmax(0, 1fr) clamp(190px, 20%, 230px);
  align-items: stretch;
}

.bkmu-card__media {
  height: var(--bkmu-image-height, 320px);
  min-height: 0;
  background: #ece7e2;
  overflow: hidden;
  position: relative;
}

.bkmu-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.bkmu-slider__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bkmu-slider__track {
  display: flex;
  height: 100%;
  transition: transform .35s ease;
  will-change: transform;
}

.bkmu-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.bkmu-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.bkmu-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bkmu-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  color: #fff;
  border: 0;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.bkmu-slider__nav--prev {
  left: 14px;
}

.bkmu-slider__nav--next {
  right: 14px;
}

.bkmu-card__main {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bkmu-title {
  font-size: 1.95rem;
  color: var(--bkmu-color-title);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.bkmu-title a {
  color: inherit;
  text-decoration: none;
}

.bkmu-title a:hover {
  text-decoration: underline;
}

.bkmu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #6d665f;
  font-size: 1rem;
}

.bkmu-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bkmu-color-button) 14%, white);
  color: var(--bkmu-color-title);
  font-weight: 700;
  font-size: .92rem;
}

.bkmu-desc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bkmu-desc-preview {
  color: #4d4742;
  line-height: 1.8;
  font-size: 1rem;
}

.bkmu-readmore {
  font-size: .92rem;
  font-weight: 700;
  color: var(--bkmu-color-title);
  text-decoration: none;
  width: fit-content;
}

.bkmu-readmore:hover {
  text-decoration: underline;
}

.bkmu-card__side {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(180deg, rgba(248,245,241,.7) 0%, rgba(255,255,255,0) 100%);
}

.bkmu-price {
  text-align: right;
}

.bkmu-price__prefix {
  font-size: .95rem;
  color: #6d665f;
  margin-bottom: 6px;
}

.bkmu-price__value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #1f2937;
  letter-spacing: -.03em;
}

.bkmu-price__suffix {
  margin-top: 8px;
  font-size: 1rem;
  color: #6d665f;
}

.bkmu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

.bkmu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all .2s ease;
}

.bkmu-btn--ghost {
  background: #fff;
  color: var(--bkmu-color-title);
  border-color: rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 14px 18px;
}

.bkmu-btn--primary {
  background: var(--bkmu-color-button);
  color: var(--bkmu-color-button-text);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.bkmu-btn--primary:hover,
.bkmu-btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.10);
}

/* =========================
   SINGLE TEMPLATE
========================= */

.bkmu-single__card {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 14px 34px rgba(0,0,0,.07);
  overflow: hidden;
}

.bkmu-single__grid {
  display: grid;
  grid-template-columns: 57% 43%;
}

.bkmu-single__media {
  height: auto;
  min-height: 0;
  background: #ece7e2;
}

.bkmu-single__content {
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.bkmu-single__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.bkmu-single__titlewrap {
  min-width: 0;
}

.bkmu-single__title {
  font-size: 2.45rem;
  color: var(--bkmu-color-title);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.03em;
}

.bkmu-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #6d665f;
  margin-top: 10px;
}

.bkmu-single__price {
  background: #f7f5f3;
  padding: 14px 16px;
  border-radius: 16px;
  text-align: right;
  flex: 0 0 auto;
}

.bkmu-single__desc {
  line-height: 1.9;
  color: #4d4742;
}

.bkmu-single__actions {
  margin-top: 12px;
}

/* =========================
   GALLERY
========================= */

.bkmu-gallery {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bkmu-gallery__main {
  height: 500px;
  overflow: hidden;
}

.bkmu-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bkmu-gallery__thumbs {
  display: flex;
  gap: 12px;
  padding: 14px 12px 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  background: #fff;
}

.bkmu-gallery__thumb {
  flex: 0 0 auto;
  width: 96px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.bkmu-gallery__thumb img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  display: block;
}

.bkmu-gallery__thumb.is-active {
  border-color: var(--bkmu-color-button);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bkmu-color-button) 30%, transparent);
}

.bkmu-gallery__thumbs::-webkit-scrollbar {
  height: 6px;
}

.bkmu-gallery__thumbs::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.2);
  border-radius: 10px;
}

.bkmu-gallery__open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.bkmu-lightbox[hidden] {
  display: none !important;
}

.bkmu-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.bkmu-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .82);
}

.bkmu-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  height: min(88vh, 900px);
  margin: 4vh auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bkmu-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.bkmu-lightbox__content {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bkmu-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 18px;
}

.bkmu-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.bkmu-lightbox__nav--prev {
  left: 10px;
}

.bkmu-lightbox__nav--next {
  right: 10px;
}

.bkmu-lightbox__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 2px;
}

.bkmu-lightbox__thumb {
  flex: 0 0 auto;
  width: 92px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  padding: 0;
  cursor: pointer;
}

.bkmu-lightbox__thumb.is-active {
  border-color: var(--bkmu-color-button);
  box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}

.bkmu-lightbox__thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  display: block;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .bkmu-card__grid {
    grid-template-columns: 260px minmax(0, 1fr) 190px;
  }

  .bkmu-price__value {
    font-size: 2.3rem;
  }

  .bkmu-title {
    font-size: 1.65rem;
  }

  .bkmu-gallery__main {
    height: 440px;
  }
}

@media (max-width: 1024px) {
  .bkmu-card__grid,
  .bkmu-single__grid {
    grid-template-columns: 1fr;
  }

  .bkmu-card__media {
    height: 300px;
    min-height: 300px;
  }

  .bkmu-single__media {
    height: auto;
    min-height: 0;
  }

  .bkmu-gallery__main {
    height: 380px;
  }

  .bkmu-card__main,
  .bkmu-card__side,
  .bkmu-single__content {
    padding: 24px;
  }

  .bkmu-card__side {
    align-items: flex-start;
    background: transparent;
    padding-top: 0;
  }

  .bkmu-price,
  .bkmu-single__price {
    text-align: left;
  }

  .bkmu-actions {
    width: auto;
    min-width: 220px;
  }

  .bkmu-lightbox__dialog {
    width: 96vw;
    height: 92vh;
    margin: 2vh auto;
  }

  .bkmu-lightbox__thumb {
    width: 80px;
  }

  .bkmu-lightbox__thumb img {
    height: 62px;
  }
}

@media (max-width: 640px) {
  .bkmu {
    gap: 18px;
  }

  .bkmu-card,
  .bkmu-single__card,
  .bkmu-empty,
  .bkmu-noimage {
    border-radius: 18px;
  }

  .bkmu-title {
    font-size: 1.45rem;
  }

  .bkmu-single__title {
    font-size: 1.9rem;
  }

  .bkmu-price__value {
    font-size: 2.1rem;
  }

  .bkmu-meta,
  .bkmu-single__meta {
    gap: 12px;
    font-size: .95rem;
  }

  .bkmu-card__media {
    height: 260px;
    min-height: 260px;
  }

  .bkmu-gallery__main {
    height: 300px;
  }

  .bkmu-gallery__thumb {
    width: 82px;
  }

  .bkmu-gallery__thumb img {
    height: 66px;
  }
}