/*
Theme Name: VN Dental Child Theme
Theme URI: https://vndentalcenter.com/
Description: Theme con chuẩn y khoa quốc tế cho Nha Khoa Quốc Tế VN Dental.
Author: VN Dental Center Engineering
Template: astra
Version: 3.1.0
Text Domain: vndental-child
*/

:root {
  --hp-green:        #15803d;
  --hp-green-dark:   #0a2612;
  --hp-green-light:  #f0fdf4;
  --hp-green-mid:    #16a34a;
  --hp-green-vibrant:#22c55e;
  --hp-gold:         #d97706;
  --hp-gold-hover:   #b45309;
  --hp-gold-light:   #fffbeb;
  --hp-navy:         #0f172a;
  --hp-slate:        #334155;
  --hp-muted:        #64748b;
  --hp-border:       #e2e8f0;
  --hp-shadow:       0 10px 30px -5px rgba(15,23,42,0.07), 0 4px 12px -2px rgba(15,23,42,0.04);
  --hp-radius:       16px;
  --hp-font-head:    'Plus Jakarta Sans', system-ui, sans-serif;
  --hp-font-body:    'Inter', system-ui, sans-serif;
}

/* Base typography */
html, body {
  font-family: var(--hp-font-body);
  color: var(--hp-slate);
  background-color: #ffffff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hp-font-head);
  color: var(--hp-navy);
  line-height: 1.25;
  margin: 0;
}

/* Header Styling */
.main-header-bar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
  padding: 10px 0 !important;
}

.site-title a {
  color: var(--hp-green) !important;
  font-family: var(--hp-font-head) !important;
  font-weight: 800 !important;
  font-size: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

.main-header-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
}

.main-header-menu .menu-item > a {
  color: var(--hp-slate) !important;
  font-family: var(--hp-font-head) !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.main-header-menu .menu-item:hover > a,
.main-header-menu .current-menu-item > a {
  color: var(--hp-green) !important;
  background: var(--hp-green-light) !important;
}

/* "Đặt Hẹn 3D" button on header */
.main-header-menu .menu-item:last-child > a {
  background: var(--hp-green) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 100px !important;
  padding: 10px 22px !important;
  margin-left: 12px !important;
  box-shadow: 0 4px 14px rgba(21,128,61,0.25) !important;
  transition: all 0.2s ease !important;
}

.main-header-menu .menu-item:last-child > a:hover {
  background: var(--hp-green-mid) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(21,128,61,0.35) !important;
}

/* Mobile Sticky Bottom Action Bar */
.vnd-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 9999;
}

@media (max-width: 768px) {
  body { padding-bottom: 60px !important; }
  .vnd-mobile-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.vnd-mobile-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--hp-slate);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  flex: 1;
  height: 100%;
}

.vnd-mobile-btn.highlight {
  background: var(--hp-green);
  color: #ffffff;
  font-weight: 700;
}
