*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.43;
  color: rgba(0, 0, 0, 0.87);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, p {
  margin: 0;
}

.container {
  max-width: 1004px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-top: 40px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 14px;
  }
}

.link-more {
  position: relative;
  padding-right: 18px;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  color: #f04406;
}
.link-more::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 10px;
  margin-top: -5px;
  background: url(../assets/icons/ico-arrow-r.png) no-repeat center/contain;
}
@media (max-width: 768px) {
  .link-more {
    font-size: 12px;
  }
}

html {
  scroll-behavior: smooth;
}

#faq {
  scroll-margin-top: 80px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-red {
  color: #f00;
}

.text-blue {
  color: #00f;
}

.container--narrow {
  max-width: 1036px;
}

.container--article {
  max-width: 800px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 350px;
  height: 36px;
  margin: 0 auto;
  padding: 0 16px;
  border: 0;
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn--primary {
  background: #f04406;
  color: #fff;
  text-transform: uppercase;
}
.btn--primary:hover {
  background: #fd813c;
}
.btn--gray {
  background: #e0e0e0;
  color: #212121;
}
.btn--gray:hover {
  background: #d5d5d5;
}
.btn--outline {
  margin-top: 16px;
  border: 1px solid #f04406;
  background: #fff;
  color: #f04406;
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.field {
  display: block;
  margin-bottom: 16px;
}
.field input, .field select {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #c8c8c8;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: #000;
  outline: 0;
}
.field input:focus, .field select:focus {
  border-bottom: 2px solid #f04406;
}
.field input::placeholder {
  color: rgba(0, 0, 0, 0.26);
}
.field--select select {
  padding-right: 24px;
  appearance: none;
  -webkit-appearance: none;
  background: url(../assets/icons/ico-select.svg) no-repeat right 6px center/10px 5px;
  cursor: pointer;
}
.field--select select:invalid, .field--select select.is-empty {
  color: rgba(0, 0, 0, 0.38);
}
.field--select select option {
  color: #000;
}

.breadcrumb {
  margin-top: 24px;
  font-size: 12px;
  color: #646464;
}
.breadcrumb a {
  color: #646464;
}
.breadcrumb a:hover {
  color: #f04406;
}
.breadcrumb > * + *::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 8px;
  margin: 0 8px;
  background: url(../assets/icons/ico-bread-r.svg) no-repeat center/contain;
}

.arrow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.arrow-list li {
  border-top: 1px solid #f0f0f0;
}
.arrow-list a {
  position: relative;
  display: block;
  padding: 16px 40px 16px 0;
  font-size: 16px;
  color: #333;
}
.arrow-list a::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  background: url(../assets/icons/ico-chevron-r.svg) no-repeat center/contain;
}
.arrow-list a:hover {
  color: #f04406;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f04406;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 64px;
}
@media (max-width: 1024px) {
  .header__inner {
    height: 56px;
  }
}
.header__logo {
  flex: none;
  width: 104px;
  height: 26px;
  background: url(../assets/icons/logo.svg) no-repeat center/contain;
  text-indent: -999em;
  overflow: hidden;
}
.header__nav {
  display: flex;
  margin-left: 18px;
}
.header__nav a {
  margin-left: 40px;
  font-size: 16px;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.header__nav a:hover, .header__nav a.is-active {
  opacity: 1;
}
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }
}
.header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin: 0 8px 0 -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.header__toggle span, .header__toggle span::before, .header__toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  position: relative;
}
.header__toggle span::before, .header__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.header__toggle span::before {
  top: -6px;
}
.header__toggle span::after {
  top: 6px;
}
@media (max-width: 1024px) {
  .header__toggle {
    display: block;
  }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
}
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s;
}
.drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 280px;
  max-width: 85%;
  padding-top: 8px;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.25s;
}
.drawer__panel a {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  color: #333;
}
.drawer__panel a:hover, .drawer__panel a.is-active {
  color: #f04406;
  background: #fafafa;
}
.drawer.is-open {
  visibility: visible;
}
.drawer.is-open .drawer__overlay {
  opacity: 1;
}
.drawer.is-open .drawer__panel {
  transform: none;
}

.banner {
  margin-top: 0;
}
.banner img {
  width: 100%;
}

.guide-list {
  display: flex;
  gap: 16px;
}
@media (max-width: 768px) {
  .guide-list {
    flex-wrap: wrap;
  }
}

.guide-card {
  position: relative;
  width: calc((100% - 48px) / 4);
  border-radius: 6px;
  overflow: hidden;
}
.guide-card img {
  width: 100%;
  transition: transform 0.4s;
}
.guide-card:hover img {
  transform: scale(1.1);
}
.guide-card__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 16px;
  text-align: center;
}
@media (max-width: 768px) {
  .guide-card {
    width: calc((100% - 16px) / 2);
  }
  .guide-card__text {
    height: auto;
    padding: 12px 10px;
    font-size: 14px;
  }
}

