/*
Theme Name: Anvitra
Theme URI: http://anvitra.vn
Author: Son Vu
Author URI: http://anvitra.vn
Description: Anvitra Website
Version: 1.0
License: GNU General Public License v1 or later
Text Domain: Anvitra
*/

:root{
    --max-site-width: 1200px;
    --page-padding: 20px;
    --font-rob: "Roboto", Sans-serif;
  }
  
  *, *::before, *::after {
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-rob);
    line-height: 1.4;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
    color: #111;
    -webkit-text-size-adjust: 100%;
  }
  
  .site-container {
    max-width: var(--max-site-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
    width: 100%;
  }
  
  img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-style: none;
    object-fit: cover;
  }
  
  ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  li {
    margin: 0;
    padding: 0;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }


  /* ===== HEADER ===== */
.site-header {
  background: #fff;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo-img {
  width: 140px;
  height: auto;
}
.text-logo {
  font-size: 35px;
  font-weight: 800;
  color: #0A8A82;
  margin: 0;
}

/* Title center */
.header-title {
  font-size: 25px;
  color: #0A516B;
  font-weight: 600;
}

/* Hotline */
.hotline-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hotline-icon {
  width: 50px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.hotline-number {
  color: red;
  font-weight: 700;
  font-size: 16px;
}

.hotline-text small {
  color: #555;
}

/* ===== MENU DƯỚI HEADER ===== */
.header-menu {
  background: #86AB3C;
}

.menu-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-menu {
  display: flex;
  gap: 25px;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  color: #fff;
  font-weight: 600;
  padding: 12px 5px;
  display: block;
  font-size: 15px;
}

/* Hover */
.main-menu > li:hover > a {
  opacity: 0.8;
}

/* Dropdown */
.main-menu li ul {
  position: absolute;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  min-width: 300px;
  display: none;
  z-index: 999;
}

.main-menu li:hover ul {
  display: block;
}

.main-menu li ul li a {
  padding: 10px;
  color: #333;
  display: block;
}

.main-menu li ul li a:hover {
  background: #eee;
}

/* Icon search */
.menu-search {
  display: flex;
  align-items: center;
}

.search-icon {
  width: 22px;
  height: 22px;
  cursor: pointer;
  filter: invert(1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}


/* ===== FOOTER ===== */
.site-footer {
  background: #9acd32;
  padding: 30px 0;
  color: #fff;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-col img {
  max-width: 200px;
}

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

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
}

.footer-company-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-company-address,
.footer-company-phone {
  margin-bottom: 8px;
}

.footer-company-phone a {
  color: #fff;
  text-decoration: none;
}

.footer-company-text {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.hotline-mobile {
  display: none;
}

/* ===== SEARCH SIDEBAR ===== */
.header-search-wrapper {
  position: relative;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all .3s ease;
  z-index: 999;
}

.header-search-wrapper.active .search-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-search-form {
  display: flex;
}

.search-field {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ddd;
}

.search-submit {
  padding: 0 12px;
  background: #000;
  color: #fff;
  border: none;
}


.tabs-info-nav li:nth-child(-n+3) {
    			display: none;
			}