:root {
  --hnm-color-primary: #0b7f4f;
  --hnm-color-primary-dark: #075c3a;
  --hnm-color-accent: #f4b63f;
  --hnm-color-text: #1f2933;
  --hnm-color-muted: #667085;
  --hnm-color-border: #d9e2ec;
  --hnm-color-surface: #ffffff;
  --hnm-color-soft: #f5faf8;
  --hnm-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --hnm-radius-sm: 6px;
  --hnm-radius-md: 8px;
  --hnm-container: 1200px;
  --hnm-transition: 180ms ease;
}
.hnm-menu {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--hnm-color-primary);
  box-shadow: var(--hnm-shadow-soft);
}
.hnm-menu__inner {
  width: min(100% - 24px, var(--hnm-container));
  margin-inline: auto;
}
.hnm-menu__list {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hnm-menu__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--hnm-radius-sm);
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color var(--hnm-transition),
    color var(--hnm-transition);
}
.hnm-menu__link.is-active,
.hnm-menu__link:focus-visible,
.hnm-menu__link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
}
.hnm-menu__dropdown {
  border: 1px solid var(--hnm-color-border);
  border-radius: var(--hnm-radius-md);
  background: var(--hnm-color-surface);
  box-shadow: var(--hnm-shadow-soft);
}
.hnm-menu__dropdown-link {
  display: block;
  padding: 10px 14px;
  color: var(--hnm-color-text);
  text-decoration: none;
  transition:
    background-color var(--hnm-transition),
    color var(--hnm-transition);
}
.hnm-menu__dropdown-link:focus-visible,
.hnm-menu__dropdown-link:hover {
  background: var(--hnm-color-soft);
  color: var(--hnm-color-primary);
  text-decoration: none;
}
.hnm-home .hnm-section {
  padding-block: 48px;
}
.hnm-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.hnm-section__title {
  margin: 0;
  color: var(--hnm-color-text);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}
.hnm-section__desc {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--hnm-color-muted);
  font-size: 15px;
  line-height: 1.6;
}

:root {
  --hnm-color-yellow: #ffb717;
  --hnm-color-purple: #a33aae;
  --hnm-color-purple-dark: #7d248e;
  --hnm-color-pink: #f04f9d;
  --hnm-color-email: #b4299e;
  --hnm-color-line: #e5e7eb;
}
.hnm-container.container {
  max-width: var(--hnm-container);
}
.hnm-header-top {
  min-height: 64px;
  border-bottom: 0;
  background: var(--hnm-color-yellow);
  color: #2b1b00;
}
.hnm-header-top__row {
  min-height: 64px;
}
.hnm-header-top__worktime {
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
}
.hnm-header-top__icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: #7d248e;
}
.hnm-header-top__slogan {
  color: #38134a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}
.hnm-header-hotline {
  position: relative;
  min-height: 48px;
  min-width: 260px;
  padding: 6px 18px 6px 34px;
  border-radius: 0 0 0 14px;
  background: linear-gradient(
    135deg,
    var(--hnm-color-purple-dark) 0,
    var(--hnm-color-purple) 50%,
    var(--hnm-color-pink) 100%
  );
  color: #fff;
  gap: 10px;
  overflow: hidden;
  text-decoration: none;
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 8px 18px rgba(164, 58, 174, 0.18);
}
.hnm-header-hotline:focus-visible,
.hnm-header-hotline:hover {
  color: #fff;
  text-decoration: none;
}
.hnm-header-hotline__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
}
.hnm-header-hotline__label {
  font-size: 11px;
  font-style: italic;
  line-height: 1.1;
  opacity: 0.92;
}
.hnm-header-hotline__number {
  margin-top: 1px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}
.hnm-header-main {
  padding: 32px 0 20px;
  background: #fff;
}
.hnm-header-main__row {
  min-height: 68px;
}

.hnm-header__logo {
  max-width: 216px;
}
.hnm-header__logo img {
  width: 216px;
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
}
.hnm-header-search {
  position: relative;
  width: min(100%, 400px);
  margin-inline: auto;
}
.hnm-header-search input:focus {
  border-color: rgba(180, 41, 158, 0.38);
  box-shadow: 0 0 0 4px rgba(180, 41, 158, 0.08);
}
.hnm-header-search button {
  position: absolute;
  top: 50%;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--hnm-color-purple);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
}
.hnm-header-main__right {
  gap: 14px;
}

.hnm-header-email {
  min-height: 48px;
  max-width: 100%;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--hnm-color-email);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  gap: 9px;
  text-decoration: none;
}

.hnm-header-email:focus-visible,
.hnm-header-email:hover {
  color: #fff;
  text-decoration: none;
}
.hnm-header-email__icon {
  font-size: 15px;
  animation: hnm-pulse 2s infinite;
}

@keyframes hnm-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}
.hnm-header-language {
  gap: 6px;
}
.hnm-header-language img {
  display: block;
  border-radius: 3px;
}
.w-menu.hnm-menu {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--hnm-color-line);
  box-shadow: none;
}
.hnm-menu__bar {
  background: #fff;
}
.hnm-menu__inner {
  width: 100%;
  min-height: 56px;
  gap: 24px;
}
.hnm-menu-category {
  position: relative;
  flex: 0 0 270px;
}
.hnm-menu-category__button {
  width: 270px;
  height: 56px;
  padding: 0 18px;
  border-radius: 8px 8px 0 0;
  background: var(--hnm-color-purple);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  gap: 10px;
  text-decoration: none;
}
.hnm-menu .hnm-menu-category__button {
  display: flex;
  padding: 0 18px;
  color: #fff;
  text-transform: uppercase;
}
.hnm-menu-category__button:focus-visible,
.hnm-menu-category__button:hover {
  color: #fff;
  text-decoration: none;
}
.hnm-menu-category__dropdown,
.hnm-menu-category__dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 270px;
  margin: 0;
  padding: 8px 0;
  border: 1px solid var(--hnm-color-line);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: var(--hnm-shadow-soft);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--hnm-transition),
    transform var(--hnm-transition),
    visibility var(--hnm-transition);
}
.hnm-menu-category__dropdown ul {
  top: -9px;
  left: 100%;
  border-radius: 8px;
}
.hnm-menu .hnm-menu-category__dropdown,
.hnm-menu .hnm-menu-category__dropdown ul {
  display: block;
  min-width: 270px;
  background: #fff;
  transform: translateY(8px);
}
.hnm-menu-category:focus-within > .hnm-menu-category__dropdown,
.hnm-menu-category:hover > .hnm-menu-category__dropdown,
.hnm-menu-category__dropdown li:focus-within > ul,
.hnm-menu-category__dropdown li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hnm-menu-category__dropdown li {
  position: relative;
  padding: 0;
}
.hnm-menu-category__dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 9px 16px;
  color: var(--hnm-color-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition:
    background-color var(--hnm-transition),
    color var(--hnm-transition);
}
.hnm-menu .hnm-menu-category__dropdown a {
  display: flex;
  padding: 9px 16px;
  border-bottom: 0;
  color: var(--hnm-color-text);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}
