/* ===== base ===== */
/* ---------- Fonts (Quicksand variable 400–700, self-hosted) ---------- */
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/quicksand-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/quicksand-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/quicksand-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ----------
   Layout values are the target's; the palette is re-themed for honey:
   amber gold (primary), beeswax brown (second), burnt caramel (third). */
:root {
  --size-hd-sale: 4rem;
  --size-hd-top: 7rem;
  --size-hd-bot: 4rem;
  --size-fix: 5rem;
  --radius: 2.4rem;
  --pd-sc: 8rem;
  --size-wave: calc(40 / 1728 * 100vw);
  --body-color: #444;
  --primary-color: #f0a30a;
  --primary-color-opacity: #fdf0d4;
  --primary-color-rgb: 240, 163, 10;
  --second-color: #7a4a1c;
  --second-color-opacity: #efe2d4;
  --third-color: #c2620a;
  --third-color-opacity: #fae3cc;
  --zalo-color: #0068ff;
  --font-body: "Quicksand", Times, serif;
}

@media (max-width: 1200px) {
  :root {
    --pd-sc: 4rem;
    --radius: .8rem;
  }
}

@media (max-width: 700px) {
  :root {
    --size-wave: calc(70 / 1728 * 100vw);
  }
}

@media (max-width: 500px) {
  :root {
    --size-wave: calc(100 / 1728 * 100vw);
  }
}

/* ---------- Bootstrap / Reboot overrides ---------- */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--body-color);
  text-align: left;
  background-color: #fff;
  overflow: hidden auto;
}

body.no-scroll {
  touch-action: none;
  overflow: hidden;
  overscroll-behavior: none;
}

::selection {
  color: #fff;
  background-color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

ul,
ol {
  list-style: none;
}

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

button {
  padding: 0;
  font: inherit;
  color: inherit;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

button:focus,
input:focus {
  outline: none;
}

input {
  width: 100%;
  font-family: inherit;
  color: inherit;
  border: .1rem solid rgba(0, 0, 0, .1);
}

input::placeholder {
  color: #757575;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 123rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main {
  min-height: 68vh;
  padding-top: calc(var(--size-hd-sale) + var(--size-hd-top) + var(--size-hd-bot) + 1.5rem);
  overflow: hidden;
}

@media (max-width: 1199px) {
  .main {
    padding-top: calc(var(--size-hd-top) + var(--size-hd-sale) + 1.5rem);
  }
}

/* ---------- Shared patterns ---------- */
.ss-pd {
  padding: var(--pd-sc) 0;
}

.ss-pd-t {
  padding-top: var(--pd-sc);
}

.c-pri {
  color: var(--primary-color);
}

.c-white {
  color: #fff;
}

/* Section head: sub title with bee, big title, optional action on the right */
.c-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3.2rem;
}

@media (max-width: 700px) {
  .c-head {
    text-align: center;
  }

  .c-head .left,
  .c-head .right {
    width: 100%;
  }

  .c-head .c-btn {
    margin: 0 auto;
  }
}

.c-head.is-center {
  justify-content: center;
  text-align: center;
}

.title-sub {
  font-weight: 700;
  color: var(--second-color);
}

.title-sub.c-white {
  color: #fff;
}

.title-sub.dc {
  --w: 1.9rem;
  position: relative;
  display: inline-block;
  padding-right: calc(var(--w) + .4rem);
}

.title-sub.dc::after {
  content: "";
  position: absolute;
  top: -.4rem;
  right: 0;
  width: var(--w);
  height: var(--w);
  background: url(../images/con-ong.png) center / contain no-repeat;
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

.title-sub.dc.aos-animate::after,
.title-sub.dc:not([data-aos])::after {
  animation: laRight 1s ease-in-out .3s forwards;
}

.t-title {
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--primary-color);
}

.t-title.c-white {
  color: #fff;
}

@media (max-width: 1200px) {
  .t-title {
    font-size: 4rem;
  }
}

@media (max-width: 800px) {
  .t-title {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .t-title {
    font-size: 2.2rem;
  }
}

.t-title-second {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--primary-color);
}

@media (max-width: 1200px) {
  .t-title-second {
    font-size: 2.7rem;
  }
}

@media (max-width: 800px) {
  .t-title-second {
    font-size: 2.2rem;
  }
}

/* Pill button: solid inner label + tinted tail holding an arrow icon */
.c-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: fit-content;
  padding-right: 1.4rem;
  overflow: hidden;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--primary-color);
  text-align: center;
  cursor: pointer;
  background: var(--primary-color-opacity);
  border-radius: 100rem;
  transition: .5s ease;
}

.c-btn > * {
  position: relative;
  z-index: 2;
}

.c-btn .inner {
  position: relative;
  display: block;
  padding: 1.2rem 1.6rem;
  color: #fff;
  border-radius: inherit;
}

.c-btn .inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: inherit;
  transition: .5s ease-in-out;
}

.c-btn .arrow {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
}

.c-btn:hover {
  color: #fff;
}

@media (hover: hover) {
  .c-btn:hover .inner::before {
    width: 200%;
  }
}

/* Outlined variants: .second (solid label, outline on hover), .second.trans (outline, solid on hover) */
.c-btn.second {
  padding-right: 0;
  border: .1rem solid var(--primary-color);
}

.c-btn.second .inner {
  width: 100%;
  padding: 1.2rem 2.4rem;
}

.c-btn.second .inner::before {
  transition: .2s ease-in-out;
}

.c-btn.second.trans {
  background-color: transparent;
}

.c-btn.second.trans .inner {
  color: var(--primary-color);
}

