/* === Custom Buttons (Override Flatsome) === */
.header-button a.button.primary {
  background: linear-gradient(180deg, #00c292, #009e74) !important;
  color: #fff !important;
  font-weight: 600;
  border: none !important;
  border-radius: 10px !important;
  padding: 8px 20px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
  transition: all 0.25s ease;
}
.header-button a.button.primary:hover {
  background: linear-gradient(180deg, #00e6a7, #00b381) !important;
  transform: translateY(-1px);
}

/* === Button 2 (outline cam kem + badge) === */
.header-button a.button.secondary.is-outline {
  position: relative;
  background: linear-gradient(180deg, #ffcc80, #f2a654) !important;
  color: #1b1b1b !important;
  border: none !important;
  font-weight: 600;
  border-radius: 10px !important;
  padding: 8px 22px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
  transition: all 0.25s ease;
}
.header-button a.button.secondary.is-outline:hover {
  background: linear-gradient(180deg, #ffd89e, #ffb156) !important;
  transform: translateY(-1px);
}

/* Badge nổi cho button 2 */
.header-button a.button.secondary.is-outline::before {
  content: "R$ +0.8~99";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #5e35b1, #ff1744);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid #fff;
}

/* === Nút "Entrar" kiểu gradient xanh === */
.btn-login {
  background: linear-gradient(180deg, #00c292, #009e74);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 8px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.btn-login:hover {
  background: linear-gradient(180deg, #00e6a7, #00b381);
  transform: translateY(-1px);
}
.btn-avatar {
    width: 50px;
    height: 50px;
    border-radius: 14%;
    border: 2px solid #948511;
    margin-left: 8px;
    position: relative;
}
.btn-avatar::after {
  content: "";
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 8px;
  height: 8px;
  background: #00ff6a;
  border-radius: 50%;
  border: 1px solid #fff;
}

/* === Nút Registro với badge === */
.header-button-2 a.button.secondary {
  position: relative;
  background: linear-gradient(180deg, #FFD59E 0%, #F5A654 100%);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 10px 26px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
  overflow: visible;
}
.header-button-2 a.button.secondary:hover {
  background: linear-gradient(180deg, #FFE0B0 0%, #FFC06B 100%);
  transform: translateY(-1px);
}

/* === Badge nổi sát phía trên === */
.header-button-2 a.button.secondary::before {
  content: "R$  +0.8~99";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #FFD700;
  background: linear-gradient(90deg, #5E35B1 0%, #FF1744 100%);
  border: 1px solid #FFD700;
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* ========== OK100 FAQ SECTION ========== */
section.ok100-faq {
  background: linear-gradient(180deg, #0d1f15 0%, #011409 100%) !important;
  padding: 60px 0 80px !important; /* khoảng cách trong section */
  margin: 60px auto !important; /* khoảng cách giữa section và phần khác */
  color: #d6ddd9 !important;
  border-radius: 22px !important; /* bo góc toàn section */
  overflow: hidden !important;
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.05);
  position: relative;
  z-index: 2;

  /* 🔥 mở rộng chiều rộng */
  width: 100%;
  max-width: 1780px;
}

/* Container bên trong */
.ok100-faq .faq-container {
  max-width: 1200px; /* 🔥 tăng chiều rộng nội dung */
  margin: 0 auto;
  padding: 0 30px;
}

/* Header */
.ok100-faq .faq-header {
  display: flex;
  align-items: center;
  margin-bottom: 35px;
  justify-content: center;
  text-align: center;
}

.ok100-faq .faq-header h2 {
  color: #fff;
  font-size: 24px; /* nhẹ tăng tiêu đề để tương xứng không gian */
  font-weight: 600;
  margin: 0;
}

.ok100-faq .faq-header span {
  color: #00ff88;
}

.ok100-faq .faq-header .icon {
  margin-right: 10px;
}

/* Danh sách item */
.ok100-faq .faq-item {
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 10px;
  background: #132a1d;
  margin-bottom: 14px; /* tăng spacing nhẹ để thoáng hơn */
  overflow: hidden;
  transition: all 0.3s ease;
}

.ok100-faq .faq-item.active {
  border-color: #00ff88;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.25);
}

/* Nút câu hỏi */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 26px; /* tăng padding nhẹ */
  color: #cde1d7;
  font-size: 16px; /* tăng font cho cân không gian */
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.faq-question::after {
  content: "▼";
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: 13px;
  color: #99b0a3;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
  color: #00ff88;
}

.faq-question:hover {
  color: #00ff88;
}

/* Nội dung trả lời */
.faq-answer {
  display: none;
  padding: 0 26px 20px;
  color: #a9b7b0;
  font-size: 15px;
  line-height: 1.6;
}

/* Footer */
.faq-footer {
  text-align: center;
  margin-top: 50px;
}

.faq-btn {
  display: inline-block;
  border: 1px solid #00ff88;
  padding: 14px 38px;
  border-radius: 8px;
  color: #00ff88;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-btn:hover {
  background: #00ff88;
  color: #0e2015;
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.3);
}
/* ========== OK100 SCROLLBAR STYLE ========== */

/* Áp dụng toàn trang */
::-webkit-scrollbar {
  width: 10px; /* độ dày thanh cuộn dọc */
  height: 10px; /* độ dày thanh cuộn ngang */
}

/* Nền track (vùng phía sau scrollbar) */
::-webkit-scrollbar-track {
  background: #0b1c13;
  border-radius: 10px;
}

/* Thanh cuộn (phần kéo được) */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff88, #00cc66);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
  transition: all 0.3s ease;
}

/* Hover sáng hơn */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00ffaa, #00ff66);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

/* Thanh cuộn ngang nếu có */
::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox support */
html {
  scrollbar-width: thin;
  scrollbar-color: #00ff88 #0b1c13;
}

/* Khi có container cuộn riêng */
.scrollable, .modal-content, .faq-list {
  scrollbar-color: #00ff88 #0b1c13;
  scrollbar-width: thin;
}
/* ===== MINI TICKER HEADER OK100 (fix offset chuẩn, icon rung sáng) ===== */
.mini-ticker {
  position: relative;
  width: 1040px;
  height: 44px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, #0c4f3d, #083529);
  border: 1px solid rgba(0,255,200,0.25);
  box-shadow: inset 0 0 8px rgba(0,255,200,0.2);
  padding-left: 60px; /* chừa khoảng icon */
  display: flex;
  align-items: center;
}

.mini-ticker-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  animation: speakerPulse 2s infinite ease-in-out, speakerShake 6s infinite ease-in-out;
  transform-origin: center;
}

@keyframes speakerPulse {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(0,255,180,0.4)); }
  50% { filter: drop-shadow(0 0 8px rgba(0,255,180,0.9)); }
}

@keyframes speakerShake {
  0%, 96%, 100% { transform: translateY(-50%) rotate(0deg); }
  97% { transform: translateY(-50%) rotate(8deg); }
  98% { transform: translateY(-50%) rotate(-8deg); }
  99% { transform: translateY(-50%) rotate(5deg); }
}

/* track chạy có offset chuẩn */
.mini-ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: miniTickerScroll 35s linear infinite;
}

.mini-ticker-track span {
  display: inline-block;
  margin-right: 60px;
  color: #b7ffde;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.mini-ticker:hover .mini-ticker-track {
  animation-play-state: paused;
}

/* === Animation có offset === */
@keyframes miniTickerScroll {
  0%   { transform: translateX(40px); }   /* 👉 offset tạo khoảng cách icon */
  100% { transform: translateX(-100%); }
}

/* Mobile */
@media (max-width: 767px) {
  .mini-ticker { display: none; }
}

.footer-section {
  background: linear-gradient(180deg, #012c16 0%, #011b0d 100%);
  color: #d3d9d5;
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
  border-top: 2px solid rgba(0,255,136,0.15);
  box-shadow: 0 -4px 20px rgba(0,255,136,0.05);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h4 {
  color: #00ff88;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col p {
  line-height: 1.6;
  font-size: 14px;
  color: #c8d2cd;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col ul li a {
  color: #c8d2cd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #00ff88;
  text-shadow: 0 0 8px #00ff88;
}

.footer-logo img {
  width: 160px;
  margin-bottom: 15px;
}

.social {
  margin-top: 15px;
}

.social a {
  color: #00ff88;
  margin-right: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social a:hover {
  text-shadow: 0 0 8px #00ff88;
  transform: scale(1.2);
}

/* Responsive: tự xuống hàng khi nhỏ hơn 991px */
@media (max-width: 991px) {
  .footer-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: center;
  }
}
/* ========== OK100 Mobile Sidebar Menu ========== */
.mfp-content,
.off-canvas-left.mfp-content,
.mobile-sidebar,
.mobile-sidebar .sidebar-menu,
.mfp-bg {
  background: linear-gradient(180deg, #02150c 0%, #042716 100%) !important;
  color: #d6ddd9 !important;
  font-family: "Poppins", sans-serif;
}

/* Menu container */
.mobile-sidebar {
  border-right: 1px solid rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.05);
  width: 300px !important;
}

/* Header logo trong menu */
.mobile-sidebar .ux-logo img {
  max-width: 140px;
  margin: 25px auto 15px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.3));
}

/* Link menu chính */
.mobile-sidebar .menu-item a {
  display: block;
  padding: 12px 22px;
  color: #cde1d7;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.25s ease;
}

/* Hover + Active */
.mobile-sidebar .menu-item a:hover,
.mobile-sidebar .current-menu-item > a {
  color: #00ff88 !important;
  background: rgba(0, 255, 136, 0.07);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.15) inset;
}

/* Icon menu (nếu có) */
.mobile-sidebar .menu-item i {
  color: #00ff88;
  margin-right: 8px;
  font-size: 16px;
}

/* Viền ngăn cách */
.mobile-sidebar .menu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Khi mở menu (overlay nền) */
.mfp-bg {
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(4px);
}

/* Nút đóng menu */
button.mfp-close {
  color: #00ff88 !important;
  opacity: 0.9;
  font-size: 28px !important;
  right: 10px;
  top: 10px;
  transition: 0.3s ease;
}
button.mfp-close:hover {
  color: #00ffaa !important;
  transform: scale(1.1);
}
/* ========== OK100 Mobile Menu Icon FIXED ========== */
.icon-menu,
.menu-icon,
.mobile-nav-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
}

/* Xóa pseudo lỗi cũ */
.icon-menu::before,
.icon-menu::after {
  content: none;
}

/* Tạo icon chuẩn */
.icon-menu span,
.menu-icon span {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: #00ff88;
  border-radius: 2px;
  transition: all 0.35s ease;
  box-shadow: 0 7px 0 #00ff88, 0 -7px 0 #00ff88;
  filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.5));
}