.hnm-menu .hnm-menu-category__dropdown a.has-child {
  margin-right: 0;
  padding-right: 28px;
}
.hnm-menu .hnm-menu-category__dropdown a.has-child::after {
  right: 14px;
  border-color: var(--hnm-color-muted);
  transform: rotate(-45deg);
}
.hnm-menu-category__dropdown a:focus-visible,
.hnm-menu-category__dropdown a:hover {
  background: #fdf5ff;
  color: var(--hnm-color-purple);
  text-decoration: none;
}
.hnm-menu .hnm-menu-category__dropdown a:focus-visible,
.hnm-menu .hnm-menu-category__dropdown a:hover {
  color: var(--hnm-color-purple);
}
.hnm-menu .hnm-menu__list {
  flex: 1 1 auto;
  min-height: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: clamp(16px, 2.4vw, 36px);
}
.hnm-menu .hnm-menu__list > li {
  position: relative;
  margin: 0;
  padding: 0;
}
.hnm-menu .hnm-menu__link {
  min-height: 56px;
  padding: 0;
  border-radius: 0;
  background: 0 0;
  color: var(--hnm-color-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.hnm-menu .hnm-menu__link.active,
.hnm-menu .hnm-menu__link:focus-visible,
.hnm-menu .hnm-menu__link:hover {
  background: 0 0;
  color: var(--hnm-color-purple);
  text-decoration: none;
}

.hnm-solution {
  background: #fff;
  padding: 40px 0;
}
.hnm-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  text-align: center;
}
.hnm-section-title {
  margin: 0;
  color: #101828;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}
.hnm-section-decor {
  position: relative;
  width: 210px;
  height: 20px;
}
.hnm-section-decor::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--hnm-color-purple, #a33aae);
  transform: translateY(-50%);
}
.hnm-section-decor span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 20px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.hnm-section-decor span::before {
  content: "~";
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--hnm-color-purple, #a33aae);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  transform: translate(-50%, -54%);
}
.hnm-solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}
.hnm-solution-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f2f4f7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16, 24, 40, 0.06);
  color: #101828;
  text-decoration: none;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}
.hnm-solution-card:focus-visible,
.hnm-solution-card:hover {
  border-color: rgba(163, 58, 174, 0.25);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
  color: var(--hnm-color-purple, #a33aae);
  text-decoration: none;
  transform: translateY(-4px);
}
.hnm-solution-img {
  display: block;
  width: 100%;
  height: 248px;
  overflow: hidden;
  background: #f9fafb;
}
.hnm-solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}
.hnm-solution-card:focus-visible .hnm-solution-img img,
.hnm-solution-card:hover .hnm-solution-img img {
  transform: scale(1.04);
}
.hnm-solution-name {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px 24px;
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
.hnm-solution-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.hnm-solution-more {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 372px;
  height: 62px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #a33aae 0, #b4299e 100%);
  color: #fdfffa;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(163, 58, 174, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}
.hnm-solution-more:focus-visible,
.hnm-solution-more:hover {
  color: #fdfffa;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(163, 58, 174, 0.32);
}

.hnm-bestseller {
  background: #fff;
  padding: 51px 0;
}

.hnm-bestseller-head {
  width: 100%;
  max-width: 1212px;
  height: 68px;
  margin: 24px auto 20px;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}

.hnm-bestseller-title {
  position: relative;
  width: 100%;
  height: 68px;
  margin: 0;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  border: 1px solid #e8be59;
  border-radius: 16px;
  background-image:
    url(../images/topsanphambanchay.jpg),
    linear-gradient(90deg, #f3c655 0%, #ffdd4a 45%, #e7a927 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #101828;
  font-size: 24px;
  font-weight: 800;
  line-height: 25px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;

  box-shadow: 0 8px 22px rgba(231, 169, 39, 0.22);
  animation: hnm-bestseller-glow 3.5s ease-in-out infinite;
}

.hnm-bestseller-title::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -35%;
  width: 28%;
  height: 220%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.15) 70%,
    transparent 100%
  );
  transform: skewX(-22deg);
  filter: blur(2px);
  animation: hnm-bestseller-shine 3.2s ease-in-out infinite;
}

.hnm-bestseller-title::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.35),
    transparent 35%
  );
  pointer-events: none;
}

