/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.20.3
Requires at least:    6.4
Requires PHP:         7.4
WC requires at least: 8.3
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/

	body {
    margin: 0;
    font-family: Arial, sans-serif;
		background-color: #fff;align-content }
		
/* ---------------------------------notify  --------------------------*/ 
.notifybar-container {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #075d0f;
    padding: 8px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    /* margin-top: -37px; */
}
/* Loa bên trái (cố định) */
.notifybar-left {
  flex-shrink: 0;
  margin-right: 10px;
}

.notifybar-left i {
  color: #ccc;
  font-size: 17px;
}

/* Vùng chữ chạy */
.notifybar-marquee {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  position: relative;
    font-size: 20px;
}
.notifybar-text a {
    color: #fff;
}

.notifybar-text {
  display: inline-block;
  animation: scroll-text 12s linear infinite;
  color: #ddd;
}

.notifybar-text span {
  color: #ffd700;
  font-weight: bold;
}

/* Hiệu ứng chạy ngang */
@keyframes scroll-text {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

    .topbar {
  background-color: #075d0f;
  color: #ffcc00;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px; /* giảm padding trên dưới */
}


  /* Logo bên trái */
  .logo {
    display: flex;
    align-items: center;
    gap: 8px; /* khoảng cách giữa 2 hình */
  }

  .logo img {
    height: 40px;
    object-fit: contain;
  }

  /* Khu bên phải chia làm 2 hàng */
.menu-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center; /* ✅ giúp căn giữa theo chiều dọc */
  gap: 4px; /* tạo khoảng cách đều giữa 2 hàng */
}

  /* Hàng trên: nút đăng nhập / đăng ký */
  .menu-top {
    display: flex;
    gap: 10px;
    position: relative;
  }

.btn {
    position: relative;
    padding: 2px 36px;
    border-radius: 10px;
    margin-bottom: 7px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

  .btn-login {
    background-color: #fffbe8;
    color: #075d0f;
  }

  .btn-register {
    background-color: #ffc600;
    color: #075d0f;
  }

  /* Badge +58K */
.badge {
    position: absolute;
    top: -9px;
    right: -1px;
    background-color: #d40000;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 1px;
    border-radius: 15px;
    line-height: 1;
}

  /* Hàng dưới: các liên kết và đồng hồ */
 .menu-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

  .menu-bottom a {
    color: #ffcc00;
    text-decoration: none;
  }

  .menu-bottom a:hover {
    text-decoration: underline;
  }

.clock {
    color: #ffcc00;
    font-size: 16px;
    min-width: 140px;
}

  /* Responsive nhẹ */
  @media (max-width: 700px) {
    .topbar {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
    .menu-right {
      align-items: flex-start;
    }
  }
	
	
    /* Thanh menu chính */
  .bottom-menu {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    white-space: nowrap;    /* Không cho xuống hàng */

  }

  /* Thanh cuộn ẩn bớt đẹp hơn */
  .bottom-menu::-webkit-scrollbar {
    height: 6px;
  }
  .bottom-menu::-webkit-scrollbar-thumb {
    background-color: #cccccc;
    border-radius: 4px;
  }

  /* Mỗi item menu */
  .menu-item {
    display: inline-flex
;
    align-items: center;
    gap: 2px;
    color: #0a5f0a;
    text-decoration: none;
    /* font-weight: bold; */
    font-size: 14px;
    padding: 11px 7px;
    /* border-radius: 4px; */
    transition: 0.2s;
    flex-shrink: 0;
}

  .menu-item:hover {
    background-color: #f2f2f2;
  }

  /* Mục đang chọn */
  .menu-item.active {
    background-color: #ffcc00;
    color: #0a5f0a;
}

  .menu-item i {
    font-size: 16px;
  }
	
	
	  /* hộp chứa ảnh cố định */
 .fixed-image {
    position: fixed !important;
    bottom: 30px;
    left: 30px;
    width: 200px;
    height: 200px;
    z-index: 9999;
}

  .fixed-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }


  /* tương tác: phóng to nhẹ khi hover */
  .fixed-image:hover{
    transform: translateY(-6px) scale(1.03);
  }


.text-container {
    position: relative;
    /* max-width: 600px; */
    background: white;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.text-content {
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s ease;
    font-family: "Segoe UI", sans-serif;
    line-height: 1.6;
    padding: 40px;
    background: #f7f7f7;
    color: #333;
}

  .fade-out {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4em;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), white 90%);
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .show-more-btn {
    display: inline-block;
    margin-top: 16px;
    background: #0196ff;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 3px 34px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s, transform 0.2s;
}

  .show-more-btn:hover {
    background: #0196ff;
    transform: translateY(-1px);
  }

  .expanded .fade-out {
    opacity: 0;
  }
p.text-hinh {
    text-align: center;
    margin-bottom: 2px;
    background: #f7f7f7;
}
 
</style>