.c-btn.second.trans .inner::before {
  opacity: 0;
}

.c-btn.full {
  width: 100%;
}

@media (hover: hover) {
  .c-btn.second:not(.trans):hover .inner {
    color: var(--primary-color);
  }

  .c-btn.second:not(.trans):hover .inner::before {
    opacity: 0;
  }

  .c-btn.second.trans:hover .inner {
    color: #fff;
  }

  .c-btn.second.trans:hover .inner::before {
    width: 100%;
    opacity: 1;
  }
}

/* Swiper prev/next round buttons */
.c-swiper-btn {
  --size: 4rem;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size);
  height: var(--size);
  overflow: hidden;
  font-size: 1.6rem;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #fff;
  border: .1rem solid var(--primary-color);
  border-radius: 100rem;
  transition: .3s ease-in-out;
}

.c-swiper-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 0;
  height: 100%;
  pointer-events: none;
  background: var(--primary-color);
  transition: all .4s ease;
}

.c-swiper-btn > * {
  position: relative;
  z-index: 2;
}

.c-swiper-btn svg {
  width: 1.8rem;
  height: 1.8rem;
}

.c-swiper-btn.swiper-button-lock {
  display: none;
}

.c-swiper-btn.swiper-button-disabled {
  cursor: default;
  opacity: .5;
}

@media (hover: hover) {
  .c-swiper-btn:hover:not(.swiper-button-disabled) {
    color: #fff;
  }

  .c-swiper-btn:hover:not(.swiper-button-disabled)::after {
    left: 0;
    width: 100%;
  }
}

/* Image hover frame */
.hv-bd {
  position: relative;
}

.hv-bd::before {
  content: "";
  position: absolute;
  top: .8rem;
  right: .8rem;
  bottom: .8rem;
  left: .8rem;
  z-index: 1;
  border: .1rem solid #fff;
  border-radius: 1rem;
  opacity: 0;
  transform: scale(1.1);
  transition: .3s all ease-in-out;
}

.hv-bd img {
  transition: .3s all ease-in-out;
}

@media (hover: hover) {
  .hv-bd:hover::before {
    opacity: 1;
    transform: scale(1);
  }
}

/* Product grid + product card (shared by every product section) */
.pro-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -.6rem -1.2rem;
}

.pro-item {
  width: 20%;
  padding: 0 .6rem;
  margin-bottom: 1.2rem;
}

@media (max-width: 1199px) {
  .pro-item {
    width: 25%;
  }
}

@media (max-width: 900px) {
  .pro-item {
    width: calc(100% / 3);
  }
}

@media (max-width: 750px) {
  .pro-item {
    width: 50%;
  }
}

@media (max-width: 500px) {
  .pro-list {
    margin: 0 -.4rem -.8rem;
  }

  .pro-item {
    padding: 0 .4rem;
    margin-bottom: .8rem;
  }
}

@media (max-width: 360px) {
  .pro-item {
    width: 100%;
  }
}

.pro-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: .8rem;
  background-color: #fff;
  border: .1rem solid rgba(0, 0, 0, .1);
  border-radius: 1.2rem;
}

.pro-img {
  position: relative;
  display: block;
  padding-top: 100%;
  overflow: hidden;
  border-radius: .8rem;
}

.pro-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

@media (hover: hover) {
  .pro-img:hover img {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.pro-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .8rem;
  margin-top: .8rem;
}

@media (max-width: 500px) {
  .pro-content {
    font-size: 1.4rem;
  }
}

.pro-name {
  overflow: hidden;
  font-weight: 700;
}

.pro-name a {
  transition: .3s ease-in-out;
}

.pro-name a:hover {
  color: var(--primary-color);
}

.pro-tag {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.pro-tag-item {
  padding: .2rem .8rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--second-color);
  background-color: var(--second-color-opacity);
  border-radius: .4rem;
}

.pro-tag-item.sale {
  color: var(--primary-color);
  background-color: var(--primary-color-opacity);
}

.pro-bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  margin-top: auto;
}

.pro-price {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* WooCommerce price HTML: <del>old</del> <ins>current</ins>; current price is shown first */
.pro-price ins {
  order: -1;
  text-decoration: none;
}

.pro-price del {
  font-size: 1.2rem;
  color: #a0a0a0;
  text-decoration: line-through;
}

.pro-price .woocommerce-Price-amount bdi {
  white-space: nowrap;
}

/* WordPress / WooCommerce visually-hidden text */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Contact-to-order button (replaces the target's add-to-cart button) */
.pro-add {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  color: var(--primary-color);
  border: .1rem solid var(--primary-color);
  border-radius: 100rem;
  transition: .3s ease-in-out;
}

.pro-add:hover {
  color: #fff;
  background-color: var(--primary-color);
}

.pro-add svg {
  width: 1.6rem;
  height: 1.6rem;
  transition: .3s ease-in-out;
}

.pro-add .text {
  position: absolute;
  top: 50%;
  right: calc(100% + .5rem);
  padding: .3rem .8rem;
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  background-color: var(--third-color);
  border-radius: .4rem;
  opacity: 0;
  transform: translate(.5rem, -50%);
  transition: .3s ease-in-out;
}

@media (hover: hover) {
  .pro-add:hover .text {
    opacity: 1;
    transform: translate(0, -50%);
  }

  .pro-add:hover svg {
    transform: rotate(-12deg) scale(1.1);
  }
}

/* Pagination (products: woocommerce_pagination(); news: the_posts_pagination( [ 'class' => 'c-pagination' ] )) */
.c-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.6rem;
}

.c-pagination li:not(:first-child) {
  margin-left: 8px;
}

.c-pagination .page-numbers:not(ul) {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  overflow: hidden;
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--body-color);
  background-color: #f2f2f2;
  border-radius: 100rem;
  transition: color .4s ease;
}