@keyframes hnm-bestseller-shine {
  0% {
    left: -35%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  55% {
    left: 110%;
    opacity: 0.9;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

@keyframes hnm-bestseller-glow {
  0%,
  100% {
    box-shadow: 0 8px 22px rgba(231, 169, 39, 0.22);
  }
  50% {
    box-shadow: 0 10px 30px rgba(255, 202, 40, 0.42);
  }
}
.hnm-bestseller-carousel {
  width: 100%;
}
.hnm-bestseller-carousel .owl-stage {
  display: flex;
}
.hnm-bestseller-carousel .owl-item {
  display: flex;
}
.hnm-product-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 320px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}
.hnm-product-card:hover {
  border-color: rgba(163, 58, 174, 0.22);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
  transform: translateY(-4px);
}
.hnm-product-badge {
  position: absolute;
  top: 1px;
  left: 1px;
  z-index: 2;
  display: inline-flex;
  min-width: 43px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 0 0 8px 0;
  background: #f04438;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.hnm-product-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 16px;
  padding: 14px;
}
.hnm-product-img {
  display: flex;
  width: 100%;
  height: 190px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}
.hnm-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 280ms ease;
}
.hnm-product-card:hover .hnm-product-img img {
  transform: scale(1.04);
}
.hnm-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
}
.hnm-product-name {
  display: -webkit-box;
  min-height: 34px;
  overflow: hidden;
  color: #101828;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.08;
  text-decoration: none;
  transition: color 0.2s ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hnm-product-name:focus-visible,
.hnm-product-name:hover {
  color: var(--hnm-color-purple, #a33aae);
  text-decoration: none;
}
.hnm-product-price {
  display: flex;
  min-height: 19px;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}
.hnm-product-price-label {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
}
.hnm-product-price-current {
  color: #d92d20;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.05;
}
.hnm-product-price-old {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
}
.hnm-product-zalo {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid #d9b6e0;
  border-radius: 12px;
  background: #f7ecfb;
  color: var(--hnm-color-purple, #a33aae);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}
.hnm-product-zalo:focus-visible,
.hnm-product-zalo:hover {
  border-color: var(--hnm-color-purple, #a33aae);
  background: var(--hnm-color-purple, #a33aae);
  color: #fff;
  text-decoration: none;
}
.hnm-bestseller-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.hnm-bestseller-more {
  width: 372px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--hnm-color-purple, #a33aae);
  background: linear-gradient(135deg, #a33aae 0, #b4299e 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.hnm-bestseller-more:focus-visible,
.hnm-bestseller-more:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.hnm-partners {
  background: #fff;
  padding: 50px 0;
}
.hnm-partners-box {
  position: relative;
  display: flex;
  min-height: 170px;
  align-items: center;
  padding: 40px 120px;
  border: 1px solid #f1e4f5;
  border-radius: 24px;
  background: #fff6fe;
}
.hnm-partners-title {
  position: absolute;
  top: -31px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  width: 372px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border-radius: 100px;
  background: var(--hnm-color-purple, #a33aae);
  color: #fdfffa;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.hnm-partners-carousel {
  width: 100%;
}
.hnm-partners-carousel .owl-stage {
  display: flex;
  align-items: center;
}
.hnm-partners-carousel .owl-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hnm-partner-item {
  display: flex;
  width: 100%;
  height: 90px;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0.8;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.hnm-partner-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.hnm-partner-link {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.hnm-partner-link img,
.hnm-partner-logo {
  display: block;
  width: auto;
  max-width: 145px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.hnm-consult {
  background: #fff;
  padding: 40px 0;
}
.hnm-consult-grid {
  display: grid;
  grid-template-columns: 405px minmax(0, 1fr);
  gap: 21px;
  align-items: center;
}
.hnm-consult-left {
  position: relative;
  min-height: 271px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(
    130.81deg,
    #5b1c63 0,
    var(--hnm-color-purple, #a33aae) 100%
  );
}
.hnm-consult-left::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 36% 46%,
      rgba(255, 255, 255, 0.17),
      transparent 44%
    ),
    radial-gradient(
      circle at 88% 20%,
      rgba(255, 255, 255, 0.13),
      transparent 30%
    );
  content: "";
  opacity: 0.8;
  pointer-events: none;
}
.hnm-consult-left-content {
  position: relative;
  z-index: 2;
  width: 235px;
  padding: 74px 0 0 22px;
}
.hnm-consult-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
}
.hnm-consult-desc {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
.hnm-consult-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 72px 190px 36px 22px;
  border-radius: 22px;
}
.hnm-consult-doctor {
  position: absolute;
  right: -122px !important;
  bottom: 0;
  top: auto;
  left: auto;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}
.hnm-consult-doctor img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
}
.hnm-consult-doctor-mark {
  position: relative;
  display: inline-flex;
  width: 142px;
  height: 142px;
  align-items: center;
  justify-content: center;
  margin: 0 20px 38px 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 72px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.18);
}
.hnm-consult-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hnm-consult-contact {
  display: flex;
  min-height: 146px;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  border-radius: 24px;
  background: #8e2c92;
}
.hnm-consult-contact-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}
.hnm-consult-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hnm-consult-action {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 18px 8px 8px;
  border-radius: 9999px;
  background: #fff;
  color: #101828;
  text-decoration: none;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.hnm-consult-action:focus-visible,
.hnm-consult-action:hover {
  color: #101828;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.14);
  transform: translateY(-2px);
}
.hnm-consult-action-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #111827;
  color: #fff;
  font-size: 20px;
}
.hnm-consult-action-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.hnm-consult-action-label,
.hnm-consult-action-text {
  display: block;
}
.hnm-consult-action-label {
  margin-bottom: 6px;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.05;
}
.hnm-consult-action-text {
  color: #101828;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.hnm-consult-benefits {
  display: grid;
  min-height: 96px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 28px 12px;
  border-radius: 24px;
  background: #8e2c92;
}
.hnm-consult-benefit {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.hnm-consult-benefit:last-child {
  border-right: 0;
}
.hnm-consult-benefit-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
}
.hnm-consult-benefit-icon img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.hnm-consult-benefit-desc,
.hnm-consult-benefit-title {
  display: block;
}
.hnm-consult-benefit-title {
  margin-bottom: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.hnm-consult-benefit-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
}

.hnm-consult-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #f1e4f5;
  border-radius: 20px;
  background: #fff6fe;
}
.hnm-consult-form--modal {
  grid-template-columns: 1fr;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: 0 0;
}
.hnm-form-group {
  min-width: 0;
}
.hnm-form-group--wide {
  grid-column: span 2;
}
.hnm-consult-form input,
.hnm-consult-form textarea,
.hnm-form-control {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #101828;
  font-size: 15px;
}
.hnm-consult-form textarea {
  min-height: 96px;
  resize: vertical;
}
.hnm-consult-form input:focus,
.hnm-consult-form textarea:focus,
.hnm-form-control:focus {
  border-color: var(--hnm-color-purple, #a33aae);
  box-shadow: 0 0 0 3px rgba(163, 58, 174, 0.12);
}
.hnm-form-submit {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 0;
  border-radius: 12px;
  background: var(--hnm-color-purple, #a33aae);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}
.hnm-form-submit:focus-visible,
.hnm-form-submit:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.hnm-video {
  background: #fff;
  padding: 40px 0;
}
.hnm-video--home {
  padding: 0;
  background: 0 0;
}
.hnm-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hnm-video-item {
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}
.hnm-video-frame {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}
.hnm-video-frame iframe,
.hnm-video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  transition: transform 280ms ease;
}
.hnm-video-item:hover .hnm-video-frame img {
  transform: scale(1.04);
}
.hnm-video-title {
  padding: 12px 14px;
  background: #fff;
  color: #101828;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.hnm-register-video {
  background: #fff;
  padding: 40px 0;
}
.hnm-register-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}
.hnm-register-video-grid--single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.hnm-register-card {
  padding: 34px 28px;
  border: 1px solid #e1b4e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
}
.hnm-register-title {
  margin: 0 0 22px;
  color: #101828;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-transform: capitalize;
}
.hnm-register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hnm-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hnm-register-form .hnm-form-control {
  width: 100%;
  border: 1px solid #eaecf0;
  border-radius: 8px;
  background: #f9fafb;
  color: #101828;
  font-size: 14px;
  outline: 0;
}
.hnm-register-form input.hnm-form-control {
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
}
.hnm-register-form textarea.hnm-form-control {
  min-height: 193px;
  padding: 12px 14px;
  resize: vertical;
}
.hnm-register-form .hnm-form-control:focus {
  border-color: var(--hnm-color-purple, #a33aae);
  box-shadow: 0 0 0 3px rgba(163, 58, 174, 0.12);
}
.hnm-form-actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.hnm-register-submit {
  min-width: 160px;
  min-height: 44px;
  padding: 12px 24px;
  border: 0;
  border-radius: 5px;
  background: var(--hnm-color-purple, #a33aae);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}
.hnm-register-submit:focus-visible,
.hnm-register-submit:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.hnm-video-card {
  min-height: 332px;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f4f7;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
}
.hnm-video-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 332px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.hnm-video-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.18);
  pointer-events: none;
}
.hnm-video-trigger img {
  width: 100%;
  height: 100%;
  min-height: 332px;
  display: block;
  object-fit: cover;
  transition: transform 0.28s ease;
}
.hnm-video-trigger:hover img {
  transform: scale(1.04);
}
.hnm-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--hnm-color-purple, #a33aae);
  font-size: 28px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.18);
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.hnm-video-trigger:hover .hnm-video-play {
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.24);
  transform: translate(-50%, -50%) scale(1.06);
}
.hnm-video-play i {
  margin-left: 4px;
}

.hnm-news {
  background: #fff;
  padding: 40px 0 50px;
}
.hnm-news-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

.hnm-news-carousel .owl-stage {
  display: flex;
}
.hnm-news-carousel .owl-item {
  display: flex;
}
.hnm-news-card {
  width: 100%;
  overflow: hidden;
  padding: 14px;
  border: 1px solid #eaecf0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}
.hnm-news-card:hover {
  border-color: rgba(163, 58, 174, 0.22);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
  transform: translateY(-4px);
}
.hnm-news-img {
  position: relative;
  display: block;
  height: 224px;
  overflow: hidden;
  border-radius: 12px;
  background: #f9fafb;
  text-decoration: none;
}
.hnm-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}
.hnm-news-card:hover .hnm-news-img img {
  transform: scale(1.04);
}
.hnm-news-date {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px 0 28px;
  background: #fff;
  color: #101828;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  z-index: 2;
}
.hnm-news-date::before {
  content: "";
  position: absolute;
  left: -17px;
  bottom: 0;
  width: 18px;
  height: 37px;
  background: #fff;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.hnm-news-date i {
  color: #101828;
}
.hnm-news-body {
  padding: 14px 2px 0;
}
.hnm-news-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #667085;
  font-size: 14px;
  font-weight: 400;
}
.hnm-news-card-title {
  min-height: 44px;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.22;
}
.hnm-news-card-title a {
  display: -webkit-box;
  overflow: hidden;
  color: #101828;
  text-decoration: none;
  transition: color 0.2s ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hnm-news-card-title a:focus-visible,
.hnm-news-card-title a:hover {
  color: var(--hnm-color-purple, #a33aae);
  text-decoration: none;
}
.hnm-news-desc {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 8px;
  color: #667085;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hnm-news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #101828;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hnm-news-more:focus-visible,
.hnm-news-more:hover {
  color: var(--hnm-color-purple, #a33aae);
  text-decoration: none;
}
.hnm-news-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
.hnm-news-view-all {
  display: inline-flex;
  width: 410px;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 10px;
  background: var(--hnm-color-purple, #a33aae);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}
.hnm-news-view-all:focus-visible,
.hnm-news-view-all:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.04);
  transform: translateY(-2px);
}
.hnm-news-detail-desc {
  margin-bottom: 18px;
  color: #475467;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
}

.hnm-footer {
  padding: 44px 0 0;
  background: #101828;
  color: rgba(255, 255, 255, 0.78);
}
.hnm-footer-main {
  padding-bottom: 46px;
}
.hnm-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.75fr) minmax(
      300px,
      1fr
    );
  gap: 64px;
  align-items: start;
}
.hnm-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.hnm-footer-logo img {
  display: block;
  max-width: 330px;
  max-height: 110px;
  object-fit: contain;
}
.hnm-footer-company {
  margin-bottom: 12px;
  color: #fff;
}
.hnm-footer-company-small {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}
.hnm-footer-company-name {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}
.hnm-footer-desc {
  max-width: 390px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.6;
}
.hnm-footer-desc p:last-child {
  margin-bottom: 0;
}
.hnm-footer-block + .hnm-footer-block {
  margin-top: 34px;
}
.hnm-footer-title {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 11px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}
.hnm-footer-title::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 2px;
  background: #fff;
  content: "";
}
.hnm-footer-title::after {
  position: absolute;
  bottom: 0;
  left: 70px;
  width: 22px;
  height: 2px;
  border-top: 2px dotted rgba(255, 255, 255, 0.9);
  content: "";
}
.hnm-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hnm-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}
.hnm-footer-contact-item i {
  width: 14px;
  flex: 0 0 14px;
  margin-top: 3px;
  color: #ffb717;
  text-align: center;
}
.hnm-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hnm-footer-list li + li {
  margin-top: 10px;
}
.hnm-footer-list a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.hnm-footer-list a:focus-visible,
.hnm-footer-list a:hover {
  color: #ffb717;
  padding-left: 4px;
  text-decoration: none;
}
.hnm-footer-fanpage {
  width: 100%;
  max-width: 344px;
  min-height: 309px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}
.hnm-footer-fanpage iframe,
.hnm-footer-fanpage img {
  display: block;
  width: 100%;
  height: 309px;
  border: 0;
  object-fit: cover;
}
.hnm-footer-fanpage .fb_iframe_widget,
.hnm-footer-fanpage .fb_iframe_widget span {
  max-width: 100%;
}
.hnm-footer-social {
  display: flex;
  max-width: 344px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hnm-footer-social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  text-decoration: none;

  transition: all 0.3s ease;

  /* 👇 thêm */
  animation: hnm-social-pulse 3s ease-in-out infinite;
}

@keyframes hnm-social-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  }
}
.hnm-footer-social-link:focus-visible,
.hnm-footer-social-link:hover {
  border-color: var(--hnm-color-purple, #a33aae);
  background: var(--hnm-color-purple, #a33aae);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}
.hnm-footer-social-link img {
  display: block;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
}
.hnm-footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  text-align: center;
}

.hnm-header-top {
  position: relative;
  min-height: 64px;
  background: #ffb717;
  color: #101828;
  overflow: visible;
  z-index: 20;
}
.hnm-header-top .hnm-container {
  max-width: 1200px;
  position: relative;
}
.hnm-header-top__row {
  position: relative;
  min-height: 64px;
  margin-left: 0;
  margin-right: 0;
}
.hnm-header-top__worktime {
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #101828;
}
.hnm-header-top__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: 0 0;
  color: #101828;
  font-size: 18px;
}
.hnm-header-top__slogan {
  color: #101828;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
  text-transform: uppercase;
}
.hnm-header-hotline-wrap {
  position: relative;
  min-height: 64px;
}
.hnm-header-hotline {
  position: absolute;
  top: 25px;
  right: calc((1200px - 101vw) / 2);
  z-index: 30;
  width: 776px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px 13px 100px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f926d7 0, #690058 100%);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  clip-path: polygon(58px 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 10px 22px rgba(105, 0, 88, 0.22);
}
.hnm-header-hotline:focus-visible,
.hnm-header-hotline:hover {
  color: #fff;
  text-decoration: none;
}
.hnm-header-hotline__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  background: 0 0;
  color: #fff;
  font-size: 34px;
}
.hnm-header-hotline__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hnm-header-hotline__label {
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  height: 14px;
}
.hnm-header-hotline__number {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.hnm-header-top__slogan {
  overflow: hidden;
  white-space: nowrap;
}
.hnm-header-top__slogan span {
  display: inline-block;
  padding-left: 100%;
  animation: hnm-slogan-marquee 10s linear infinite;
}
@keyframes hnm-slogan-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.hnm-header-hotline {
  transition: all 0.35s ease;
}
.hnm-header-hotline:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(105, 0, 88, 0.35);
}
.hnm-header-hotline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: all 0.6s ease;
}
.hnm-header-hotline:hover::after {
  left: 120%;
}
.hnm-header-hotline:hover .hnm-header-hotline__icon {
  animation: hnm-phone-shake 0.6s ease;
}
.hnm-header-hotline:hover .hnm-header-hotline__number {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}
@keyframes hnm-phone-shake {
  0% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(-12deg);
  }
  40% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(-8deg);
  }
  80% {
    transform: rotate(6deg);
  }
  100% {
    transform: rotate(0);
  }
}
.hnm-header-main {
  padding: 45px 0 12px;
  background: #fff;
}
.hnm-header-main__row {
  min-height: 68px;
}
.hnm-header__logo {
  display: inline-flex;
  align-items: center;
  width: 216px;
  max-width: 100%;
}
.hnm-header__logo img {
  display: block;
  width: 216px;
  max-width: 100%;
  height: 68px;
  object-fit: contain;
}
.hnm-header-search {
  position: relative;
  width: 400px;
  max-width: 100%;
  margin-left: 80px;
}
.hnm-header-search input {
  width: 100%;
  height: 46px;
  padding: 0 54px 0 18px;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  background: #f9fafb;
  color: #101828;
  font-size: 14px;
  outline: 0;
}
.hnm-header-search input:focus {
  border-color: rgba(180, 41, 158, 0.45);
  box-shadow: 0 0 0 4px rgba(180, 41, 158, 0.08);
}
.hnm-header-search button {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #b4299e;
  color: #fff;
  transform: translateY(-50%);
}
.hnm-header-main__right {
  gap: 14px;
}
.hnm-header-email {
  min-height: 48px;
  max-width: 100%;
  padding: 0 20px;
  border-radius: 999px;
  background: #b4299e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  text-decoration: none;
  white-space: nowrap;
}
.hnm-header-email:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(180, 41, 158, 0.22);
}
.hnm-header-email__icon {
  font-size: 15px;
}

