/* ==========================================================================
   KTK Corp — giao diện theo thiết kế Figma (marker toàn site: body.ktk)
   Số liệu (màu, cỡ chữ, bo góc, khoảng cách) đọc từ bản export, không ước lượng.
   ========================================================================== */
body.ktk {
  --ktk-red: rgb(230, 0, 18);
  --ktk-cream: rgb(255, 249, 220);
  --ktk-ink: rgb(26, 20, 19);
  --ktk-font-ui: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--ktk-cream);
}
body.ktk .wap-hearder { background: transparent; }
body.ktk .wap-menu { background: transparent; position: static; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 10px;
  background-color: #fff;
  color: #000;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
  width: 100%;
  max-width: 1280px;
  padding: 4px 16px;
  box-sizing: border-box;
}
.site-header__logo { display: block; flex-shrink: 0; }
.site-header__logo img { display: block; height: 48px; width: auto; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}
.site-header__link {
  position: relative;
  padding: 0 0 2px;
  font-family: var(--ktk-font-ui);
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 28px;
  color: var(--ktk-ink);
  white-space: nowrap;
  text-decoration: none;
}
.site-header__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--ktk-red);
  transform: translateX(-50%) scaleX(0);
  transition: transform .25s ease;
}
.site-header__link:hover,
.site-header__link:focus-visible,
.site-header__link.is-active { color: var(--ktk-ink); text-decoration: none; }
.site-header__link:hover::after,
.site-header__link:focus-visible::after,
.site-header__link.is-active::after { transform: translateX(-50%) scaleX(1); }
.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 40px;
  padding: 8px 20px;
  box-sizing: border-box;
  border: 1px solid var(--ktk-red);
  border-radius: 999px;
  background-color: var(--ktk-red);
  font-family: var(--ktk-font-ui);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.site-header__cta:hover { background-color: #fff; color: var(--ktk-red); text-decoration: none; }

/* Cuộn xuống quá chiều cao header: header tách khỏi dòng, trượt xuống từ trên */
.site-header.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  animation: site-header-in .35s ease both;
}
@keyframes site-header-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.site-header__item { position: relative; }
.site-header__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 5;
  min-width: 220px;
  margin: 0;
  padding: 12px 8px 8px;
  list-style: none;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.site-header__item.has-sub:hover .site-header__sub,
.site-header__item.has-sub:focus-within .site-header__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.site-header__sub-link {
  display: block;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: var(--ktk-font-ui);
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
  color: var(--ktk-ink);
  white-space: nowrap;
  text-decoration: none;
}
.site-header__sub-link:hover { background-color: var(--ktk-cream); color: var(--ktk-red); text-decoration: none; }

.site-header__tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-header__lang { position: relative; }
.site-header__lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--ktk-font-ui);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .35px;
  text-transform: uppercase;
  color: #000;
}
.site-header__globe { display: block; width: 16px; height: 16px; }
.site-header__chev { display: block; width: 8px; height: 5px; transition: transform .2s; }
.site-header__lang.is-open .site-header__chev { transform: rotate(180deg); }
.site-header__lang-list {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 5;
  min-width: 120px;
  margin: 6px 0 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.site-header__lang.is-open .site-header__lang-list { opacity: 1; visibility: visible; }
.site-header__lang-opt {
  display: block;
  width: 100%;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  font-family: var(--ktk-font-ui);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--ktk-ink);
  cursor: pointer;
}
.site-header__lang-opt:hover { background-color: var(--ktk-cream); color: var(--ktk-red); }

/* Ẩn thanh/ banner mặc định của Google Translate */
body.ktk { top: 0 !important; }
.goog-te-banner-frame, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 50px 50px;
}
.hero__slides { display: block; }
.hero__slide { display: block; }
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 654; /* 1440x730 của thiết kế trừ 76px header phủ phía trên */
  object-fit: cover;
  object-position: center bottom;
}
.hero__controls {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 32px;
  background-color: rgb(73, 71, 54);
  transform: translateX(-50%);
}
.hero__dots { display: flex; align-items: center; gap: 6px; }
.hero__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 5px;
  box-sizing: border-box;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width .3s ease;
}
.hero__dot.is-active { width: 83px; }
.hero__dot-fill {
  position: relative;
  display: block;
  width: 100%;
  height: 15px;
  overflow: hidden;
  border-radius: 999px;
  background-color: rgb(146, 145, 134);
}
.hero__dot-fill::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background-color: rgb(204, 255, 0);
  transform: scaleX(0);
  transform-origin: left center;
}
.hero__dot.is-active .hero__dot-fill::before {
  animation: hero-progress var(--hero-delay, 5000ms) linear forwards;
}
.hero__dot:not(.is-active) .hero__dot-fill::before { display: none; }
.hero.is-paused .hero__dot.is-active .hero__dot-fill::before { animation-play-state: paused; }
@keyframes hero-progress { from { transform: scaleX(0.012); } to { transform: scaleX(1); } }
.hero__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: rgb(130, 132, 113);
  cursor: pointer;
}
.hero__icon { display: block; height: 14px; width: auto; }
.hero__icon--play { display: none; }
.hero.is-paused .hero__icon--pause { display: none; }
.hero.is-paused .hero__icon--play { display: block; }

/* ---------- Về chúng tôi ---------- */
body.ktk { --ktk-font-text: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.about {
  position: relative;
  display: grid;
  /* Thiết kế: 515 + 72 + 686.1 trong khung 1240 (tràn ~33px, bị overflow ẩn) nên giữ đúng tỉ lệ đó */
  grid-template-columns: 41.53% 55.33%;
  align-items: center;
  column-gap: 5.81%;
  padding: 40px 6.944%; /* 100px / 1440 */
  overflow: hidden;
  background-color: var(--ktk-cream);
  font-family: var(--ktk-font-text);
}
.about__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 21.08%; /* 303.5 / 1440 */
  height: auto;
  transform: rotate(180deg);
  pointer-events: none;
}
.about__swoosh {
  position: absolute;
  top: -97%;
  left: -8.29%;
  width: 40.96%; /* 589.772 / 1440 */
  height: auto;
  opacity: .9;
  transform: rotate(33.9deg);
  transform-origin: 0 0;
  pointer-events: none;
}
.about__text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
  padding-right: 11.65%; /* 60 / 515 */
}
.about__head { display: flex; flex-direction: column; gap: 2px; align-self: stretch; }
.about__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -.15px;
  color: rgb(237, 32, 37);
}
.about__label-line { display: block; width: 32px; height: 2px; background-color: rgb(196, 146, 43); }
.about__body { display: flex; flex-direction: column; gap: 12px; align-self: stretch; }
.about__title {
  margin: 0;
  font-weight: 900;
  font-style: italic;
  font-size: 32px;
  line-height: 46px;
  letter-spacing: -.3px;
  color: rgb(237, 32, 37);
  text-wrap: balance;
}
.about__desc {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  text-align: justify;
  color: rgb(68, 63, 36);
}
.about__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 23px;
  border-radius: 100px;
  box-shadow: inset 0 0 0 1px rgb(237, 32, 37);
  font-weight: 900;
  font-size: 16px;
  line-height: 45px;
  color: rgb(237, 32, 37);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.about__btn img { display: block; width: 22px; height: 22px; padding: 3px; box-sizing: border-box; transition: filter .2s; }