.c-pagination .page-numbers:not(ul)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  pointer-events: none;
  background: var(--primary-color);
  transition: all .4s ease;
}

.c-pagination .page-numbers.current,
.c-pagination a.page-numbers:hover {
  color: #fff;
}

.c-pagination .page-numbers.current::after,
.c-pagination a.page-numbers:hover::after {
  left: 0;
  width: 100%;
}

.c-pagination svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* Floating stars ("dc-fruit") and spinning dot discs used behind coloured blocks */
.dc-fruit {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.dc-fruit-item {
  position: absolute;
  bottom: 0;
  width: 4.8rem;
  opacity: 0;
  animation: fruitAni 10s linear infinite;
}

.dc-fruit-item svg {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: .6;
}

.dc-fruit-item:nth-child(1) {
  left: 0;
  animation-delay: 1s;
}

.dc-fruit-item:nth-child(2) {
  left: 5%;
  animation-delay: 3s;
}

.dc-fruit-item:nth-child(3) {
  left: 10%;
}

.dc-fruit-item:nth-child(4) {
  left: 50%;
}

.dc-fruit-item:nth-child(5) {
  right: 10%;
  animation-delay: 3s;
}

.dc-fruit-item:nth-child(6) {
  right: 5%;
  animation-delay: 1s;
}

.dc-fruit-item:nth-child(7) {
  right: 0;
}

.dc-fruit-dot {
  position: absolute;
  z-index: -1;
  width: 24rem;
  animation: Spinner 30s linear infinite;
}

.dc-fruit-dot img {
  display: block;
  width: 100%;
}

.dc-fruit-dot.left {
  top: 20%;
  left: -12rem;
}

.dc-fruit-dot.right {
  right: -10rem;
  width: 20rem;
}

/* Wave strip (scroll-linked horizontal drift is driven from main.js) */
.wave {
  display: flex;
  height: var(--size-wave);
  overflow: hidden;
}

.wave-item {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  margin-left: -1px;
  will-change: transform;
}

.wave-item svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-item path {
  fill: var(--primary-color);
}

/* Split-text titles: chars rise in when AOS animates the heading */
[data-aos="split-up"] {
  opacity: 1;
}

[data-aos="split-up"] .word {
  display: inline-flex;
  overflow: hidden;
}

[data-aos="split-up"] .char {
  display: inline-block;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(100%);
  transition: .6s ease;
  transition-delay: calc(.01s * var(--char-index));
}

[data-aos="split-up"].aos-animate .char {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="split-fade"] {
  opacity: 1;
}

[data-aos="split-fade"] .char {
  opacity: 0;
  transition: .6s ease;
  transition-delay: calc(.05s * var(--char-index));
}

[data-aos="split-fade"].aos-animate .char {
  opacity: 1;
}

.sr-only-focusable:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: .8rem 1.6rem;
  color: #fff;
  background-color: var(--second-color);
  border-radius: .8rem;
}

/* Logo (shared markup in header and footer: hexagon honey mark + wordmark) */
.logo {
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 100%;
  color: var(--second-color);
}

.logo-mark {
  flex-shrink: 0;
  width: 30%;
}

.logo-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo-mark .hex {
  fill: none;
  stroke: var(--second-color);
}

.logo-mark .honey {
  fill: var(--primary-color);
}

.logo-mark .shine {
  fill: #fff;
  opacity: .45;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}

.logo-name {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.logo-tag {
  margin-top: .5rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--primary-color);
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .s-header .logo-name {
    font-size: 1.9rem;
  }

  .s-header .logo-tag {
    font-size: .75rem;
  }
}

.s-footer .logo-name {
  font-size: 3.2rem;
}

.s-footer .logo-tag {
  font-size: 1.15rem;
}

/* ---------- Keyframes ---------- */
@keyframes menuLa {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }

  50% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  75% {
    transform: rotate(10deg);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transform: rotate(0deg);
  }
}

@keyframes laRight {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }

  50% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  75% {
    transform: rotate(10deg);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transform: rotate(0deg);
  }
}