.promo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) {
  .promo-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .promo-list::-webkit-scrollbar {
    display: none;
  }
  .promo-list .promo-item {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}

.promo-item {
  position: relative;
  display: block;
  overflow: hidden;
}
.promo-item img {
  width: 100%;
}
.promo-item::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.13) 77%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 0) 100%);
}
.promo-item:hover::after {
  opacity: 1;
  left: 130%;
  transition: left 0.7s ease, top 0.7s ease, opacity 0.15s ease;
}

.features {
  display: flex;
  gap: 16px;
}
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    gap: 20px;
  }
}

.feature {
  flex: 1;
}
.feature__title {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 500;
}
.feature__icon {
  flex: none;
  width: 70px;
  height: 70px;
  margin-right: 16px;
  background: no-repeat center;
}
.feature p {
  margin-bottom: 8px;
  padding-right: 32px;
  font-size: 16px;
}
.feature--policy .feature__title {
  color: #42b72a;
}
.feature--policy .feature__icon {
  background-image: url(../assets/icons/ico-chinh-sach.svg);
}
.feature--buy .feature__title {
  color: #f6b501;
}
.feature--buy .feature__icon {
  background-image: url(../assets/icons/ico-mua-the.svg);
}
.feature--faq .feature__title {
  color: #ff1d1d;
}
.feature--faq .feature__icon {
  background-image: url(../assets/icons/ico-hoi-dap.svg);
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  align-items: start;
}
@media (max-width: 768px) {
  .faq {
    grid-template-columns: 1fr;
  }
}
.faq__col {
  min-width: 0;
}

.faq-item {
  border-top: 1px solid #f0f0f0;
  color: #000;
}
.faq-item__question {
  position: relative;
  display: block;
  width: 100%;
  padding: 13px 46px 14px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  line-height: 26px;
  color: #333;
  text-align: left;
  cursor: pointer;
}
.faq-item__question::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  background: url(../assets/icons/ico-down.svg) no-repeat center/12px auto;
  transition: transform 0.2s;
}
.faq-item__question:hover {
  color: #f04406;
}
.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s linear, opacity 0.3s linear;
}
.faq-item__answer > div {
  overflow: hidden;
  padding-right: 15px;
}
.faq-item__answer p, .faq-item__answer ul, .faq-item__answer ol {
  margin: 0 0 10px;
}
.faq-item__answer a {
  color: #2196f3;
}
.faq-item__answer img {
  height: auto;
}
.faq-item.is-open .faq-item__question {
  color: #f04406;
  font-weight: 500;
}
.faq-item.is-open .faq-item__question::after {
  background-image: url(../assets/icons/ico-up-active.svg);
}
.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-item.is-open .faq-item__answer > div {
  padding-bottom: 15px;
}

.guide-group {
  margin-top: 24px;
}
.guide-group__title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: #000;
}
@media (max-width: 768px) {
  .guide-group__title {
    font-size: 16px;
  }
}
.guide-group + .guide-group {
  margin-top: 32px;
}

.article {
  padding-bottom: 60px;
}
.article__title {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .article__title {
    font-size: 18px;
  }
}
.article__date {
  display: block;
  margin: 8px 0 24px;
  font-size: 12px;
  color: #727272;
}
.article__content {
  padding: 16px 0;
  font-size: 14px;
}
.article__content p {
  margin: 0 0 10px;
}
.article__content img {
  margin: 0 auto;
  height: auto;
}
.article__content a {
  color: #2196f3;
}
.article__content .text-blue {
  color: #00f;
}
.article .table-wrap {
  overflow-x: auto;
  margin: 0 auto 16px;
  -webkit-overflow-scrolling: touch;
}
.article table {
  margin: 0 auto;
  border-collapse: collapse;
  max-width: 100%;
}
.article th, .article td {
  padding: 10px;
  border: 1px solid #000;
  background: #fff2cc;
  color: #212121;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
}
.article .table-daily {
  width: 662px;
}
.article .table-daily th {
  text-align: center;
}
.article .table-daily .row-head td {
  font-weight: 700;
}
.article .table-daily td:first-child {
  width: 178px;
}

.store-search {
  padding: 16px 0 60px;
}

.store-form__row {
  display: flex;
  gap: 30px;
}
.store-form__row .field {
  flex: 1;
}
@media (max-width: 768px) {
  .store-form__row {
    gap: 16px;
  }
}
.store-form__actions {
  margin-top: 16px;
}
.store-form__actions .btn--gray {
  margin-bottom: 16px;
}
.store-form__error {
  margin: -4px 0 0;
  color: #e53935;
  font-size: 13px;
}

.ico-locate {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  background: url(../assets/icons/ico-locate.svg) no-repeat center/contain;
}

.store-result {
  margin-top: 32px;
}
.store-result__title {
  padding: 16px 15px;
  background: #f9f5f5;
  font-size: 14px;
  font-weight: 700;
}

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