.hnm-menu__inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 56px;
}
.hnm-menu-category {
  flex: 0 0 270px;
}
.hnm-menu .hnm-menu__list {
  flex: 1 1 auto;
  width: auto !important;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 0 0 0 39px;
  display: flex;
  align-items: center;
  justify-content: space-between !important;
}
.hnm-menu .hnm-menu__link,
.hnm-menu .hnm-menu__list > li {
  height: 56px;
  display: flex;
  align-items: center;
}
.slideshow {
  width: 1196px;
  max-width: calc(100% - 24px);
  height: 356px;
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}
.slideshow .owl-item,
.slideshow .owl-page,
.slideshow .owl-stage,
.slideshow .owl-stage-outer,
.slideshow picture,
.slideshow-image,
.slideshow-item {
  width: 100%;
  height: 100%;
  display: block;
}
.slideshow-image img,
.slideshow-image img.lazy,
.slideshow-image img.w-100 {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: fill !important;
  object-position: center center !important;
  display: block;
  opacity: 1 !important;
  filter: none !important;
}

.hnm-bestseller-head {
  width: 100%;
  max-width: 1212px;
  height: 68px;
  margin: 24px auto 20px;
  padding: 0;
}
.hnm-bestseller-title {
  width: 100%;
  height: 68px;
  margin: 0;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8be59;
  border-radius: 16px;
  background-image:
    url(../images/topsanphambanchay.jpg),
    linear-gradient(90deg, #f3c655 0, #e7b63f 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #101828;
  font-size: 24px;
  font-weight: 700;
  line-height: 25px;
  text-align: center;
  text-transform: uppercase;
}
.hnm-header__logo img {
  filter: drop-shadow(0 0 8px rgba(255, 183, 23, 0.36));
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}
.hnm-header__logo:hover img {
  filter: drop-shadow(0 0 14px rgba(255, 183, 23, 0.58));
  transform: translateY(-1px);
}
.hnm-header-email__icon,
.hnm-header-hotline__icon,
.hnm-header-search button,
.hnm-header-top__icon {
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}
.hnm-header-email:hover .hnm-header-email__icon,
.hnm-header-hotline:hover .hnm-header-hotline__icon,
.hnm-header-top__worktime:hover .hnm-header-top__icon {
  transform: scale(1.06);
}
.slideshow .hnm-slide-item {
  position: relative;
  overflow: hidden;
}
.slideshow .hnm-slide-image {
  position: relative;
  z-index: 1;
}
.slideshow .hnm-slide-image img,
.slideshow .hnm-slide-image img.lazy,
.slideshow .hnm-slide-image img.w-100 {
  object-fit: cover !important;
}
.hnm-slide-info {
  position: absolute;
  left: clamp(20px, 6vw, 78px);
  top: 50%;
  z-index: 3;
  width: min(430px, calc(100% - 40px));
  color: #fff;
  transform: translateY(-50%);
  pointer-events: none;
}
.hnm-slide-brand {
  margin-bottom: 9px;
  color: #ffb717;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}
.hnm-slide-subtitle {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
.hnm-slide-headline {
  margin-bottom: 18px;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.hnm-slide-cta {
  min-height: 44px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--hnm-primary, #a33aae);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(163, 58, 174, 0.28);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
  pointer-events: auto;
}
.hnm-slide-cta:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.hnm-header__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 4px;
  border-radius: 10px;
}
.hnm-header__logo img {
  position: relative;
  z-index: 2;
  display: block;
  border-radius: 6px;
  background: #fff;
}
.hnm-header__logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 183, 23, 0.9) 80deg,
    rgba(255, 255, 255, 1) 110deg,
    rgba(180, 41, 158, 0.9) 150deg,
    transparent 220deg
  );
  animation: border-run-loop 6s linear infinite;
}
.hnm-header__logo::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -120%;
  width: 70%;
  height: 220%;
  z-index: 3;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.95),
    rgba(0, 255, 255, 0.8),
    rgba(255, 0, 200, 0.6),
    transparent
  );
  filter: blur(6px);
  transform: skewX(-18deg);
  animation: shine-loop 6s ease-in-out infinite;
}
@keyframes shine-loop {
  0% {
    left: -120%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    left: 130%;
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    left: 130%;
    opacity: 0;
  }
}
@keyframes border-run-loop {
  0% {
    transform: rotate(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    transform: rotate(360deg);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0;
  }
}
.hnm-header-email {
  position: relative;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.hnm-header-email__icon {
  position: relative;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hnm-header-email:hover .hnm-header-email__icon {
  transform: rotate(360deg);
}
.hnm-header-email__icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(180, 41, 158, 0.35),
    transparent 70%
  );
  opacity: 0;
  filter: blur(6px);
  transition: 0.4s;
}
.hnm-header-email:hover .hnm-header-email__icon::after {
  opacity: 1;
}
.hnm-slide-item {
  position: relative;
  height: 100%;
}
.hnm-slide-info {
  position: absolute;
  top: 50%;
  right: 72px;
  left: auto;
  transform: translateY(-50%);
  z-index: 5;
  width: auto;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  color: #101828;
  pointer-events: none;
}
.hnm-slide-brand {
  margin-bottom: 22px;
  color: #a33aae;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.hnm-slide-subtitle {
  margin-bottom: 12px;
  color: #101828;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}
.hnm-slide-headline {
  margin-bottom: 28px;
  color: #101828;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.hnm-slide-cta {
  pointer-events: auto;
  min-width: 299px;
  height: 48px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  color: #a33aae;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.hnm-slide-cta:hover {
  color: #a33aae;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(163, 58, 174, 0.18);
}

.box-product {
  position: relative;
  max-width: 220px;
  min-height: 360px;
  margin: 0 auto;
  padding: 14px 14px 12px;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.pic-product .scale-img {
  width: 100%;
  height: 100%;
}
.pic-product img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
.hnm-video-slider-wrap {
  position: relative;
  width: 584px;
  max-width: 100%;
  height: 490px;
  filter: drop-shadow(0 8px 24px rgba(16, 24, 40, 0.08));
}
.hnm-video-slider,
.hnm-video-slider .owl-item,
.hnm-video-slider .owl-stage,
.hnm-video-slider .owl-stage-outer {
  height: 100%;
}
.hnm-video-card {
  position: relative;
  width: 100%;
  height: 490px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}
.hnm-video-trigger {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hnm-video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hnm-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  padding: 26px;
  transform: translate(-50%, -50%);
  border-radius: 360px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.16);
  color: #a33aae;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  z-index: 3;
}
.hnm-video-play i {
  display: block;
  font-size: 28px;
  line-height: 1;
}
.hnm-video-slider .owl-dots {
  display: none !important;
}
.hnm-video-slider-nav {
  position: absolute;
  inset: 50% 0 auto 0;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
}
.hnm-video-slider-nav .owl-next,
.hnm-video-slider-nav .owl-prev {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 0.25s ease;
}
.hnm-video-slider-nav .owl-prev {
  left: 16px;
}
.hnm-video-slider-nav .owl-next {
  right: 16px;
}
.hnm-video-slider-nav .owl-next:hover,
.hnm-video-slider-nav .owl-prev:hover {
  background: #a33aae;
}

.hnm-product-info-box {
  margin: 32px 0;
  padding: 0;
}
.hnm-product-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  gap: 34px;
  align-items: center;
}
.hnm-product-info-image {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.hnm-product-info-image img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}
.hnm-product-info-title {
  margin: 0 0 16px;
  color: #101828;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}
.hnm-product-info-desc {
  margin-bottom: 24px;
  padding: 18px 22px;
  background: #f7f7fb;
  border-radius: 10px;
  color: #101828;
  font-size: 16px;
  line-height: 1.6;
}

.hnm-product-benefit-box {
  position: relative;
  margin-top: 26px;
  padding: 28px 24px 18px;
  border: 2px solid var(--hnm-color-purple);
  border-radius: 18px;
  background: #fff;
}
.hnm-product-benefit-title {
  position: absolute;
  left: 20px;
  top: -18px;
  max-width: calc(100% - 40px);
  padding: 8px 18px;
  background: var(--hnm-color-purple);
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.hnm-product-benefit-content {
  color: #101828;
  font-size: 15px;
  line-height: 1.65;
}

.hnm-product-benefit-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hnm-product-benefit-content li {
  position: relative;
  margin-bottom: 8px;
  /* padding-left: 28px; */
}

/* ✔ icon mặc định */
.hnm-product-benefit-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #b76624;
  font-weight: 800;
  margin-left: 28px;
}

/* ❗ nếu có icon riêng thì ẩn icon mặc định */
.hnm-product-benefit-content li.has-icon::before {
  content: "";
}

.hnm-product-benefit-content p {
  margin-bottom: 8px;
}

.hnm-footer-social-link img {
  display: block;
  transition: transform 0.6s ease;
}
.hnm-footer-social-link:hover img {
  transform: rotate(360deg);
}
.hnm-footer-fanpage .fb-page,
.hnm-footer-fanpage iframe,
.hnm-footer-fanpage span {
  max-width: 100% !important;
}
.hnm-footer-fanpage {
  width: 100%;
  overflow: hidden;
}
.hnm-footer-fanpage iframe {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}
.hnm-news-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.hnm-news-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #101828;
  text-transform: uppercase;
}
.hnm-title-lines {
  position: relative;
  width: 52px;
  height: 12px;
  flex: 0 0 52px;
}
.hnm-title-lines::after,
.hnm-title-lines::before {
  content: "";
  position: absolute;
  right: 0;
  height: 2px;
  background: #2e4372;
}
.hnm-title-lines {
  background: linear-gradient(#2e4372, #2e4372);
  background-size: 52px 2px;
  background-repeat: no-repeat;
  background-position: right top;
}
.hnm-title-lines::before {
  top: 5px;
  width: 42px;
}
.hnm-title-lines::after {
  top: 10px;
  width: 32px;
}
.hnm-title-lines-right {
  transform: scaleX(-1);
}

.hnm-menu-product {
  position: relative;
}

.hnm-menu-product-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #fff;
  padding: 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hnm-menu-product:hover > .hnm-menu-product-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hnm-menu-product-dropdown li {
  position: relative;
  border-bottom: 1px solid #eee;
}

.hnm-menu-product-dropdown a {
  display: block;
  padding: 12px 16px;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
}

.hnm-menu-product-dropdown a:hover {
  background: #f7f7f7;
  color: #243c96;
}

.hnm-menu-product-dropdown .has-child::after {
  content: "›";
  float: right;
}

.hnm-menu-product-dropdown ul {
  position: absolute;
  top: 0;
  left: 100%;
  width: 260px;
  background: #fff;
  padding: 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hnm-menu-product-dropdown li:hover > ul {
  opacity: 1;
  visibility: visible;
}
.btn-frame i img {
  filter: brightness(0) saturate(100%) invert(34%) sepia(76%) saturate(580%)
    hue-rotate(270deg) brightness(95%) contrast(95%);
}
/* Vòng ngoài */
.btn-frame .kenit-alo-circle {
  border: 2px solid #a33aae !important;
}

/* Vòng lan */
.btn-frame .kenit-alo-circle-fill {
  background-color: rgba(163, 58, 174, 0.3) !important;
}
.hnm-footer-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 4px;
  border-radius: 12px;
  isolation: isolate;
}

.hnm-footer-logo img {
  position: relative;
  z-index: 2;
  display: block;
  border-radius: 8px;
  background: #0f172a;
}

/* Viền chạy */
.hnm-footer-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(163, 58, 174, 0.95) 70deg,
    rgba(255, 255, 255, 0.95) 105deg,
    rgba(255, 183, 23, 0.9) 145deg,
    transparent 220deg
  );
  animation: footer-logo-border 6s linear infinite;
}