.about__btn:hover { background-color: rgb(237, 32, 37); color: #fff; text-decoration: none; }
.about__btn:hover img { filter: brightness(0) invert(1); }

.about__visual {
  position: relative;
  aspect-ratio: 686.101 / 452.359;
  overflow: hidden;
}
.about__defs { position: absolute; width: 0; height: 0; }
.about__photo {
  position: absolute;
  left: 3.206%;
  top: 6.995%;
  width: 89.49%;
  height: 79.14%;
  object-fit: cover;
  object-position: 98% 100%;
  clip-path: url(#aboutBlob);
}
.about__deco, .about__badge { position: absolute; display: block; height: auto; }
.about__deco--leaf-a { left: 0; top: 74.2%; width: 16.85%; }
.about__deco--drop-a { left: 4.81%; top: 6.33%; width: 11.59%; }
.about__deco--drop-b { left: 100%; top: 27.4%; width: 7.51%; transform: matrix(-0.966, -0.259, -0.259, 0.966, 0, 0); transform-origin: 0 0; }
.about__deco--leaf-b { left: 80.68%; top: 69.55%; width: 15.14%; transform: matrix(0.99, 0.14, -0.14, 0.99, 0, 0); transform-origin: 0 0; }
.about__badge { left: 80.16%; top: 0; width: 16.85%; }

@media (max-width: 1001px) {
  .about { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding: 40px 20px; }
  .about__text { padding-right: 0; }
  .about__title { font-size: 26px; line-height: 38px; }
  .about__desc { font-size: 16px; line-height: 26px; }
}

/* ---------- Sản phẩm chất lượng ---------- */
.quality {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #fff url(../images/ktk/quality-bg.jpg) center / cover no-repeat;
  font-family: var(--ktk-font-text);
}
.quality__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 14.583% 0; /* 210 / 1440 */
}
.quality__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.quality__title {
  margin: 0;
  font-weight: 900;
  font-style: italic;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: -.3px;
  color: rgb(237, 32, 37);
}
.quality__desc { margin: 0; font-weight: 600; font-size: 18px; line-height: 24px; color: rgb(68, 63, 36); }
.quality__deco { position: absolute; display: block; height: auto; pointer-events: none; }
.quality__deco--spoon { right: 0; top: 14.36%; width: 11.39%; }
.quality__deco--plate { left: -2.01%; top: 29.84%; width: 16.67%; }

/* Sân khấu 1020x657 của thiết kế: mọi vị trí tính theo % của khung này */
.quality__stage { position: relative; align-self: stretch; aspect-ratio: 1020 / 657; }
.quality__arc { position: absolute; left: 9.65%; top: 36.8%; width: 81.57%; height: 63.2%; overflow: visible; }
.quality__item {
  position: absolute;
  display: block;
  left: 44.99%;
  top: 0;
  width: 10.98%;
  height: 57.23%;
  opacity: 0;
  transform-origin: 0 0;
  transition: left .6s ease, top .6s ease, width .6s ease, height .6s ease, transform .6s ease, opacity .6s ease;
}
.quality__item img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.quality__item[data-pos="0"] { opacity: 1; z-index: 3; }
.quality__item[data-pos="1"] { opacity: 1; z-index: 2; left: 84.41%; top: 29.07%; width: 7.04%; height: 36.71%; transform: rotate(40deg); }
.quality__item[data-pos="2"] { opacity: 1; z-index: 1; left: 97.77%; top: 64.69%; width: 6.61%; height: 34.3%; transform: rotate(60deg); }
.quality__item[data-pos="-1"] { opacity: 1; z-index: 2; left: 14.9%; top: 35.58%; width: 6.98%; height: 35.15%; transform: rotate(-40deg); }
.quality__item[data-pos="-2"] { opacity: 1; z-index: 1; left: .09%; top: 72.73%; width: 5.76%; height: 32.13%; transform: rotate(-60deg); }
.quality__item:not([data-pos]) { pointer-events: none; }
.quality__item[data-pos="0"] { pointer-events: auto; }

.quality__arcbox { position: absolute; inset: 0; }
.quality__infos { position: absolute; left: 50%; top: 60.43%; z-index: 4; display: grid; justify-items: center; transform: translateX(-50%); }
.quality__info {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
  white-space: nowrap;
}
.quality__info.is-active { opacity: 1; visibility: visible; }
.quality__name {
  margin: 0;
  font-family: "Beautique Display", "Playfair Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 35px;
  line-height: 49px;
  color: rgb(68, 63, 36);
}
.quality__sub {
  margin: 4px 0 0;
  font-family: "Be Vietnam", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 28px;
  color: rgb(74, 70, 44);
}
.quality__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-width: 181px; /* 181px của thiết kế, chữ canh giữa */
  box-sizing: border-box;
  padding: 10px 39px;
  border-radius: 999px;
  background-color: rgb(237, 32, 37);
  font-family: "Be Vietnam", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s;
}
.quality__btn:hover { background-color: rgb(196, 20, 26); color: #fff; text-decoration: none; }

.quality__arrow {
  position: absolute;
  top: 38.36%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.569%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background-color: rgb(223, 35, 38);
  cursor: pointer;
  transform-origin: 0 0;
  transition: background-color .2s;
}
.quality__arrow:hover { background-color: rgb(190, 20, 24); }
.quality__arrow img { display: block; width: 20.6%; height: auto; }
.quality__arrow--prev { left: 35.29%; transform: rotate(-22.7deg); }
.quality__arrow--next { left: 64.96%; transform: rotate(22.7deg) scaleX(-1); }

@media (max-width: 1001px) {
  .quality__inner { padding: 32px 16px 36px; }
  .quality__title { font-size: 26px; line-height: 38px; }
  .quality__desc { font-size: 16px; white-space: normal; }
  .quality__deco { display: none; }
  .quality__stage { aspect-ratio: auto; }
  .quality__arcbox { position: relative; inset: auto; aspect-ratio: 1 / .64; }
  .quality__arc { display: none; }
  .quality__item, .quality__item[data-pos] { transform-origin: 50% 50%; }
  .quality__item[data-pos="0"] { left: 37%; top: 0; width: 26%; height: 100%; }
  .quality__item[data-pos="1"] { left: 66%; top: 18%; width: 16%; height: 68%; transform: rotate(16deg); }
  .quality__item[data-pos="-1"] { left: 18%; top: 18%; width: 16%; height: 68%; transform: rotate(-16deg); }
  .quality__item[data-pos="2"], .quality__item[data-pos="-2"] { opacity: 0; pointer-events: none; }
  .quality__arrow { top: 38%; width: 36px; }
  .quality__arrow--prev { left: 1%; transform: none; }
  .quality__arrow--next { left: auto; right: 1%; transform: scaleX(-1); }
  .quality__infos { position: static; margin-top: 14px; transform: none; }
  .quality__name { font-size: 26px; line-height: 36px; }
  .quality__sub { font-size: 15px; line-height: 22px; white-space: normal; text-align: center; }
  .quality__info { white-space: normal; text-align: center; }
  .quality__btn { margin-top: 18px; }
}

/* ---------- Các dòng sản phẩm chính ---------- */
.lines {
  position: relative;
  aspect-ratio: 1440 / 421;
  overflow: hidden;
  border-radius: 50px 50px 0 0;
  background: #fff4c4 url(../images/ktk/lines-bg.jpg) 50% 41.81% / 100.92% 398.15% no-repeat;
  font-family: var(--ktk-font-text);
}
.lines__deco { position: absolute; display: block; height: auto; pointer-events: none; }
.lines__deco--swoosh-l { left: -3.19%; top: -3.89%; width: 22.7%; }
.lines__deco--drop-a { left: 10.04%; top: 4.28%; width: 5.52%; transform: scaleX(-1); transform-origin: 0 0; }
.lines__deco--leaf { left: .49%; top: 72.1%; width: 8.03%; }
.lines__deco--swoosh-r { left: 84.79%; top: 57.4%; width: 22.2%; }
.lines__deco--drop-b { left: 94.65%; top: 4.43%; width: 5.35%; }
.lines__deco--drop-c { left: 95.92%; top: 54.8%; width: 3.8%; transform: matrix(-.902, .432, .432, .902, 0, 0); transform-origin: 0 0; }

.lines__inner {
  position: absolute;
  left: 9.93%; /* 143 / 1440 */
  top: 12.5%; /* 52.64 / 421 */
  width: 82.78%; /* 1192 / 1440 */
  display: flex;
  align-items: center;
  gap: 1.93%;
}
.lines__text { display: flex; flex-direction: column; align-items: flex-start; gap: 33px; flex: 0 0 25.76%; }
.lines__head { display: flex; flex-direction: column; gap: 9px; }
.lines__label {
  margin: 0;
  font-weight: 800;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -.18px;
  text-transform: uppercase;
  color: rgb(237, 32, 37);
}
.lines__title {
  margin: 0;
  font-weight: 700;
  font-style: italic;
  font-size: 35px;
  line-height: 36px;
  letter-spacing: -1px;
  color: #000;
  text-wrap: balance;
}
.lines__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 23px;
  border-radius: 100px;
  background-color: rgb(237, 32, 37);
  font-weight: 900;
  font-size: 16px;
  line-height: 45px;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s;
}
.lines__btn img { display: block; width: 22px; height: 22px; padding: 3px; box-sizing: border-box; filter: brightness(0) invert(1); }
.lines__btn:hover { background-color: rgb(196, 20, 26); color: #fff; text-decoration: none; }

.lines__cards { display: flex; align-items: flex-end; gap: 2.09%; flex: 1 1 0; min-width: 0; }
.lines__card {
  --oval-bg: rgb(81, 143, 75);
  --logo-l: 22.1%; --logo-w: 55.4%; --logo-t: 11.2%; --logo-h: 21.8%;
  --tag-t: 34.6%;
  --photo-l: 0; --photo-w: 100%;
  --oval-l: 4.7%; --oval-w: 90.58%; --oval-h: 94.87%;
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 275 / 314;
  text-decoration: none;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.lines__card:hover { transform: translateY(-8px); text-decoration: none; }
.lines__card[data-i="1"] {
  --oval-bg: linear-gradient(180deg, rgb(228, 47, 52) 0%, rgb(213, 82, 86) 100%);
  --logo-l: 25.8%; --logo-w: 48%; --logo-t: 3.8%; --logo-h: 31.5%;
  --tag-t: 35.4%;
  --photo-l: 9.1%; --photo-w: 81.8%;
  --oval-l: 4.36%; --oval-w: 90.9%; --oval-h: 94.3%;
}
.lines__card[data-i="2"] {
  --oval-bg: linear-gradient(180deg, rgb(249, 143, 48) 32.21%, rgb(236, 167, 105) 100%);
  --logo-l: 18.5%; --logo-w: 62.5%; --logo-t: 6.6%; --logo-h: 24%;
  --tag-t: 33.5%;
  --photo-l: 4%; --photo-w: 91.6%;
  --oval-l: 4.36%; --oval-w: 90.9%; --oval-h: 93.7%;
}
.lines__oval {
  position: absolute;
  left: var(--oval-l);
  top: 0;
  width: var(--oval-w);
  height: var(--oval-h);
  border-radius: 50%;
  background: var(--oval-bg);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.lines__card:hover .lines__oval { transform: scale(1.03); }
.lines__logo {
  position: absolute;
  left: var(--logo-l);
  top: var(--logo-t);
  width: var(--logo-w);
  height: var(--logo-h);
  object-fit: contain;
  object-position: center bottom;
}
.lines__tagline {
  position: absolute;
  left: 50%;
  top: var(--tag-t);
  max-width: 30%;
  transform: translateX(-50%);
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  letter-spacing: -.2px;
  text-align: center;
  text-wrap: balance;
  color: #fff;
}
.lines__photo {
  position: absolute;
  left: var(--photo-l);
  bottom: 0;
  width: var(--photo-w);
  height: auto;
  transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.lines__card:hover .lines__photo { transform: scale(1.05); }

@media (max-width: 1001px) {
  .lines { aspect-ratio: auto; border-radius: 28px 28px 0 0; padding: 32px 16px; }
  .lines__inner { position: relative; left: 0; top: 0; width: 100%; flex-direction: column; align-items: stretch; gap: 24px; }
  .lines__text { flex: none; }
  .lines__title { font-size: 28px; line-height: 32px; }
  .lines__cards { flex: none; width: 100%; }
  .lines__card { flex: 0 0 62%; }
  .lines__deco { display: none; }
}

/* ---------- Cẩm nang vào bếp ---------- */
.recipes {
  position: relative;
  aspect-ratio: 1440 / 433;
  overflow: hidden;
  border-radius: 0 0 50px 50px;
  background-color: #fff;
  font-family: var(--ktk-font-text);
}
.recipes__bg {
  position: absolute;
  left: 0;
  top: -6.32%;
  width: 100.2%; /* 1443 / 1440 */
  height: 108.3%; /* 469 / 433 */
  background: url(../images/ktk/recipes-bg.jpg) 22.438% 71.872% / 100.035% 99.893% no-repeat;
  transform: scaleX(-1);
}
.recipes__inner {
  position: absolute;
  left: 15.14%; /* 218 / 1440 */
  top: 24.86%; /* 107.64 / 433 */
  width: 69.72%; /* 1004 / 1440 */
  display: flex;
  align-items: center;
}
.recipes__cards { display: flex; align-items: center; gap: 2.87%; flex: 0 0 69.42%; min-width: 0; /* 697 / 1004 */ }
.recipes__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  flex: 1 1 0;
  min-width: 0;
  padding-bottom: 16px;
  overflow: hidden;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  text-decoration: none;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s cubic-bezier(.22, .61, .36, 1);
}
.recipes__card:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); text-decoration: none; }
.recipes__img { display: block; width: 100%; height: auto; aspect-ratio: 219 / 123; object-fit: cover; }
.recipes__meta { display: flex; align-items: center; justify-content: space-between; align-self: stretch; padding: 0 5.5%; gap: 8px; }
.recipes__text { display: flex; flex-direction: column; min-width: 0; }
.recipes__name { font-weight: 700; font-size: 16px; line-height: 22px; letter-spacing: -.18px; color: #000; }
.recipes__desc { font-weight: 600; font-size: 14px; line-height: 20px; letter-spacing: -.16px; color: #000; }
.recipes__go { flex: none; display: block; width: 23px; height: 23px; transition: transform .35s ease; }
.recipes__card:hover .recipes__go { transform: translateX(3px); }
.recipes__side { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 17px; flex: 1 1 0; min-width: 0; }
.recipes__head { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; text-align: right; }
.recipes__label { margin: 0; font-weight: 800; font-size: 16px; line-height: 22px; letter-spacing: -.18px; text-transform: uppercase; color: rgb(237, 32, 37); }
.recipes__title { text-wrap: balance; margin: 0; font-weight: 700; font-style: italic; font-size: 35px; line-height: normal; letter-spacing: -1px; color: #000; }
.recipes__sub { text-wrap: balance; margin: 0; font-weight: 600; font-size: 16px; line-height: 22px; letter-spacing: -.18px; color: #000; }
.recipes__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 23px;
  border-radius: 100px;
  box-shadow: inset 0 0 0 1px rgb(237, 32, 37);
  font-weight: 900;
  font-size: 16px;
  line-height: 45px;
  color: rgb(237, 32, 37);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.recipes__btn img { display: block; width: 22px; height: 22px; padding: 3px; box-sizing: border-box; transition: filter .2s; }
.recipes__btn:hover { background-color: rgb(237, 32, 37); color: #fff; text-decoration: none; }
.recipes__btn:hover img { filter: brightness(0) invert(1); }

@media (max-width: 1001px) {
  .recipes { aspect-ratio: auto; padding: 32px 16px; border-radius: 0 0 28px 28px; }
  .recipes__inner { position: relative; left: 0; top: 0; width: 100%; flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .recipes__cards { flex: none; overflow-x: auto; gap: 12px; padding: 4px 2px 12px; }
  .recipes__card { flex: 0 0 62%; }
  .recipes__side, .recipes__head { align-items: flex-start; text-align: left; }
  .recipes__title { font-size: 28px; }
}

/* ---------- Slide khi có nhiều hơn 3 mục (Owl Carousel, khởi tạo bằng JS) ---------- */
.ktk-slide.owl-carousel { display: block; }
.ktk-slide .owl-stage-outer { padding: 12px 0; margin: -12px 0; }
.ktk-slide .owl-stage { display: flex; align-items: flex-end; }
.ktk-slide .owl-item { float: none; }
.ktk-slide.recipes__cards .owl-stage { align-items: center; }
.ktk-slide .lines__card, .ktk-slide .recipes__card { width: 100%; flex: none; }
.ktk-slide .owl-nav { margin: 0; }
.ktk-slide .owl-nav button.owl-prev,
.ktk-slide .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -18px 0 0;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background-color: rgb(223, 35, 38);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: background-color .2s, opacity .2s;
}
.ktk-slide .owl-nav button.owl-prev { left: -14px; }
.ktk-slide .owl-nav button.owl-next { right: -14px; }
.ktk-slide .owl-nav button:hover { background-color: rgb(190, 20, 24); }
.ktk-slide .owl-nav button.disabled { opacity: 0; pointer-events: none; }
.ktk-slide .owl-nav button img { display: block; width: 7px; height: auto; }
.ktk-slide .owl-nav button.owl-next img { transform: scaleX(-1); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  aspect-ratio: 1440 / 508;
  overflow: hidden;
  background: #fff4c4 url(../images/ktk/footer-bg.jpg) center / cover no-repeat;
  font-family: "Be Vietnam", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: rgb(68, 63, 36);
}
.footer__deco { position: absolute; display: block; height: auto; pointer-events: none; }
.footer__deco--plate { left: -2.36%; top: 52.76%; width: 16.55%; }
.footer__deco--wave-a { left: 35.63%; top: 67.52%; width: 64.41%; }
.footer__deco--wave-b { left: -.14%; top: 73.3%; width: 100.2%; height: 29.5%; }
.footer__deco--wave-c { left: 71.46%; top: 69.49%; width: 28.58%; }
.footer__deco--swoosh { left: 77.85%; top: 117.9%; width: 25.05%; transform: matrix(-.363, -.932, .932, -.363, 0, 0); transform-origin: 0 0; }
.footer__deco--strip { left: 26.53%; top: 85.47%; width: 15.03%; transform: matrix(.996, -.089, .089, .996, 0, 0); transform-origin: 0 0; }
.footer__deco--herb { left: .28%; top: 10.17%; width: 7.29%; }

.footer__inner {
  position: absolute;
  left: 9.376%; /* 135 / 1440 */
  top: 12.5%; /* 63.5 / 508 */
  width: 78.06%; /* 1124 / 1440 */
  height: 52.66%; /* 267.5 / 508: chiều cao đường kẻ dọc của thiết kế */
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 17px;
}
.footer__col { display: flex; flex-direction: column; min-width: 0; }
.footer__col--about { flex: none; gap: 14px; }
.footer__col--links { flex: 0 0 17.6%; gap: 17px; }
.footer__col--fan { flex: 1 1 0; gap: 26px; }
.footer__divider { flex: none; width: 1px; background-color: rgb(230, 204, 160); }
.footer__logo { display: block; width: 183px; max-width: 100%; margin-bottom: -6px; }
.footer__logo img { display: block; width: 100%; height: auto; }
.footer__company { margin: 0; max-width: 183px; font-family: var(--ktk-font-text); font-weight: 800; font-size: 16px; line-height: normal; color: rgb(68, 63, 36); }
/* HTML nhập từ admin (Trang tĩnh → Footer → Nội dung). Mỗi dòng: ảnh icon + chữ, dùng <ul><li><img> chữ</li></ul> hoặc <p><img> chữ</p> */
.footer__content { font-weight: 400; font-size: 12px; line-height: normal; color: rgb(68, 63, 36); }
.footer__content p, .footer__content ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer__content p + p { margin-top: 8px; }
.footer__content li, .footer__content p { display: flex; align-items: flex-start; gap: 10px; max-width: 292px; line-height: 19px; }
.footer__content img { flex: none; display: block; width: 22px; height: 22px; max-width: none; margin: -1.5px 0 0; object-fit: contain; }
.footer__content a { color: rgb(68, 63, 36); text-decoration: none; }
.footer__content a:hover { color: var(--ktk-red); text-decoration: none; }
.footer__copy { margin: 0; font-weight: 400; font-size: 12px; line-height: 24px; letter-spacing: .02em; text-transform: capitalize; white-space: nowrap; }
.footer__heading { display: flex; align-items: center; gap: 11px; margin: 0; font-family: var(--ktk-font-text); font-weight: 800; font-size: 16px; line-height: normal; white-space: nowrap; color: rgb(68, 63, 36); }
.footer__heading img { flex: none; display: block; }
.footer__list { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer__list a { font-weight: 400; font-size: 15px; line-height: normal; color: rgb(68, 63, 36); text-decoration: none; transition: color .2s; }
.footer__list a::before { content: "\2022\00a0"; }
.footer__list a:hover { color: var(--ktk-red); text-decoration: none; }
.footer__fan-title { margin: 0; font-family: var(--ktk-font-text); font-weight: 800; font-size: 20px; line-height: normal; color: rgb(68, 63, 36); }
.footer__fan-box {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 381 / 193;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  color: rgb(68, 63, 36);
  text-decoration: none;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s cubic-bezier(.22, .61, .36, 1);
}
.footer__fan-box:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .16); text-decoration: none; color: rgb(68, 63, 36); }
.footer__fan-cover {
  position: relative;
  flex: 0 0 40%;
  overflow: hidden;
  background: linear-gradient(110deg, #ffe58a 0%, #ffc94d 55%, #f5a623 100%);
}
.footer__fan-drop, .footer__fan-leaf { position: absolute; display: block; height: auto; }
.footer__fan-drop--a { right: 9%; top: 14%; width: 9%; transform: rotate(18deg); }
.footer__fan-drop--b { right: 24%; bottom: 10%; width: 8%; }
.footer__fan-leaf { left: -2%; bottom: -18%; width: 15%; transform: rotate(-12deg); opacity: .9; }
.footer__fan-body { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 5%; margin-top: -9%; }
.footer__fan-avatar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .18);
}
.footer__fan-avatar img { display: block; width: 86%; height: auto; }
.footer__fan-info { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; padding-top: 9%; }
.footer__fan-name { font-family: var(--ktk-font-text); font-weight: 800; font-size: 16px; line-height: 20px; color: rgb(68, 63, 36); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer__fan-sub { font-size: 12px; line-height: 18px; color: rgb(120, 112, 70); }
.footer__fan-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9%;
  padding: 7px 14px;
  border-radius: 999px;
  background-color: #1877f2;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: #fff;
  transition: background-color .2s;
}
.footer__fan-btn svg { display: block; width: 14px; height: 14px; }
.footer__fan-box:hover .footer__fan-btn { background-color: #0f63d4; }
.footer__fan-note { flex: 1 1 0; display: flex; align-items: center; padding: 0 5%; font-size: 12px; line-height: 18px; color: rgb(68, 63, 36); }
.footer__social { position: absolute; left: 15.63%; top: 87.8%; z-index: 1; display: flex; align-items: center; gap: 32px; }
.footer__social img { display: block; width: 24px; height: 24px; object-fit: contain; }

@media (max-width: 1001px) {
  .footer { aspect-ratio: auto; padding: 32px 16px 96px; }
  .footer__inner { position: relative; left: 0; top: 0; width: 100%; flex-direction: column; gap: 24px; }
  .footer__col--about, .footer__col--links, .footer__col--fan { flex: none; }
  .footer__divider { width: auto; height: 1px; }
  .footer { text-align: left; }
  .footer__list a, .footer__heading { text-align: left; }
  .footer__social { position: relative; left: 0; top: 0; justify-content: center; margin-top: 28px; padding: 14px 26px; border-radius: 999px; background: rgb(196, 20, 26); box-shadow: 0 6px 16px rgba(196, 20, 26, .35); }
  .footer__deco { display: none; }
}

/* ---------- Header + menu trượt + thanh liên hệ trên màn hình nhỏ ---------- */
.site-header__burger { display: none; flex: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgb(255, 244, 196); cursor: pointer; transition: background-color .2s, transform .3s; }
.site-header__burger:hover { background: rgb(255, 229, 138); }
.site-header__burger:active { transform: scale(.94); }
.site-header__burger i { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: var(--ktk-ink); }
.site-header__burger i:nth-child(1) { top: 15px; }
.site-header__burger i:nth-child(2) { top: 21px; width: 12px; }
.site-header__burger i:nth-child(3) { top: 27px; }

.mnav { position: fixed; inset: 0; z-index: 1500; visibility: hidden; pointer-events: none; transition: visibility 0s linear .4s; }
.mnav.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mnav__scrim { position: absolute; inset: 0; background: rgba(34, 30, 14, .5); opacity: 0; transition: opacity .4s ease; }
.mnav.is-open .mnav__scrim { opacity: 1; }
.mnav__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(86vw, 360px);
  padding: 18px 22px 24px;
  overflow-y: auto;
  border-radius: 28px 0 0 28px;
  background: var(--ktk-cream) url(../images/ktk/lines-bg.jpg) 50% 41.81% / 100.92% 398.15% no-repeat;
  box-shadow: -12px 0 40px rgba(0, 0, 0, .2);
  transform: translateX(104%);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
  font-family: var(--ktk-font-ui);
}
.mnav.is-open .mnav__panel { transform: translateX(0); }
.mnav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mnav__logo img { display: block; height: 44px; width: auto; }
.mnav__close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ktk-ink); box-shadow: 0 0 5px rgba(0, 0, 0, .2); cursor: pointer; transition: background-color .2s, color .2s, transform .3s; }
.mnav__close:hover { background: var(--ktk-red); color: #fff; transform: rotate(90deg); }
.mnav__close svg { display: block; width: 20px; height: 20px; }
.mnav__nav { display: flex; flex-direction: column; flex: 1; }
.mnav__link { display: block; padding: 14px 4px; border-bottom: 1px solid rgb(230, 204, 160); font-weight: 700; font-size: 18px; line-height: 26px; color: var(--ktk-ink); text-decoration: none; transition: color .2s, padding-left .25s; }
.mnav__link:hover, .mnav__link.is-active { color: var(--ktk-red); padding-left: 10px; text-decoration: none; }
.mnav__group { border-bottom: 1px solid rgb(230, 204, 160); }
.mnav__group .mnav__link { border-bottom: 0; flex: 1; }
.mnav__row { display: flex; align-items: center; }
.mnav__toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ktk-ink); cursor: pointer; }
.mnav__toggle svg { display: block; width: 20px; height: 20px; transition: transform .3s; }
.mnav__group.is-open .mnav__toggle svg { transform: rotate(180deg); }
.mnav__sub { max-height: 0; margin: 0; padding: 0; overflow: hidden; list-style: none; transition: max-height .4s ease; }
.mnav__group.is-open .mnav__sub { max-height: 70vh; }
.mnav__sub a { display: block; margin: 0 0 8px 14px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .7); font-weight: 600; font-size: 15px; line-height: 22px; color: var(--ktk-ink); text-decoration: none; }
.mnav__sub li:last-child a { margin-bottom: 12px; }
.mnav__sub a:hover { color: var(--ktk-red); text-decoration: none; }
.mnav__foot { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.mnav__cta { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 999px; background: var(--ktk-red); font-weight: 700; font-size: 16px; color: #fff; text-decoration: none; transition: background-color .2s, transform .3s; }
.mnav__cta:hover { background: rgb(196, 20, 26); color: #fff; text-decoration: none; transform: translateY(-2px); }
.mnav__lang { display: flex; flex-wrap: wrap; gap: 8px; }
.mnav__lang-btn { padding: 6px 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 5px rgba(0, 0, 0, .2); font-family: var(--ktk-font-ui); font-weight: 600; font-size: 13px; text-transform: uppercase; color: var(--ktk-ink); cursor: pointer; transition: background-color .2s, color .2s; }
.mnav__lang-btn:hover, .mnav__lang-btn.is-active { background: var(--ktk-red); color: #fff; }
body.mnav-open { overflow: hidden; }

.mbar { display: none; }

@media (max-width: 1100px) {
  .site-header__nav, .site-header__lang { display: none; }
  .site-header__burger { display: block; }
  .site-header__inner { padding: 2px 12px; }
}
@media (max-width: 1001px) {
  .site-header { padding: 8px 6px; }
  .site-header__logo img { height: 42px; }
  .site-header__cta { height: 40px; padding: 0 20px; }
  .site-header__tools { margin-left: auto; }
  .mbar {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 950;
    display: flex;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(1.5) blur(14px);
    backdrop-filter: saturate(1.5) blur(14px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
  }
  .mbar__item { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 18px; font-family: var(--ktk-font-ui); font-weight: 600; font-size: 11px; line-height: 14px; color: var(--ktk-ink); text-decoration: none; transition: background-color .2s, transform .25s; }
  .mbar__item:active { transform: scale(.94); background: rgb(255, 244, 196); }
  .mbar__item svg { display: block; width: 22px; height: 22px; }
  .mbar__item b { font-family: var(--ktk-font-text); font-weight: 900; font-size: 14px; line-height: 22px; letter-spacing: -.3px; }
  .mbar__item--tel { color: var(--ktk-red); }
  .mbar__item--zalo { color: #0068ff; }
  .mbar__item--fb { color: #1877f2; }
  body.ktk { padding-bottom: 76px; }
  .fab { bottom: 92px; }
}
@media (max-width: 380px) { .site-header__cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .mnav__panel, .mnav__scrim, .mnav__sub { transition: none; } }

/* ---------- Nút nổi: liên hệ + lên đầu trang ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fab__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: none;
}
.fab__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s;
}
.fab__icon svg { display: block; width: 24px; height: 24px; }
.fab__icon b { font-family: var(--ktk-font-text); font-weight: 900; font-size: 13px; letter-spacing: -.2px; }
.fab__btn:hover .fab__icon { transform: scale(1.08); box-shadow: 0 8px 20px rgba(0, 0, 0, .28); }
.fab__btn--zalo .fab__icon { background: #0068ff; }
.fab__btn--phone .fab__icon { background: var(--ktk-red); }
.fab__btn--phone .fab__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ktk-red);
  opacity: .5;
  z-index: -1;
  animation: fab-ring 2.2s ease-out infinite;
}
@keyframes fab-ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
.fab__label {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
  font-family: var(--ktk-font-ui);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: var(--ktk-ink);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.fab__btn:hover .fab__label, .fab__btn:focus-visible .fab__label { opacity: 1; transform: translateX(0); }
.fab__btn--top { opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; }
.fab__btn--top .fab__icon { width: 44px; height: 44px; margin-right: 4px; background: #fff; color: var(--ktk-red); box-shadow: 0 6px 16px rgba(0, 0, 0, .18), inset 0 0 0 2px var(--ktk-red); }
.fab__btn--top:hover .fab__icon { background: var(--ktk-red); color: #fff; }
.fab.is-scrolled .fab__btn--top { opacity: 1; transform: translateY(0); visibility: visible; }
@media (max-width: 1001px) {
  .fab { right: 12px; }
  .fab__btn--zalo, .fab__btn--phone { display: none; } /* mobile đã có thanh công cụ gọi/nhắn/zalo bên dưới */
  .fab__label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fab__btn--phone .fab__icon::before { animation: none; } }

/* ---------- Trang con: banner đầu trang (dùng chung) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 50px 50px;
  background: #fff4c4 url(../images/ktk/lines-bg.jpg) 50% 41.81% / 100.92% 398.15% no-repeat;
  font-family: var(--ktk-font-text);
}
.page-hero__deco { position: absolute; display: block; height: auto; pointer-events: none; }
.page-hero__deco--swoosh { left: -3%; top: -60%; width: 20%; }
.page-hero__deco--drop { left: 12%; bottom: 14%; width: 3.5%; }
.page-hero__deco--leaf { left: 1%; bottom: -12%; width: 6%; }
.page-hero__deco--swoosh-r { right: -4%; bottom: -30%; width: 22%; }
.page-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 44px 20px 40px; text-align: center; }
.page-hero__title { margin: 0; font-weight: 900; font-style: italic; font-size: 40px; line-height: 52px; letter-spacing: -.3px; color: rgb(237, 32, 37); }
.page-hero__crumbs .breadcrumb { justify-content: center; flex-wrap: wrap; margin: 0; padding: 0; background: transparent; border-radius: 0; font-family: "Be Vietnam", var(--ktk-font-text); }
.page-hero__crumbs .breadcrumb-item, .page-hero__crumbs .breadcrumb-item span { font-size: 14px; line-height: 22px; color: rgb(68, 63, 36); }
.page-hero__crumbs .breadcrumb-item a { color: rgb(68, 63, 36); text-decoration: none; }
.page-hero__crumbs .breadcrumb-item a:hover span { color: var(--ktk-red); }
.page-hero__crumbs .breadcrumb-item.active span { color: var(--ktk-red); font-weight: 600; }
.page-hero__crumbs .breadcrumb-item + .breadcrumb-item::before { color: rgb(196, 146, 43); }
body.ktk .wap-main { background: transparent; }
body.ktk b, body.ktk strong { font-family: inherit; }

/* ---------- Trang Liên hệ ---------- */
.contact { width: 100%; max-width: 1200px; margin: 0 auto; padding: 56px 20px 72px; font-family: var(--ktk-font-text); color: rgb(68, 63, 36); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.contact__label { margin: 0 0 6px; font-weight: 800; font-size: 16px; line-height: 22px; letter-spacing: -.18px; text-transform: uppercase; color: rgb(237, 32, 37); }
.contact__title { margin: 0 0 14px; font-weight: 700; font-style: italic; font-size: 35px; line-height: 42px; letter-spacing: -1px; color: #000; text-wrap: balance; }
.contact__intro { margin-bottom: 28px; font-weight: 600; font-size: 16px; line-height: 24px; }
.contact__intro p { margin: 0 0 8px; }
.contact__cards { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s cubic-bezier(.22, .61, .36, 1);
}
.contact__card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .14); }
.contact__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgb(255, 244, 196); }
.contact__icon img { display: block; width: 24px; height: 24px; }
.contact__card-body { display: flex; flex-direction: column; min-width: 0; font-family: "Be Vietnam", var(--ktk-font-text); font-size: 15px; line-height: 22px; }
.contact__card-body small { font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgb(150, 120, 60); }
.contact__card-body a, .contact__card-body span { color: rgb(68, 63, 36); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact__card-body a:hover { color: var(--ktk-red); text-decoration: none; }

.contact__form { padding: 36px 36px 32px; border-radius: 28px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .1); }
.contact__form-title { margin: 0 0 22px; font-weight: 900; font-style: italic; font-size: 26px; line-height: 34px; letter-spacing: -.3px; color: rgb(237, 32, 37); }
.contact__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.contact__field { position: relative; margin-bottom: 16px; }
.contact__field .form-control {
  display: block;
  width: 100%;
  height: auto;
  padding: 13px 18px;
  border: 1px solid rgb(236, 217, 168);
  border-radius: 14px;
  background: rgb(255, 252, 240);
  font-family: "Be Vietnam", var(--ktk-font-text);
  font-size: 14px;
  line-height: 22px;
  color: rgb(68, 63, 36);
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.contact__field .form-control::placeholder { color: rgb(160, 150, 110); }
.contact__field .form-control:focus { border-color: var(--ktk-red); background: #fff; box-shadow: 0 0 0 3px rgba(230, 0, 18, .12); outline: none; }
.contact__field textarea.form-control { height: 150px; resize: none; }
.contact__form.was-validated .form-control:invalid { border-color: var(--ktk-red); background-image: none; }
.contact__form .invalid-feedback { margin-top: 4px; padding-left: 6px; font-size: 12px; color: var(--ktk-red); }
.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 181px;
  height: 45px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background-color: rgb(237, 32, 37);
  font-family: var(--ktk-font-text);
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, transform .3s cubic-bezier(.22, .61, .36, 1);
}
.contact__submit:hover { background-color: rgb(196, 20, 26); transform: translateY(-2px); }
.contact__submit:disabled { opacity: .6; cursor: progress; }
.contact__map { position: relative; margin-top: 48px; aspect-ratio: 1160 / 380; overflow: hidden; border-radius: 28px; box-shadow: 0 0 10px rgba(0, 0, 0, .1); background: #fff; }
.contact__map iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

@media (max-width: 1001px) {
  .page-hero { border-radius: 0 0 28px 28px; }
  .page-hero__inner { padding: 32px 16px 28px; }
  .page-hero__title { font-size: 30px; line-height: 40px; }
  .page-hero__deco--swoosh, .page-hero__deco--swoosh-r { display: none; }
  .contact { padding: 36px 16px 48px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact__title { font-size: 28px; line-height: 34px; }
  .contact__form { padding: 24px 18px; }
  .contact__row { grid-template-columns: minmax(0, 1fr); }
  .contact__map { aspect-ratio: 4 / 3; }
}

/* ---------- Bài viết (nội dung CKEditor) dùng chung ---------- */
.ktk-article { font-family: "Be Vietnam", var(--ktk-font-text); font-size: 16px; line-height: 28px; color: rgb(68, 63, 36); overflow-wrap: anywhere; }
.ktk-article > :first-child { margin-top: 0; }
.ktk-article > :last-child { margin-bottom: 0; }
.ktk-article h1, .ktk-article h2, .ktk-article h3, .ktk-article h4 { margin: 1.6em 0 .6em; font-family: var(--ktk-font-text); font-weight: 900; font-style: italic; letter-spacing: -.3px; color: rgb(237, 32, 37); }
.ktk-article h2 { font-size: 28px; line-height: 36px; }
.ktk-article h3 { font-size: 22px; line-height: 30px; }
.ktk-article h4 { font-size: 18px; line-height: 26px; }
.ktk-article p { margin: 0 0 1em; }
.ktk-article a { color: var(--ktk-red); text-decoration: underline; text-underline-offset: 3px; }
.ktk-article strong, .ktk-article b { font-weight: 700; color: rgb(48, 44, 24); }
.ktk-article ul { margin: 0 0 1em; padding: 0; list-style: none; }
.ktk-article ul li { position: relative; margin-bottom: .5em; padding-left: 26px; }
.ktk-article ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 9px; height: 9px; border-radius: 50%; background: var(--ktk-red); box-shadow: 0 0 0 4px rgba(230, 0, 18, .12); }
.ktk-article ol { margin: 0 0 1em; padding-left: 24px; }
.ktk-article ol li { margin-bottom: .5em; padding-left: 4px; }
.ktk-article ol li::marker { font-weight: 800; color: var(--ktk-red); }
.ktk-article blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid rgb(196, 146, 43); border-radius: 0 16px 16px 0; background: rgb(255, 249, 220); font-style: italic; }
.ktk-article img { max-width: 100%; height: auto; border-radius: 16px; }
.ktk-article iframe, .ktk-article video { max-width: 100%; border-radius: 16px; }
.ktk-article table { display: block; max-width: 100%; margin: 0 0 1em; overflow-x: auto; border-collapse: collapse; }
.ktk-article th, .ktk-article td { padding: 10px 14px; border: 1px solid rgb(236, 217, 168); }
.ktk-article th { background: rgb(255, 244, 196); }

/* ---------- Nút chia sẻ dùng chung ---------- */
.share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgb(230, 204, 160); font-family: var(--ktk-font-text); }
.share-bar__label { font-weight: 800; font-size: 16px; line-height: 22px; color: rgb(68, 63, 36); }
.share-bar__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.share-bar__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--share-c, rgb(68, 63, 36));
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  cursor: pointer;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), background-color .25s, color .25s, box-shadow .35s;
}
.share-bar__btn svg { display: block; width: 20px; height: 20px; }
.share-bar__btn b { font-family: var(--ktk-font-text); font-weight: 900; font-size: 12px; letter-spacing: -.2px; }
.share-bar__btn:hover, .share-bar__btn:focus-visible { background: var(--share-c); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .2); text-decoration: none; }
.share-bar__btn--facebook { --share-c: #1877f2; }
.share-bar__btn--zalo { --share-c: #0068ff; }
.share-bar__btn--x { --share-c: #111; }
.share-bar__btn--mail { --share-c: rgb(196, 146, 43); }
.share-bar__btn--copy { --share-c: var(--ktk-red); }
.share-bar__tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(68, 63, 36);
  font-family: "Be Vietnam", var(--ktk-font-text);
  font-size: 12px;
  line-height: 18px;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.share-bar__btn--copy.is-copied .share-bar__tip { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Trang Giới thiệu ---------- */
.about-page { width: 100%; max-width: 1200px; margin: 0 auto; padding: 56px 20px 72px; font-family: var(--ktk-font-text); color: rgb(68, 63, 36); }
.about-page__intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.about-page__intro--single { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; text-align: center; }
.about-page__label { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-weight: 700; font-size: 24px; line-height: 30px; letter-spacing: -.15px; color: rgb(237, 32, 37); }
.about-page__label::after { content: ""; width: 32px; height: 2px; background: rgb(196, 146, 43); }
.about-page__intro--single .about-page__label { justify-content: center; }
.about-page__title { margin: 0 0 16px; font-weight: 900; font-style: italic; font-size: 36px; line-height: 48px; letter-spacing: -.3px; color: rgb(237, 32, 37); text-wrap: balance; }
.about-page__lead { margin: 0; font-family: "Be Vietnam", var(--ktk-font-text); font-weight: 500; font-size: 18px; line-height: 30px; text-align: justify; }
.about-page__photo { position: relative; margin: 0; }
.about-page__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 32px; background: rgb(255, 244, 196); }
.about-page__photo img { position: relative; display: block; width: 100%; aspect-ratio: 614 / 358; object-fit: cover; border-radius: 32px; box-shadow: 0 8px 28px rgba(0, 0, 0, .14); }
.about-page__content { margin-top: 56px; padding: 40px 44px; border-radius: 28px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .1); }

@media (max-width: 1001px) {
  .about-page { padding: 36px 16px 48px; }
  .about-page__intro { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .about-page__title { font-size: 28px; line-height: 38px; }
  .about-page__lead { font-size: 16px; line-height: 26px; }
  .about-page__content { margin-top: 36px; padding: 24px 18px; }
}

/* ---------- Tin tức / Góc ẩm thực / Hệ thống phân phối: danh sách ---------- */
.news-list, .news-detail { width: 100%; max-width: 1200px; margin: 0 auto; padding: 56px 20px 72px; font-family: var(--ktk-font-text); color: rgb(68, 63, 36); }
.news-list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  color: inherit;
  text-decoration: none;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s cubic-bezier(.22, .61, .36, 1);
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); color: inherit; text-decoration: none; }
.news-card__pic { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: rgb(255, 244, 196); }
.news-card__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.news-card:hover .news-card__pic img { transform: scale(1.06); }
.news-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.news-card__meta, .news-detail__meta { display: flex; align-items: center; gap: 8px; margin: 0; font-family: "Be Vietnam", var(--ktk-font-text); font-size: 12px; line-height: 18px; color: rgb(150, 120, 60); }
.news-card__meta i, .news-detail__meta i { width: 4px; height: 4px; border-radius: 50%; background: rgb(196, 146, 43); }
.news-card__title { font-family: var(--ktk-font-text); font-weight: 800; font-size: 18px; line-height: 26px; letter-spacing: -.2px; color: #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.news-card:hover .news-card__title { color: var(--ktk-red); }
.news-card__desc { font-family: "Be Vietnam", var(--ktk-font-text); font-size: 14px; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 900; font-size: 15px; color: var(--ktk-red); }
.news-card__more svg { display: block; width: 18px; height: 18px; transition: transform .3s; }
.news-card:hover .news-card__more svg { transform: translateX(4px); }
.news-list__empty { padding: 48px 20px; border-radius: 20px; background: #fff; box-shadow: 0 0 5px rgba(0, 0, 0, .2); text-align: center; font-weight: 700; font-size: 16px; }
.news-list__paging { margin-top: 40px; }
.news-list__paging .pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.news-list__paging .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  font-weight: 800;
  font-size: 14px;
  color: rgb(68, 63, 36);
  transition: background-color .2s, color .2s, transform .3s;
}
.news-list__paging .page-item:hover .page-link { background: rgb(255, 244, 196); color: var(--ktk-red); transform: translateY(-2px); }
.news-list__paging .page-item.active .page-link { background: var(--ktk-red); color: #fff; box-shadow: 0 4px 12px rgba(230, 0, 18, .35); }

/* ---------- Chi tiết bài viết ---------- */
.news-detail__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.news-detail__grid:has(.news-detail__main:only-child) { grid-template-columns: minmax(0, 860px); justify-content: center; }
.news-detail__main { padding: 40px 44px; border-radius: 28px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .1); }
.news-detail__title { margin: 0 0 12px; font-weight: 900; font-style: italic; font-size: 34px; line-height: 46px; letter-spacing: -.3px; color: rgb(237, 32, 37); text-wrap: balance; }
.news-detail__lead { margin: 18px 0 0; font-family: "Be Vietnam", var(--ktk-font-text); font-weight: 500; font-size: 17px; line-height: 28px; }
.news-detail__main .ktk-article { margin-top: 24px; }
.news-detail__side { position: sticky; top: 96px; padding: 24px 22px; border-radius: 28px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .1); }
.news-detail__side-title { margin: 0 0 16px; font-weight: 900; font-style: italic; font-size: 22px; line-height: 30px; color: rgb(237, 32, 37); }
.news-detail__side-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.news-side { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.news-side__pic { flex: none; width: 76px; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: rgb(255, 244, 196); }
.news-side__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-side:hover .news-side__pic img { transform: scale(1.08); }
.news-side__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.news-side__body strong { font-weight: 800; font-size: 15px; line-height: 22px; color: #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.news-side:hover .news-side__body strong { color: var(--ktk-red); }
.news-side__body small { font-family: "Be Vietnam", var(--ktk-font-text); font-size: 12px; color: rgb(150, 120, 60); }

@media (max-width: 1001px) {
  .news-list, .news-detail { padding: 36px 16px 48px; }
  .news-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .news-detail__grid, .news-detail__grid:has(.news-detail__main:only-child) { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .news-detail__main { padding: 24px 18px; }
  .news-detail__title { font-size: 26px; line-height: 36px; }
  .news-detail__side { position: static; }
}
@media (max-width: 600px) { .news-list__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Thư viện ảnh ---------- */
.album-card__pic { position: relative; aspect-ratio: 4 / 3; }
.album-card__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); font-family: "Be Vietnam", var(--ktk-font-text); font-weight: 600; font-size: 12px; line-height: 18px; color: rgb(68, 63, 36); }
.album-card__count svg { display: block; width: 16px; height: 16px; color: var(--ktk-red); }
.album-detail__head { max-width: 820px; margin: 0 auto 36px; text-align: center; }
.album-detail__title { margin: 0 0 10px; font-weight: 900; font-style: italic; font-size: 34px; line-height: 46px; letter-spacing: -.3px; color: rgb(237, 32, 37); text-wrap: balance; }
.album-detail__head .news-detail__meta { justify-content: center; }
.album-detail__lead { margin: 16px 0 0; font-family: "Be Vietnam", var(--ktk-font-text); font-weight: 500; font-size: 17px; line-height: 28px; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.album-grid__item { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: 20px; background: rgb(255, 244, 196); box-shadow: 0 0 5px rgba(0, 0, 0, .2); transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s cubic-bezier(.22, .61, .36, 1); }
.album-grid__item:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.album-grid__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.album-grid__item:hover img { transform: scale(1.07); }
.album-grid__zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(48, 44, 24, .35); color: #fff; opacity: 0; transition: opacity .3s; }
.album-grid__zoom svg { display: block; width: 36px; height: 36px; transform: scale(.8); transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.album-grid__item:hover .album-grid__zoom { opacity: 1; }
.album-grid__item:hover .album-grid__zoom svg { transform: scale(1); }
.album-detail .share-bar { justify-content: center; }
.album-detail__other-title { margin: 48px 0 20px; font-weight: 900; font-style: italic; font-size: 26px; line-height: 34px; color: rgb(237, 32, 37); text-align: center; }

/* Lightbox xem ảnh */
.ktk-lb { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(34, 30, 14, .92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.ktk-lb.is-open { opacity: 1; visibility: visible; }
.ktk-lb__stage { display: flex; flex-direction: column; align-items: center; max-width: 92vw; }
.ktk-lb__img { display: block; max-width: 92vw; max-height: 80vh; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transition: opacity .25s; }
.ktk-lb__img.is-loading { opacity: .2; }
.ktk-lb__cap { margin-top: 14px; max-width: 80vw; font-family: "Be Vietnam", var(--ktk-font-text); font-size: 14px; line-height: 22px; color: #fff; text-align: center; }
.ktk-lb__cap small { display: block; opacity: .65; font-size: 12px; }
.ktk-lb__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background-color .2s, transform .3s; }
.ktk-lb__btn:hover { background: var(--ktk-red); transform: scale(1.08); }
.ktk-lb__btn svg { display: block; width: 22px; height: 22px; }
.ktk-lb__close { top: 20px; right: 20px; }
.ktk-lb__prev { left: 20px; top: 50%; margin-top: -24px; }
.ktk-lb__next { right: 20px; top: 50%; margin-top: -24px; }
body.ktk-lb-open { overflow: hidden; }

@media (max-width: 1001px) {
  .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .album-detail__title { font-size: 26px; line-height: 36px; }
}
@media (max-width: 600px) {
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ktk-lb__prev { left: 8px; } .ktk-lb__next { right: 8px; } .ktk-lb__btn { width: 42px; height: 42px; }
}

/* ---------- Sản phẩm ---------- */
.product-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.product-filter__chip { display: inline-flex; align-items: center; padding: 9px 22px; border-radius: 999px; background: #fff; box-shadow: 0 0 5px rgba(0, 0, 0, .2); font-weight: 800; font-size: 15px; line-height: 22px; color: rgb(68, 63, 36); text-decoration: none; transition: background-color .25s, color .25s, transform .3s cubic-bezier(.22, .61, .36, 1); }
.product-filter__chip:hover { color: var(--ktk-red); transform: translateY(-2px); text-decoration: none; }
.product-filter__chip.is-active { background: var(--ktk-red); color: #fff; box-shadow: 0 4px 12px rgba(230, 0, 18, .35); }
.product-line-intro { display: flex; align-items: center; gap: 28px; max-width: 820px; margin: 0 auto 40px; padding: 22px 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 5px rgba(0, 0, 0, .2); }
.product-line-intro__logo { flex: none; display: block; width: 140px; height: auto; max-height: 90px; object-fit: contain; }
.product-line-intro__title { margin: 0 0 6px; font-weight: 900; font-style: italic; font-size: 24px; line-height: 32px; color: rgb(237, 32, 37); }
.product-line-intro__text p { margin: 0; font-family: "Be Vietnam", var(--ktk-font-text); font-size: 15px; line-height: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 0 5px rgba(0, 0, 0, .2); color: inherit; text-decoration: none; transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s cubic-bezier(.22, .61, .36, 1); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); color: inherit; text-decoration: none; }
.product-card__pic { position: relative; display: block; aspect-ratio: 1; background: radial-gradient(ellipse 62% 52% at 50% 56%, rgb(255, 229, 138) 0%, rgb(255, 244, 196) 70%, rgb(255, 249, 225) 100%); }
.product-card__pic img { position: absolute; left: 10%; top: 6%; display: block; width: 80%; height: 88%; object-fit: contain; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.product-card:hover .product-card__pic img { transform: scale(1.06) translateY(-4px); }
.product-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.product-card__line { font-weight: 800; font-size: 12px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--ktk-red); }
.product-card__name { font-family: var(--ktk-font-text); font-weight: 800; font-size: 17px; line-height: 24px; letter-spacing: -.2px; color: #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.product-card:hover .product-card__name { color: var(--ktk-red); }
.product-card__desc { font-family: "Be Vietnam", var(--ktk-font-text); font-size: 13px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-detail__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.product-detail__stage { position: relative; aspect-ratio: 1; border-radius: 32px; background: radial-gradient(ellipse 60% 50% at 50% 55%, rgb(255, 229, 138) 0%, rgb(255, 244, 196) 70%, rgb(255, 249, 225) 100%); box-shadow: 0 0 10px rgba(0, 0, 0, .1); }
.product-detail__main { position: absolute; left: 12%; top: 6%; display: block; width: 76%; height: 88%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(120, 80, 0, .25)); transition: opacity .25s; }
.product-detail__main.is-swap { opacity: 0; }
.product-detail__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.product-detail__thumb { display: flex; align-items: center; justify-content: center; width: 76px; aspect-ratio: 1; padding: 6px; border: 2px solid transparent; border-radius: 16px; background: #fff; box-shadow: 0 0 5px rgba(0, 0, 0, .2); cursor: pointer; transition: border-color .2s, transform .3s; }
.product-detail__thumb:hover { transform: translateY(-2px); }
.product-detail__thumb.is-active { border-color: var(--ktk-red); }
.product-detail__thumb img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-detail__line { display: inline-block; margin-bottom: 10px; padding: 5px 14px; border-radius: 999px; background: rgb(255, 244, 196); font-weight: 800; font-size: 13px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--ktk-red); text-decoration: none; transition: background-color .2s; }
.product-detail__line:hover { background: rgb(255, 229, 138); color: var(--ktk-red); text-decoration: none; }
.product-detail__title { margin: 0 0 14px; font-weight: 900; font-style: italic; font-size: 38px; line-height: 50px; letter-spacing: -.3px; color: rgb(237, 32, 37); text-wrap: balance; }
.product-detail__lead { margin: 0 0 26px; font-family: "Be Vietnam", var(--ktk-font-text); font-weight: 500; font-size: 17px; line-height: 28px; }
.product-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-detail__btn { display: inline-flex; align-items: center; justify-content: center; height: 45px; padding: 0 28px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(237, 32, 37); font-weight: 900; font-size: 16px; color: rgb(237, 32, 37); text-decoration: none; transition: background-color .2s, color .2s, transform .3s cubic-bezier(.22, .61, .36, 1); }
.product-detail__btn:hover { background: rgb(237, 32, 37); color: #fff; transform: translateY(-2px); text-decoration: none; }
.product-detail__btn--primary { background: rgb(237, 32, 37); color: #fff; }
.product-detail__btn--primary:hover { background: rgb(196, 20, 26); box-shadow: none; }
.product-detail__info .share-bar { margin-top: 28px; }
.product-detail__content { margin-top: 56px; padding: 36px 44px; border-radius: 28px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .1); }
.product-detail__section { margin: 0 0 18px; font-weight: 900; font-style: italic; font-size: 26px; line-height: 34px; color: rgb(237, 32, 37); }
.product-detail__section--center { margin-top: 56px; text-align: center; }
.product-detail__content .ktk-article > :first-child { margin-top: 0; }

@media (max-width: 1001px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .product-detail__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-detail__title { font-size: 28px; line-height: 38px; }
  .product-detail__content { padding: 24px 18px; margin-top: 36px; }
  .product-line-intro { flex-direction: column; text-align: center; gap: 14px; }
}

@media (max-width: 1001px) {
  .hero { border-radius: 0 0 24px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__dot, .site-header__link::after { transition: none; }
}

/* ---------- Chuyển động tinh tế (tự tắt khi người dùng chọn giảm chuyển động) ---------- */
html { scroll-behavior: smooth; }
/* Xuất hiện khi cuộn: dùng animation + thuộc tính translate/scale riêng, không đụng transform/transition của hover */
html.js-reveal [data-reveal]:not(.is-in) { opacity: 0; }
[data-reveal].is-in { animation: ktk-rise .85s cubic-bezier(.22, .61, .36, 1) var(--rd, 0s) backwards; }
[data-reveal="left"].is-in { animation-name: ktk-rise-left; }
[data-reveal="right"].is-in { animation-name: ktk-rise-right; }
[data-reveal="zoom"].is-in { animation-name: ktk-zoom; }
@keyframes ktk-rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes ktk-rise-left { from { opacity: 0; translate: -36px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes ktk-rise-right { from { opacity: 0; translate: 36px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes ktk-zoom { from { opacity: 0; scale: .93; } to { opacity: 1; scale: 1; } }

/* Thanh tiến độ cuộn trang */
.ktk-progress { position: fixed; left: 0; top: 0; z-index: 2100; width: 100%; height: 3px; background: linear-gradient(90deg, rgb(255, 201, 77), rgb(237, 32, 37)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Header: kính mờ khi tách khỏi dòng, trượt xuống mượt */
.site-header.is-fixed { background-color: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); }
.site-header { animation: ktk-drop .7s cubic-bezier(.22, .61, .36, 1) backwards; }
@keyframes ktk-drop { from { opacity: 0; translate: 0 -16px; } to { opacity: 1; translate: 0 0; } }

/* Banner trang chủ: ảnh đang hiển thị phóng nhẹ dần (Ken Burns) */
.hero .owl-item.active .hero__img { animation: ktk-kenburns 7s ease-out both; }
@keyframes ktk-kenburns { from { scale: 1.06; } to { scale: 1; } }
.hero__slide { overflow: hidden; }

/* Nhấn nút: co nhẹ */
.site-header__cta:active, .about__btn:active, .lines__btn:active, .recipes__btn:active, .quality__btn:active,
.contact__submit:active, .product-detail__btn:active, .mnav__cta:active, .product-filter__chip:active, .share-bar__btn:active { transform: scale(.96); }

/* Trang trí trôi nhẹ theo cuộn (JS gán biến --py) */
[data-parallax] { translate: 0 var(--py, 0px); will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal [data-reveal]:not(.is-in) { opacity: 1; }
  [data-reveal].is-in, .site-header, .hero .owl-item.active .hero__img { animation: none; }
  .ktk-progress { display: none; }
  [data-parallax] { translate: none; }
}

/* ============================== Giỏ hàng cơ bản ============================== */
.site-header__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgb(255, 244, 196); color: var(--ktk-ink); text-decoration: none; transition: background-color .2s, color .2s, transform .3s cubic-bezier(.22, .61, .36, 1); }
.site-header__cart svg { width: 22px; height: 22px; }
.site-header__cart:hover { background: rgb(255, 229, 138); color: var(--ktk-red); text-decoration: none; }
.site-header__cart:active { transform: scale(.94); }
.site-header__badge { position: absolute; top: -3px; right: -3px; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--ktk-red); font: 800 11px/1 var(--ktk-font-ui); color: #fff; }
.site-header__badge[hidden] { display: none; }
.site-header__badge.is-bump { animation: ktk-bump .5s cubic-bezier(.22, .61, .36, 1); }
@keyframes ktk-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.product-card__price { display: block; margin-top: 6px; font-weight: 900; font-size: 17px; color: rgb(237, 32, 37); }
.product-card__price del { margin-left: 8px; font-weight: 600; font-size: 13px; color: rgb(160, 150, 110); }
.product-detail__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 20px; }
.product-detail__price strong { font-weight: 900; font-size: 34px; line-height: 1.1; color: rgb(237, 32, 37); }
.product-detail__price del { font-weight: 600; font-size: 18px; color: rgb(160, 150, 110); }
.product-detail__off { padding: 3px 10px; border-radius: 999px; background: rgb(255, 229, 138); font-weight: 800; font-size: 13px; color: rgb(150, 20, 20); }
.product-detail__price--ask { font-weight: 900; font-size: 22px; color: rgb(237, 32, 37); }
.product-detail__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.product-detail__buy .product-detail__btn { cursor: pointer; }
.product-detail__added { margin: 0 0 14px; padding: 10px 16px; border-radius: 14px; background: rgb(232, 247, 232); font-weight: 700; font-size: 14px; color: rgb(30, 110, 50); }
.product-detail__added[hidden] { display: none; }
.product-detail__added.is-error { background: rgb(253, 232, 232); color: rgb(170, 25, 25); }
.product-detail__added a { margin-left: 8px; font-weight: 900; color: inherit; text-decoration: underline; }

.qty { display: inline-flex; align-items: center; height: 45px; border: 1px solid rgb(236, 217, 168); border-radius: 999px; background: #fff; overflow: hidden; }
.qty__btn { width: 40px; height: 100%; border: 0; background: transparent; font: 700 20px/1 var(--ktk-font-text); color: rgb(68, 63, 36); cursor: pointer; transition: background-color .2s, color .2s; }
.qty__btn:hover { background: rgb(255, 244, 196); color: var(--ktk-red); }
.qty__input { width: 44px; height: 100%; padding: 0; border: 0; background: transparent; text-align: center; font: 800 16px/1 var(--ktk-font-text); color: rgb(68, 63, 36); -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.qty__input:focus { outline: none; }

.cart__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: start; }
.cart__grid[hidden], .cart__empty[hidden], .cart__done[hidden] { display: none; }
.cart__heading { margin: 0 0 18px; font-weight: 900; font-style: italic; font-size: 26px; line-height: 34px; color: rgb(237, 32, 37); }
.cart__items { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .08); transition: opacity .3s, transform .3s; }
.cart-item.is-removing { opacity: 0; transform: translateX(16px); }
.cart-item__pic { display: block; aspect-ratio: 1; border-radius: 16px; background: radial-gradient(ellipse 60% 50% at 50% 55%, rgb(255, 229, 138) 0%, rgb(255, 244, 196) 70%, rgb(255, 249, 225) 100%); }
.cart-item__pic img { display: block; width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.cart-item__body { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.cart-item__name { font-weight: 800; font-size: 17px; line-height: 24px; color: rgb(68, 63, 36); text-decoration: none; }
.cart-item__name:hover { color: var(--ktk-red); text-decoration: none; }
.cart-item__price { font-weight: 700; font-size: 15px; color: rgb(237, 32, 37); }
.cart-item__price del { margin-left: 8px; font-weight: 500; font-size: 13px; color: rgb(160, 150, 110); }
.cart-item .qty { height: 38px; }
.cart-item .qty__btn { width: 34px; font-size: 18px; }
.cart-item .qty__input { width: 38px; font-size: 15px; }
.cart-item__side { display: grid; justify-items: end; align-content: space-between; align-self: stretch; gap: 12px; }
.cart-item__line { font-weight: 900; font-size: 18px; color: rgb(68, 63, 36); white-space: nowrap; }
.cart-item__remove { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgb(255, 244, 196); color: rgb(68, 63, 36); cursor: pointer; transition: background-color .2s, color .2s, transform .3s; }
.cart-item__remove svg { width: 16px; height: 16px; }
.cart-item__remove:hover { background: var(--ktk-red); color: #fff; transform: rotate(90deg); }
.cart__back { display: inline-block; margin-top: 18px; font-weight: 800; color: rgb(237, 32, 37); text-decoration: none; }
.cart__back:hover { text-decoration: underline; }
.cart__form { position: sticky; top: 96px; }
.cart__sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 20px; padding: 14px 18px; border-radius: 16px; background: rgb(255, 244, 196); font-weight: 700; }
.cart__sum strong { font-weight: 900; font-size: 24px; color: rgb(237, 32, 37); }
.cart__pay { margin: 4px 0 18px; }
.cart__pay-title { margin: 0 0 10px; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: rgb(68, 63, 36); }
.cart__pay-opt { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; padding: 12px 14px; border: 1px solid rgb(236, 217, 168); border-radius: 14px; background: rgb(255, 252, 240); cursor: pointer; font-weight: 500; }
.cart__pay-opt input { margin-top: 4px; accent-color: var(--ktk-red); }
.cart__pay-opt strong { display: block; font-size: 15px; }
.cart__pay-opt small { display: block; margin-top: 2px; font-size: 13px; line-height: 20px; color: rgb(110, 100, 60); }
.cart__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cart__error { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: rgb(253, 232, 232); font-weight: 600; font-size: 14px; line-height: 22px; color: rgb(170, 25, 25); white-space: pre-line; }
.cart__error[hidden] { display: none; }
.cart__submit { width: 100%; }
.cart__empty, .cart__done { display: grid; justify-items: center; gap: 14px; padding: 56px 20px; text-align: center; }
.cart__empty svg, .cart__done svg { width: 72px; height: 72px; color: rgb(237, 32, 37); }
.cart__empty p, .cart__done p { margin: 0; font-size: 17px; line-height: 28px; }
.cart__done h2 { margin: 0; font-weight: 900; font-style: italic; font-size: 32px; color: rgb(237, 32, 37); }
.cart__done a:not(.product-detail__btn) { font-weight: 800; color: rgb(237, 32, 37); }
@media (max-width: 960px) {
  .cart__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cart__form { position: static; }
}
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .cart-item__side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; align-content: center; justify-items: start; }
  .cart-item__side .cart-item__remove { justify-self: end; }
  .product-detail__price strong { font-size: 28px; }
  .product-detail__buy .qty { flex: 0 0 auto; }
}
button.product-detail__btn { font-family: inherit; cursor: pointer; }
button.product-detail__btn:not(.product-detail__btn--primary):not(:hover) { background-color: #fff; }
.cart__form textarea.form-control { height: 84px; }