@keyframes fruitAni {
  0% {
    bottom: 0;
    opacity: 0;
    transform: rotate(0);
  }

  33% {
    bottom: 60%;
    opacity: 1;
    transform: rotate(360deg);
  }

  66% {
    bottom: 100%;
    opacity: 0;
    transform: rotate(480deg);
  }

  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes Spinner {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes tada {
  0% {
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

/* Scrolls a tall screenshot inside its frame; the frame sets --height (main.js) */
@keyframes imgPageScr {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(-100% + var(--height)));
  }
}

@keyframes BTT {
  0% {
    opacity: 0;
  }

  33% {
    opacity: 1;
  }

  66% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes phoneRing {
  0% {
    transform: rotate(0) scale(1) skew(1deg);
  }

  10% {
    transform: rotate(-25deg) scale(1) skew(1deg);
  }

  20% {
    transform: rotate(25deg) scale(1) skew(1deg);
  }

  30% {
    transform: rotate(-25deg) scale(1) skew(1deg);
  }

  40% {
    transform: rotate(25deg) scale(1) skew(1deg);
  }

  50%,
  100% {
    transform: rotate(0) scale(1) skew(1deg);
  }
}

@keyframes ringPulse {
  0% {
    opacity: .6;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}


/* ===== shared/back-to-top ===== */
.s-back-to-top {
  position: fixed;
  right: 3rem;
  bottom: 6rem;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 4rem;
  height: 4rem;
  visibility: hidden;
  cursor: pointer;
  background-color: var(--primary-color);
  border-radius: .6rem;
  box-shadow: rgba(149, 157, 165, .2) 0 8px 24px;
  opacity: 0;
  transform: translateX(3rem);
  transition: .5s linear;
}

.s-back-to-top.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.s-back-to-top .triangle {
  display: block;
  width: 0;
  height: 0;
  margin-top: -6px;
  border: 8px solid transparent;
  border-bottom: 6px solid #fff;
  border-radius: 5px;
}

.s-back-to-top .triangle:nth-child(1) {
  animation: BTT 1.5s linear .6s infinite;
}

.s-back-to-top .triangle:nth-child(2) {
  animation: BTT 1.5s linear .3s infinite;
}

.s-back-to-top .triangle:nth-child(3) {
  animation: BTT 1.5s linear 0s infinite;
}

@media (max-width: 800px) {
  .s-back-to-top {
    right: 1.5rem;
    bottom: calc(var(--size-fix) + 1.5rem);
  }
}

/* ===== shared/breadcrumb ===== */
.s-breadcrumb {
  padding: 1.2rem 0;
}

@media (min-width: 1199px) {
  .s-breadcrumb .bc-wrapper {
    width: fit-content;
    padding: 1rem 1.8rem;
    border: .1rem solid var(--primary-color);
    border-radius: 100rem;
  }
}

.s-breadcrumb .bc-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  overflow: hidden;
}

.s-breadcrumb .bc-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.55;
}

.s-breadcrumb .bc-item:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: .4rem;
  height: .4rem;
  background-color: rgba(0, 0, 0, .45);
  border-radius: 100rem;
}

.s-breadcrumb .bc-item.is-current {
  color: var(--primary-color);
}

.s-breadcrumb .bc-link {
  color: inherit;
  transition: .2s ease-in-out;
}

.s-breadcrumb a.bc-link:hover {
  color: var(--primary-color);
}

/* ===== shared/broll ===== */
/* Honey marquee band. Variants: .is-second (caramel), .is-third (caramel, scrolls the other way, image on the left) */
.s-broll {
  position: relative;
  isolation: isolate;
  height: 32rem;
  overflow: hidden;
}

@media (max-width: 1199px) {
  .s-broll {
    height: 20rem;
  }
}

.s-broll .broll-line {
  position: absolute;
  z-index: -1;
  height: 6rem;
}

.s-broll .broll-line.down {
  bottom: 3rem;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
}

.s-broll .broll-line.up {
  bottom: 6rem;
  left: -10%;
  width: 150%;
  background-color: var(--second-color);
}

@media (max-width: 1199px) {
  .s-broll .broll-line {
    height: 4rem;
  }

  .s-broll .broll-line.down {
    bottom: 0;
  }

  .s-broll .broll-line.up {
    bottom: 3.5rem;
  }
}

.s-broll .broll-track {
  display: flex;
  will-change: transform;
  transition: transform .9s cubic-bezier(.2, .6, .3, 1);
}

.s-broll .broll-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1rem;
  height: 6rem;
  padding: 0 1.2rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .s-broll .broll-wrap {
    height: 4rem;
  }
}

.s-broll .broll-wrap .icon {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  background: url(../images/con-ong.png) center / contain no-repeat;
}

.s-broll .container,
.s-broll .broll-img {
  height: 100%;
}

.s-broll .broll-img img {
  display: block;
  width: auto;
  height: 100%;
  margin-left: auto;
}

.s-broll.is-second .broll-line.up,
.s-broll.is-third .broll-line.up {
  background-color: var(--third-color);
}

.s-broll.is-third .broll-line.up {
  right: -10%;
  left: auto;
}

.s-broll.is-third .broll-img img {
  margin-left: 0;
}

/* ===== shared/cate ===== */
.s-cate .cate-btn {
  position: relative;
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  cursor: pointer;
}

.s-cate .cate-btn.out {
  position: fixed;
  top: calc(var(--size-hd-sale) + var(--size-hd-top) + var(--size-hd-bot) + 5rem);
  left: 5rem;
  z-index: 40;
  border: .1rem solid #fff;
  border-radius: 100rem;
  transition: .3s ease-in-out;
}

.has-sticky-header .s-cate .cate-btn.out {
  top: calc(var(--size-hd-top) + var(--size-hd-bot) + 5rem);
}

.s-cate .cate-btn.out.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
}

@media (max-width: 1199px) {
  .s-cate .cate-btn.out {
    display: none;
  }
}

.s-cate .cate-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 100rem;
}

.s-cate .cate-btn-inner img {
  width: 2rem;
}

.s-cate .cate-btn-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10rem;
  height: 10rem;
  color: var(--primary-color);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.s-cate .cate-btn-text svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: Spinner 10s linear infinite;
}

.s-cate .cate-btn-text text {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .6px;
  fill: currentColor;
}

.s-cate .cate {
  --pd: 2rem;
  position: fixed;
  top: calc(var(--size-hd-sale) + var(--size-hd-top) + var(--size-hd-bot) + 1.5rem);
  bottom: 0;
  left: 0;
  z-index: 50;
  width: calc((100vw - 120rem) / 2 - 1.5rem);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-100%, 0);
  transition: .3s ease-in-out;
}

.has-sticky-header .s-cate .cate {
  top: calc(var(--size-hd-top) + var(--size-hd-bot) + 1.5rem);
}