/* Ánh sáng lướt */
.hnm-footer-logo::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -130%;
  width: 70%;
  height: 240%;
  z-index: 3;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.9),
    rgba(163, 58, 174, 0.5),
    rgba(255, 183, 23, 0.4),
    transparent
  );
  filter: blur(6px);
  transform: skewX(-18deg);
  animation: footer-logo-shine 6s ease-in-out infinite;
  pointer-events: none;
}

/* Animation */
@keyframes footer-logo-border {
  to {
    transform: rotate(360deg);
  }
}

@keyframes footer-logo-shine {
  0% {
    left: -130%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  45% {
    left: 130%;
    opacity: 0.9;
  }
  100% {
    left: 130%;
    opacity: 0;
  }
}

.hnm-bestseller-head {
  width: 100%;
  max-width: 1212px;
  height: 68px;
  margin: 24px auto 20px;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}

/* MAIN */
.hnm-bestseller-title {
  position: relative;
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  border-radius: 18px;
  border: 1px solid rgba(255, 200, 80, 0.6);

  background:
    url(../images/topsanphambanchay.jpg),
    linear-gradient(90deg, #f3c655 0%, #ffdd4a 40%, #e7a927 100%);
  background-size: cover;
  background-position: center;

  color: #101828;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;

  box-shadow:
    0 8px 25px rgba(231, 169, 39, 0.25),
    inset 0 0 20px rgba(255, 255, 255, 0.2);

  animation: hnm-glow 3s ease-in-out infinite;
}

/* SHINE chạy ngang */
.hnm-bestseller-title::before {
  content: "";
  position: absolute;
  top: -70%;
  left: -40%;
  width: 30%;
  height: 240%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-25deg);
  filter: blur(3px);
  animation: hnm-shine 2.8s infinite;
}

/* LỚP ÁNH SÁNG NHẸ */
.hnm-bestseller-title::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.45),
    transparent 40%
  );
  animation: hnm-pulse 4s infinite;
}