/* Hover */
.icon-menu:hover,
.menu-icon:hover {
  background: rgba(0, 255, 136, 0.15);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
  transform: scale(1.05);
}

/* Khi mở (active → thành dấu X) */
.icon-menu.active span {
  box-shadow: none;
  transform: rotate(45deg);
}
.icon-menu.active span::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: #00ff88;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}
/* ========== FIX ICON MENU FLATSOME CONFLICT ========== */
.icon-menu::before,
.icon-menu::after,
.menu-icon::before,
.menu-icon::after,
button.icon-menu::before,
button.icon-menu::after {
  content: none !important; /* Xóa icon gốc Flatsome */
}

.icon-menu i,
.icon-menu svg,
.icon-menu .icon,
.menu-icon i,
.menu-icon svg {
  display: none !important; /* Ẩn bất kỳ icon font hoặc SVG mặc định */
}
/* ========== OK100 MOBILE MENU ICON CUSTOM IMAGE ========== */
.icon-menu,
.menu-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Ẩn icon mặc định Flatsome */
.icon-menu::before,
.icon-menu::after,
.icon-menu i,
.icon-menu svg {
  display: none !important;
}

/* Chèn icon custom */
.icon-menu {
  background-image: url('/wp-content/themes/flatsome-child/images/homev2.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 65%; /* điều chỉnh kích thước icon */
}

/* Hiệu ứng hover */
.icon-menu:hover {
  background-color: rgba(0, 255, 136, 0.15);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
  transform: scale(1.05);
  border-color: #00ff88;
}
/* ======= Banner cố định 2 bên footer (đã chỉnh cao hơn) ======= */
.ok100-side-banners {
  position: fixed;
  bottom: 180px;            /* 🔼 tăng lên cao — chỉnh từ 120px → 180px */
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 9999;
}

.ok100-side-banners a {
  position: absolute;
  pointer-events: auto;
}
/* ====== Hai banner cùng một bên (trái) ====== */
.ok100-side-banners.left-side {
  position: fixed;
  bottom: 180px;           /* khoảng cách từ mép dưới lên */
  left: 25px;              /* canh sát trái */
  display: flex;
  flex-direction: column;
  gap: 15px;               /* khoảng cách giữa 2 banner */
  pointer-events: none;    /* không cản click các phần khác */
  z-index: 9999;
}

.ok100-side-banners.left-side a {
  pointer-events: auto;    /* bật click cho link */
}

.ok100-side-banners.left-side img {
  width: 140px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ok100-side-banners.left-side img:hover {
  transform: translateY(-5px) scale(1.05);
  opacity: 0.95;
}

/* Ẩn banner trên mobile */
@media (max-width: 768px) {
  .ok100-side-banners.left-side {
    display: none;
  }
}

.ok100-banner {
  width: 130px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ok100-banner:hover {
  transform: translateY(-5px) scale(1.05);
  opacity: 0.95;
}

.ok100-banner.left {
  left: 20px;
}

.ok100-banner.right {
  right: 20px;
}
/* ====== Hai banner cùng 1 bên (đã có khoảng cách) ====== */
.ok100-side-banners.left-side {
  position: fixed;
  bottom: 160px;          /* khoảng cách với footer, có thể chỉnh 150–200px */
  left: 25px;
  display: flex;
  flex-direction: column; /* xếp dọc */
  gap: 20px;              /* 🔥 khoảng cách giữa 2 ảnh — có thể tăng lên 25px nếu muốn thoáng hơn */
  pointer-events: none;
  z-index: 9999;
}

.ok100-side-banners.left-side a {
  pointer-events: auto;
}

.ok100-side-banners.left-side img {
  width: 140px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ok100-side-banners.left-side img:hover {
  transform: translateY(-5px) scale(1.05);
  opacity: 0.95;
}

/* Ẩn banner trên mobile */
@media (max-width: 768px) {
  .ok100-side-banners.left-side {
    display: none;
  }
}

/* Ẩn banner trên mobile để không che nội dung */
@media (max-width: 768px) {
  .ok100-side-banners {
    display: none;
  }
}
/* ===== Banner đơn cố định cạnh trang ===== */
.ok100-side-banner.left-side {
  position: fixed;
  bottom: 180px;         /* chỉnh cao hơn hoặc thấp hơn tuỳ ý */
  left: 25px;
  pointer-events: none;
  z-index: 9999;
}

.ok100-side-banner.left-side a {
  pointer-events: auto;
}

.ok100-banner {
  width: 140px;          /* kích thước ảnh */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ok100-banner:hover {
  transform: translateY(-5px) scale(1.05);
  opacity: 0.95;
}

/* Ẩn trên mobile để không che giao diện */
@media (max-width: 768px) {
  .ok100-side-banner {
    display: none;
  }
}
/* ====== Hai banner cùng 1 bên (đã có khoảng cách) ====== */
.ok100-side-banners.left-side {
  position: fixed;
  bottom: 160px;          /* khoảng cách với footer, có thể chỉnh 150–200px */
  left: 25px;
  display: flex;
  flex-direction: column; /* xếp dọc */
  gap: 20px;              /* 🔥 khoảng cách giữa 2 ảnh — có thể tăng lên 25px nếu muốn thoáng hơn */
  pointer-events: none;
  z-index: 9999;
}

.ok100-side-banners.left-side a {
  pointer-events: auto;
}

.ok100-side-banners.left-side img {
  width: 140px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ok100-side-banners.left-side img:hover {
  transform: translateY(-5px) scale(1.05);
  opacity: 0.95;
}

/* Ẩn banner trên mobile */
@media (max-width: 768px) {
  .ok100-side-banners.left-side {
    display: none;
  }
}
