.baro-slick .baro-slick__slide,
.baro-swiper .baro-slide {
  box-sizing: border-box;
}

/* .baro-slick-center__slide {
  padding: 0 10px;  
  box-sizing: border-box;
} 


*/ 
/* (đã có) */
.baro-heading{line-height:1.2;margin:0}
.baro-swiper .baro-slide,.baro-slick .baro-slick__slide{position:relative;text-align:center}
.baro-swiper img,.baro-slick img{width:100%;height:auto;display:block}
.swiper,.baro-slick__track{overflow:hidden}


.baro-slick .baro-slick__slide,
.baro-swiper .baro-slide {
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}


/* track có thể giữ overflow:hidden nếu muốn */
.baro-slick__track { overflow: hidden; }

/* vì appendArrows vào .baro-slick nên arrows không còn là con của track */
.baro-slick { position: relative; }

/* ========== SLICK NAVIGATION ARROWS ========== */
.baro-slick .slick-prev,
.baro-slick .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5) !important;
  border: none;
  z-index: 10;
  cursor: pointer;
  transition: all .3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.baro-slick .slick-prev:hover,
.baro-slick .slick-next:hover {
  background: rgba(255,255,255,0.8) !important;
  transform: translateY(-50%) scale(1.1);
}

.baro-slick .slick-prev {
  left: -50px;
}

.baro-slick .slick-next {
  right: -50px;
}

/* Icon arrows */
.baro-slick .slick-prev:before,
.baro-slick .slick-next:before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  color: #000 !important;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.baro-slick .slick-prev:before {
  content: "\f053"; /* fa-chevron-left */
}

.baro-slick .slick-next:before {
  content: "\f054"; /* fa-chevron-right */
}

/* Disabled state */
.baro-slick .slick-disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
}

.baro-slick .slick-disabled:hover {
  background: rgba(0,0,0,0.5) !important;
  transform: translateY(-50%) !important;
}

/* ========== SLICK DOTS (PAGINATION) ========== */
.baro-slick .slick-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 0;
  list-style: none;
  gap: 8px;
}

.baro-slick .slick-dots li {
  margin: 0;
}

.baro-slick .slick-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  font-size: 0; /* Ẩn text */
  padding: 0;
  opacity: 0.7;
}

.baro-slick .slick-dots button:hover {
  background: #999;
  transform: scale(1.2);
}

.baro-slick .slick-dots .slick-active button {
  background: #333;
  opacity: 1;
  transform: scale(1.3);
}

/* ========== RESPONSIVE NAVIGATION ========== */
@media (max-width: 768px) {
  .baro-slick .slick-prev,
  .baro-slick .slick-next {
    width: 35px;
    height: 35px;
    display: none !important;
  }
  
  .baro-slick .slick-prev {
    left: -40px;
  }
  
  .baro-slick .slick-next {
    right: -40px;
  }
  
  .baro-slick .slick-prev:before,
  .baro-slick .slick-next:before {
    font-size: 16px !important;
  }
  
  .baro-slick .slick-dots {
    margin-top: 15px;
    gap: 6px;
  }
  
  .baro-slick .slick-dots button {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .baro-slick .slick-prev,
  .baro-slick .slick-next {
    width: 30px;
    height: 30px;
    display: none !important;
  }
  
  .baro-slick .slick-prev {
    left: -35px;
  }
  
  .baro-slick .slick-next {
    right: -35px;
  }
  
  .baro-slick .slick-prev:before,
  .baro-slick .slick-next:before {
    font-size: 14px !important;
  }
  
  .baro-slick .slick-dots button {
    width: 8px;
    height: 8px;
  }
}

/* ========== CUSTOM POSITION CHO VECHUNGTOI__SLICK ========== */
.vechungtoi__slick .baro-slick button.slick-prev.slick-arrow {
  position: absolute;
  z-index: 3;
  border: 1px solid #DDDDDD;
  width: 30px;
  height: 30px;
  top: 0;
  right: -80px; /* Nút prev nằm xa hơn */
  cursor: pointer;
  background-color: #fff;
  color: #fcb01c;
  font-size: 28px;
  line-height: 0;
  text-indent: -500000px;
  border-radius: 5px;
  transition: all 0.5s;
}

.vechungtoi__slick .baro-slick button.slick-next.slick-arrow {
  position: absolute;
  z-index: 3;
  border: 1px solid #DDDDDD;
  width: 30px;
  height: 30px;
  top: 0;
  right: -50px; /* Nút next gần hơn */
  cursor: pointer;
  background-color: #fff;
  color: #fcb01c;
  font-size: 28px;
  line-height: 0;
  text-indent: -500000px;
  border-radius: 5px;
  transition: all 0.5s;
}

/* Icons cho custom style */
.vechungtoi__slick .baro-slick button.slick-prev.slick-arrow:before {
  content: '‹';
  color: #fcb01c;
  font-size: 20px;
  text-indent: 0;
  opacity: 1;
}

.vechungtoi__slick .baro-slick button.slick-next.slick-arrow:before {
  content: '›';
  color: #fcb01c;
  font-size: 20px;
  text-indent: 0;
  opacity: 1;
}

/* Hover effects */
.vechungtoi__slick .baro-slick button.slick-prev.slick-arrow:hover,
.vechungtoi__slick .baro-slick button.slick-next.slick-arrow:hover {
  background-color: #fcb01c;
  color: #fff;
  border-color: #fcb01c;
}

.vechungtoi__slick .baro-slick button.slick-prev.slick-arrow:hover:before,
.vechungtoi__slick .baro-slick button.slick-next.slick-arrow:hover:before {
  color: #fff;
}

/* Disabled state */
.vechungtoi__slick .baro-slick button.slick-prev.slick-arrow.slick-disabled,
.vechungtoi__slick .baro-slick button.slick-next.slick-arrow.slick-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f5f5f5;
  color: #ccc;
}