.s-cate .cate.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 1650px) {
  .s-cate .cate {
    width: 32rem;
  }
}

@media (max-width: 1199px) {
  .s-cate .cate,
  .has-sticky-header .s-cate .cate {
    top: calc(var(--size-hd-sale) + var(--size-hd-top));
  }
}

@media (max-width: 800px) {
  .s-cate .cate {
    bottom: var(--size-fix);
  }
}

.s-cate .cate-wrapper {
  padding: var(--pd);
  background-color: #fff;
  border: .1rem solid rgba(0, 0, 0, .1);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.s-cate .cate-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.s-cate .cate-head-text .text {
  transition: .3s ease-in-out;
}

.s-cate .cate-head-text .text:hover {
  color: var(--primary-color);
}

.s-cate .cate-menu .menu-item {
  font-weight: 700;
  transition: .1s ease-in-out;
}

.s-cate .cate-menu .menu-item:not(:last-child) {
  border-bottom: .1rem dashed rgba(0, 0, 0, .1);
}

.s-cate .cate-menu .menu-item:hover {
  border-bottom-color: var(--primary-color);
}

.s-cate .cate-menu .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0;
  transition: .3s ease-in-out;
}

.s-cate .cate-menu .menu-link:hover {
  color: var(--primary-color);
}

/* ===== shared/contact-float ===== */
/* Floating Phone + Zalo box, bottom-left on desktop/tablet (the mobile bottom bar takes over below 801px) */
.s-contact-float {
  position: fixed;
  bottom: 6rem;
  left: 3rem;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

@media (max-width: 1199px) {
  .s-contact-float {
    bottom: 4rem;
    left: 1.5rem;
    gap: 1.2rem;
  }

  .s-contact-float .cf-icon {
    width: 4.4rem;
    height: 4.4rem;
  }

  .s-contact-float .cf-label {
    left: 2.2rem;
  }
}

@media (max-width: 800px) {
  .s-contact-float {
    display: none;
  }
}

.s-contact-float .cf-item {
  position: relative;
  display: flex;
  align-items: center;
}

.s-contact-float .cf-icon {
  position: relative;
  z-index: 2;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  color: #fff;
  background-color: var(--cf-color);
  border-radius: 100rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

.s-contact-float .cf-icon::before,
.s-contact-float .cf-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-color: var(--cf-color);
  border-radius: inherit;
  animation: ringPulse 1.8s ease-out infinite;
}

.s-contact-float .cf-icon::after {
  animation-delay: .9s;
}

.s-contact-float .cf-icon svg {
  width: 2.4rem;
  height: 2.4rem;
}

.s-contact-float .cf-phone {
  --cf-color: var(--primary-color);
}

.s-contact-float .cf-phone .cf-icon svg {
  animation: phoneRing 1.5s ease-in-out infinite;
}

.s-contact-float .cf-zalo {
  --cf-color: var(--zalo-color);
}

.s-contact-float .cf-zalo .cf-icon svg {
  width: 3.4rem;
  height: 3.4rem;
}

.s-contact-float .cf-label {
  position: absolute;
  top: 50%;
  left: 2.6rem;
  padding: .8rem 1.6rem .8rem 3.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.55;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  background-color: var(--cf-color);
  border-radius: 0 100rem 100rem 0;
  opacity: 0;
  transform: translate(-1rem, -50%);
  transition: .3s ease-in-out;
}

.s-contact-float .cf-item:hover .cf-label,
.s-contact-float .cf-item:focus .cf-label {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ===== shared/fix-menu ===== */
/* Mobile bottom bar (target shows Home / Hotline / Category); Zalo added for contact-to-order */
.s-fix-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  height: var(--size-fix);
  background-color: #fff;
  box-shadow: rgba(99, 99, 99, .2) 0 -2px 8px 0;
}

@media (min-width: 801px) {
  .s-fix-menu {
    display: none;
  }
}

.s-fix-menu .fix-menu-item {
  flex: 1;
}

.s-fix-menu .fix-menu-item:not(:last-child) {
  border-right: .1rem solid rgba(0, 0, 0, .1);
}

.s-fix-menu .fix-menu-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  width: 100%;
  height: 100%;
  padding: .8rem;
  font-size: 1.2rem;
  line-height: 1.55;
}

.s-fix-menu .fix-menu-wrap .icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
  background-color: var(--primary-color-opacity);
  border-radius: 100rem;
}

.s-fix-menu .fix-menu-wrap .icon svg,
.s-fix-menu .fix-menu-wrap .icon img {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.s-fix-menu .my-home .icon {
  color: var(--third-color);
  background-color: transparent;
}

.s-fix-menu .my-home .icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.s-fix-menu .my-phone .icon svg {
  animation: phoneRing 1.5s ease-in-out infinite;
}

.s-fix-menu .my-zalo .icon {
  color: #fff;
  background-color: var(--zalo-color);
}

.s-fix-menu .my-zalo .icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.s-fix-menu .my-cate .icon {
  background-color: var(--primary-color);
}

/* ===== shared/footer ===== */
.s-footer {
  position: relative;
  padding-top: calc(8rem - (44 / 1728 * 100vw));
  font-size: 1.4rem;
  line-height: 1.55;
}

.s-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  background-color: var(--primary-color-opacity);
}

@media (max-width: 1199px) {
  .s-footer {
    padding-top: calc(4rem + (44 / 1728 * 100vw));
  }
}

@media (max-width: 800px) {
  .s-footer {
    padding-bottom: var(--size-fix);
  }
}

