.category-bar-wrapper {
    padding: 10px 0;
}
.category-bar {
    display: flex;
    justify-content: center;
    max-width: 100%;
    padding: 0;
}
.category-bar-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 10px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.category-bar-list::-webkit-scrollbar {
    display: none;
}
.category-bar-item {
    flex: 0 0 auto;
    max-width: 140px;
    padding: 6px 16px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 20px;
    transition: all 0.2s;
}
.category-bar-item:hover {
    color: #000;
    background: #f0f0f0;
    border-color: #999;
}
.category-bar-item.active {
    color: #fff;
    background: #333;
}

.stopfade {
    opacity: .5;
}
.item_3{
    position: relative;
}
.info-card {
  display: none;
  top: 20.8%;
  left: 12.5%;
  position:  absolute;
  width: 75%;
  border-radius: 5%;
  float: right;
}
.box-skip-video {
  position: absolute;
  top: 10px;
  right: 20px;
}
.box-skip-video > span {
  color: white;
}

.box-skip-video:hover {
  border: 1.5px solid white;
  border-radius: 2px;
}
.info-card > img {
  border-radius: 5%;
  width: 100% !important;
  opacity: 0.9;
  margin: 2px;
}
.video-roll {
}

#video-roll{
    width: 100%;
    max-width: 580px;
    margin: auto;
}
video {
    width: 100%;
}
.row_roll {
  width: 100%;
  max-width: 500px;
  min-width: 370px;
  position: relative;
  margin: auto;
}
.img-roll-none{
    display: none;
}

/* Modal xác nhận quay (Redmine #42955) : chỉ áp cho khối .roll-confirm, không đổi class dùng chung */
.modal-dialog.roll-confirm-dialog {
  max-width: 360px;
  width: calc(100% - 32px);
}
.roll-confirm-dialog .modal-content {
  border: none;
  border-radius: 12px;
}
.roll-confirm-dialog .modal-body {
  padding: 16px;
}
.roll-confirm {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}
.roll-confirm .roll-confirm__message {
  margin: 24px 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.roll-confirm .roll-confirm__message strong {
  font-weight: 700;
}
.roll-confirm .roll-confirm__cost {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  margin-bottom: 12px;
  padding: 14px 12px;
  border-radius: 8px;
  background-color: #f0f1f1;
  font-size: 16px;
  font-weight: 700;
}
.roll-confirm .roll-confirm__notice {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #dcdfe0;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}
.roll-confirm .roll-confirm__notice-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}
.roll-confirm .roll-confirm__notice-item {
  margin-bottom: 4px;
}
.roll-confirm .roll-confirm__link {
  font-weight: 500;
}
.roll-confirm .roll-confirm__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin-top: 8px;
}
.roll-confirm .roll-confirm__link,
.roll-confirm .roll-confirm__link:hover {
  color: #e53935;
  text-decoration: underline;
}
.roll-confirm .roll-confirm__link i {
  margin-left: 2px;
  font-size: 9px;
}
.roll-confirm .roll-confirm__actions {
  display: flex;
  gap: 12px;
}
.roll-confirm .roll-confirm__btn {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 8px;
  border: none;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.roll-confirm .roll-confirm__btn:focus {
  outline: none;
}
.roll-confirm .roll-confirm__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.roll-confirm .roll-confirm__btn--cancel {
  background-color: #f0f1f1;
  color: #999;
}
.roll-confirm .roll-confirm__btn--submit {
  background-color: #fdd835;
  color: #000;
}
/* Trang chi tiết pack : style.css có `#open_pack #modal_confirm button` (2 id) ⇒ phải ghi đè cùng độ mạnh */
#open_pack #modal_confirm .roll-confirm .roll-confirm__btn {
  width: auto;
  height: 44px;
  margin: 0;
}