.vechungtoi__slick .baro-slick button.slick-prev.slick-arrow.slick-disabled:before,
.vechungtoi__slick .baro-slick button.slick-next.slick-arrow.slick-disabled:before {
  color: #ccc;
}

/* Responsive cho custom position */
@media (max-width: 768px) {
  .vechungtoi__slick .baro-slick button.slick-prev.slick-arrow {
    right: -70px;
    width: 28px;
    height: 28px;
  }
  
  .vechungtoi__slick .baro-slick button.slick-next.slick-arrow {
    right: -40px;
    width: 28px;
    height: 28px;
  }
  
  .vechungtoi__slick .baro-slick button.slick-prev.slick-arrow:before,
  .vechungtoi__slick .baro-slick button.slick-next.slick-arrow:before {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .vechungtoi__slick .baro-slick button.slick-prev.slick-arrow {
    right: -60px;
    width: 26px;
    height: 26px;
  }
  
  .vechungtoi__slick .baro-slick button.slick-next.slick-arrow {
    right: -30px;
    width: 26px;
    height: 26px;
  }
  
  .vechungtoi__slick .baro-slick button.slick-prev.slick-arrow:before,
  .vechungtoi__slick .baro-slick button.slick-next.slick-arrow:before {
    font-size: 16px;
  }
}


/* Wrapper & track */
.baro-slick { position: relative; }
.baro-slick__track { visibility: hidden; }              /* ẩn khi chưa init */
.baro-slick.is-ready .baro-slick__track { visibility: visible; }

/* Preloader overlay */
.baro-slick__loader {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.6); /* đổi màu nền tuỳ theme */
  transition: opacity .25s ease;
  z-index: 5;
}
.baro-slick.is-ready .baro-slick__loader {
  opacity: 0; pointer-events: none; aria-hidden: true;
}

/* Spinner tối giản */
.baro-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid #dcdcdc; border-top-color: #111;
  animation: baro-spin .7s linear infinite;
}
@keyframes baro-spin { to { transform: rotate(360deg); } }

/* Ẩn văn bản trợ năng ra khỏi màn hình */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}



/* Hiệu ứng chung */
.baro-slick-center .slick-slide {
  transition: transform .35s ease, opacity .35s ease, filter .35s ease, box-shadow .35s ease;
  transform: scale(.92);
  opacity: .55;
  filter: saturate(.8);
}

/* Slide trung tâm nổi bật */
.baro-slick-center .slick-center {
  transform: scale(1) translateY(-4px);
  opacity: 1;
  filter: none;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.08);
}

/* Làm mờ nhẹ slide clone để bớt rối mắt */
.baro-slick-center .slick-cloned:not(.slick-center) {
  opacity: .4;
}

/* Ảnh bên trong slide: bo góc + overflow */
.baro-slick-center__slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* Text trong slide giữa: đậm hơn */
.baro-slick-center .slick-center h3 {
  transform: translateY(-2px);
  text-shadow: 0 2px 10px rgba(0,0,0,.15);
}

