/* =====================================================================
   POG.VN – THANH ĐIỀU HƯỚNG DƯỚI (mobile)
   Tách từ CSS inline (A2, 2026-11-17). Chỉ dùng biến --pog-*.
   ===================================================================== */
/* >>> A3: quy tắc gốc từ pog-header.css / pog-hero-v2.css (nạp trước) >>> */
/* Mobile Bottom Navigation (Fixed) */
.pog-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--pog-white);
  border-top: 1px solid #E5E7EB;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  padding: 6px 10px 8px;
}

.pog-bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.pog-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--pog-gray);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  position: relative;
}

.pog-bottom-item.active {
  color: var(--pog-primary);
}

.pog-bottom-item.active svg {
  stroke: var(--pog-primary);
}
@media (max-width: 992px) {
  .pog-mobile-bottom-nav {
    display: block !important;
  }
}
/* <<< hết phần A3 <<< */

@media (max-width: 992px) {
  body {
    padding-bottom: 74px !important;
  }
  /* 6. Mobile Bottom Nav */
  .pog-mobile-bottom-nav {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: var(--pog-white) !important;
    border-top: 1px solid var(--pog-border) !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
  }
  .pog-bottom-nav-inner {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    align-items: center !important;
  }
  .pog-bottom-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: var(--pog-gray) !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 2px 0 !important;
  }
  .pog-bottom-item svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
  }
  .pog-bottom-item.active {
    color: var(--pog-primary) !important;
  }
  .pog-bottom-item.active svg {
    stroke: var(--pog-primary) !important;
  }
  .pog-bottom-item .pog-badge {
    position: absolute !important;
    top: -4px !important;
    right: -6px !important;
    background-color: var(--pog-primary) !important;
    color: var(--pog-white) !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    min-width: 14px !important;
    height: 14px !important;
    border-radius: 9999px !important;
    border: 1px solid var(--pog-white) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 2px !important;
  }
}

@media (min-width: 993px) {
  .pog-mobile-bottom-nav {
    display: none !important;
  }
}
