.gallery-image-wrapper img {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: top center;
  height: 100% !important;
  width: 100%;
  display: block;
}

.gallery-image-wrapper {
  height: 375px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 10px;
}

.gallery-wrapper .gallery-image-wrapper img {
  transition: all 0.3s ease-in-out;
}

.gallery-wrapper:hover .gallery-image-wrapper img {
  transform: scale(1.02);
}

.rbm-outlet-card .rbm-featured {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.rbm-thumb {
  cursor: pointer;
  border-radius: 0.5rem;
  overflow: hidden;
}

.rbm-slider .slick-slide {
  padding: 0 6px;
}

.rbm-slider .slick-prev,
.rbm-slider .slick-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.rbm-slider .slick-prev:before,
.rbm-slider .slick-next:before {
  color: #fff;
}

.rbm-modal .carousel-control-prev,
.rbm-modal .carousel-control-next {
  /* width: 12%; */
}

.rbm-modal .carousel-indicators {
  position: static;
  margin: 0.5rem 0 0;
  gap: 8px;
  flex-wrap: wrap;
}

.rbm-modal .carousel-indicators [data-bs-target] {
  width: 78px;
  height: 58px;
  border: 0;
  opacity: 0.6;
  overflow: hidden;
}

.rbm-modal .carousel-indicators .active {
  opacity: 1;
  outline: 2px solid #fff;
}

.rbm-meta small {
  display: block;
  color: #6c757d;
}

/* Restore Bootstrap styles for accordion button within our shortcode scope */
.rbm-bs-fix .accordion-item {
  border: 0;
  background: #fff;
}

.rbm-bs-fix .accordion-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: none;
  text-align: left;
  transition: background-color 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.rbm-bs-fix .accordion-button:not(.collapsed) {
  color: #0c63e4;
  background-color: #e7f1ff;
  border-color: #b6d4fe;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.rbm-bs-fix .accordion-button:focus {
  outline: 0;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.rbm-bs-fix .accordion-body {
  border: 1px solid #dee2e6;
  border-top: 0;
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  padding: 1rem;
}

/* Chevron icon like Bootstrap */
/* .rbm-bs-fix .accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
} */

/* Icon chevron-down (mặc định) + quay lên khi mở */
.rbm-bs-fix .accordion-button::after {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  flex-shrink: 0;
  background-color: #000; /* màu icon mặc định */
  -webkit-mask: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'>\<path d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/>\</svg>")
    center/100% 100% no-repeat;
  mask: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'>\<path d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/>\</svg>")
    center/100% 100% no-repeat;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.rbm-bs-fix .accordion-button:hover::after,
.rbm-bs-fix .accordion-button:focus::after {
  background-color: #fff; /* hover đổi sang trắng */
  filter: brightness(3);
}
.rbm-bs-fix .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.rbm-bs-fix .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

/* In case theme is forcing button styles */
.rbm-bs-fix .accordion-button,
.rbm-bs-fix .accordion-button * {
  font-family: inherit;
}

/* ===== Slick reset + layout (scoped) ===== */
.rbm-bs-fix .rbm-slider {
  position: relative;
}

/* Arrow buttons */
.rbm-bs-fix .rbm-slider .slick-prev,
.rbm-bs-fix .rbm-slider .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  /* Ẩn chữ “Previous/Next” bị theme làm hiện */
  font-size: 0;
  line-height: 0;
  color: transparent;
}

/* Vị trí trái/phải */
.rbm-bs-fix .rbm-slider .slick-prev {
  left: -18px;
}

.rbm-bs-fix .rbm-slider .slick-next {
  right: -18px;
}

/* Icon mũi tên (không lệ thuộc slick.css) */
.rbm-bs-fix .rbm-slider .slick-prev::before,
.rbm-bs-fix .rbm-slider .slick-next::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.rbm-bs-fix .rbm-slider .slick-prev::before {
  transform: rotate(-135deg);
}

.rbm-bs-fix .rbm-slider .slick-next::before {
  transform: rotate(45deg);
}

/* Dots: nằm ngang, ẩn số 1..5 */
.rbm-bs-fix .rbm-slider .slick-dots {
  position: static;
  margin: 10px 0 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.rbm-bs-fix .rbm-slider .slick-dots li {
  display: inline-block;
  margin: 0;
}

.rbm-bs-fix .rbm-slider .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #cfd3d7;
  /* Ẩn số thứ tự bị theme áp font */
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.rbm-bs-fix .rbm-slider .slick-dots li.slick-active button {
  background: #111;
}

/* Ảnh trong slide: canh giữa, đồng nhất chiều cao nhìn ổn */
.rbm-bs-fix .rbm-slider .slick-slide {
  padding: 0 8px;
}

.rbm-bs-fix .rbm-slider .slick-slide img {
  display: block;
  margin: 0 auto;
  max-height: 520px;
  width: auto;
  height: auto;
  /* giữ tỉ lệ */
}

/* Mobile điều chỉnh mũi tên sát hơn */
@media (max-width: 576px) {
  .rbm-bs-fix .rbm-slider .slick-prev {
    left: -6px;
  }

  .rbm-bs-fix .rbm-slider .slick-next {
    right: -6px;
  }
}

.rbm-bs-fix .carousel-control-next,
.rbm-bs-fix .carousel-control-prev {
  background: #000000;
}