.s-footer .ft-rc {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  z-index: 1;
  width: 100%;
  height: calc(44 / 1728 * 100vw);
}

@media (max-width: 1300px) {
  .s-footer .ft-rc {
    display: none;
  }
}

.s-footer .ft-rc svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(180deg) translateY(-3px);
}

.s-footer .ft-rc path {
  fill: var(--primary-color-opacity);
}

.s-footer .dc-fruit-item svg {
  color: var(--primary-color);
}

.s-footer .ft-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 4rem;
}

@media (max-width: 700px) {
  .s-footer .ft-top {
    flex-wrap: wrap;
  }

  .s-footer .ft-top .left {
    width: 100%;
  }
}

.s-footer .ft-top .right {
  width: 78rem;
  max-width: 100%;
}

@media (max-width: 700px) {
  .s-footer .ft-top .right {
    width: 100%;
  }
}

.s-footer .ft-logo {
  width: 21rem;
  max-width: 100%;
}

@media (max-width: 700px) {
  .s-footer .ft-logo {
    width: 18rem;
    margin: 0 auto;
  }
}

.s-footer .ft-regi {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 700px) {
  .s-footer .ft-regi {
    flex-wrap: wrap;
    text-align: center;
  }
}

.s-footer .ft-regi .title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--primary-color);
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .s-footer .ft-regi .title {
    font-size: 2.7rem;
  }
}

@media (max-width: 800px) {
  .s-footer .ft-regi .title {
    font-size: 2.2rem;
  }
}

@media (max-width: 700px) {
  .s-footer .ft-regi .title {
    width: 100%;
    white-space: normal;
  }
}

.s-footer .ft-regi form {
  flex: 1;
}

@media (max-width: 700px) {
  .s-footer .ft-regi form {
    flex: none;
    width: 100%;
  }
}

.s-footer .ft-regi-wrap {
  position: relative;
}

.s-footer .ft-regi-wrap .re-input {
  height: 5.2rem;
  padding: 1.6rem 5rem 1.6rem 1.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  background-color: #fff;
  border: .1rem solid rgba(0, 0, 0, .1);
  border-radius: .8rem;
  transition: .3s ease-in-out;
}

.s-footer .ft-regi-wrap .re-input:focus {
  border-color: var(--primary-color);
}

.s-footer .ft-regi-btn {
  position: absolute;
  top: 50%;
  right: 1.8rem;
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
}

.s-footer .ft-regi-btn svg {
  display: block;
  width: 100%;
  height: 100%;
}

.s-footer .ft-regi-btn path {
  fill: var(--primary-color);
}

.s-footer .ft-regi-msg {
  margin-top: .8rem;
  font-weight: 700;
  color: var(--third-color);
}

.s-footer .ft-regi-msg[hidden] {
  display: none;
}

.s-footer .ft-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1.2rem -2.4rem;
}

.s-footer .ft-col {
  width: 100%;
  padding: 0 1.2rem;
  margin-bottom: 2.4rem;
}

@media (min-width: 371px) {
  .s-footer .ft-col:nth-child(3),
  .s-footer .ft-col:nth-child(4) {
    width: 50%;
  }
}

@media (min-width: 601px) {
  .s-footer .ft-col:nth-child(1),
  .s-footer .ft-col:nth-child(2) {
    width: 50%;
  }
}

@media (min-width: 1101px) {
  .s-footer .ft-col:nth-child(1) {
    width: calc(4 / 12 * 100%);
  }

  .s-footer .ft-col:nth-child(2),
  .s-footer .ft-col:nth-child(3) {
    width: calc(3 / 12 * 100%);
  }

  .s-footer .ft-col:nth-child(4) {
    width: calc(2 / 12 * 100%);
  }
}

.s-footer .ft-col-block:not(:last-child) {
  margin-bottom: 2.4rem;
}

.s-footer .ft-col-block p + p {
  margin-top: 1rem;
}

.s-footer .ft-title {
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.s-footer .ft-ct-fl {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .8rem;
  font-weight: 700;
}

.s-footer .ft-ct-fl img {
  position: relative;
  top: -.1rem;
  display: block;
  width: 1.5rem;
}

.s-footer .ft-ct-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: .8rem;
}

.s-footer .ft-ct-nav-item {
  padding: .4rem .8rem;
  font-size: 1.4rem;
  line-height: 1.55;
  background-color: rgba(var(--primary-color-rgb), .2);
  border-radius: .4rem;
  transition: .3s ease-in-out;
}

.s-footer .ft-ct-nav-item.is-active {
  color: #fff;
  background-color: var(--primary-color);
}

.s-footer .ft-ct-panel {
  display: none;
}

.s-footer .ft-ct-panel.is-active {
  display: block;
}

.s-footer .ft-ct-item:not(:last-child) {
  margin-bottom: 1.2rem;
}

.s-footer .ft-ct-action a {
  transition: .3s ease-in-out;
}

.s-footer .ft-ct-action a:hover,
.s-footer .ft-menu .menu-link:hover {
  color: var(--primary-color);
}

.s-footer .ft-menu .menu-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.s-footer .ft-menu .menu-link {
  transition: .3s ease-in-out;
}

.s-footer .ft-menu .is-current .menu-link {
  font-weight: 700;
  color: var(--primary-color);
}

.s-footer .social-list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.s-footer .social-link {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  color: var(--primary-color);
  transition: .3s ease-in-out;
}

.s-footer .social-link:hover {
  color: var(--primary-color);
  transform: translateY(-5px);
}

.s-footer .social-link svg {
  display: block;
  width: 100%;
  height: 100%;
}