.store-item {
  padding: 14px 15px;
  border-bottom: 1px solid #f0f0f0;
}
.store-item__name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}
.store-item__address {
  margin-top: 4px;
  color: #616161;
}
.store-item__phone {
  display: inline-block;
  margin-top: 4px;
  color: #f04406;
}

.store-empty {
  padding: 24px 15px;
  color: #757575;
  text-align: center;
}

.page-title {
  margin: 24px 0;
  font-size: 20px;
  font-weight: 500;
}
.page-title--bold {
  font-weight: 700;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 18px;
  }
}

.partner-banner {
  display: block;
  margin-bottom: 56px;
}
.partner-banner img {
  width: 100%;
}

.news-list {
  padding-bottom: 60px;
}

.news-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}
.news-item__thumb {
  flex: 0 0 240px;
}
.news-item__thumb img {
  width: 100%;
  aspect-ratio: 240/146;
  object-fit: cover;
}
.news-item__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}
.news-item__title a {
  color: #212121;
}
.news-item__title a:hover {
  color: #f04406;
}
.news-item__date {
  display: block;
  margin: 8px 0;
  font-size: 12px;
  color: #727272;
}
.news-item__desc {
  color: #424242;
}
@media (max-width: 768px) {
  .news-item__thumb {
    flex-basis: 120px;
  }
  .news-item__title {
    font-size: 15px;
  }
  .news-item__desc {
    display: none;
  }
}

.article__content {
  line-height: 1.6;
  word-wrap: break-word;
}
.article__content h2, .article__content h3, .article__content h4 {
  margin: 20px 0 10px;
  font-weight: 700;
  line-height: 1.35;
}
.article__content h2 {
  font-size: 18px;
}
.article__content h3 {
  font-size: 16px;
}
.article__content h4 {
  font-size: 15px;
}
.article__content ul, .article__content ol {
  margin: 0 0 10px;
  padding-left: 24px;
}
.article__content li {
  margin-bottom: 4px;
}
.article__content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 12px auto;
}
.article__content figure {
  margin: 12px 0;
  text-align: center;
}
.article__content figcaption {
  font-size: 12px;
  color: #727272;
}
.article__content blockquote {
  margin: 12px 0;
  padding: 10px 16px;
  border-left: 4px solid #f04406;
  background: #fff6f2;
}
.article__content iframe, .article__content video {
  display: block;
  max-width: 100%;
  margin: 12px auto;
}
.article__content iframe[src*=youtube] {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
.article__content table {
  display: block;
  width: max-content !important;
  max-width: 100% !important;
  overflow-x: auto;
  margin: 12px auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}
.article__content th, .article__content td {
  padding: 10px;
  border: 1px solid #000;
  background: #fff2cc;
  color: #212121;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
  min-width: 80px;
}
.article__content td p, .article__content th p {
  margin: 0;
}

.article__thumb {
  margin-bottom: 16px;
}
.article__thumb img {
  width: 100%;
}

.related {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}
.related__title {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
}
.related .news-item {
  margin-bottom: 16px;
}
.related .news-item__thumb {
  flex-basis: 160px;
}
.related .news-item__title {
  font-size: 16px;
}

.footer {
  margin-top: 40px;
  padding: 30px 0;
  background: #f0f0f0;
  color: #8e8e8e;
  font-size: 14px;
  text-align: center;
}
.footer__links a {
  margin: 0 8px;
  color: #3e3e3e;
}
.footer__links a:hover {
  color: #f04406;
}
.footer__legal {
  margin-top: 32px;
  color: #f04406;
}
.footer__legal p {
  margin-bottom: 10px;
}
.footer__mail {
  display: inline-block;
  position: relative;
  padding-left: 32px;
  color: #f04406;
}
.footer__mail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 15px;
  background: url(../assets/icons/ico-mail.svg) no-repeat center/contain;
}

/* Phân trang danh sách bài viết (portal) */
.paging { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 40px; padding: 0; list-style: none; }
.paging a { display: block; min-width: 36px; padding: 6px 10px; border: 1px solid #ddd; border-radius: 4px; text-align: center; color: inherit; text-decoration: none; }
.paging .is-active a { border-color: #f04406; background: #f04406; color: #fff; }

/* Footer luôn ở đáy khi nội dung ngắn */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; width: 100%; }
body > .header, body > .footer { flex-shrink: 0; }

/* Tab trang /cua-hang */
.tabs__bar { display: flex; margin: 0 0 20px; padding: 0; list-style: none; border-bottom: 1px solid #e0e0e0; }
.tabs__bar a { display: block; padding: 14px 24px 12px; min-width: 150px; text-align: center; font-weight: 500; text-transform: uppercase; color: #333; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs__bar a.is-active { color: #f04406; border-bottom-color: #f04406; }
.tabs__pane { display: none; }
.tabs__pane.is-active { display: block; }
.tabs__pane img { max-width: 100%; height: auto; }
@media (max-width: 575px) { .tabs__bar li { flex: 1; } .tabs__bar a { min-width: 0; padding: 12px 8px 10px; } }
