/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.popup-khoi-hanh {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 500px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  z-index: 9999;
  padding: 20px;
  font-size: 14px;
}

.popup-khoi-hanh table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.popup-khoi-hanh th, .popup-khoi-hanh td {
  padding: 8px;
  border-bottom: 1px solid #eee;
  text-align: center;
}
.popup-inner .popup-title {
  font-weight: bold;
  font-size: 18px;
  color: #e74c3c;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
}
.popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}



.woocommerce-layout__header .woocommerce-layout__header-wrapper {
    display: none;
    align-items: center;
    min-height: 60px;
}



.chinhsachtour {
  margin-top: 40px;
}

.chinhsachtour .tabbed-content {
  border-radius: 8px;
  overflow: hidden;
}

.chinhsachtour .nav {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.chinhsachtour .nav .tab {
  padding: 8px 20px;
  border-radius: 999px; /* Nút bo tròn như hình */
  background-color: transparent;
  border: 2px solid transparent;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chinhsachtour .nav .tab:hover {
  background-color: #eeeeee;
}

.chinhsachtour .nav .tab.active {
  background-color: #0000ff; /* Nền xanh */
  color: #fff; /* Chữ trắng */
  border-color: #0000ff;
}

.chinhsachtour .tab-panels .panel {
  display: none;
  padding: 20px;
  color: #333;
}

.chinhsachtour .tab-panels .panel.active {
  display: block;
}

.chinhsachtour-content ul {
  padding-left: 20px;
  margin: 0;
}

.chinhsachtour-content ul li {
  margin-bottom: 8px;
  list-style-type: disc;
}



.header-call-button a {
    display: inline-flex;
    align-items: center;
    background-color: #0000ff;
    color: #fff;
    padding: 6px 20px;
    border-radius: 99px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.header-call-button a:hover {
    background-color: #e6761a;
    text-decoration: none;
}

.header-call-button i.fa-phone {
    margin-right: 8px;
    font-size: 16px;
}


/* background màu trắng sản phẩm */


.mau-trang .product-small {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.mau-trang .product-small:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mau-trang .product-small .box-text {
  padding: 15px;
  background: transparent;
}

.mau-trang .product-small .box-image {
  border-bottom: 1px solid #eee;
}


/* màu trắng background */

.mau-trang .box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 0 10px; /* Giãn cách giữa các item */
}

.mau-trang .box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.mau-trang .box .box-text {
  padding: 15px;
  background: transparent;
}

.mau-trang .box .box-image img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}


/* bổ sung css cho background slide */

/* Đảm bảo item có full height */

.mau-trang .item_prd {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Box phủ toàn bộ chiều cao */
.mau-trang .box {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  height: 100%;
}

/* Hình ảnh không co kéo */
.mau-trang .box-image {
  flex-shrink: 0;
}

/* Phần chữ giãn đều để đẩy box luôn đều nhau */
.mau-trang .box-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

/* Đảm bảo khối trong cũng giãn đều */
.mau-trang .box-text-inner {
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: -20px;
}

/* Nếu cần set min chiều cao cho đồng đều toàn slide */
.mau-trang .item_prd {
  min-height: 500px; /* bạn có thể điều chỉnh thành 520px hoặc 480px tuỳ thiết kế */
}

/* cập nhật lại css cho slide */
.mau-trang .box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mau-trang .box-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* hình ảnh đều */

.products-container {
  display: flex;
  gap: 20px;
}

.product {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}
