.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  transition:
    background 0.18s,
    color 0.18s;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.button .icon {
  width: 18px;
  height: 18px;
}
.button--yellow {
  background: var(--yellow);
  color: var(--navy);
}
.button--yellow:hover {
  background: #f1bc17;
  color: var(--navy);
}
.button--red {
  background: var(--red);
  color: #fff;
}
.button--red:hover {
  background: var(--red-dark);
  color: #fff;
}
.button--outline {
  background: rgba(255, 255, 255, 0.92);
  border-color: #c9d1df;
  color: var(--navy);
}
.button--outline:hover {
  border-color: var(--red);
  color: var(--red);
}
.button-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.icon-button {
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: inherit;
  border-radius: 50%;
}
.site-header {
  --header-height: 76px;
  --header-offset: 0px;
  background: #fff;
  position: sticky;
  top: var(--header-offset);
  z-index: 50;
  border-bottom: 1px solid #f1f3f7;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-height);
}
.brand {
  flex: none;
  width: 208px;
  margin-right: auto;
}
.brand a {
  display: block;
}
.brand img {
  width: 100%;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}
.primary-navigation .menu {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  align-items: center;
}
.primary-navigation .menu > li {
  position: relative;
}
.primary-navigation a {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  padding-block: 12px;
}
.primary-navigation :is(.current-menu-item, .current-menu-ancestor) > a {
  color: var(--red);
  box-shadow: inset 0 -2px var(--red);
}
.primary-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  padding: 12px;
  list-style: none;
  box-shadow: 0 12px 30px #0b1b3614;
  visibility: hidden;
  opacity: 0;
}
.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.primary-navigation .sub-menu a {
  min-height: 44px;
}
.header-cta {
  padding-inline: 18px;
  font-size: 13px;
  min-height: 42px;
}
.menu-toggle {
  display: none;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: #536075;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 3.1vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 16px;
}
.section-title span {
  display: block;
  color: var(--red);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.section-header .section-title {
  margin-bottom: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
}
.text-link .icon {
  width: 20px;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.feature {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 12px 26px;
  position: relative;
  min-width: 0;
}
.feature:first-child {
  padding-left: 0;
}
.feature:last-child {
  padding-right: 0;
}
.feature + .feature:before {
  content: "";
  position: absolute;
  left: 0;
  height: 48px;
  width: 1px;
  background: var(--border);
}
.feature-icon {
  display: flex;
  flex: none;
  width: 76px;
  height: 76px;
  border: 1px solid #ffdf91;
  background: var(--cream);
  color: var(--red);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.feature-icon .icon {
  width: 34px;
  height: 34px;
}
.feature h2,
.feature h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--navy);
}
.circle-arrow .icon {
  width: 18px;
}
.site-footer {
  border-top: 1px solid #dfe2e6;
  padding-top: 30px;
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 36px;
}
.footer-grid > div + div {
  border-left: 1px solid var(--border);
  padding-left: 30px;
}
.footer-brand img {
  width: 210px;
  max-height: 60px;
  object-fit: contain;
  object-position: left;
}
.footer-brand > p {
  margin-top: 10px;
}
.site-footer p,
.site-footer li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.site-footer h2 {
  font-size: 14px;
  color: var(--red);
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li a {
  display: inline-block;
  padding-block: 4px;
}
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px !important;
  list-style: none;
  padding: 0;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 50%;
  padding: 0 !important;
  color: #fff;
  background: var(--navy);
  transition:
    transform 0.18s,
    filter 0.18s;
}
.social-links a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.social-links a .icon {
  width: 22px;
  height: 22px;
}
.social-link--facebook {
  background: #1877f2;
}
.social-link--zalo {
  background: #0068ff;
}
.footer-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.footer-contact .icon {
  width: 17px;
  height: 20px;
  color: var(--red);
}
.footer-contact .company-name {
  font-size: 11px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
}
.footer-credit {
  margin-inline-start: auto;
}
.footer-credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-heart {
  color: var(--red);
}
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-form label {
  flex: 1;
  min-width: 0;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
select,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cbd3df;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
}
textarea {
  min-height: 140px;
}
.search-form button {
  color: var(--red);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 18px;
}
.product-card h3 {
  font-size: 17px;
  padding: 16px 18px 0;
}
.product-card > .text-link {
  margin: 8px 18px 0;
  font-size: 13px;
}
.product-image {
  display: block;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}
.product-image picture,
.product-image img,
.product-image .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wpcf7-form p {
  margin-bottom: 16px;
}
.wpcf7-form label {
  display: block;
}
.wpcf7-submit {
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  padding: 12px 24px;
  font-weight: 700;
  min-height: 46px;
  cursor: pointer;
}
.wpcf7-response-output {
  font-size: 14px;
}
.breadcrumbs {
  font-size: 14px;
  margin-bottom: 24px;
  color: var(--muted);
}
.pagination,
.nav-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.page-numbers.current {
  background: var(--red);
  color: #fff;
}
.post-navigation {
  margin-block: 32px;
}
.post-navigation .nav-links {
  justify-content: space-between;
}
.post-navigation .nav-links > div {
  max-width: 48%;
}
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.carousel-dots button {
  padding: 0;
  border: 0;
  background: none;
  width: 24px;
  height: 32px;
  position: relative;
}
.carousel-dots button:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #cdd5df;
  border-radius: 999px;
  margin: auto;
}
.carousel-dots button[aria-pressed="true"]:before {
  background: var(--red);
  width: 16px;
}
.carousel-prev,
.carousel-next {
  background: #fff;
  box-shadow: 0 4px 16px #0b1b3614;
}
.carousel-prev .icon {
  transform: rotate(180deg);
}
@media (min-width: 768px) and (max-width: 1200px) {
  .header-inner {
    gap: 10px;
  }
  .brand {
    width: 170px;
  }
  .primary-navigation .menu {
    gap: 14px;
    font-size: 12px;
  }
  .header-cta {
    padding-inline: 12px;
  }
  .feature {
    padding: 10px 16px;
    gap: 12px;
  }
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  .feature h2,
  .feature h3 {
    font-size: 14px;
  }
  .footer-grid {
    gap: 20px;
  }
  .footer-grid > div + div {
    padding-left: 20px;
  }
}
@media (max-width: 1023px) {
  .primary-navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    max-height: calc(100dvh - var(--header-height) - var(--header-offset));
    overflow: auto;
    box-shadow: 0 12px 20px #0b1b3610;
  }
  .primary-navigation.is-open {
    display: block;
  }
  .primary-navigation .menu {
    display: block;
  }
  .primary-navigation a {
    min-height: 46px;
  }
  .primary-navigation .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0 0 0 18px;
    min-width: 0;
  }
  .primary-navigation :is(.current-menu-item, .current-menu-ancestor) > a {
    box-shadow: none;
  }
  .menu-toggle {
    display: flex;
    order: 4;
  }
  .site-header {
    --header-height: 68px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div + div {
    border: 0;
    padding: 0;
  }
  .footer-grid > div {
    min-width: 0;
  }
}
@media (max-width: 767px) {
  .site-header {
    --header-height: 60px;
  }
  .brand {
    width: 164px;
  }
  .brand img {
    max-height: 46px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .button {
    min-height: 46px;
    padding: 12px 24px;
    font-size: 13px;
  }
  .button-row {
    gap: 10px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .section-title {
    font-size: 27px;
    line-height: 1.3;
  }
  .section-header {
    display: block;
    margin-bottom: 18px;
  }
  .section-header .text-link {
    min-height: 28px;
    font-size: 12px;
  }
  .feature-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature,
  .feature:first-child,
  .feature:last-child {
    padding: 12px 14px;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  .feature + .feature:before {
    display: none;
  }
  .feature-icon {
    border: 0;
    background: #fff3e4;
    width: 42px;
    height: 42px;
  }
  .feature-icon .icon {
    width: 26px;
    height: 26px;
  }
  .feature h2,
  .feature h3 {
    font-size: 13px;
    font-weight: 700;
  }
  .feature p {
    font-size: 11px;
    line-height: 1.5;
  }
  .footer-grid {
    gap: 26px;
    grid-template-columns: 1fr;
  }
  .footer-navigation {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand img {
    width: 166px;
  }
  .footer-brand > p {
    max-width: 320px;
  }
  .site-footer h2 {
    font-size: 13px;
    color: var(--navy);
  }
  .site-footer {
    padding-top: 28px;
  }
  .site-footer p,
  .site-footer li {
    font-size: 12px;
  }
  .social-links {
    gap: 8px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin-top: 24px;
  }
  .footer-bottom p {
    font-size: 10px;
  }
  .footer-bottom .footer-credit {
    margin-inline-start: 0;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .product-card h3 {
    font-size: 14px;
    padding-inline: 12px;
  }
  .product-card > .text-link {
    margin-inline: 12px;
    font-size: 11px;
  }
  .product-card {
    border-radius: 12px;
  }
  .footer-contact .company-name {
    font-size: 10px;
  }
  .carousel-dots button {
    height: 36px;
  }
}

@media (max-width: 1023px) {
  html:not(.has-navigation-js) .primary-navigation {
    display: block;
    position: static;
    max-height: none;
    box-shadow: none;
    width: 100%;
    order: 10;
  }
  html:not(.has-navigation-js) .header-inner {
    flex-wrap: wrap;
  }
  html:not(.has-navigation-js) .menu-toggle {
    display: none;
  }
}

/* Comfortable targets without enlarging the visual dot. */
.carousel-dots button {
  width: 44px;
  height: 44px;
}
.circle-arrow,
.category-card .circle-arrow {
  min-width: 44px;
  min-height: 44px;
}
.header-cta {
  min-height: 44px;
}
.site-footer li a,
.footer-contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-navigation li a {
    min-height: 32px;
  }
}
.pagination ul.page-numbers {
  border: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.pagination ul.page-numbers li {
  display: block;
}
input,
select,
textarea {
  font-size: 16px;
}
@media (max-width: 767px) {
  .section-header .text-link {
    min-height: 44px;
  }
  .feature p {
    font-size: 13px;
  }
  .social-links a {
    min-height: 44px;
  }
  .site-footer p,
  .site-footer li {
    font-size: 14px;
  }
  .footer-contact .company-name {
    font-size: 12px;
  }
}

.brand .fallback-brand,
.footer-brand .fallback-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--red);
}
.brand .fallback-brand img,
.footer-brand .fallback-brand img {
  width: 46px;
  height: 46px;
  flex: none;
}
.brand-name {
  font-weight: 800;
  font-size: 19px;
  white-space: nowrap;
  letter-spacing: -0.03em;
}
@media (max-width: 767px) {
  .brand .fallback-brand img {
    width: 30px;
    height: 30px;
  }
  .brand .brand-name {
    font-size: 15px;
  }
  .brand .fallback-brand {
    gap: 5px;
  }
}

/* Compact, translucent navigation while scrolling; opaque fallback without blur. */
.site-header {
  transition:
    background-color 220ms ease-out,
    box-shadow 220ms ease-out,
    border-color 220ms ease-out;
}
.brand {
  transform-origin: left center;
  transition: transform 220ms ease-out;
}
.site-header.is-scrolled {
  --header-height: 60px;
  background: #fff;
  border-bottom-color: transparent;
  box-shadow: 0 8px 24px #0b1a3514;
}
.site-header.is-scrolled .brand {
  transform: scale(0.9);
}
@supports (backdrop-filter: blur(24px)) or (-webkit-backdrop-filter: blur(24px)) {
  .site-header.is-scrolled {
    background: #ffffffe0;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
  }
}
.admin-bar .site-header {
  --header-offset: 32px;
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    --header-offset: 46px;
  }
}
@media (max-width: 767px) {
  .site-header.is-scrolled {
    --header-height: 54px;
  }
}
@media (max-width: 600px) {
  /* WordPress's mobile admin toolbar scrolls out of view rather than staying fixed. */
  .admin-bar .site-header {
    --header-offset: 0px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .brand {
    transition: none;
  }
}