/* VIỀN CHẠY 360 độ (ảo diệu nhất) */
.hnm-bestseller-head::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 200, 80, 0.8),
    rgba(255, 255, 255, 0.9),
    rgba(163, 58, 174, 0.6),
    transparent
  );
  animation: hnm-border-spin 6s linear infinite;
  z-index: 0;
  filter: blur(6px);
  opacity: 0.7;
}

/* Đảm bảo title nằm trên */
.hnm-bestseller-title {
  z-index: 2;
}

/* ===== ANIMATION ===== */

@keyframes hnm-shine {
  0% {
    left: -40%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    left: 120%;
    opacity: 0.9;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes hnm-glow {
  0%,
  100% {
    box-shadow:
      0 8px 25px rgba(231, 169, 39, 0.25),
      inset 0 0 20px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 12px 35px rgba(255, 210, 80, 0.45),
      inset 0 0 25px rgba(255, 255, 255, 0.3);
  }
}

@keyframes hnm-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes hnm-border-spin {
  to {
    transform: rotate(360deg);
  }
}

.hnm-bestseller-head {
  position: relative;
  width: 100%;
  max-width: 1212px;
  height: 68px;
  margin: 24px auto 20px;
  overflow: hidden;
  border-radius: 18px;
}

/* VIỀN CHẠY */
.hnm-bestseller-head::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: conic-gradient(
    from 0deg,
    transparent,
    #ffcc33,
    #ffffff,
    #a33aae,
    transparent
  );
  animation: hnm-border-spin 4s linear infinite;
  z-index: 0;
  filter: blur(4px);
  opacity: 0.8;
}

/* NỘI DUNG */
.hnm-bestseller-title {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;
  border: 1px solid rgba(232, 190, 89, 0.6);

  background-image:
    url(../images/topsanphambanchay.jpg),
    linear-gradient(90deg, #f3c655 0%, #ffdd4a 45%, #e7a927 100%);

  background-size: cover;
  background-position: center;

  color: #101828;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;

  box-shadow: 0 8px 22px rgba(231, 169, 39, 0.22);
}

/* SHINE CŨ */
.hnm-bestseller-title::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -35%;
  width: 28%;
  height: 220%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.9),
    transparent
  );
  transform: skewX(-22deg);
  animation: hnm-bestseller-shine 3s infinite;
}