/* Responsive tinh chỉnh nhẹ */
@media (max-width: 1024px){
  .baro-slick-center .slick-center { transform: scale(1) translateY(-2px); }
  .baro-slick-center .slick-slide { transform: scale(.95); }
}
@media (max-width: 768px){
  .baro-slick-center .slick-slide { transform: scale(.97); }
  .baro-slick-center .slick-center { box-shadow: 0 8px 20px rgba(0,0,0,.12); }
}

.baro-slick-center__slide{background: white;}


/* Ảnh & text cơ bản */
.baro-slick-center__slide .img{display:block;width:100%;height:auto;}
.baro-slick-center__slide .title{margin:12px 0 8px;line-height:1.25}
.baro-slick-center__slide .desc{line-height:1.6}

/* Layout 1: xếp dọc */
.baro-slick-center__slide.layout-l1 .l1-stack{display:flex;flex-direction:column;gap:12px}

/* Layout 2/3: 6/6 */
.baro-slick-center__slide .l-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.baro-slick-center__slide .l-grid .text{display:flex;flex-direction:column;gap:12px;padding:0 12px;box-sizing:border-box;}

/* Responsive */
@media (max-width:1024px){.baro-slick-center__slide .l-grid{gap:18px}}
@media (max-width:768px){.baro-slick-center__slide .l-grid{grid-template-columns:1fr}}


.baro-attribute-grid {
  display: grid;
  grid-gap: 20px;
}

.baro-attribute-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.baro-attribute-item {
  background: #fff;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.baro-attribute-item:hover{
  transform: translateY(-10px) !important;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  transition: all 0.3s ease;
}

.baro-attribute-item:hover .baro-attr-title {
  background: var(--e-global-color-primary);
  color: white !important;
}

.baro-attr-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.baro-attr-title {
  background: #fff;
  padding: 10px;
  color: var(--e-global-color-secondary) !important;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}


/* ========== Slick Center Default ========== */
.slick-center-mode .slick-slide {
  transition: transform .35s ease, opacity .35s ease, filter .35s ease;
  transform: scale(.9);
  opacity: .55;
  filter: saturate(.85);
}

.slick-center-mode .slick-center {
  transform: scale(1) translateY(-6px);
  opacity: 1;
  filter: none;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.08);
  background: #fff;
  border-radius: 8px;
}

.slick-center-mode .slick-cloned:not(.slick-center) {
  opacity: .35;
}

.slick-center-mode .slick-center h3,
.slick-center-mode .slick-center .title {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.15);
  transform: translateY(-2px);
}