.s-footer .ft-cp {
  padding: 1.2rem 0;
  margin-top: 8rem;
  font-weight: 700;
  color: #3a3a3a;
  text-align: center;
  background-color: var(--primary-color);
  border-radius: 2.4rem 2.4rem 0 0;
}

@media (max-width: 500px) {
  .s-footer .ft-cp {
    font-size: 1.2rem;
  }
}

.s-footer .ft-cp strong {
  color: #fff;
}

/* ===== shared/header ===== */
.s-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background-color: #fff;
  border-bottom: .1rem solid transparent;
  transition: .3s ease-in-out;
}

@media (max-width: 1199px) {
  .s-header {
    border-bottom-color: rgba(0, 0, 0, .1);
  }
}

@media (min-width: 1200px) {
  .s-header.is-sticky {
    border-bottom-color: rgba(0, 0, 0, .1);
    transform: translateY(calc(var(--size-hd-sale) * -1));
  }
}

.s-header .hd-sale {
  height: var(--size-hd-sale);
  color: #fff;
  text-align: center;
  background-color: var(--primary-color);
  border-radius: 0 0 2.4rem 2.4rem;
}

.s-header .hd-sale .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.s-header .hd-sale-text {
  overflow: hidden;
  font-size: 1.4rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.s-header .hd-sale-text span {
  font-size: 1.6rem;
  font-weight: 700;
}

@media (max-width: 500px) {
  .s-header .hd-sale-text {
    font-size: 1.2rem;
  }

  .s-header .hd-sale-text span {
    font-size: 1.4rem;
  }
}

@media (max-width: 350px) {
  .s-header .hd-sale-text {
    font-size: 1rem;
  }

  .s-header .hd-sale-text span {
    font-size: 1.2rem;
  }
}

.s-header .hd-main-wrapper {
  display: flex;
  align-items: center;
}

.s-header .hd-logo-inner {
  margin-right: 2.4rem;
}

@media (min-width: 1651px) {
  .s-header .hd-logo-inner {
    width: calc(100% + 20rem);
    margin-right: 0;
    margin-left: -20rem;
  }
}

.s-header .hd-logo .logo {
  width: 17rem;
}

@media (max-width: 1199px) {
  .s-header .hd-logo .logo {
    width: 13rem;
  }
}

@media (max-width: 360px) {
  .s-header .hd-logo .logo {
    width: 11rem;
  }
}

.s-header .hd-right {
  flex: 1;
}

@media (max-width: 1199px) {
  .s-header .hd-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.s-header .hd-top {
  display: flex;
  align-items: center;
  height: var(--size-hd-top);
  transition: .3s ease-in-out;
}

.s-header .hd-bot {
  height: var(--size-hd-bot);
}

@media (max-width: 1199px) {
  .s-header .hd-bot {
    display: none;
  }
}

/* Search */
.s-header .re-search {
  flex: 1;
}

.s-header .re-search-wrap {
  position: relative;
}

.s-header .re-search .re-input {
  height: 4.4rem;
  padding: 1.2rem 5rem 1.2rem 1.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  background-color: #fff;
  border: .1rem solid var(--primary-color);
  border-radius: .8rem;
  transition: .3s ease-in-out;
}

.s-header .re-search .re-input:focus {
  border-color: var(--second-color);
}

.s-header .re-search-btn {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  display: flex;
  transform: translateY(-50%);
}

.s-header .re-search-btn path {
  fill: var(--primary-color);
}

@media (max-width: 750px) {
  .s-header .re-search {
    position: absolute;
    top: calc(100% + 1rem);
    right: 1rem;
    left: 1rem;
    visibility: hidden;
    opacity: 0;
    transform: translate(0, 2rem);
    transition: .3s ease-in-out;
  }

  .s-header .re-search.is-open {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* Contact items */
.s-header .hd-ct {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-left: 6rem;
}

@media (max-width: 1199px) {
  .s-header .hd-ct {
    margin-left: 2.4rem;
  }
}

@media (max-width: 1000px) {
  .s-header .hd-ct {
    gap: 1.6rem;
  }
}

@media (max-width: 750px) {
  .s-header .hd-ct {
    margin-left: auto;
  }
}

.s-header .hd-icon-cate,
.s-header .hd-icon-search,
.s-header .hd-ct-item .icon {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  background-color: var(--color);
  border-radius: 100rem;
}

@media (max-width: 400px) {
  .s-header .hd-icon-cate,
  .s-header .hd-icon-search,
  .s-header .hd-ct-item .icon {
    width: 4rem;
    height: 4rem;
  }
}

.s-header .hd-icon-cate::before,
.s-header .hd-icon-search::before,
.s-header .hd-ct-item .icon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  border: .1rem solid var(--color);
  border-radius: inherit;
  transition: .3s ease-in-out;
}

@media (max-width: 1199px) {
  .s-header .hd-icon-cate::before,
  .s-header .hd-icon-search::before,
  .s-header .hd-ct-item .icon::before {
    transform: scale(1.2);
  }
}

.s-header .hd-icon-cate img,
.s-header .hd-icon-search img,
.s-header .hd-ct-item .icon svg {
  width: 2rem;
  height: auto;
}

.s-header .hd-icon-search {
  --color: var(--primary-color-opacity);
}

.s-header .hd-icon-search img {
  width: 1.8rem;
}

@media (min-width: 751px) {
  .s-header .hd-icon-search {
    display: none;
  }
}

.s-header .hd-icon-cate {
  --color: var(--primary-color);
}

.s-header .hd-icon-cate img {
  transition: .3s ease-in-out;
}

.s-header .hd-icon-cate.is-active img {
  transform: rotate(180deg);
}

@media (min-width: 1200px), (max-width: 800px) {
  .s-header .hd-icon-cate {
    display: none;
  }
}

.s-header .hd-ct-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  line-height: 1.55;
  white-space: nowrap;
  cursor: pointer;
}

@media (hover: hover) {
  .s-header .hd-ct-item:hover .icon::before {
    transform: scale(1.2);
  }
}

.s-header .hd-ct-item .title {
  display: block;
}

.s-header .hd-ct-item .action {
  font-weight: 700;
  color: var(--color-strong);
}

.s-header .hd-ct-phone {
  --color: var(--primary-color-opacity);
  --color-strong: var(--primary-color);
}

.s-header .hd-ct-phone .icon svg {
  color: var(--primary-color);
}

.s-header .hd-ct-zalo {
  --color: var(--second-color-opacity);
  --color-strong: var(--second-color);
}

.s-header .hd-ct-zalo .icon svg {
  width: 2.6rem;
  color: var(--zalo-color);
}

@media (max-width: 1000px) {
  .s-header .hd-ct-item .content {
    display: none;
  }
}

/* Burger */
.s-header .hd-burger {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  margin-left: 2.4rem;
}

@media (min-width: 1200px) {
  .s-header .hd-burger {
    display: none;
  }
}

@media (max-width: 600px) {
  .s-header .hd-burger .text {
    display: none;
  }
}

.s-header .hamburger .line {
  display: block;
  width: 2.4rem;
  height: .2rem;
  margin: .5rem 0;
  background: var(--primary-color);
  border-radius: .4rem;
  transform-origin: 50% 50%;
  transition: all .5s ease;
}

.s-header .hamburger .line:nth-child(2) {
  width: 1.8rem;
  margin-left: auto;
}

.s-header .hd-burger.is-active .line:nth-child(1) {
  transform: translate3d(0, .3rem, 0) rotate(45deg);
}

.s-header .hd-burger.is-active .line:nth-child(2) {
  width: 2.4rem;
  transform: translate3d(0, -.4rem, 0) rotate(135deg);
}

/* Desktop navigation */
.s-header .hd-nav,
.s-header .hd-nav .menu-list {
  height: 100%;
}

.s-header .hd-nav .menu-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s-header .hd-nav .menu-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.s-header .hd-nav .menu-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: .2rem;
  background: var(--primary-color);
  border-radius: 100px;
  transform: translateX(-50%);
  transition: .3s ease-in-out;
}

.s-header .hd-nav .menu-item::after {
  content: "";
  position: absolute;
  top: .4rem;
  left: calc(100% + .2rem);
  width: 1.9rem;
  height: 1.9rem;
  background: url(../images/con-ong.png) center / contain no-repeat;
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  transform: rotate(-15deg);
}

.s-header .hd-nav .menu-item:hover::before,
.s-header .hd-nav .menu-item.is-current::before {
  width: 100%;
}

.s-header .hd-nav .menu-item:hover::after,
.s-header .hd-nav .menu-item.is-current::after {
  animation: menuLa 1s ease-in-out .5s forwards;
}

.s-header .hd-nav .menu-link {
  display: flex;
  align-items: center;
  height: 100%;
  font-weight: 600;
  color: var(--body-color);
  transition: .2s ease-in-out;
}

/* Mobile drawer */
.s-header .mobile-overlay {
  position: fixed;
  top: calc(var(--size-hd-sale) + var(--size-hd-top));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  visibility: hidden;
  background-color: rgba(0, 0, 0, .8);
  border-top: 1px solid rgba(0, 0, 0, .1);
  opacity: 0;
  transform: translateX(-110%);
  transition: .6s ease;
}

.s-header .mobile-overlay.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.s-header .mobile {
  position: fixed;
  top: calc(var(--size-hd-sale) + var(--size-hd-top));
  bottom: 0;
  left: 0;
  z-index: 140;
  width: 50rem;
  min-width: 50rem;
  background-color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
  transform: translateX(-110%);
  transition: .4s linear;
}

.s-header .mobile.is-open {
  transform: translateX(0);
}

@media (min-width: 1200px) {
  .s-header .mobile,
  .s-header .mobile-overlay {
    display: none;
  }
}

@media (max-width: 800px) {
  .s-header .mobile {
    bottom: var(--size-fix);
  }
}

@media (max-width: 500px) {
  .s-header .mobile {
    width: 70%;
    min-width: 0;
  }
}

.s-header .mobile-con {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.s-header .mobile-wr {
  position: relative;
  padding-bottom: 6rem;
}

.s-header .mobile-nav .menu-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #303030;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  transition: .3s ease-in-out;
}

.s-header .mobile-nav .menu-link::after {
  content: "";
  position: absolute;
  top: 1.4rem;
  left: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  background: url(../images/la-dc-1.svg) center / contain no-repeat;
  opacity: 0;
  transform: rotate(-107deg);
}

.s-header .mobile-nav .is-current .menu-link {
  padding-left: 3rem;
  color: var(--primary-color);
}

.s-header .mobile-nav .is-current .menu-link::after {
  opacity: 1;
}

.s-header .mobile-mxh {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 4rem;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.s-header .mobile-mxh-link {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--primary-color);
  background-color: #fff;
}

.s-header .mobile-mxh-link:not(:first-child) {
  border-left: 1px solid rgba(0, 0, 0, .1);
}

.s-header .mobile-mxh-link svg {
  width: 2.4rem;
  height: 2.4rem;
}
