/* Text primary */
.text-color-primary {
  color: var(--color-primary) !important;
}

/*--------------------------------------------------------------------------
|  Header
--------------------------------------------------------------------------*/
.box-search .input-group {
  border: 1px solid var(--color-primary);
  border-radius: 8px;
}

.dcs-design {
  color: #9ca3af;
  /* Màu xám nhạt */
  margin-top: 10px;
  font-size: 14px;
}

.box-search .input-group .form-control {
  height: 42px;
  border: 0;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.box-search .input-group .input-group-append .btn-submit {
  background: none;
  border: 0;
  padding: 0 10px;
}

/* Header Menu Links */
header .menu-section ul li a {
  color: var(--color-secondary);
  transition: color 0.3s ease;
}

header .menu-section ul li a:hover {
  color: var(--color-primary) !important;
  text-decoration: none;
}

header .menu-section ul li.active>a,
header .menu-section ul li a.active {
  color: var(--color-primary) !important;
}

/* Dropdown Menu for Desktop - Grid 3 columns */
@media (min-width: 768px) {
  .menu-section>ul>li.has-child {
    position: relative;
  }

  .menu-section>ul>li.has-child>.submenu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #ffffff !important;
    min-width: 600px !important;
    max-width: 800px !important;
    padding: 20px !important;
    margin: 5px 0 0 0 !important;
    list-style: none !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 4px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 10px !important;
  }

  .menu-section>ul>li.has-child:hover>.submenu {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .menu-section>ul>li.has-child>.submenu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
  }

  .menu-section>ul>li.has-child>.submenu li:last-child {
    border-bottom: none !important;
  }

  .menu-section>ul>li.has-child>.submenu li a {
    display: block !important;
    padding: 12px 15px !important;
    color: #555555 !important;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    white-space: normal !important;
    text-align: center !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 4px !important;
    height: 100% !important;
  }

  .menu-section>ul>li.has-child>.submenu li a:hover {
    background: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
  }
}

.hotline-head {
  display: flex !important;
  align-items: center;
}

/* Header Mobile Styles */
@media (max-width: 767px) {

  /* Đặt row trong header thành flex ngang */
  header .row,
  .setting-menu .row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }

  /* Căn chỉnh các cột trong header */
  header .row>.col-md-3,
  .setting-menu .row>.col-md-3 {
    flex: 0 0 auto !important;
    /* Logo */
    max-width: none !important;
    width: auto !important;
  }

  footer .dcs-website {
    margin: 14px 0;
  }

  .box-footer-mid.border-top.py-5 {
    padding-bottom: 0px !important;
  }

  header .row>.col-md-7,
  .setting-menu .row>.col-md-7 {
    flex: 1 1 auto !important;
    /* Menu takes all remaining space */
    display: flex;
    justify-content: flex-end;
    /* Align menu icon to the right */
    max-width: none !important;
  }

  header .row>.col-md-2,
  .setting-menu .row>.col-md-2 {
    display: none !important;
    /* Hide empty column to prevent taking up space */
  }

  /* Override Bootstrap col-12 trên mobile */
  header .row [class*="col-"],
  .setting-menu .row [class*="col-"] {
    flex: none !important;
    width: auto !important;
  }

  header .row>div:nth-child(1),
  .setting-menu .row>div:nth-child(1) {
    /* Logo */
    order: 1;
  }

  footer .logo-section a .img-fluid {
    max-height: 70px;
  }

  .btn-menu-mobile {
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    font-size: 2rem;
    display: inline-block;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    padding-right: 0;
  }

  header .row>div:nth-child(2),
  .setting-menu .row>div:nth-child(2) {
    /* Menu */
    order: 2;
    flex: 1 1 auto !important;
    display: flex;
    justify-content: flex-end;
    padding-right: 0px;
  }

  header .row>div:nth-child(3),
  .setting-menu .row>div:nth-child(3) {
    /* Button */
    order: 3;
  }

  /* Ẩn hotline ở màn mobile */
  .hotline-head {
    display: none !important;
  }

  /* Đảm bảo logo có kích thước phù hợp */
  .logo-section img {
    max-height: 40px;
    width: auto;
    /* margin-bottom: 12px; */
  }

  /* Nút menu mobile căn giữa */
  .menu-container {
    display: flex;
    justify-content: center;
  }

  /* Nút gửi yêu cầu với icon only trên mobile */
  .btn-request {
    padding: 8px 12px;
    font-size: 0;
    min-width: auto;
  }

  .btn-request span {
    display: none;
  }

  .btn-request i {
    font-size: 16px;
    margin-right: 0;
  }

  /* Ẩn icon arrow trên mobile */
  .fa-arrow-right.ms-2 {
    display: none !important;
  }

  .box-footer-mid .col-md-2.col-12 {
    margin-bottom: 12px;
  }

  /* Căn giữa logo footer trên mobile */
  footer .logo-section {
    text-align: center;
  }
}

.hotline-head i {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  border: none;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--white);
}

/* Request Button Styles */
.btn-request {
  background-color: var(--color-primary) !important;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.btn-request i {
  color: var(--white);
}

.btn-request:hover {
  background-color: var(--color-primary-dark) !important;
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 25, 23, 0.3);
}

.btn-request:focus {
  outline: none;
  box-shadow: none;
}

/* Floating Request Button */
.btn-request-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary) !important;
  color: var(--white);
  display: none;
  /* Hidden by default (Desktop) */
  align-items: center;
  justify-content: center;
  z-index: 999;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(240, 25, 23, 0.3);
  transition: all 0.3s ease;
}

.btn-request-floating:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(240, 25, 23, 0.4);
  background-color: var(--color-primary-dark) !important;
}

.btn-request-floating i {
  font-size: 24px;
  color: var(--white);
}

@media (max-width: 768px) {
  .btn-request-floating {
    display: flex;
    /* Show only on mobile/tablet */
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .btn-request-floating i {
    font-size: 20px;
  }
}

.phone-show {
  display: flex;
  flex-direction: column;
  font-size: 1.8rem;
}

/*--------------------------------------------------------------------------
|  Main
--------------------------------------------------------------------------*/
.banner-slider .info-form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slider .info-form .text {
  text-align: center;
  color: #fff;
  width: 100%;
}

.banner-slider .info-form .text .title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.banner-slider .info-form .text .dsc {
  font-size: 2.5rem;
}

.banner-slider .info-form .form {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1.5rem;
  max-width: 85rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
}

.banner-slider .info-form .form .btn-submit {
  width: 100%;
  border-radius: 0.8rem;
  height: 5rem;
}

.banner-slider .info-form .form .orderby-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.banner-slider .info-form .form .dropdown-menu {
  min-width: 17rem;
  padding: 0;
}

.banner-slider .info-form .form .dropdown-menu .checkmark {
  height: 1.6rem;
  width: 1.6rem;
  background-color: #fff;
  display: inline-block;
  margin-right: 0.8rem;
  border: 1px solid #464646;
  border-radius: 0.3rem;
  position: relative;
}

.banner-slider .info-form .form .dropdown-menu .list-item .item-check>label {
  display: block;
  margin-bottom: 0;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
}

.banner-slider .info-form .form .dropdown-menu .list-item .item-check>label input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.banner-slider .info-form .form .dropdown-menu .list-item input:checked~.checkmark {
  background: var(--color-highlight);
}

.banner-slider .info-form .form .dropdown-menu .list-item input:checked~.checkmark:after {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  color: #fff;
  font-size: 0.9rem;
  position: absolute;
  top: 0;
  left: 0.3rem;
}

.banner-slider .info-form .form .dropdown-menu .list-item .item-check>label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.banner-slider .info-form .form .orderby-title>span {
  cursor: pointer;
}

.banner-slider .info-form .form .item-check.custom-control {
  padding-left: 0;
}

.banner-slider .info-form .form .dropdown-menu .list-item {
  max-height: 250px;
  overflow-y: auto;
}

.banner-slider .info-form .form .dropdown-menu .list-item::-webkit-scrollbar {
  width: 0.2rem;
  background-color: #f5f5f5;
  border: 1px solid #fff;
}

.banner-slider .info-form .form .dropdown-menu .list-item::-webkit-scrollbar-thumb {
  background-color: #000;
  width: 0.3rem;
}

.banner-slider .info-form .form .orderby-title span.text-name span {
  display: block;
}

.banner-slider .info-form .form .orderby-title span.icon {
  border: 1px solid #e7e6e6;
  width: 5rem;
  height: 5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  margin-right: 1rem;
  color: #000;
  font-size: 2rem;
}

.banner-slider .info-form .form .dropdown-menu .list-item .item-check>label:hover {
  color: var(--color-highlight);
}

.banner-slider .info-form .form .dropdown-menu .list-item .item-check>label:hover .checkmark {
  border-color: var(--color-highlight);
}

.text-benefit-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.item-modern {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  border-radius: 20px;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.item-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-primary);
  transition: height 0.3s ease;
}

.item-modern:hover {
  transform: translateX(15px);
  background: #fff;
  border-color: var(--color-primary-light);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.item-modern:hover::before {
  height: 100%;
}

.icon-box {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 18px;
  font-size: 24px;
  transition: all 0.4s ease;
}

.item-modern:hover .icon-box {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1) rotate(-10deg);
  box-shadow: 0 10px 20px -5px rgba(240, 25, 23, 0.4);
}