/* ANIMATION */
@keyframes hnm-border-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hnm-bestseller-shine {
  0% {
    left: -35%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    left: 120%;
    opacity: 0.9;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}
.footer-fanpage-card {
  width: 340px;
  max-width: 100%;
  min-height: 220px;
  overflow: hidden;
  margin-bottom: 10px;
}

.footer-fanpage-card .fb-page,
.footer-fanpage-card .fb-page span,
.footer-fanpage-card .fb-page iframe {
  width: 340px !important;
  max-width: 100% !important;
  min-height: 220px !important;
}
/* PRODUCT LIST */
.hnm-product-card {
  height: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #edf0f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.hnm-product-inner {
  height: 170px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hnm-product-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hnm-product-img img {
  max-width: 100%;
  max-height: 155px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

.hnm-product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hnm-product-name {
  min-height: 42px;
  margin-bottom: 14px;
  color: #06142e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hnm-product-price {
  min-height: 28px;
  margin-top: auto;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
}

.hnm-product-price-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.hnm-product-price-current {
  color: #ef1d12;
  font-size: 18px;
  font-weight: 900;
}

.hnm-product-price-old {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: line-through;
}

.hnm-product-zalo {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid #e4a8f3;
  background: #fff4ff;
  color: #a326b8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hnm-product-zalo:hover {
  background: #f8ddff;
  color: #86198f;
}

.product-tool {
  display: none !important;
}

/* PRODUCT CARD - FIGMA SOFT */
.hnm-product-card {
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.hnm-product-inner {
  height: 178px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hnm-product-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hnm-product-img img {
  max-width: 100%;
  max-height: 172px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

.hnm-product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hnm-product-name {
  min-height: 38px;
  margin: 0;
  color: #101828;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.2px;
  text-decoration: none;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hnm-product-price {
  min-height: 24px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

.hnm-product-price-label {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.hnm-product-price-current {
  color: #d92d20;
  font-size: 18px;
  line-height: 1;
}

.hnm-product-price-old {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: line-through;
}

.hnm-product-zalo {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 12px 10px;
  border: 1px solid #d9b6e0;
  border-radius: 12px;
  background: #f7ecfb;
  color: #a33aae;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hnm-product-zalo:hover {
  background: #f1ddf7;
  color: #92289d;
}

.product-tool {
  display: none !important;
}

.hnm-product-price {
  display: flex;
  align-items: baseline; /* QUAN TRỌNG */
  gap: 6px;
  min-height: 26px;
}

/* label */
.hnm-product-price-label {
  font-size: 12px;
  color: #667085;
  font-weight: 500;
}

/* giá chính */
.hnm-product-price-current {
  font-size: 18px;
  font-weight: 700;
  color: #d92d20;
  line-height: 1;
}

/* giá cũ */
.hnm-product-price-old {
  font-size: 12px;
  color: #98a2b3;
  text-decoration: line-through;
  line-height: 1;
}
/* BESTSELLER PRODUCT */
.hnm-bestseller-carousel .owl-stage {
  display: flex;
}

.hnm-bestseller-carousel .owl-item {
  display: flex;
}

.hnm-bestseller-carousel .owl-item > .hnm-product-card {
  width: 100%;
}

.hnm-product-card {
  position: relative;
  width: 100%;
  min-height: 320px;
  padding: 16px;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.hnm-product-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 8px 0 8px 0;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.hnm-product-inner {
  height: 150px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hnm-product-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hnm-product-img img {
  max-width: 100%;
  max-height: 145px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

.product-tool {
  display: none !important;
}

.hnm-product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hnm-product-name {
  height: 44px;
  margin: 0 0 10px;
  color: #101828;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.15px;
  text-decoration: none;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hnm-product-price {
  height: 24px;
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 5px;
  white-space: nowrap;
}

.hnm-product-price-label {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.hnm-product-price-current {
  color: #d92d20;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.hnm-product-price-old {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.hnm-product-zalo {
  margin-top: auto;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d9b6e0;
  border-radius: 12px;
  background: #f7ecfb;
  color: #a33aae;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hnm-product-zalo:hover {
  background: #f1ddf7;
  color: #92289d;
}

/* gom toàn bộ body lại */
.hnm-product-body {
  display: flex;
  flex-direction: column;
  gap: 6px; /* trước là 12-16 -> giờ giảm còn 6 */
}

/* tiêu đề */
.hnm-product-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

/* giá */
.hnm-product-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

/* giảm khoảng cách giữa giá và nút */
.hnm-product-zalo {
  margin-top: 6px; /* trước auto -> giờ sát lại */
}
.hnm-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
}

.hnm-form-control.error {
  border-color: #ef4444;
}

.hnm-product-price {
  display: flex;
  align-items: center;
  justify-content: space-between; /* đẩy 2 bên */
  margin-top: 4px;
}

/* nhóm bên trái (Giá + giá chính) */
.hnm-product-price-label {
  font-size: 13px;
  color: #6b7280;
  margin-right: 4px;
}

.hnm-product-price-current {
  font-size: 17px; /* giảm nhẹ cho cân */
  font-weight: 700;
  color: #ef4444;
}

/* giá cũ nằm bên phải */
.hnm-product-price-old {
  font-size: 13px;
  color: #9ca3af;
}

.hnm-header-hotline__icon {
  animation: hnm-bounce-glow 1.8s infinite;
}

@keyframes hnm-bounce-glow {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  }
}
.hnm-consult-action-icon {
  animation: hnm-action-float 2s ease-in-out infinite;
}

@keyframes hnm-action-float {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
}
.hnm-consult-benefit-icon {
  transition: all 0.3s ease;
  animation: hnm-benefit-pulse 2.5s ease-in-out infinite;
}

@keyframes hnm-benefit-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  50% {
    transform: scale(1.12);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
  }
}
.hnm-header-search {
  position: relative;
  overflow: hidden;
}

/* wrapper chạy */
.hnm-header-search::before {
  content: "Tìm kiếm sản phẩm... ";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  color: #9ca3af;
  font-size: 14px;
  pointer-events: none;

  animation: hnm-marquee-loop 10s linear infinite;
}
.hnm-header-search.has-text::before,
.hnm-header-search:focus-within::before {
  opacity: 0;
}
/* animation mượt */
@keyframes hnm-marquee-loop {
  0% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}
@keyframes hnm-slogan-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.hnm-product-card .product-tool {
  display: flex !important;
  align-items: stretch;
  justify-content: space-between;
}

.hnm-product-card .product-tool a {
  width: 50%;
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  color: #fff !important;
  line-height: 1.1;
  text-decoration: none !important;
}

.hnm-product-card .product-tool a span {
  display: inline-block !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 13px;
  font-weight: 700;
}

.hnm-product-card .product-tool a svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
.hnm-product-card .product-tool {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

.hnm-product-card:hover .product-tool {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hnm-partners-title {
  position: absolute;
  top: -31px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 36px;
  border-radius: 999px;

  background: linear-gradient(135deg, #c94bff, #a33aae);
  color: #fff;

  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;

  overflow: hidden;
}
.hnm-partners-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );

  transform: skewX(-25deg);

  animation: shineMove 3s infinite;
}
@keyframes shineMove {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}
.footer-wave {
  width: 100%;
  border-top: 1px solid #ffffff;
}

/* ❗ gỡ bó width */
.footer-wave .wrap-content {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* copyright full ngang */
.footer-copyright {
  width: 100%;
  text-align: center;
  padding: 16px 0;
}

.hnm-header-search button i {
  display: inline-block;
  animation: searchPulse 1.8s ease-in-out infinite;
}

@keyframes searchPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}
.hnm-solution-more,
.hnm-bestseller-more,
.hnm-form-actions > button,
.hnm-news-view-all {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.hnm-solution-more::after,
.hnm-bestseller-more::after,
.hnm-form-actions > button::after,
.hnm-news-view-all::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );

  transform: skewX(-25deg);

  animation: btnAutoShine 4s linear infinite;
}
@keyframes btnAutoShine {
  0% {
    left: -120%;
  }
  40% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}
html,
body {
  min-width: 1200px;
  overflow-x: auto;
}

.mm-wrapper,
.wrap-home,
.hnm-header,
.hnm-menu,
.hnm-footer {
  min-width: 1200px;
}

.container,
.hnm-container {
  width: 1200px !important;
  max-width: 1200px !important;
}

.hnm-consult-left,
.hnm-consult-contact,
.hnm-consult-benefits {
  position: relative;
  overflow: hidden;
  animation: hnm-consult-auto-glow 3s ease-in-out infinite;
}

@keyframes hnm-consult-auto-glow {
  0%,
  100% {
    box-shadow: 0 8px 22px rgba(163, 58, 174, 0.16);
  }
  50% {
    box-shadow: 0 14px 36px rgba(163, 58, 174, 0.35);
  }
}
.hnm-consult-left::after,
.hnm-consult-contact::after,
.hnm-consult-benefits::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-25deg);
  animation: hnm-consult-shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hnm-consult-shine {
  0%,
  35% {
    left: -120%;
  }
  70%,
  100% {
    left: 130%;
  }
}