@media (max-width: 1024px){
  .slick-center-mode .slick-center { transform: scale(1) translateY(-3px); }
  .slick-center-mode .slick-slide { transform: scale(.95); }
}
@media (max-width: 768px){
  .slick-center-mode .slick-slide { transform: scale(.97); }
  .slick-center-mode .slick-center { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
}


/* Slide base - slides không active (chỉ cho desktop center mode) */
@media (min-width: 1025px) {
  .baro-swiper-center .swiper-slide {
    background: white;
    display: flex;
    height: 600px;
    flex-direction: row;
    gap: 20px;
    max-width: var(--container-max-width);
    width: 100%;
    align-items: center;
    box-sizing: border-box;
    transition: all 200ms linear;
    transform: scale(0.8);
    opacity: 0.5;
  }
  
  /* Desktop: Keep absolute positioning and fixed height */
  .baro-swiper-center .swiper-slide__content {
    position: absolute;
    top: 0;
    height: 800px;
  }

  /* Slide active - slide trung tâm */
  .baro-swiper-center .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    background: white;
  }

  /* Pagination dots cho desktop */
  .baro-swiper-center .swiper-pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
  }
  
  .baro-swiper-center .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    opacity: 0.7;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .baro-swiper-center .swiper-pagination-bullet:hover {
    background-color: #999;
    transform: none;
  }
  
  .baro-swiper-center .swiper-pagination-bullet-active {
    background-color: #111;
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Mobile - tắt center mode effects */
@media (max-width: 1024px) {
  .baro-swiper-center .swiper-slide {
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    opacity: 1 !important;
    background: white;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }
  
  .baro-swiper-center .swiper-slide-active {
    transform: none !important;
    opacity: 1 !important;
    z-index: auto;
    background: #fff;
    box-shadow: none;
    border-radius: 8px;
  }
}

/* Flex layout */
.baro-swiper-center .swiper-slide__content {
  position: relative; /* Change from absolute to relative for better mobile support */
  top: auto; /* Remove fixed top positioning */
  height: auto; /* Change from fixed height to auto */
  display: flex;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

/* Nút Next/Prev cho Baro Swiper */
.baro-swiper .swiper-button-next,
.baro-swiper .swiper-button-prev {
  width: 40px; 
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff !important; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  z-index: 10;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
}

.baro-swiper .swiper-button-next:hover,
.baro-swiper .swiper-button-prev:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

.baro-swiper .swiper-button-next::after,
.baro-swiper .swiper-button-prev::after {
  font-size: 18px !important; 
  font-weight: bold;
  color: #fff;
}

.baro-swiper .swiper-button-next {
  right: 10px;
}
.baro-swiper .swiper-button-prev {
  left: 10px;
}

.baro-swiper .swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}


.baro-swiper-center .swiper-slide__content.l-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.baro-swiper-center .swiper-slide-active:hover{
  transition: transform .3s ease;
}


.baro-swiper-center .swiper-slide:not(.swiper-slide-active):hover{
  transform: scale(0.8) !important;
}

.baro-swiper-center .swiper-slide-active:hover{
  transform: scale(1.05);
}

/* Prevent clipping on active item when scaled */
.baro-swiper-center .swiper-slide-active {
  z-index: 3;
  transform-origin: center center;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.baro-swiper-center .swiper-slide-active .swiper-slide__content,
.baro-swiper-center .swiper-slide-active .swiper-slide__content.l-grid {
  overflow: visible;
}

.baro-swiper-center .swiper-slide__content .col.image {
  flex: 0 0 70%; /* Hình chiếm 70% */
  max-width: 70%;
}

.baro-swiper-center .swiper-slide__content .col.image img {
  width: 100%;
  height: auto;
  min-height: 550px;
  max-height: 550px;
  display: block;
  object-position: center;
}

.baro-swiper-center .swiper-slide__content .col.text {
  flex: 0 0 30%; /* Text chiếm 30% */
  max-width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 0 0 0 20px;
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.baro-swiper-center .swiper-slide__content .col.text h3 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: center;
}

.baro-swiper-center .swiper-slide__content .col.text .desc {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.baro-swiper-center{
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 600px;
  margin: 0 auto;
}

.baro-swiper-center .swiper-wrapper {
  display: flex;
  align-items: center;
  transition-timing-function: ease-out;
}

/* Pagination/Dots */
.baro-swiper-center .swiper-pagination {
  position: relative;
  margin-top: 15px;
  text-align: center;
  display: flex !important; /* Đảm bảo hiển thị trên desktop */
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.baro-swiper-center .swiper-pagination-bullet {
  background-color: #ccc;
  opacity: 0.7;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.baro-swiper-center .swiper-pagination-bullet:hover {
  background-color: #999;
  transform: none;
}
.baro-swiper-center .swiper-pagination-bullet-active {
  background-color: #111;
  opacity: 1;
  transform: scale(1.3);
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .baro-swiper-center {
    width: 100%;
    height: 250px;
  }
  
  .baro-swiper-center .swiper-slide {
    width: var(--container-max-width, 1000px) !important;
    margin: 0;
    height: 250px;
  }
  
  .baro-swiper-center .swiper-slide__content {
    height: 250px;
  }
  
  .baro-swiper-center .swiper-slide__content.l-grid {
    flex-direction: column; /* Stack dọc trên tablet */
    gap: 15px;
    padding: 15px;
  }
  
  .baro-swiper-center .swiper-slide__content .col.image {
    flex: 1;
    max-width: 100%;
  }
  
  .baro-swiper-center .swiper-slide__content .col.image img {
    min-height: 200px;
    max-height: 200px;
  }
  
  .baro-swiper-center .swiper-slide__content .col.text {
    flex: 1;
    max-width: 100%;
    padding: 15px; 
  }
}

@media (max-width: 768px) {
  .baro-swiper-center {
    width: 100%;
    height: auto; /* Auto height để fit content */
  }
  
  .baro-swiper-center .swiper-wrapper {
    align-items: stretch; /* Đảm bảo equal height cho mobile */
  }
  
  .baro-swiper-center .swiper-slide {
    width: var(--container-max-width, 768px) !important;
    margin: 0;
    height: auto; /* Auto height để fit content */
    min-height: auto; /* Remove fixed minimum height */
  }
  
  .baro-swiper-center .swiper-slide__content {
    height: auto; /* Auto height để fit content */
    min-height: auto; /* Remove fixed minimum height */
    position: relative; /* Change from absolute to relative positioning */
  }
  
  .baro-swiper-center .swiper-slide__content.l-grid {
    flex-direction: column; /* Text hiển thị dưới hình ảnh */
    padding: 12px;
    gap: 12px;
  }
  
  .baro-swiper-center .swiper-slide__content .col.image {
    flex: 0 0 auto; /* Không co giãn, fit content */
    max-width: 100%;
  }
  
  .baro-swiper-center .swiper-slide__content .col.image img {
    min-height: auto; /* Remove fixed minimum height */
    max-height: none; /* Remove fixed maximum height */
    height: auto; /* Auto height để fit content */
  }
  
  .baro-swiper-center .swiper-slide__content .col.text {
    flex: 1; /* Chiếm không gian còn lại */
    max-width: 100%;
    padding: 12px; /* Giảm padding trên mobile */
  }
  
  .baro-swiper-center .swiper-slide__content .col.text h3 {
    font-size: 18px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .baro-swiper-center {
    height: auto; /* Auto height để fit content */
  }
  
  .baro-swiper-center .swiper-wrapper {
    align-items: stretch; /* Đảm bảo equal height cho mobile nhỏ */
  }
  
  .baro-swiper-center .swiper-slide {
    width: 100% !important; 
    max-width: none !important;
    margin: 0;
    height: auto; /* Auto height để fit content */
    min-height: auto; /* Remove fixed minimum height */
  }
  
  .baro-swiper-center .swiper-slide__content {
    height: auto; /* Auto height để fit content */
    min-height: auto; /* Remove fixed minimum height */
    position: relative; /* Change from absolute to relative positioning */
  }
  .baro-swiper-center .swiper-slide__content.l-grid {
    flex-direction: column; /* Mobile: Hình - Text (text dưới hình) */
    padding: 10px;
    gap: 10px;
  }
  
  .baro-swiper-center .swiper-slide__content .col.image {
    flex: 0 0 auto; /* Không co giãn, fit content */
    max-width: 100%;
  }
  
  .baro-swiper-center .swiper-slide__content .col.image img {
    min-height: auto; /* Remove fixed minimum height */
    max-height: none; /* Remove fixed maximum height */
    height: auto; /* Auto height để fit content */
  }
  
  .baro-swiper-center .swiper-slide__content .col.text {
    display:block;
    max-width: 100%;
    padding: 10px; /* Giảm padding trên mobile nhỏ */
  }
  
  .baro-swiper-center .swiper-slide__content .col.text h3 {
    font-size: 16px;
    text-align: center;
  }
  .baro-swiper-center .swiper-slide__content .col.text .desc {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .baro-swiper-center .swiper-slide {
    width: 100% !important; 
    max-width: none !important;
    margin: 0;   
  }
  .baro-swiper-center .swiper-slide__content.l-grid {
    padding: 8px;
    gap: 8px;
  }
  
  .baro-swiper-center .swiper-slide__content .col.image img {
    min-height: auto; /* Remove fixed minimum height */
    max-height: none; /* Remove fixed maximum height */
    height: auto; /* Auto height để fit content */
  }
  
  .baro-swiper-center .swiper-slide__content .col.text {
    padding: 8px;
  }
  
  .baro-swiper-center .swiper-slide__content .col.text h3 {
    font-size: 15px;
  }
  .baro-swiper-center .swiper-slide__content .col.text .desc {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .baro-swiper-center .swiper-slide {
    width: 100% !important; 
    max-width: none !important;
    margin: 0;   
  }
  .baro-swiper-center .swiper-slide__content.l-grid {
    padding: 6px;
    gap: 6px;
  }
  
  .baro-swiper-center .swiper-slide__content .col.image img {
    min-height: auto; /* Remove fixed minimum height */
    max-height: none; /* Remove fixed maximum height */
    height: auto; /* Auto height để fit content */
  }
  
  .baro-swiper-center .swiper-slide__content .col.text {
    padding: 6px;
  }
  
  .baro-swiper-center .swiper-slide__content .col.text h3 {
    font-size: 14px;
  }
  .baro-swiper-center .swiper-slide__content .col.text .desc {
    font-size: 12px;
  }
}


/* Arrows mặc định */
.baro-swiper-center .swiper-button-next,
.baro-swiper-center .swiper-button-prev {
  color: #111;
}
.baro-swiper-center .swiper-button-next:after,
.baro-swiper-center .swiper-button-prev:after {
  font-size: 22px;
}


.baro-mmenu-container{
  display: flex;
  height: 35px;
  background-color: var(--e-global-color-primary);
  width: 35px;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}


.baro-mmenu-container a{
  color: white !important;
}

/* ========== TIMELINE WIDGET ========== */
.baro-timeline {
  position: relative;
  padding: 20px 0;
}

.baro-timeline__line {
  position: absolute;
  top: 60px; /* Điều chỉnh để line nằm ở giữa các dots */
  left: 0;
  right: 0;
  height: 4px;
  background-color: #eeeeee;
  border-top: none;
  border-bottom: none;
  border-left: none;
  border-right: none;
  background-image: linear-gradient(to right, #eeeeee 50%, transparent 50%);
  background-size: 20px 4px;
  background-repeat: repeat-x;
  z-index: 1;
}

/* Đường kẻ nối giữa các dots */
.baro-timeline__line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #eeeeee;
  background-image: linear-gradient(to right, #eeeeee 50%, transparent 50%);
  background-size: 20px 4px;
  background-repeat: repeat-x;
  transform: translateY(-50%);
  z-index: 1;
}

.baro-timeline__track {
  position: relative;
  z-index: 2;
  visibility: hidden;
}

.baro-timeline.is-ready .baro-timeline__track {
  visibility: visible;
}

.baro-timeline__item {
  position: relative;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.baro-timeline__dot {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: #28a745; /* Màu xanh lá như trong hình */
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  margin: auto;
}

.baro-timeline__item:hover .baro-timeline__dot {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.baro-timeline__year {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
}

.baro-timeline__content {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 280px;
}


.baro-timeline__content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.baro-timeline__content h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #333;
}

.baro-timeline__content .desc {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  text-align: center;
}

/* Preloader cho timeline */
.baro-timeline__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.6);
  transition: opacity .25s ease;
  z-index: 5;
}

.baro-timeline.is-ready .baro-timeline__loader {
  opacity: 0;
  pointer-events: none;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .baro-timeline__line {
    top: 50px;
  }
  
  .baro-timeline__line::before {
    top: 50%;
  }
  
  .baro-timeline__item {
    padding: 0 15px;
    display: flex;
  }
  
  .baro-timeline__dot {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  
  .baro-timeline__year {
    font-size: 14px;
  }
  
  .baro-timeline__content {
    padding: 15px;
    max-width: 250px;
  }
  
  .baro-timeline__content h3 {
    font-size: 15px;
  }
  
  .baro-timeline__content .desc {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .baro-timeline__line {
    top: 45px;
  }
  
  .baro-timeline__line::before {
    top: 50%;
  }
  
  .baro-timeline__item {
    padding: 0 10px;
  }
  
  .baro-timeline__dot {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
  }
  
  .baro-timeline__year {
    font-size: 13px;
  }
  
  .baro-timeline__content {
    padding: 12px;
    max-width: 220px;
  }
  
  .baro-timeline__content h3 {
    font-size: 14px;
  }
  
  .baro-timeline__content .desc {
    font-size: 12px;
  }
}

/* ========== HALF CIRCLE WIDGET ========== */
.baro-half-circle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.baro-half-circle-container {
  position: relative;
  width: var(--container-max-width);
  height: calc(var(--container-max-width) * 0.5625);
}

.baro-center-circle {
  width: calc(var(--container-max-width) * .45);
  height: calc(var(--container-max-width) * .45);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-align: center;
}

.baro-center-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.baro-icon {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

}

.baro-icon .icon-images:hover{
  transform: scale(1.1);
}

.icon-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.icon-images img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

/* 6 icon trải từ 0 → 180 độ */
.baro-icon:nth-child(2) {
  transform: rotate(-12deg) translate(460px) rotate(12deg);
}

.baro-icon:nth-child(3) {
  transform: rotate(20deg) translate(460px) rotate(-20deg);
}

.baro-icon:nth-child(4) {
  transform: rotate(55deg) translate(400px) rotate(-55deg)
}

.baro-icon:nth-child(5) {
  transform: rotate(126deg) translate(400px) rotate(-126deg)
}

.baro-icon:nth-child(6) {
  transform: rotate(160deg) translate(460px) rotate(-160deg);
}

.baro-icon:nth-child(7) {
  transform: rotate(190deg) translate(460px) rotate(-190deg);
}

.baro-icon a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}


/* Items 4, 5, 6 có flex row reverse */
.baro-icon:nth-child(5) .icon-images,
.baro-icon:nth-child(6) .icon-images,
.baro-icon:nth-child(7) .icon-images {
  flex-direction: row-reverse;
}

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

/* Tablet & Màn hình nhỏ (<= 1024px) */
@media (max-width: 1024px) {
  .baro-half-circle-container {
    width: 600px;
    height: 600px;
  }

  .baro-center-circle {
    width: 270px;
    height: 270px;
  }

  .baro-icon {
    width: 210px;
    height: 210px;
    margin: -105px; /* Một nửa của width/height */
  }

  .icon-images img {
    width: 90px;
    height: 90px;
  }

  /* Cập nhật khoảng cách translate cho các icon */
  .baro-icon:nth-child(2) {
    transform: rotate(-10deg) translate(225px) rotate(10deg);
  }

  .baro-icon:nth-child(3) {
    transform: rotate(18deg) translate(225px) rotate(-18deg);
  }

  .baro-icon:nth-child(4) {
    transform: rotate(55deg) translate(215px) rotate(-55deg);
  }

  .baro-icon:nth-child(5) {
    transform: rotate(128deg) translate(215px) rotate(-128deg);
  }

  .baro-icon:nth-child(6) {
    transform: rotate(160deg) translate(225px) rotate(-160deg);
  }

  .baro-icon:nth-child(7) {
    transform: rotate(190deg) translate(225px) rotate(-190deg);
  }
}


/* Điện thoại màn hình lớn & Tablet nhỏ (<= 768px) */
@media (max-width: 768px) {
  .baro-half-circle-container {
    width: 500px;
    height: 500px;
  }

  .baro-center-circle {
    width: 225px;
    height: 225px;
  }

  .baro-icon {
    width: 175px;
    height: 175px;
    margin: -87.5px;
  }

  .icon-images img {
    width: 75px;
    height: 75px;
  }

  /* Cập nhật khoảng cách translate */
  .baro-icon:nth-child(2) {
    transform: rotate(-10deg) translate(188px) rotate(10deg);
  }

  .baro-icon:nth-child(3) {
    transform: rotate(18deg) translate(188px) rotate(-18deg);
  }

  .baro-icon:nth-child(4) {
    transform: rotate(55deg) translate(165px) rotate(-55deg);
  }

  .baro-icon:nth-child(5) {
    transform: rotate(128deg) translate(165px) rotate(-128deg);
  }

  .baro-icon:nth-child(6) {
    transform: rotate(160deg) translate(188px) rotate(-160deg);
  }

  .baro-icon:nth-child(7) {
    transform: rotate(190deg) translate(188px) rotate(-190deg);
  }
}


/* Điện thoại di động (<= 480px) */
@media (max-width: 480px) {
  .baro-half-circle-container {
    width: 320px;
    height: 150px;
  }

  .baro-center-circle {
    width: 144px;
    height: 144px;
  }

  .baro-icon {
    width: 112px;
    height: 112px;
    margin: -56px;
  }

  .icon-images {
    gap: 4px; /* Giảm khoảng cách giữa các hình */
  }

  .icon-images img {
    width: 48px;
    height: 48px;
  }

  /* Cập nhật khoảng cách translate */
  .baro-icon:nth-child(2) {
    transform: rotate(-14deg) translate(120px) rotate(10deg);
  }

  .baro-icon:nth-child(3) {
    transform: rotate(18deg) translate(120px) rotate(-18deg);
  }

  .baro-icon:nth-child(4) {
    transform: rotate(55deg) translate(115px) rotate(-55deg);
  }

  .baro-icon:nth-child(5) {
    transform:rotate(128deg) translate(115px) rotate(-128deg);
  }

  .baro-icon:nth-child(6) {
    transform: rotate(160deg) translate(120px) rotate(-160deg);
  }

  .baro-icon:nth-child(7) {
    transform: rotate(190deg) translate(120px) rotate(-190deg);
  }
}