.content-box {
  flex: 1;
}

.title-modern {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  transition: color 0.3s ease;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.item-modern:hover .title-modern {
  color: var(--color-primary);
}

.item-modern .description {
  font-size: 1.45rem;
  line-height: 1.7;
  color: #4b5563;
  text-align: justify;
}

@media (max-width: 767px) {
  .item-modern:hover {
    transform: translateY(-5px);
  }

  .item-modern {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

.box-enjoytour .box-slogan * {
  position: relative;
}

.box-enjoytour .box-slogan {
  padding: 6rem 0;
  position: relative;
}

.box-enjoytour .box-slogan:before {
  content: "";
  background: #c4eeec;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 200%;
  z-index: 0;
}

.box-enjoytour .title-slogan {
  border-left: 2px solid black;
  padding: calc(3rem + 5vw) 0;
  margin-left: 6rem;
  padding-left: 6rem;
}

.inner-video .fa-circle-play {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8rem;
  color: black;
}

.title-tab {
  margin-bottom: 30px;
}

.title-tab .block-tab>li.nav-item {
  margin-right: 15px;
}

.title-tab .block-tab>li.nav-item>.nav-link {
  font-weight: 600;
  color: #7c828f;
  font-size: 14px;
  border-radius: 22px;
  padding: 12px 25px;
  margin-bottom: 0;
  border-bottom: 0;
  border: 1px solid #ddd;
}

.title-tab .block-tab>li.nav-item>.nav-link.active,
.title-tab .block-tab>li.nav-item>.nav-link:hover {
  background: #004ee6;
  color: #fff;
}

.title-tab .title-slogan {
  margin-bottom: 25px;
}

.product-item .inner-content {
  padding: 15px;
}

.img-benefit-modern {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-benefit-modern .img {
  border-radius: 30px;
  overflow: hidden;
  /* box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2); */
  transition: all 0.5s ease;
  width: 100%;
}

.img-benefit-modern:hover .img {
  transform: scale(1.03) translateY(-10px);
}

.benefit-badge {
  position: absolute;
  bottom: 110px;
  left: 150px;
  background: var(--color-primary);
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 35px rgba(240, 25, 23, 0.4);
  z-index: 10;
  animation: float-badge 4s ease-in-out infinite;
}

.benefit-badge .number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.benefit-badge .text {
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.3rem;
  white-space: nowrap;
}

@keyframes float-badge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 991px) {
  .img.ratio-1-1.d-block.d-lg-none.mobile-img {
    padding-top: 45%;
  }

  .benefit-badge {
    left: 20px;
    padding: 1rem 1.5rem;
  }

  .benefit-badge .number {
    font-size: 2rem;
  }
}

.product-item .inner-content .attributes .item span.name>i {
  margin-right: 5px;
  color: black;
  display: inline-block;
  width: 13px;
}

.product-item .inner-content .attributes .item span.value>span {
  margin-left: 3px;
  position: relative;
}

.product-item .inner-content .attributes .item span.value>span:first-child {
  margin-left: 0;
}

.product-item .inner-content .attributes .item span.value>span:before {
  content: ",";
  margin-right: 3px;
}

.product-item .inner-content .attributes .item span.value>span:first-child:before {
  display: none;
}

.category-list .inter-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem 3rem 2rem;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(0, 0, 0, 0.71) 100%);
}

.category-list .inter-content .name>a {
  font-size: 2rem;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}

.box-category-product {
  background-position: center 43%;
}

.box-what-customers .item {
  border: 1px solid #ddd;
  padding: 30px;
  border-radius: 20px;
  background: white;
}

.box-what-customers .item .title {
  font-weight: 700;
  margin-bottom: 15px;
}

.box-what-customers .item .description {
  margin-bottom: 15px;
}

.box-what-customers .item .img-name {
  display: flex;
  align-items: center;
}

.box-what-customers .item .img-name .img {
  flex: 0 0 80px;
  max-width: 80px;
  margin-right: 15px;
}

.box-what-customers .item .img-name .img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.box-what-customers .item .inter-content .name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.swiper-button-prev i,
.swiper-button-next i {
  color: #fff;
}

.article-item {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
}

.article-item .inner-content {
  padding: 15px;
}

.box-article-detail .banner-article-detail {
  max-width: calc(100% - 10vw);
  margin-left: auto;
  margin-right: auto;
}

.box-article-detail .banner-article-detail .inner-image {
  width: 100%;
  height: 25vw;
  background: #f1f5f9;
  border-radius: 50px;
  overflow: hidden;
}

.box-article-detail .banner-article-detail .inner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box-article-detail .banner-article-detail.no-image {
  min-height: 250px;
  background: #f1f5f9;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-article-detail .banner-article-detail.no-image::after {
  content: "\f03e";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 3rem;
  color: #cbd5e1;
}

.box-article-detail .article-detail {
  flex-basis: calc(100% - 90px);
  max-width: calc(100% - 90px);
  padding: 30px 20px 20px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ddd;
}

.box-article-detail .box-share-article {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -140px;
}

.box-article-detail .social-share {
  background: #fff;
  display: inline-block;
  padding: 5px 5px;
  border-radius: 43px;
  border: 1px solid #dddd;
}

.box-article-detail .item-detail-share {
  flex: 0 0 60px;
  max-width: 60px;
}

.box-article-detail .social-share .list-social .btn-social a {
  color: #fff !important;
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.box-article-detail .social-share .list-social .btn-social svg {
  width: 40px;
  height: 40px;
}

.box-article-detail .article-detail .article-top .title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-transform: upercase;
  /* padding: 0 50px; */
  margin-bottom: 15px;
  text-align: left;
}

.box-article-detail .article-detail .article-top {
  text-align: center;
}

.box-article-detail .author-view-detail {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.box-article-detail .author-view-detail .author {
  display: flex;
  align-items: center;
}

.box-article-detail .author-view-detail .author .img-author {
  margin-right: 15px;
}

.box-article-detail .author-view-detail .author .img-author img {
  width: 54px;
  height: 54px;
  border: 4px solid var(--blue-black);
  border-radius: 50%;
}

.box-article-detail .author-view-detail .view {
  background: #eaeaea;
  padding: 2px 10px;
  border-radius: 20px;
  color: #000;
  font-size: 13px;
}

.box-article-detail .author-view-detail .view i {
  margin-right: 5px;
}

.box-article-detail .social-share .list-social .btn-social:last-child a {
  margin-bottom: 0;
}

.header-page-title {
  height: 375px;
  background-image: url("../media/image/banner-nhatrang.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* backdrop-filter: brightness(60%); */
  /* -webkit-backdrop-filter: brightness(60%); */
  /* margin-bottom: 70px; */
}

.page-description {
  font-size: 17px;
}

.header-page-title .breadcrumb {
  height: 100%;
  backdrop-filter: brightness(60%);
  -webkit-backdrop-filter: brightness(60%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-page-title .breadcrumb .content {
  text-align: center;
  position: relative;
  z-index: 9;
}

.header-page-title .breadcrumb .content .title {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

.header-page-title .breadcrumb nav.breadcrumbs-section {
  justify-content: center;
}

.header-page-title .breadcrumb nav.breadcrumbs-section a,
.header-page-title .breadcrumb nav.breadcrumbs-section a>span {
  color: #fff;
}

.article-hot .info-article-right .article-item {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}

.article-hot .info-article-right .article-item .inner-image {
  flex: 0 0 175px;
}

.article-hot .info-article-right .article-item:last-child {
  margin-bottom: 0;
}

.article-hot .info-article-left .article-item {
  margin-bottom: 0;
  position: relative;
}

.article-hot .info-article-left .article-item .inner-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 9;
}

.article-hot .info-article-left .article-item:before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 190px;
  bottom: 0;
  background-image: linear-gradient(0deg, black, transparent);
  z-index: 1;
}

.article-hot .info-article-left .article-item .inner-content .article-title a {
  color: #fff;
}

.article-hot .info-article-left .article-item .inner-content .post-date {
  color: #fff;
}

.article-hot .info-article-left .article-item .inner-content .article-title {
  height: auto;
}

.article-hot .info-article-left .article-item .inner-content .article-description {
  color: #fff;
}

.article-hot {
  margin-bottom: 70px;
}

.article-hot .title-section {
  margin-bottom: 30px;
}

.article-hot .info-article-left .article-item .inner-image .img {
  padding-top: 75.5%;
}

.box-article-page .article-item {
  display: flex;
  border: 0;
  border-radius: 0;
}

.box-article-page .article-item .inner-image {
  flex: 0 0 250px;
}

.box-article-page .article-item .inner-content {
  padding: 0 15px;
  flex: 1 1;
}

.box-article-page .article-item .inner-content .article-title {
  height: auto;
}

.box-article-page .article-item .inner-image .img {
  border-radius: 12px;
  overflow: hidden;
}

.view-small {
  border: 1px solid #d1d5db;
  border-radius: 12px;
}

.view-small .title {
  padding: 10px 15px;
  /* border-bottom: 1px solid #d1d5db; */
  font-weight: 700;
  font-size: 18px;
}

.view-small .info {
  padding: 15px;
}

.view-small .info .article-item {
  border: 0;
  border-radius: 0;
  display: flex;
  margin-bottom: 20px;
}

.view-small .info .article-item .inner-image {
  flex: 0 0 115px;
  max-width: 115px;
}

.view-small .info .article-item .inner-content {
  padding: 0;
  flex: 1 1;
  padding-left: 15px;
}

.view-small .info .article-item .inner-content .article-title a {
  font-size: 14px;
}

.view-small .info .article-item .inner-content .article-title {
  line-height: 1.2;
  margin-bottom: 5px !important;
  height: auto;
}

.view-small .info .article-item .inner-image .img {
  border-radius: 8px;
  overflow: hidden;
  padding-top: 90%;
}

.view-small .info .article-item .inner-content .article-description {
  font-size: 13px;
}

.view-small .info .article-item:last-child {
  margin-bottom: 0;
}

.box-contact-website .img {
  border-radius: 20px;
  overflow: hidden;
}

.box-contact-website .info-form .title {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

.box-contact-website .info-form .dsc {
  margin-bottom: 20px;
  font-size: 15px;
}

.box-contact-website .info-form .form-group {
  margin-bottom: 15px;
}

.box-contact-website .info-form .form-group .form-control {
  border-radius: 8px;
  height: 48px;
  border-color: #ddd;
}

.box-contact-website .info-form .form-group textarea.form-control {
  height: 100px;
}

.box-contact-website .info-form .form-group .btn-submit {
  border-radius: 8px;
}

.box-map-contact {
  background: var(--light);
  margin-top: 50px;
  padding-left: calc((100% - 1170px) / 2);
}

.box-map-contact>.row {
  display: flex;
  align-items: center;
}

.info-website .info .item>span {
  display: block;
}

.info-website .title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-website .dsc {
  margin-bottom: 25px;
  font-size: 16px;
}

.info-website .info .item {
  margin-bottom: 30px;
}

.info-website .info .item span.name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 15px;
}

.info-website .info .item span.name>svg {
  display: inline-block;
  margin-right: 10px;
}

.info-website .info>.row>div:nth-child(3) .item,
.info-website .info>.row>div:nth-child(4) .item {
  margin-bottom: 0;
}

.box-image-product {
  margin-bottom: 40px;
  position: relative;
}

@media (min-width: 1200px) {
  .box-image-product .row {
    height: 600px;
  }

  .feature.row>.col-lg-5 {
    padding-left: 0;
  }

  .info-benefit .title-slogan {
    margin-bottom: 4.5rem;
  }

  .bg-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .box-image-product .row {
    height: 450px;
  }

  .img.ratio-1-1.d-none.d-lg-block {
    display: none !important;
  }

  .img.ratio-1-1.d-block.d-lg-none.mobile-img {
    display: block !important;
  }

  .benefit-badge {
    display: none;
  }

  #filter-form .filter-price-group.d-flex.align-items-center {
    margin-bottom: 10px;
  }
}

.box-image-product>.row {
  margin-right: -5px;
  margin-left: -5px;
}

.box-image-product>.row>div {
  padding-right: 5px;
  padding-left: 5px;
}

/* Gallery Layout Helpers */
.pd-right-5 {
  padding-right: 5px !important;
}

.pd-left-5 {
  padding-left: 5px !important;
}

/* Main Image Left */
.box-image-product .img-left {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  /* Match height with right column */
}

.box-image-product .img-left>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Gallery Right - 3 images stacked */
.box-image-product .img-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.box-image-product .img-right .img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  min-height: 0;
  position: relative;
}

.box-image-product .img-right .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
}

/* Overlay Expand Button */
.img-right .img .overlay-expand {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-decoration: none !important;
  transition: background 0.3s ease;
}

.img-right .img .overlay-expand:hover {
  background: rgba(0, 0, 0, 0.55);
}

.img-right .img .overlay-expand span {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.img-right .img .overlay-expand i {
  font-size: 20px;
  color: #fff;
}

.img-more-overlay {
  cursor: pointer;
}

.product-content-detail-left .product-info-left {
  border: 1px solid #d1d5db;
  padding: 30px 30px 20px 30px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.product-content-detail-left .product-info-left .product-title-detail {
  font-size: 28px;
  font-weight: 600;
}

.product-content-detail-left .product-info-left .dsc {
  font-size: 16px;
  line-height: 2;
  padding-bottom: 10px;
  overflow: visible;
}

.product-content-detail-left .product-info-left .attributes {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.product-content-detail-left .product-info-left .attributes .item {
  margin-right: 30px;
  margin-bottom: 10px;
}

.product-content-detail-left .product-info-left .attributes span.name i {
  display: inline-block;
  color: var(--color-highlight);
  width: 25px;
  margin-right: 0;
}

.product-content-detail-left .product-info-left .attributes .item span.name {
  font-weight: 600;
}

.product-content-detail-right {
  border: 1px solid #d1d5db;
  padding: 30px;
  border-radius: 12px;
  top: 0;
}

.product-content-detail-right form .form-group {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dddd;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.product-content-detail-right form .form-group span.icon {
  display: inline-block;
  flex: 0 0 40px;
}

.product-content-detail-right form .form-group span.icon svg {
  width: 30px;
  height: 30px;
}

.product-content-detail-right form .form-group span.value {
  flex: 1 1;
}

.product-content-detail-right form .form-group span.value input.form-control {
  border: 0;
  padding: 0;
  height: 35px;
}

.product-content-detail-right form .form-group .btn-submit {
  width: 100%;
  border-radius: 5px;
}

.product-content-detail-right .price {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}

.product-content-detail-right .price .price-amount {
  font-size: 20px;
}

.product-content-detail-right .price .price-amount.old-price {
  font-size: 1.8rem;
}

.product-content-detail-right form .form-group span.value label {
  margin-bottom: 0;
}

.product-content-detail-left .produc-info-left-bottom {
  border: 1px solid #d1d5db;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.product-content-detail-left .produc-info-left-bottom .title,
.product-content-detail-left .product-info-left-lt .title {
  font-size: 28px;
  font-weight: 600;
  /* margin-bottom: 15px; */
}

.load-more {
  background: #ffffff;
  position: relative;
  padding: 10px;
}

.load-more>a {
  padding: 8px 25px;
  background: var(--color-highlight);
  color: #fff;
  display: inline-block;
  border-radius: 20px !important;
  cursor: pointer;
}

.load-more>.btn-hide,
.info-show-content.show .load-more>.btn-show {
  display: none;
}

.info-show-content.show .load-more>.btn-hide {
  display: inline-block;
}

.info-show-content .content-text {
  max-height: 500px;
  overflow: hidden;
}

.info-show-content.show .content-text {
  max-height: 100%;
}

.load-more>a>i {
  font-size: 10px;
}

.product-content-detail-left .product-info-left-lt {
  border: 1px solid #d1d5db;
  padding: 30px;
  border-radius: 12px;
}

.product-content-detail-left .product-info-left-lt .card {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.product-content-detail-left .product-info-left-lt .item-title-process {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  cursor: pointer;
  color: var(--color-highlight);
}

.product-content-detail-left .product-info-left-lt .card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.description-process {
  padding-top: 15px;
}

.product-content-detail-left .product-info-left-lt .item-title-process.collapsed {
  color: #000;
}

.product-content-detail-left .product-info-left-lt .item-title-process.collapsed i:before {
  content: "\f078";
}

.box-image-product .item.item-img>a {
  position: absolute;
  z-index: 9;
  bottom: 10px;
  left: 10px;
  display: inline-block;
  background: #fff;
  padding: 5px 25px;
  border-radius: 5px;
  color: #000;
}

.contact-right {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1033;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

/* Ẩn contact-right khi scroll gần cuối trang trên tablet/mobile */
.contact-right.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
}

.contact-right li.entry-content {
  list-style: none;
}

.contact-right li.entry-content>a {
  margin-top: 10px;
  width: fit-content;
  background-color: #fff;
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.contact-right li.entry-content>a>span.icon>img {
  width: 32px;
  height: 32px;
  display: inline-block;
  object-fit: contain;
}

.contact-right li.entry-content>a span.icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-right li.entry-content>a span.content span.name {
  font-weight: 700;
  display: block;
  font-size: 16px;
}

/* Mobile - Contact right flex column */
@media (max-width: 576px) {
  .contact-right {
    display: flex !important;
    /* flex-direction: column !important; */
    gap: 10px;
  }

  .contact-right li.entry-content>a {
    justify-content: flex-start !important;
  }
}

.box-member-top a i {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  border: 1px solid;
  align-items: center;
  justify-content: center;
  padding-right: 0 !important;
}

/*--------------------------------------------------------------------------
|  Footer
--------------------------------------------------------------------------*/
.title-footer {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.menu-footer>ul {
  padding-left: 0;
}

.menu-footer>ul>li {
  list-style: none;
}

.menu-footer>ul>li>a {
  color: var(--color-text);
  display: inline-block;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.menu-footer>ul>li>a:hover {
  color: var(--color-primary) !important;
  text-decoration: none;
}

/* Footer Address - Icons */
footer address {
  font-style: normal;
}

footer address p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  line-height: 1.5;
}

footer address p i {
  width: 20px;
  min-width: 20px;
  margin-right: 10px;
  color: var(--color-primary);
  margin-top: 2px;
}

/*--------------------------------------------------------------------------
|  Header Page Title - No Background
--------------------------------------------------------------------------*/
.header-page-title.header-no-bg {
  background: transparent none !important;
  background-color: transparent !important;
  background-image: none !important;
  background-size: auto !important;
  height: auto !important;
  padding: 60px 0 !important;
  margin-bottom: 50px !important;
}

.header-page-title.header-no-bg .breadcrumb {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: none !important;
}

.header-page-title.header-no-bg .content .title {
  color: var(--color-secondary) !important;
}

.header-page-title.header-no-bg .breadcrumbs-section a,
.header-page-title.header-no-bg .breadcrumbs-section a>span {
  color: var(--color-secondary) !important;
  opacity: 0.8;
}

.header-page-title.header-no-bg .breadcrumbs-section a:hover,
.header-page-title.header-no-bg .breadcrumbs-section a:hover>span {
  opacity: 1 !important;
}

/*--------------------------------------------------------------------------
|  Responsive
--------------------------------------------------------------------------*/
@media (max-width: 500px) {
  .box-footer-mb>.container>.row>div {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .row-mobile>.container>.row>div,
  .row-mobile .row.no-gutters>div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .swiper-slider-main .swiper-slide img {
    height: 70vw;
  }

  .banner-slider .info-form {
    transform: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .banner-slider .info-form .text {
    position: relative;
    top: 0;
    z-index: 1;
    width: 100%;
  }

  .banner-slider .info-form .text .title {
    font-size: 3rem;
  }

  .banner-slider .info-form .form {
    margin-top: 15px;
    border: 1px solid #ddd;
  }

  .banner-slider .info-form .form .dropdown {
    margin-bottom: 15px;
  }

  .box-benefit.bg-content {
    padding-bottom: 0;
  }

  #home-products-container .price-amount,
  #home-products-container .price-old {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .box-enjoytour .video {
    position: absolute;
    bottom: -60px;
    right: -60px;
    z-index: 2;
    width: 100%;
    height: 100%;
  }

  .product-content-detail-right {
    position: sticky;
    top: 20px;
    /* Offset từ top khi sticky */
  }
}

/*--------------------------------------------------------------------------
|  Product Detail Page - Mobile Responsive
--------------------------------------------------------------------------*/
/* Sticky sidebar offset cho desktop */
.sticky-sidebar {
  position: sticky;
  top: 20px;
}

/* Gallery hình ảnh - Mobile */
@media (max-width: 767px) {

  /* Ảnh gallery nhỏ hơn trên mobile */
  .box-product-images .img-right .img {
    margin-bottom: 5px;
  }

  .img-benefit-modern {
    margin-top: 0;
  }

  .benefit-badge {
    display: none;
  }

  .home.container .title-tab {
    margin-bottom: 2rem;
  }

  .info-benefit .title-slogan {
    margin-bottom: 1.5rem;
  }

  footer .col-lg.col-md-3.col-12.mb-4.mb-md-0 {
    margin-bottom: 0 !important;
  }

  #testimonials-section {
    padding-bottom: 0 !important;
  }

  .bg-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
  }

  .btn-view-all.btn-view-all-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    color: #000 !important;
    font-weight: 600;
    gap: 8px;
  }

  .btn-view-all.btn-view-all-mobile i {
    color: #000 !important;
    display: inline-block !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
  }

  .btn-view-all.btn-view-all-mobile i::before {
    content: "\f061" !important;
    /* fa-arrow-right */
  }

  /* Button xem ảnh */
  .btn-addition-action.btn-expand {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Thông tin tour - spacing */
  .product-info-left {
    padding: 15px 0;
  }

  .product-title-detail {
    font-size: 20px;
    line-height: 1.4;
  }

  /* Attributes responsive */
  .product-content-detail-left .attributes .item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }

  .product-content-detail-left .attributes .item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .product-content-detail-left .attributes .item .name {
    margin-bottom: 5px;
  }

  /* Form đặt tour - full width trên mobile */
  .product-content-detail-right {
    position: relative;
    top: auto;
    margin-top: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  /* Giá responsive */
  .product-content-detail-right .price {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .product-content-detail-right .price .price-amount {
    font-size: 24px;
  }

  .product-content-detail-right .price .old-price {
    font-size: 16px;
  }

  /* Lịch trình accordion */
  .product-info-left-lt .item-title-process span {
    font-size: 14px;
  }

  .description-process {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Nội dung chi tiết */
  .produc-info-left-bottom .content {
    font-size: 14px;
    line-height: 1.7;
  }

  .produc-info-left-bottom .content h3 {
    font-size: 18px;
  }

  .produc-info-left-bottom .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Tags */
  .tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tags ul li a {
    padding: 4px 12px;
    font-size: 12px;
  }

  /* Tour tương tự - slider */
  .related-tours-swiper .product-item .product-title a {
    font-size: 14px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .related-tours-swiper .product-item .attributes .item {
    font-size: 11px;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  .product-content-detail-right {
    margin-top: 30px;
  }

  .product-title-detail {
    font-size: 24px;
  }

  .article-item.swiper-slide {
    flex-direction: column;
  }
}

/*--------------------------------------------------------------------------
|  Related Articles Carousel
--------------------------------------------------------------------------*/
.article-item .article-category {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.article-item .article-category .badge {
  background: var(--color-highlight, #f59e0b);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-item .post-date i {
  margin-right: 5px;
  color: var(--color-highlight, #f59e0b);
}

/* Custom Swiper Navigation for Related Articles */
#relatedArticlesSwiper {
  position: relative;
  overflow: hidden;
}

#relatedArticlesSwiper .swiper-button-next,
#relatedArticlesSwiper .swiper-button-prev {
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 100%);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-top: -20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#relatedArticlesSwiper .swiper-button-next:hover,
#relatedArticlesSwiper .swiper-button-prev:hover {
  background: var(--color-highlight, #f59e0b);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

#relatedArticlesSwiper .swiper-button-next::after,
#relatedArticlesSwiper .swiper-button-prev::after {
  display: none;
}

#relatedArticlesSwiper .swiper-button-next i,
#relatedArticlesSwiper .swiper-button-prev i {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {

  #relatedArticlesSwiper .swiper-button-next,
  #relatedArticlesSwiper .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  #relatedArticlesSwiper .swiper-button-next i,
  #relatedArticlesSwiper .swiper-button-prev i {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------------------
|  Article Cards - Grid Layout
--------------------------------------------------------------------------*/
.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-card .article-image {
  position: relative;
  overflow: hidden;
}

.article-card .article-image img {
  transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-card .article-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-highlight, #f59e0b);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.article-card .article-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card .article-meta {
  margin-bottom: 10px;
}

.article-card .article-date {
  color: #6b7280;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-card .article-date i {
  color: var(--color-highlight, #f59e0b);
}

/*--------------------------------------------------------------------------
|  Pagination Styles
--------------------------------------------------------------------------*/
/* .pagination-wrapper {
  margin-top: 30px;
} */

.pagination .page-item {
  margin: 0 2px;
}

.pagination .page-link {
  border: 1px solid #ddd;
  color: #333;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.pagination .page-link:hover {
  background-color: var(--color-highlight, #f59e0b);
  border-color: var(--color-highlight, #f59e0b);
  color: #fff;
}

.pagination .page-item.active .page-link {
  background-color: var(--color-highlight, #f59e0b);
  border-color: var(--color-highlight, #f59e0b);
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination .page-item {
    margin: 2px;
  }

  .pagination .page-link {
    padding: 6px 10px;
    font-size: 14px;
  }

  /* Post date màu trắng trên mobile cho Latest News */
  .post-date-latest {
    color: white !important;
  }

  .page-description {
    font-size: 15px;
  }
}

.article-card .article-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .article-title a {
  color: #1f2937;
  transition: color 0.2s ease;
}

.article-card .article-title a:hover {
  color: var(--color-highlight, #f59e0b);
  text-decoration: none;
}

.article-card .article-excerpt {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-highlight, #f59e0b);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.article-card .read-more:hover {
  text-decoration: none;
  gap: 10px;
}

.article-card .read-more i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.article-card .read-more:hover i {
  transform: translateX(3px);
}

/* Button View All */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-main, #1f2937);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 25px;
  transition: all 0.2s ease;
  background: #fff;
}

.btn-view-all:hover {
  background: var(--color-highlight, #f59e0b);
  border-color: var(--color-highlight, #f59e0b);
  color: #fff;
  text-decoration: none;
}

.btn-view-all i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.btn-view-all:hover i {
  transform: translateX(3px);
}

/*--------------------------------------------------------------------------
|  Testimonial Slider Navigation
--------------------------------------------------------------------------*/
.testimonial-slider {
  position: relative;
  overflow: hidden;
  /* Ẩn các cards bị tràn ra 2 bên */
}

/* Swiper chính */
.testimonial-slider .swiper {
  overflow: visible;
  /* Cho phép xem trước các slides kế tiếp nếu cần */
  padding: 0;
  /* Bỏ padding */
}

/* Navigation buttons nằm absolute trong testimonial-slider */
.testimonial-slider .swiper-button-prev,
.testimonial-slider .swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 20;
  /* Cao hơn swiper slides */
}

.testimonial-slider .swiper-slide {
  height: auto;
  /* Để các slide có chiều cao bằng nhau */
}

.testimonial-slider .swiper-slide .item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Navigation Button Styles - override swiper.css defaults */
.testimonial-slider .swiper-button-prev,
.testimonial-slider .swiper-button-next,
.custom-swiper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      var(--color-main, #1f2937) 0%,
      #374151 100%);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
}

/* Position buttons ở 2 bên slider, nằm trong visible area */
.testimonial-slider .swiper-button-prev {
  left: 10px;
}

.testimonial-slider .swiper-button-next {
  right: 10px;
}

.testimonial-slider .swiper-button-prev:hover,
.testimonial-slider .swiper-button-next:hover,
.custom-swiper-btn:hover {
  background: linear-gradient(135deg,
      var(--color-highlight, --color-primary) 0%,
      var(--color-primary) 100%);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.3);
}

.testimonial-slider .swiper-button-prev i,
.testimonial-slider .swiper-button-next i,
.custom-swiper-btn i {
  color: #fff;
  font-size: 16px;
}

.testimonial-slider .swiper-button-prev::after,
.testimonial-slider .swiper-button-next::after,
.custom-swiper-btn::after {
  display: none;
  /* Ẩn default Swiper icon */
}

/* Disabled state */
.testimonial-slider .swiper-button-prev.swiper-button-disabled,
.testimonial-slider .swiper-button-next.swiper-button-disabled,
.custom-swiper-btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.testimonial-slider .swiper-button-prev.swiper-button-disabled:hover,
.testimonial-slider .swiper-button-next.swiper-button-disabled:hover,
.custom-swiper-btn.swiper-button-disabled:hover {
  transform: none;
  background: linear-gradient(135deg,
      var(--color-main, #1f2937) 0%,
      #374151 100%);
}

/* Responsive cho navigation */
@media (max-width: 768px) {

  /* Margin for article items in news page on mobile */
  .article-hot .info-article-left .article-item,
  .article-hot .info-article-right .article-item,
  .box-article-page .article-item {
    margin-bottom: 15px !important;
  }

  /* Mobile Layout - Overlay Style (Similar to Featured Article) */
  .article-hot .info-article-right .article-item,
  .box-article-page .article-item {
    position: relative;
    display: block;
    /* Reset flex */
    margin-bottom: 15px !important;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    /* Thêm viền */
  }

  /* Reset inner image to full width/height of container */
  .article-hot .info-article-right .article-item .inner-image,
  .box-article-page .article-item .inner-image {
    width: 100%;
    margin-bottom: 0;
  }

  /* Đảm bảo ảnh có đủ chiều cao và không bị cắt */
  .article-hot .info-article-right .article-item .inner-image .img,
  .box-article-page .article-item .inner-image .img {
    padding-top: 75%;
    /* Aspect ratio 4:3 */
    min-height: 200px;
    /* Đảm bảo chiều cao tối thiểu */
  }

  /* Gradient Overlay */
  .article-hot .info-article-right .article-item::before,
  .box-article-page .article-item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    /* Gradient covers bottom 70% */
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
  }

  /* Content Positioning */
  .article-hot .info-article-right .article-item .inner-content,
  .box-article-page .article-item .inner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 2;
    margin-bottom: 15px;
  }

  /* Text Colors */
  .article-hot .info-article-right .article-item .inner-content .article-title a,
  .box-article-page .article-item .inner-content .article-title a {
    color: #fff !important;
  }

  .article-hot .info-article-right .article-item .inner-content .post-date,
  .article-hot .info-article-right .article-item .inner-content .article-description,
  .box-article-page .article-item .inner-content .post-date,
  .box-article-page .article-item .inner-content .article-description {
    color: rgba(255, 255, 255, 0.9);
  }

  /* Ẩn mô tả ngắn nếu cần thiết để tiết kiệm diện tích, hoặc giữ lại */
  .article-hot .info-article-right .article-item .inner-content .article-description,
  .box-article-page .article-item .inner-content .article-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    margin-top: 5px;
  }

  .testimonial-slider .swiper {
    padding: 0 45px;
  }

  .testimonial-slider .swiper-button-prev,
  .testimonial-slider .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .testimonial-slider .swiper-button-prev i,
  .testimonial-slider .swiper-button-next i {
    font-size: 14px;
  }

  .pagination-wrapper {
    margin-bottom: 30px;
  }

  /* Ẩn sidebar ở màn mobile và cho article full width */
  .article-detail-page .row {
    flex-direction: column;
  }

  .article-detail-page .col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .article-detail-page .col-lg-3 {
    display: none !important;
  }

  /* Ẩn luôn cả item-detail-share ở màn mobile */
  .item-detail-share {
    display: none !important;
  }

  /* Banner article detail responsive */
  .banner-article-detail {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .banner-article-detail .inner-image {
    height: 50vw !important;
    max-height: 300px !important;
  }

  /* Cho item-detail-content chiếm full width ở màn mobile */
  .item-detail-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px !important;
  }

  /* Giữ article full width và không đè lên header ở màn nhỏ */
  .box-article-detail .box-share-article {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }

  .box-article-detail .article-detail {
    flex-basis: 100% !important;
    max-width: 100% !important;
    padding: 20px 18px;
  }

  .box-article-detail>.container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .title-footer {
    margin-bottom: 16px;
  }
}

@media (max-width: 576px) {
  .testimonial-slider .swiper {
    padding: 0 16px;
  }

  .testimonial-slider .swiper-button-prev,
  .testimonial-slider .swiper-button-next {
    width: 32px;
    height: 32px;
  }

  .testimonial-slider .swiper-button-prev i,
  .testimonial-slider .swiper-button-next i {
    font-size: 12px;
  }
}

/* Ellipsis cho bài viết liên quan */
.box-section-article-02 .article-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box-section-article-02 .article-title a {
  display: block;
}

.box-section-article-02 .article-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Đảm bảo slider 1 cột đẹp ở mobile - Layout dọc */
@media (max-width: 575px) {
  #related-articles-swiper .article-item {
    display: flex;
    flex-direction: column;
  }

  #related-articles-swiper .article-item .inner-image {
    width: 100%;
    margin-bottom: 12px;
  }

  #related-articles-swiper .article-item .inner-content {
    display: flex;
    flex-direction: column;
  }

  #related-articles-swiper .article-title {
    font-size: 15px;
    margin-bottom: 8px !important;
    order: 1;
  }

  #related-articles-swiper .post-date {
    font-size: 12px;
    margin-bottom: 8px;
    order: 2;
    color: #888;
  }

  #related-articles-swiper .article-description {
    font-size: 13px;
    -webkit-line-clamp: 2;
    order: 3;
  }
}

/* Service Title Styles - Added for features.php */
.service-title {
  color: var(--color-secondary, #050505);
}

.service-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-title a:hover {
  color: var(--color-primary, #f01917) !important;
}

/*--------------------------------------------------------------------------
|  Custom Badge - Override Bootstrap
--------------------------------------------------------------------------*/
/* Đủ mạnh để override Bootstrap badge-primary */
.badge.badge-custom,
span.badge.badge-custom,
.article-category .badge.badge-custom {
  color: #fff !important;
  background-color: var(--color-primary, #f01917) !important;
  font-weight: 500;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 4px;
}

/*--------------------------------------------------------------------------
|  Footer Bottom Credit
--------------------------------------------------------------------------*/
.footer-bottom-credit {
  background-color: transparent;
  padding: 0px 0px 20px 0px;
}

.footer-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin-bottom: 15px;
  opacity: 0.7;
}

.footer-credit p {
  color: #9ca3af !important;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
}

/* ============================================= */
/* SPECIAL OFFER SECTION - EXPANDING COLUMNS    */
/* ============================================= */
.special-offer-section .offer-container {
  display: flex;
  width: 100%;
  height: 400px;
  gap: 10px;
  overflow: hidden;
}

.special-offer-section .offer-col {
  position: relative;
  height: 100%;
  border-radius: 15px;
  cursor: pointer;
  flex: 2;
  /* Default: Chiếm 2 phần */
  transition: flex 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.special-offer-section .offer-col.active {
  flex: 8;
  /* Active: Chiếm 8 phần */
  cursor: default;
}

/* Background Images for each column - Using available placeholders */
#offer-col-1 {
  background-image: url("../media/image/tour-du-lich.jpg");
  background-size: cover;
  background-position: center;
}

#offer-col-2 {
  background-image: url("../media/image/khach-san.jpg");
  background-size: cover;
  background-position: center;
}

#offer-col-3 {
  background-image: url("../media/image/ve-may-bay.jpg");
  background-size: cover;
  background-position: center;
}

/* Overlay to darken image/color */
.special-offer-section .offer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.special-offer-section .offer-col.active .offer-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.special-offer-section .offer-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 20px;
  text-align: center;
  white-space: nowrap;
  /* Prevent breaking initially */
}

/* Logic hiển thị nội dung */
.special-offer-section .offer-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.special-offer-section .offer-icon i {
  font-size: 40px;
  margin-bottom: 10px;
}

.special-offer-section .offer-icon h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  opacity: 0.9;
}

/* Khi active: Ẩn title ngắn/icon, Hiện detail */
.special-offer-section .offer-col.active .offer-icon {
  display: none;
  /* Hoặc có thể opacity: 0 và absolute để animation mượt hơn, nhưng display none an toàn layout */
}

.special-offer-section .offer-detail {
  display: none;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.2s;
  /* Delay xuất hiện */
}

.special-offer-section .offer-col.active .offer-detail {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.special-offer-section .offer-detail h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.special-offer-section .offer-detail p {
  font-size: 16px;
  margin-bottom: 20px;
  max-width: 80%;
  white-space: normal;
  color: #ff9000;
  /* Subtitle color */
  font-weight: 500;
}

.special-offer-section .offer-detail ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.special-offer-section .offer-detail ul li {
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
  /* Keep text white for readability on dark overlay */
}

.special-offer-section .offer-detail ul li i {
  margin-right: 10px;
  color: #ff9000;
  /* Icon color */
}

.special-offer-section .offer-detail .btn {
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 50px;
  background: #ff9000;
  /* Button Background */
  color: #fff;
  /* Button Text */
  font-weight: bold;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  cursor: pointer;
}

.special-offer-section .offer-detail .btn:hover {
  /* Only cursor pointer needed, remove translation/shadow if minimizing effects,
       but keeping transition for smoothness is standard.
       User said: "Onhover sẽ chỉ cần có cursor-pointer + title màu #fff" */
  transform: none;
  box-shadow: none;
  background: #ff9000;
  color: #fff;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .special-offer-section .offer-container {
    flex-direction: column;
    height: auto;
  }

  .special-offer-section .offer-col {
    width: 100%;
    flex: none !important;
    /* Disable flex scaling on mobile */
    height: 80px;
    /* Collapsed height */
    margin-bottom: 10px;
    transition: height 0.5s ease;
  }

  .special-offer-section .offer-col.active {
    height: 400px;
    /* Expanded height */
  }

  .special-offer-section .offer-icon {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 20px;
  }

  .special-offer-section .offer-icon i {
    font-size: 24px;
    margin-bottom: 0;
    margin-right: 15px;
  }

  .special-offer-section .offer-icon h3 {
    font-size: 16px;
  }

  #features-list-container {
    margin-top: 30px;
  }

  .article-hot .row.align-items-center.mb-4 .col-lg-6.col-12 {
    margin-top: 20px;
  }
}

/*--------------------------------------------------------------------------
|  Product Grid & Pagination (Shared)
--------------------------------------------------------------------------*/

/* Product Grid - Equal Height */
#features-list-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

#features-list-container>.col-lg-3,
#features-list-container>.col-md-6,
#features-list-container>.col-12 {
  display: flex;
  margin-bottom: 24px;
}

.product-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  /* Specific shadow */
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-item .inner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.product-item .product-title {
  min-height: 2.8em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-item .product-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  min-height: 4.5em;
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
  flex-shrink: 0;
}

.product-item .price {
  margin-top: auto;
}

/* Pagination Style */
.pagination {
  gap: 5px;
}

.pagination .page-link {
  border-radius: 8px;
  border: 1px solid #ddd;
  color: var(--color-secondary);
  background: #fff;
  padding: 8px 14px;
  transition: all 0.3s ease;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/*--------------------------------------------------------------------------
|  Product Detail Page
--------------------------------------------------------------------------*/

/* Box Product Images - Layout 9-3 columns */
.box-product-images {
  position: relative;
  margin-bottom: 30px;
}

.box-image-product {
  position: relative;
}

.box-image-product>.row {
  margin: 0 -5px;
}

.box-image-product>.row>[class*="col-"] {
  padding: 0 5px;
}

/* Main Image Left */
.box-image-product .img-left {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  /* Height responsive handled by media queries */
  height: 600px;
}

.box-image-product .img-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Button Xem N hình - Inside main image */
.box-image-product .btn-addition-action.btn-expand {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.box-image-product .btn-expand:hover {
  background: var(--color-primary);
}

/* Gallery Right - 3 images stacked */
.box-image-product .img-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Height responsive handled by media queries */
  height: 600px;
}

.box-image-product .img-right .img {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  min-height: 0;
  /* Important for flex children */
}

.box-image-product .img-right .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hidden items for lightgallery */
.box-image-product .item-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* Responsive Image Heights - Keep Horizontal Layout */
@media (max-width: 1366px) {

  .box-image-product .img-left,
  .box-image-product .img-right {
    height: 500px;
  }
}

@media (max-width: 1199px) {

  .box-image-product .img-left,
  .box-image-product .img-right {
    height: 420px;
  }

  .box-home-02.mb-5 .row.align-items-center {
    flex-direction: column !important;
    /* max-width: 100% !important; */
  }

  .box-home-02.mb-5 .row.align-items-center .col-lg-6.col-12 {
    max-width: 100% !important;
  }

  /* Force column layout for thumbnails even on mobile */
  .box-image-product .img-right {
    flex-direction: column !important;
  }

  .box-home-02.mb-5 .box-benefit.bg-content {
    margin-top: 4rem;
  }

  .box-home-02.mb-5 .title-section.text-left {
    margin-bottom: 2rem;
  }

  .offer-grid-container {
    justify-items: center;
  }

  .offer-grid-box {
    max-height: 200px;
    max-width: 56rem;
    margin: 0 auto;
  }

  .box-what-customers.bg-content {
    padding-bottom: 4rem;
  }

  .box-benefit .img.ratio-1-1 {
    max-width: 40%;
    padding-top: 30%;
    margin: 0 auto;
  }

  .info-benefit {
    margin-bottom: 2rem;
  }

  /* Header Mobile/Tablet Adjustments */
  header .row,
  .setting-menu-pc .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  header .row>.col-md-3,
  .setting-menu-pc .row>.col-md-3,
  header .row>.col-md-4,
  .setting-menu-pc .row>.col-md-4 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  header .row>.col-md-5,
  .setting-menu-pc .row>.col-md-5 {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    max-width: none !important;
    width: auto !important;
  }

  header [nh-block="egrsv9h"] {
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
  }

  header .hotline-head {
    margin-bottom: 0 !important;
    margin-right: 15px !important;
  }
}

@media (max-width: 991px) {

  .box-image-product .img-left,
  .box-image-product .img-right {
    height: 350px;
  }

  .benefit-badge {
    display: none;
  }

  /* Force column layout for thumbnails even on mobile */
  .box-image-product .img-right {
    flex-direction: column !important;
  }

  .box-home-02.mb-5 .box-benefit.bg-content {
    margin-top: 4rem;
  }

  .box-home-02.mb-5 .title-section.text-left {
    margin-bottom: 2rem;
  }

  .offer-grid-container {
    justify-items: center;
  }

  .offer-grid-box {
    max-height: 200px;
    max-width: 56rem;
    margin: 0 auto;
  }

  .box-what-customers.bg-content {
    padding-bottom: 4rem;
  }

  .box-benefit .img.ratio-1-1 {
    max-width: 60%;
    padding-top: 60%;
    margin: 0 auto;
  }

  .info-benefit {
    margin-bottom: 2rem;
  }

  /* Header Mobile/Tablet Adjustments */
  header .row,
  .setting-menu-pc .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  header .row>.col-md-3,
  .setting-menu-pc .row>.col-md-3,
  header .row>.col-md-4,
  .setting-menu-pc .row>.col-md-4 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  header .row>.col-md-5,
  .setting-menu-pc .row>.col-md-5 {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    max-width: none !important;
    width: auto !important;
  }

  header [nh-block="egrsv9h"] {
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
  }

  header .hotline-head {
    margin-bottom: 0 !important;
    margin-right: 15px !important;
  }
}

@media (max-width: 767px) {

  .box-image-product .img-left,
  .box-image-product .img-right {
    height: 180px;
  }

  .product-content-detail-left .product-info-left .product-title-detail,
  .product-content-detail-left .produc-info-left-bottom .title,
  .product-content-detail-left .product-info-left-lt .title {
    font-size: 20px !important;
  }

  .feature .title-section.text-left.mb-0 {
    margin-bottom: 1rem !important;
  }

  .feature .title-section.text-left {
    margin-bottom: 2rem !important;
  }

  /* Gap nhỏ hơn trên mobile */
  .box-image-product .img-right {
    gap: 4px;
    flex-direction: column !important;
  }

  .bg-white.row-align-center.setting-menu.py-4.setting-menu-pc {
    padding: 6px 0 !important;
  }

  /* Giảm border-radius trên mobile cho gọn */
  .box-image-product .img-left,
  .box-image-product .img-left>img,
  .box-image-product .img-right .img,
  .box-image-product .img-right .img img {
    border-radius: 4px;
  }
}

@media (max-width: 991px) {

  .box-image-product .img-left,
  .box-image-product .img-right {
    height: 350px;
  }
}

@media (max-width: 767px) {
  .box-image-product .img-left {
    height: 180px;
    margin-bottom: 10px;
  }

  .box-image-product .img-right {
    height: 180px;
    flex-direction: row;
    gap: 5px;
  }

  .box-image-product .img-right .img {
    flex: 1;
  }
}

/* Product Content Detail Left */
.product-content-detail-left {
  background: #fff;
  border-radius: 12px;
  padding: 0px;
  /* box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08); */
}

.product-title-detail {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.product-content-detail-left .dsc p {
  color: #555;
  line-height: 24px;
  font-size: 16px;
}

.product-content-detail-left .attributes {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
}

.product-content-detail-left .attributes .item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #e0e0e0;
}

.product-content-detail-left .attributes .item:last-child {
  border-bottom: none;
}

.product-content-detail-left .attributes .name {
  color: #666;
  font-weight: 500;
}

.product-content-detail-left .attributes .name i {
  color: var(--color-primary);
  margin-right: 8px;
  width: 16px;
}

.product-content-detail-left .attributes .value {
  color: #333;
  font-weight: 600;
}

/* Product Info Bottom - Content */
.produc-info-left-bottom {
  margin-top: 20px;
}

.produc-info-left-bottom .title,
.product-info-left-lt .title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  /* margin-bottom: 15px;
  padding-bottom: 10px; */
  /* border-bottom: 2px solid var(--color-primary); */
  display: inline-block;
}

.info-show-content .content-text {
  position: relative;
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.info-show-content .content-text.expanded {
  max-height: none;
}

.info-show-content .content {
  line-height: 21px;
  font-size: 14px;
  color: #444;
}

.info-show-content .content img {
  display: block;
  width: 70% !important;
  /* Force override inline width */
  max-width: 100% !important;
  height: auto !important;
  /* Force override inline height */
  border-radius: 12px;
  margin: 35px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  object-fit: cover;
}

.info-show-content .content img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Responsive Scaling for Images */
@media (max-width: 1400px) {
  .info-show-content .content img {
    width: 80% !important;
  }
}

@media (max-width: 991px) {
  .info-show-content .content img {
    width: 90% !important;
    margin: 25px auto;
    border-radius: 10px;
  }
}

@media (max-width: 767px) {
  .info-show-content .content img {
    width: 100% !important;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }
}

.info-show-content .content h2,
.info-show-content .content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: #1a1a1a;
}

.info-show-content .content ul {
  padding-left: 20px;
}

.info-show-content .content ul li {
  margin-bottom: 8px;
}

/* View More / Hide Button */
.load-more {
  margin-top: 20px;
}

.load-more .btn-view-all {
  display: inline-block;
  padding: 10px 25px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.load-more .btn-view-all:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.load-more .btn-hide {
  display: none;
}

.load-more.expanded .btn-show {
  display: none;
}

.load-more.expanded .btn-hide {
  display: inline-block;
}

/* Schedule Accordion */
.product-info-left-lt {
  margin-top: 30px;
}

.product-info-left-lt .card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.item-title-process {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8f9fa;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
}

.item-title-process:hover {
  background: #e9ecef;
}

.item-title-process i {
  transition: transform 0.3s ease;
}

.item-title-process.collapsed i {
  transform: rotate(180deg);
}

.description-process {
  padding: 15px 20px;
  line-height: 1.7;
  color: #555;
  background: #fff;
}

/* Ensure parent containers don't break sticky */
.product-content-detail-left,
.product-content-detail-right {
  overflow: visible !important;
}

.product-content-detail-left .row,
.product-content-detail-right .row {
  overflow: visible !important;
}

/* Product Content Detail Right - Sidebar */
.product-content-detail-right {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: -webkit-sticky;
  /* Safari */
  position: sticky !important;
  top: 20px !important;
  /* Stick closer to top */
  z-index: 100;
  align-self: flex-start;
  /* Important for flex container */
  max-height: calc(100vh - 40px);
  /* Prevent sidebar from being taller than viewport */
  overflow-y: auto;
  /* Allow scrolling if content is too long */
}

.product-content-detail-right .price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.product-content-detail-right .price .price-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.product-content-detail-right .price .price-amount .currency-symbol {
  font-size: 16px;
  font-weight: 500;
  margin-left: 3px;
}

.product-content-detail-right .price .old-price {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

.product-content-detail-right .price .old-price .currency-symbol {
  font-size: 14px;
}

/* Booking Form */
.product-content-detail-right form .form-group {
  position: relative;
  margin-bottom: 20px;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  border: none !important;
  padding: 0 !important;
}

.product-content-detail-right form .form-group label {
  display: block !important;
  width: 100% !important;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  position: static !important;
}

.product-content-detail-right form .form-group .form-control {
  display: block !important;
  width: 100% !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 15px;
  background: #fff !important;
  transition: border-color 0.3s ease;
}

.product-content-detail-right form .form-group .form-control:focus {
  border-color: var(--color-primary) !important;
  box-shadow: none;
  outline: none;
}

.product-content-detail-right form textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.product-content-detail-right form textarea.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: none;
}

.product-content-detail-right .btn-submit {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-content-detail-right .btn-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(240, 25, 23, 0.3);
}

/* Related Products */
.box-dt-prd-02 .title-section {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .product-content-detail-right {
    position: static;
    margin-top: 30px;
  }

  .product-title-detail {
    font-size: 22px;
  }

  .product-content-detail-right .price .price-amount {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .box-image-product .img-right {
    gap: 5px;
  }

  .product-content-detail-left {
    padding: 15px;
  }

  .product-content-detail-right {
    padding: 15px;
  }

  .product-title-detail {
    font-size: 20px;
  }
}

/* Offer Grid Layout */
.offer-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.offer-grid-box {
  position: relative;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.offer-grid-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.offer-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.offer-grid-content {
  position: relative;
  z-index: 2;
  padding: 25px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.offer-grid-content i {
  color: var(--color-primary);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-grid-content h2,
.offer-grid-content h3 {
  color: var(--color-secondary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.offer-grid-content p {
  color: var(--color-muted, #666);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 1200px) {
  .offer-grid-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .offer-grid-box {
    height: 230px;
  }
}

/* Product Card - Equal Height */
#home-products-container {
  display: flex;
  flex-wrap: wrap;
}

#home-products-container>.col-lg-3,
#home-products-container>.col-md-6,
#home-products-container>.col-12 {
  display: flex;
  margin-bottom: 24px;
}

.product-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-item .inner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.product-item .product-title {
  /* min-height: 2.8em; */
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-item .product-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  min-height: 4.5em;
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
  flex-shrink: 0;
}

.product-item .price {
  margin-top: auto;
}

/* Article Card - Equal Height */
#home-news-container {
  display: flex;
  flex-wrap: wrap;
}

#home-news-container>div {
  display: flex;
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article-card .article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.article-card .article-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  min-height: 2.8em;
  /* 2 lines */
}

.article-card .article-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  min-height: 4.5em;
  /* 3 lines * 1.5 line-height */
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
}

/* Sidebar News Grouping */
.view-small .title {
  cursor: pointer;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.view-small .title .transition-icon {
  transition: transform 0.3s ease;
  font-size: 0.8em;
}

/* Rotate icon when collapsed (Bootstrap adds .collapsed to the trigger) */
.view-small .title.collapsed .transition-icon {
  transform: rotate(-90deg);
}

.sidebar-category-divider {
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  margin: 15px 0;
}

.sidebar-category-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-left: 5px;
  border-left: 3px solid var(--color-primary);
}

/*--------------------------------------------------------------------------
|  Custom Filter Styles (Features Page Redesign)
--------------------------------------------------------------------------*/
.filter-price-group {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 4px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.filter-price-group:hover,
.filter-price-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(240, 25, 23, 0.1);
}

.filter-icon {
  display: flex;
  align-items: center;
  color: #9ca3af;
  padding-right: 8px;
  padding-left: 12px;
  font-size: 0.9rem;
}

.filter-input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  max-width: 90px;
  padding: 8px 5px !important;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  text-align: center;
}

.filter-input:focus {
  outline: none !important;
}

.filter-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
  font-size: 13px;
}

.filter-input::-webkit-outer-spin-button,
.filter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.filter-btn {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background-color: var(--color-primary) !important;
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  transition: all 0.2s ease;
  border: none;
  padding: 0;
  box-shadow: 0 2px 5px rgba(240, 25, 23, 0.3);
}

.filter-btn:hover {
  transform: translateY(-2px);
  background-color: var(--color-primary) !important;
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(240, 25, 23, 0.4);
}

/* Nút reset bộ lọc - hình tròn */
.filter-reset-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50% !important;
  background-color: var(--color-secondary, #374151) !important;
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  transition: all 0.2s ease;
  border: none;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.filter-reset-btn:hover {
  transform: translateY(-2px);
  background-color: var(--color-secondary, #374151) !important;
  filter: brightness(1.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: white !important;
  text-decoration: none;
}

.filter-reset-btn i {
  font-size: 14px;
}

.filter-sort-wrapper {
  position: relative;
  /* min-width: 220px; Removed min-width to let it shrink slightly if needed, or keep it fixed */
}

/* Ẩn native arrow để custom */
.filter-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding-left: 20px !important;
  padding-right: 35px !important;
  /* Chừa chỗ cho arrow bên phải */
  border-radius: 50px !important;
  border: 1px solid #e5e7eb !important;
  height: 48px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  background-color: #fff;
  transition: all 0.3s ease;

  /* Căn giữa text */
  text-align: center;
  text-align-last: center;

  /* Custom Arrow */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  background-size: 12px;
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 4px rgba(240, 25, 23, 0.1) !important;
  outline: none;
}

/* ========================================
   Custom Dropdown - Passio Theme
   Primary: #F01917, Secondary: #050505, Tertiary: #ffffff
   ======================================== */
.custom-dropdown {
  position: relative;
  /* min-width: 180px; */
}

.dropdown-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dropdown-toggle-btn:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(240, 25, 23, 0.1);
}

.dropdown-toggle-btn .dropdown-arrow {
  font-size: 12px;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu-custom {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  overflow: hidden;
}

@media (min-width: 769px) {
  .dropdown-menu-custom {
    width: 200%;
    left: auto;
    right: 0;
  }
}

.custom-dropdown.open .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Items */
.dropdown-item-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-item-custom:last-child {
  border-bottom: none;
}

.dropdown-item-custom i {
  width: 20px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.dropdown-item-custom:hover {
  background-color: #fce4e4;
}

.dropdown-item-custom:hover i {
  color: var(--color-primary);
}

.dropdown-item-custom.active {
  background-color: rgba(240, 25, 23, 0.08);
  color: var(--color-primary);
  font-weight: 600;
}

.dropdown-item-custom.active i {
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .custom-dropdown {
    width: 100%;
    min-width: auto;
  }

  .dropdown-menu-custom {
    left: 0;
    right: 0;
  }

  .product-item .product-title {
    min-height: 2.8em;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-item .product-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    min-height: 2.5em;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
    flex-shrink: 0;
  }
}

/* Specific styling for the separator */
.filter-price-group .text-muted.opacity-50 {
  font-weight: 300;
  color: #d1d5db !important;
  margin: 0 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mobile-filter-form {
    flex-direction: column;
    align-items: stretch !important;
    gap: 15px !important;
    width: 100%;
  }

  .filter-price-group {
    width: 100%;
    display: flex;
    align-items: center;
    /* Ensure vertical centering */
    justify-content: space-between;
    padding: 5px 5px 5px 15px;
    /* Adjust padding */
  }

  .filter-input {
    flex: 1;
    /* Allow inputs to grow/shrink equally */
    width: 0 !important;
    /* Force flex sizing to work */
    min-width: 0;
    /* Prevent overflow */
    max-width: none;
    text-align: center;
    padding: 8px 0 !important;
  }

  .filter-btn {
    flex-shrink: 0;
    /* Prevent button from shrinking */
    margin-left: 10px;
  }

  .filter-reset-btn {
    flex-shrink: 0;
    /* Prevent button from shrinking */
  }

  .filter-sort-wrapper {
    width: 100%;
  }

  .filter-select {
    width: 100%;
  }
}

/*--------------------------------------------------------------------------
|  Table of Contents (TOC) - Mục lục nội dung
--------------------------------------------------------------------------*/
.table-content-section {
  /* margin-bottom: 30px; */
}

.table-content-section .box-table-nav {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.table-content-section .title-table-navigation {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background 0.2s ease;
}

.table-content-section .title-table-navigation:hover {
  background: #f3f4f6;
}

.table-content-section .title-table-navigation i {
  font-size: 16px;
  color: #374151;
  margin-right: 10px;
}

.table-content-section .title-table-navigation b {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  flex: 1;
}

.table-content-section .title-table-navigation .icon-expand {
  margin-left: auto;
  margin-right: 0;
  transition: transform 0.3s ease;
}

.table-content-section .title-table-navigation .icon-expand.rotated {
  transform: rotate(-180deg);
}

/* TOC Nav Container */
.table-content-section nav.toc,
.table-content-section nav.js-toc {
  padding: 15px 20px;
  max-height: 400px;
  overflow-y: auto;
  transition: all 0.3s ease;
}

/* TOC collapsed state */
.table-content-section nav.toc.collapsed,
.table-content-section nav.js-toc.collapsed {
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0;
  margin-bottom: 0 !important;
  overflow: hidden;
}

/* TOC List Styles */
.table-content-section .toc-list,
.table-content-section .table-content,
.table-content-section ol.toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc-counter;
}

.table-content-section .toc-list li,
.table-content-section .table-content li,
.table-content-section .list-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* TOC Links */
.table-content-section .toc-link,
.table-content-section .table-link,
.table-content-section a.toc-link {
  display: block;
  padding: 8px 0;
  color: var(--color-secondary);
  /* Brand color */
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
  transition: all 0.2s ease;
  border: none;
  background: none;
}

.table-content-section .toc-link:hover,
.table-content-section .table-link:hover,
.table-content-section a.toc-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Active Link */
.table-content-section .is-active-link,
.table-content-section .toc-link.is-active-link {
  color: var(--color-primary);
  font-weight: 600;
}

/* Nested Lists (H3, H4) */
.table-content-section .toc-list .toc-list,
.table-content-section .table-content .table-content,
.table-content-section ol.toc-list ol.toc-list {
  padding-left: 20px;
  margin-top: 5px;
  border-left: 2px solid #e5e7eb;
  margin-left: 10px;
}

.table-content-section .toc-list .toc-list .toc-link,
.table-content-section .table-content .table-content .table-link {
  font-size: 14px;
  padding: 6px 0 6px 10px;
  color: #6b7280;
}

.table-content-section .toc-list .toc-list .toc-link:hover,
.table-content-section .table-content .table-content .table-link:hover {
  color: #ff9000;
}

/* Deeper nested (H4) */
.table-content-section .toc-list .toc-list .toc-list .toc-link {
  font-size: 13px;
  color: #9ca3af;
}

/* Remove default tocbot bar styling */
.table-content-section .toc-link::before,
.table-content-section a.toc-link::before {
  display: none !important;
}

/* Scrollbar styling for TOC */
.table-content-section nav.toc::-webkit-scrollbar,
.table-content-section nav.js-toc::-webkit-scrollbar {
  width: 4px;
}

.table-content-section nav.toc::-webkit-scrollbar-track,
.table-content-section nav.js-toc::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.table-content-section nav.toc::-webkit-scrollbar-thumb,
.table-content-section nav.js-toc::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 4px;
}

.table-content-section nav.toc::-webkit-scrollbar-thumb:hover,
.table-content-section nav.js-toc::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Responsive TOC */
@media (max-width: 768px) {
  .table-content-section .title-table-navigation {
    padding: 12px 15px;
  }

  .table-content-section nav.toc,
  .table-content-section nav.js-toc {
    padding: 12px 15px;
    max-height: 300px;
  }

  .table-content-section .toc-link,
  .table-content-section .table-link {
    font-size: 14px;
    padding: 6px 0;
  }

  .table-content-section .toc-list .toc-list .toc-link {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------------------
|  NH Premium Toasts (Glassmorphism - Primary Style)
|  Designed by Anh - Tech Lead
--------------------------------------------------------------------------*/
.nh-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 350px;
  width: calc(100% - 48px);
}

.nh-toast {
  pointer-events: auto;
  /* Dùng màu primary với độ trong suốt để tạo hiệu ứng Glass */
  background: rgba(240, 25, 23, 0.85);
  /* fallback nếu không có var */
  background: color-mix(in srgb, var(--color-primary) 85%, transparent);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  padding: 14px 18px;
  position: relative;
  overflow: hidden;
  /* Hiệu ứng mờ dần theo yêu cầu */
  animation: nh-toast-fade-in 0.5s ease forwards;
  transition: all 0.3s ease;
}

@keyframes nh-toast-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nh-toast.hiding {
  animation: nh-toast-fade-out 0.4s ease forwards;
}

@keyframes nh-toast-fade-out {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

.nh-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.nh-toast-content {
  flex-grow: 1;
}

.nh-toast-message {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  /* Text trắng theo yêu cầu */
  line-height: 1.4;
}

.nh-toast-close {
  padding: 6px;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
}

.nh-toast-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

/* Biến thể màu sắc nhẹ nhàng hơn cho Icon nếu cần phân biệt */
.nh-toast-error {
  background: color-mix(in srgb, #ef4444 85%, transparent);
}

.nh-toast-warning {
  background: color-mix(in srgb, #f59e0b 85%, transparent);
}

.nh-toast-info {
  background: color-mix(in srgb, #3b82f6 85%, transparent);
}

/* Progress Bar trắng tinh tế */
.nh-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform-origin: left;
}

@media (max-width: 480px) {
  .nh-toast-container {
    top: 20px;
    right: 20px;
    left: 20px;
    width: auto;
  }
}

/* Style cho input khi bị lỗi validation */
.form-control.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

@keyframes nh-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.nh-shake {
  animation: nh-shake 0.3s ease-in-out;
}

/*--------------------------------------------------------------------------
|  Product Detail Page - Mobile Padding Reduction
--------------------------------------------------------------------------*/
@media (max-width: 767px) {

  /* Padding trên dưới 25px, trái phải 15px cho khung border tên & giới thiệu */
  .product-content-detail-left .product-info-left {
    padding: 25px 15px !important;
  }

  /* Padding trên dưới 25px, trái phải 15px cho khung border form booking */
  .product-content-detail-right {
    padding: 25px 15px !important;
  }

  /* Padding trên dưới 25px, trái phải 15px cho phần nội dung tổng quan */
  .product-content-detail-left .produc-info-left-bottom {
    padding: 25px 15px !important;
  }
}