/* =========================================================
 * Sections – common styles
 * Dùng biến CSS của Flatsome: --primary-color, --secondary-color
 * Fallback cho trường hợp chưa load: #c7952c / #724907
 * ========================================================= */

:root {
  --tv-primary: var(--primary-color, #c7952c);
  --tv-secondary: var(--secondary-color, #724907);
}

/* =========================================================
 * TYPEWRITER TEXT OVERLAY trên banner
 * Giống quannhautudo.com: text gõ chữ xuất hiện trên illustration
 * ========================================================= */

.tv-home-banner__typetext {
  position: absolute;
  z-index: 9;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(11px, 1.04vw, 18px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #f5f2e8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  white-space: pre-line;
  pointer-events: none;
  user-select: none;
  min-height: 3.5em;
}

.tv-home-banner__typetext--left {
  left: 12%;
  top: 29%;
}

.tv-home-banner__typetext--right {
  left: 60%;
  top: 24%;
}

/* Con trỏ nhấp nháy sau text */
.tv-home-banner__typetext::after {
  content: "|";
  display: inline-block;
  color: #ffa827;
  animation: tvTypeCursor 0.7s steps(1) infinite;
  margin-left: 1px;
  font-weight: 400;
}

.tv-home-banner__typetext.is-done::after {
  animation: none;
  opacity: 0;
}

@keyframes tvTypeCursor {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .tv-home-banner__typetext--left {
    left: 7%;
    top: 28%;
  }
  .tv-home-banner__typetext--right {
    left: 57%;
    top: 22%;
  }
}

@media (max-width: 640px) {
  .tv-home-banner__typetext {
    font-size: 10px;
  }
  .tv-home-banner__typetext--left {
    left: 6%;
    top: 31%;
  }
  .tv-home-banner__typetext--right {
    left: 57%;
    top: 25%;
  }
}

/* =========================================================
 * BIG TEXT SECTION – "tự do trong thế giới của ta"
 * Giống quannhautudo.com: text to màu vàng, xuất hiện khi scroll
 * ========================================================= */

.tv-home-bigtext {
  position: relative;
  overflow: hidden;
  background:
    var(--tv-home-bg) center / cover fixed no-repeat,
    #660000;
  padding: clamp(28px, 5vw, 80px) clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tv-home-bigtext__inner {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(40px, 9vw, 140px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffa827;
  text-shadow:
    0 0 80px rgba(255, 168, 39, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.5);

  /* Trạng thái ban đầu – ẩn trước khi scroll tới */
  opacity: 0;
  transform: scale(1.18) translateY(30px);
  filter: blur(8px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s ease;
  will-change: opacity, transform, filter;
}

.tv-home-bigtext__inner.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0px);
}

/* Decorative line trên/dưới big text */
.tv-home-bigtext::before,
.tv-home-bigtext::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(40px, 6vw, 80px);
  height: 2px;
  background: rgba(255, 168, 39, 0.35);
  border-radius: 999px;
}
.tv-home-bigtext::before {
  top: 14px;
}
.tv-home-bigtext::after {
  bottom: 14px;
}

@media (max-width: 640px) {
  .tv-home-bigtext {
    padding: 36px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-home-bigtext__inner {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* =========================================================
 * [tv_home_banner]
 * Animated collage banner giống artwork Tự Do.
 * ========================================================= */

.tv-home-banner {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #660000;
  overflow: hidden;
}

.tv-home-banner__stage {
  position: relative;
  min-height: clamp(365px, 36.5vw, 697px);
  width: 100%;
  overflow: hidden;
  background:
    var(--tv-home-bg) center / cover fixed no-repeat,
    #660000;
  isolation: isolate;
}

.tv-home-banner__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.tv-home-banner__scaler {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform: scale(0.85);
  transform-origin: center bottom;
  pointer-events: none;
}
.tv-home-banner__scaler > * {
  pointer-events: auto;
}

.tv-home-banner__layer {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(2180px, 118vw);
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: translate3d(
      calc(-50% + var(--tv-parallax-x, 0px)),
      calc(-50% + var(--tv-parallax-y, 0px)),
      0
    )
    scale(1.01);
  transform-origin: center;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.16));
  will-change: transform;
}

.tv-home-banner__layer--back {
  z-index: 2;
  animation: tvBannerDriftBack 9s ease-in-out infinite;
}
.tv-home-banner__layer--mid {
  z-index: 3;
  animation: tvBannerDriftMid 8s ease-in-out infinite;
}
.tv-home-banner__layer--front {
  z-index: 4;
  animation: tvBannerDriftFront 7s ease-in-out infinite;
}
.tv-home-banner__layer--detail {
  z-index: 5;
  animation: tvBannerDriftDetail 6.5s ease-in-out infinite;
}
.tv-home-banner__layer--top {
  z-index: 6;
  animation: tvBannerDriftTop 5.8s ease-in-out infinite;
}

.tv-home-banner__tv,
.tv-home-banner__brick {
  position: absolute;
  z-index: 7;
  max-width: none;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.22));
}

.tv-home-banner__tv-wrap {
  position: absolute;
  right: 33.8%;
  bottom: 14.5%;
  width: clamp(150px, 17.4vw, 330px);
  z-index: 7;
  pointer-events: none;
  user-select: none;
  transform: translate3d(
      var(--tv-parallax-x, 0px),
      var(--tv-parallax-y, 0px),
      0
    )
    rotate(-0.8deg);
  animation: tvBannerTvGlow 4.2s ease-in-out infinite;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.22));
}

.tv-home-banner__tv {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.tv-home-banner__tv-video {
  position: absolute;
  top: 8%;
  left: 6%;
  width: 55%;
  height: 73%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.tv-home-banner__brick--one {
  left: 30%;
  bottom: 13.5%;
  width: clamp(48px, 4.8vw, 88px);
  animation: tvBannerBrick 5.5s ease-in-out infinite;
}

.tv-home-banner__brick--two {
  right: 1.2%;
  top: 23%;
  width: clamp(58px, 5.2vw, 98px);
  animation: tvBannerBrick 6.2s ease-in-out infinite reverse;
}

.tv-home-banner[data-tv-reveal] .tv-home-banner__layer,
.tv-home-banner[data-tv-reveal] .tv-home-banner__tv-wrap,
.tv-home-banner[data-tv-reveal] .tv-home-banner__brick {
  opacity: 0;
}

.tv-home-banner[data-tv-reveal].is-visible .tv-home-banner__layer,
.tv-home-banner[data-tv-reveal].is-visible .tv-home-banner__tv-wrap,
.tv-home-banner[data-tv-reveal].is-visible .tv-home-banner__brick {
  opacity: 1;
  transition: opacity 0.9s ease;
}

@keyframes tvBannerDriftBack {
  0%,
  100% {
    margin-top: 0;
    margin-left: 0;
  }
  50% {
    margin-top: -8px;
    margin-left: 5px;
  }
}

@keyframes tvBannerDriftMid {
  0%,
  100% {
    margin-top: 0;
    margin-left: 0;
  }
  50% {
    margin-top: 8px;
    margin-left: -7px;
  }
}

@keyframes tvBannerDriftFront {
  0%,
  100% {
    margin-top: 0;
    margin-left: 0;
  }
  50% {
    margin-top: -11px;
    margin-left: 9px;
  }
}

@keyframes tvBannerDriftDetail {
  0%,
  100% {
    margin-top: 0;
    margin-left: 0;
  }
  50% {
    margin-top: 7px;
    margin-left: 12px;
  }
}

@keyframes tvBannerDriftTop {
  0%,
  100% {
    margin-top: 0;
    margin-left: 0;
  }
  50% {
    margin-top: -12px;
    margin-left: -10px;
  }
}

@keyframes tvBannerTvGlow {
  0%,
  100% {
    filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.22)) brightness(1);
  }
  50% {
    filter: drop-shadow(0 22px 24px rgba(255, 177, 33, 0.18)) brightness(1.08);
  }
}

@keyframes tvBannerBrick {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2.5deg);
  }
}

@media (max-width: 1024px) {
  .tv-home-banner__stage {
    min-height: clamp(306px, 44.2vw, 476px);
  }
  .tv-home-banner__layer {
    width: 1420px;
  }

  .tv-home-banner__tv-wrap {
    right: 25%;
    bottom: 14%;
  }
}

@media (max-width: 640px) {
  .tv-home-banner__stage {
    min-height: clamp(408px, 110.5vw, 552px);
  }
  .tv-home-banner__layer {
    width: 1100px;
    left: 65%;
    top: 52%;
  }
  .tv-home-banner__typetext {
    font-size: 14px;
    line-height: 1.5;
    max-width: 160px;
  }
  .tv-home-banner__typetext--left {
    left: 5%;
    top: 25%;
  }
  .tv-home-banner__typetext--right {
    left: 55%;
    top: 15%;
  }
  .tv-home-banner__tv-wrap {
    right: 5%;
    bottom: 5%;
    width: 150px;
  }
  .tv-home-banner__brick--one,
  .tv-home-banner__brick--two {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-home-banner__layer,
  .tv-home-banner__tv-wrap,
  .tv-home-banner__brick {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
 * [tv_hero_contact]
 * Full-width banner, không bo góc, có vòng cung trắng dưới đáy
 * ========================================================= */

.tv-hero-contact {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 56px clamp(20px, 5vw, 64px) 110px;
  color: #fff;
  background:
    radial-gradient(
      1200px 600px at 100% 0%,
      rgba(255, 255, 255, 0.08),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 0% 100%,
      rgba(0, 0, 0, 0.18),
      transparent 60%
    ),
    linear-gradient(135deg, var(--tv-primary) 0%, var(--tv-secondary) 100%);
}

/* Reveal animation when entering viewport */
.tv-hero-contact[data-tv-reveal] .tv-hc__head,
.tv-hero-contact[data-tv-reveal] .tv-hc__actions,
.tv-hero-contact[data-tv-reveal] .tv-hc__info,
.tv-hero-contact[data-tv-reveal] .tv-hc__map {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.tv-hero-contact[data-tv-reveal].is-visible .tv-hc__head {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-hero-contact[data-tv-reveal].is-visible .tv-hc__actions {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.tv-hero-contact[data-tv-reveal].is-visible .tv-hc__info {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}
.tv-hero-contact[data-tv-reveal].is-visible .tv-hc__map {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

/* Inner container */
/* Inner container – Flatsome đã set max-width đúng theo site_width của user */
.tv-hc__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* TOP ROW – heading | buttons */
.tv-hc__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}
@media (max-width: 800px) {
  .tv-hc__top {
    grid-template-columns: 1fr;
  }
}

.tv-hc__title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0.2px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.tv-hc__subtitle {
  margin: 0 0 6px;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 700;
  opacity: 0.95;
}
.tv-hc__tagline {
  margin: 0;
  font-size: 14px;
  opacity: 0.85;
  letter-spacing: 0.4px;
}

/* Actions */
.tv-hc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-self: end;
}
@media (max-width: 800px) {
  .tv-hc__actions {
    justify-self: start;
  }
}
.tv-hc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  will-change: transform;
}
.tv-hc__btn--solid {
  background: #fff;
  color: var(--tv-secondary);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
}
.tv-hc__btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  color: var(--tv-secondary);
}
.tv-hc__btn--outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.tv-hc__btn--outline:hover {
  background: #fff;
  color: var(--tv-secondary);
  transform: translateY(-2px);
}

/* BOTTOM ROW – info list | map */
.tv-hc__bottom {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 900px) {
  .tv-hc__bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Info list */
.tv-hc__info {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tv-hc__info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tv-hc__icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}
.tv-hc__info-item:hover .tv-hc__icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(255, 255, 255, 0.3);
}
.tv-hc__icon--badge {
  background: #fff;
  color: var(--tv-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tv-hc__info-text {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}
.tv-hc__info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.85;
}
.tv-hc__info-label--link {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.tv-hc__info-label--link:hover {
  opacity: 1;
}
.tv-hc__info-value {
  font-size: 13.5px;
  font-weight: 600;
}

/* Map – horizontal pill */
.tv-hc__map {
  position: relative;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 18px 40px -18px rgba(0, 0, 0, 0.45),
    inset 0 0 0 4px rgba(255, 255, 255, 0.6);
  transform: translateZ(0);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.tv-hc__map:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 50px -18px rgba(0, 0, 0, 0.55),
    inset 0 0 0 4px rgba(255, 255, 255, 0.7);
}
.tv-hc__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.tv-hc__map-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--tv-secondary);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}
.tv-hc__map-pill:hover {
  transform: translateY(-1px) scale(1.03);
  color: var(--tv-secondary);
}

/* Decorative outline circles */
.tv-hc__blob {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 1;
  animation: tvFloat 9s ease-in-out infinite;
}
.tv-hc__blob--tl {
  width: 140px;
  height: 140px;
  top: -50px;
  left: 4%;
  animation-delay: 0s;
}
.tv-hc__blob--bl {
  width: 90px;
  height: 90px;
  bottom: 90px;
  left: 8%;
  animation-delay: 1.5s;
}
.tv-hc__blob--tr {
  width: 120px;
  height: 120px;
  top: 30px;
  right: 3%;
  animation-delay: 1s;
}
.tv-hc__blob--br {
  width: 200px;
  height: 200px;
  bottom: -60px;
  right: 10%;
  animation-delay: 2.5s;
}

@keyframes tvFloat {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-12px) translateX(6px);
  }
}

/* Bottom curve */
.tv-hc__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px; /* tránh viền hairline khi zoom */
  width: 100%;
  height: 90px;
  display: block;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 800px) {
  .tv-hc__curve {
    height: 60px;
  }
  .tv-hero-contact {
    padding-bottom: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-hc__blob {
    animation: none;
  }
  .tv-hero-contact[data-tv-reveal] * {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
 * [tv_featured_products] – slider sản phẩm nổi bật
 *
 * NOTE: section trần — không có padding / bg / max-width.
 * Bọc trong [section] hoặc [row][col] của UX Builder để theme tự lo
 * container, spacing, background đồng bộ với các section khác.
 * ========================================================= */

.tv-fp {
  padding: 0;
  background: transparent;
}
.tv-fp__inner {
  width: 100%;
}

/* Header */
.tv-fp__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.tv-fp__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #1a1a1a;
}
.tv-fp__title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  margin-right: 12px;
  border-radius: 4px;
  vertical-align: -3px;
  background: linear-gradient(180deg, var(--tv-primary), var(--tv-secondary));
}

/* Nav buttons */
.tv-fp__nav {
  display: flex;
  gap: 10px;
}
.tv-fp__btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tv-fp__btn:hover:not(:disabled) {
  border-color: var(--tv-primary);
  color: var(--tv-primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(199, 149, 44, 0.45);
}
.tv-fp__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Track – horizontal scroll snap */
.tv-fp__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px * 4) / 5); /* 5 columns desktop */
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 18px;
  scrollbar-width: none;
}
.tv-fp__track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1100px) {
  .tv-fp__track {
    grid-auto-columns: calc((100% - 24px * 3) / 4);
  }
}
@media (max-width: 900px) {
  .tv-fp__track {
    grid-auto-columns: calc((100% - 18px * 2) / 3);
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .tv-fp__track {
    grid-auto-columns: calc((100% - 16px) / 2);
    gap: 16px;
  }
}
@media (max-width: 460px) {
  .tv-fp__track {
    grid-auto-columns: 78%;
  }
}

/* Card */
.tv-fp__card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 8px 22px -16px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.tv-fp__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 18px 36px -18px rgba(0, 0, 0, 0.28);
}

/* Media + Add */
.tv-fp__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f4f6;
}
.tv-fp__media-link {
  display: block;
  height: 100%;
}
.tv-fp__img,
.tv-fp__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tv-fp__card:hover .tv-fp__img,
.tv-fp__card:hover .tv-fp__media img {
  transform: scale(1.06);
}

.tv-fp__img--placeholder {
  background: repeating-linear-gradient(
    45deg,
    #f3f4f6 0 12px,
    #e5e7eb 12px 24px
  );
}

.tv-fp__add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tv-primary);
  color: #fff !important;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none !important;
  box-shadow:
    0 4px 10px -3px rgba(199, 149, 44, 0.55),
    0 0 0 2px rgba(255, 255, 255, 0.85);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.tv-fp__add:hover {
  background: var(--tv-secondary);
  transform: translateY(-1px) scale(1.06);
  box-shadow:
    0 6px 14px -4px rgba(114, 73, 7, 0.55),
    0 0 0 2px rgba(255, 255, 255, 0.95);
  color: #fff;
}
.tv-fp__add-text {
  line-height: 1;
}
.tv-fp__add.added .tv-fp__add-text::after {
  content: " ✓";
}
.tv-fp__add.loading {
  opacity: 0.8;
  pointer-events: none;
}

/* Body */
.tv-fp__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tv-fp__name {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}
.tv-fp__name a {
  color: inherit;
  text-decoration: none;
}
.tv-fp__name a:hover {
  color: var(--tv-secondary);
}

.tv-fp__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tv-fp__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  background: #6b7280;
}
.tv-fp__badge--gold {
  background: var(--tv-primary);
}
.tv-fp__badge--green {
  background: #10a877;
}
.tv-fp__badge--amber {
  background: #f59e0b;
  color: #1f2937;
}
.tv-fp__badge--blue {
  background: #2271b1;
}
.tv-fp__badge--red {
  background: #ef4444;
}

.tv-fp__desc {
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv-fp__foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tv-fp__price {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.tv-fp__price .woocommerce-Price-amount {
  color: inherit;
}
.tv-fp__price del {
  color: #9ca3af;
  font-weight: 600;
  margin-right: 6px;
  font-size: 13px;
}
.tv-fp__price ins {
  text-decoration: none;
}

.tv-fp__wish {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #9ca3af;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.tv-fp__wish:hover {
  color: #ef4444;
  transform: scale(1.1);
}
.tv-fp__wish.added {
  color: #ef4444;
}

/* Reveal animation */
.tv-fp[data-tv-reveal] .tv-fp__head,
.tv-fp[data-tv-reveal] .tv-fp__track {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.tv-fp[data-tv-reveal].is-visible .tv-fp__head {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-fp[data-tv-reveal].is-visible .tv-fp__track {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  .tv-fp[data-tv-reveal] * {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- Fixes & overrides cho [tv_featured_products] ---- */

/* Chevron mũi tên tự vẽ — không phụ thuộc SVG (tránh bị Flatsome override). */
.tv-fp__btn {
  padding: 0;
  line-height: 0;
}
.tv-fp__chev {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.tv-fp__chev--left {
  transform: rotate(-135deg);
  margin-left: 3px;
}
.tv-fp__chev--right {
  transform: rotate(45deg);
  margin-right: 3px;
}

/* Add button: nút tròn chỉ chữ "Add" */
.tv-fp__add {
  gap: 0;
}

/* ---- YITH Wishlist tích hợp vào card ---- */
.tv-fp__wish {
  display: inline-flex;
  align-items: center;
}
.tv-fp__wish .yith-wcwl-add-to-wishlist {
  margin: 0 !important;
}
.tv-fp__wish .yith-wcwl-add-to-wishlist > div {
  display: inline-flex !important;
  align-items: center;
}
.tv-fp__wish a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  color: #9ca3af !important;
  font-size: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}
/* Ẩn hết text label, chỉ giữ icon do plugin tự render */
.tv-fp__wish a > span,
.tv-fp__wish a > .feedback,
.tv-fp__wish .feedback,
.tv-fp__wish .ajax-loading,
.tv-fp__wish .separator,
.tv-fp__wish .view-wishlist {
  display: none !important;
}
.tv-fp__wish a i,
.tv-fp__wish a svg {
  font-size: 18px !important;
  width: 18px;
  height: 18px;
  color: inherit !important;
}
.tv-fp__wish a:hover {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
  transform: scale(1.08);
}
/* State: đã thêm (heart đỏ) */
.tv-fp__wish .yith-wcwl-wishlistaddedbrowse a,
.tv-fp__wish .yith-wcwl-wishlistexistsbrowse a {
  color: #ef4444 !important;
}

/* =========================================================
 * [tv_menu] – Menu với tabs danh mục con
 *
 * NOTE: section trần — không tự padding / bg.
 * Bọc trong [section] hoặc [row][col] của UX Builder để dùng
 * container & spacing chung của theme.
 * ========================================================= */

.tv-menu {
  padding: 0;
  background: transparent;
}
.tv-menu__inner {
  width: 100%;
}

/* Tiêu đề section */
.tv-menu__title {
  margin: 0 0 22px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.2px;
}
.tv-menu__title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  margin-right: 12px;
  border-radius: 4px;
  vertical-align: -3px;
  background: linear-gradient(180deg, var(--tv-primary), var(--tv-secondary));
}

/* Tab bar */
.tv-menu__tabs {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

/* Hamburger – chỉ hiện trên mobile */
.tv-menu__hamb {
  flex: 0 0 auto;
  width: 38px;
  height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #4b5563;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.tv-menu__hamb:hover {
  background: #fdf6e8;
  color: var(--tv-primary);
  border-color: var(--tv-primary);
}
.tv-menu__hamb-svg {
  display: block;
}

.tv-menu__tablist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
.tv-menu__tablist li {
  flex: 0 0 auto;
}

.tv-menu__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #4b5563;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.15px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.tv-menu__tab:hover {
  color: var(--tv-secondary);
  background: #fafaf6;
}
.tv-menu__tab.is-active {
  color: var(--tv-primary);
  background: #fdf6e8;
}
.tv-menu__tab.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--tv-primary);
}

/* Panels */
.tv-menu__panels {
  position: relative;
}
.tv-menu__panel {
  display: none;
}
.tv-menu__panel.is-active {
  display: block;
  animation: tvMenuFade 0.35s ease;
}
@keyframes tvMenuFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Header xanh chuyển sang brand */
.tv-menu__cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(
    135deg,
    var(--tv-primary) 0%,
    var(--tv-secondary) 100%
  );
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(199, 149, 44, 0.55);
}
.tv-menu__cat-title {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
}
.tv-menu__cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  opacity: 0.9;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.tv-menu__cat-link:hover {
  opacity: 1;
  transform: translateX(2px);
  color: #fff;
}

.tv-menu__chev {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* Grid sản phẩm trong panel */
.tv-menu__grid {
  display: grid;
  grid-template-columns: repeat(var(--tv-menu-cols, 4), minmax(0, 1fr));
  gap: 22px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}
@media (max-width: 1100px) {
  .tv-menu__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .tv-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
  }
}
@media (max-width: 460px) {
  .tv-menu__grid {
    grid-template-columns: 1fr;
  }
}

/* Card thừa (vượt per_page) — ẩn mặc định, hiển thị khi panel mở rộng */
.tv-menu__card.is-extra {
  display: none;
}
.tv-menu__panel.is-expanded .tv-menu__card.is-extra {
  display: flex;
}

/* Footer "more / less" */
.tv-menu__more {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.tv-menu__more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--tv-secondary) !important;
  border: 1.5px solid var(--tv-primary);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tv-menu__more-link:hover {
  background: var(--tv-primary);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(199, 149, 44, 0.55);
}
/* Chevron quay khi đã mở rộng để báo hiệu "thu gọn" */
.tv-menu__more-link .tv-menu__chev {
  transition: transform 0.2s ease;
}
.tv-menu__panel.is-expanded .tv-menu__more-link .tv-menu__chev {
  transform: rotate(-135deg); /* quay từ → thành ↑ */
}

.tv-menu__empty {
  padding: 30px;
  text-align: center;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

/* Mobile: hamburger + tablist scroll ngang cùng hiển thị; hamburger mở dropdown phụ */
@media (max-width: 640px) {
  .tv-menu__tabs {
    padding: 6px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .tv-menu__hamb {
    display: inline-flex;
  }

  .tv-menu__tablist {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 4px;
  }
  .tv-menu__tablist::-webkit-scrollbar {
    display: none;
  }

  .tv-menu__tab {
    scroll-snap-align: start;
    white-space: nowrap;
    font-size: 12px;
  }
  .tv-menu__tab.is-active::after {
    left: 12px;
    right: 12px;
    bottom: 0;
  }

  /* Dropdown phụ khi click hamburger – hiện dạng grid 2 cột */
  .tv-menu__tabs.is-open::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 4px;
    height: 1px;
  }
  .tv-menu__tabs.is-open .tv-menu__hamb {
    background: #fdf6e8;
    color: var(--tv-primary);
    border-color: var(--tv-primary);
  }
  .tv-menu__tabs.is-open .tv-menu__dropdown {
    display: grid;
  }

  .tv-menu__dropdown {
    display: none;
    list-style: none;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.18);
    z-index: 10;
    max-height: 320px;
    overflow-y: auto;
  }
  .tv-menu__dropdown li {
    list-style: none;
  }
  .tv-menu__dropdown .tv-menu__tab {
    width: 100%;
    justify-content: flex-start;
    font-size: 12.5px;
    padding: 8px 10px;
  }
  .tv-menu__dropdown .tv-menu__tab.is-active::after {
    display: none;
  }
}
@media (min-width: 641px) {
  .tv-menu__dropdown {
    display: none !important;
  }
}

/* Reveal animation */
.tv-menu[data-tv-reveal] .tv-menu__title,
.tv-menu[data-tv-reveal] .tv-menu__tabs,
.tv-menu[data-tv-reveal] .tv-menu__panels {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.tv-menu[data-tv-reveal].is-visible .tv-menu__title {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-menu[data-tv-reveal].is-visible .tv-menu__tabs {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.tv-menu[data-tv-reveal].is-visible .tv-menu__panels {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  .tv-menu[data-tv-reveal] * {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
 * Mobile: card sản phẩm trong [tv_menu] -> layout NGANG
 * Text trái, ảnh vuông phải, nút Add tròn ở góc ảnh.
 * ========================================================= */

/* Ẩn dòng giá inline trên desktop (chỉ dùng trên mobile) */
.tv-menu__price-inline {
  display: none;
}

@media (max-width: 640px) {
  /* Grid 1 cột để mỗi card chiếm full width */
  .tv-menu__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .tv-menu .tv-menu__card {
    flex-direction: row; /* text trái, ảnh phải */
    align-items: stretch;
    gap: 12px;
    padding: 10px;
    overflow: hidden; /* bo gọn cả card */
    border-radius: 14px;
    box-shadow:
      0 1px 0 rgba(0, 0, 0, 0.04),
      0 6px 14px -10px rgba(0, 0, 0, 0.12);
  }

  /* Body chiếm phần lớn */
  .tv-menu .tv-menu__card .tv-fp__body {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    padding: 4px 0 4px 4px;
    gap: 4px;
    display: flex;
    flex-direction: column;
  }
  .tv-menu .tv-menu__card .tv-fp__name {
    font-size: 14.5px;
    line-height: 1.3;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }
  .tv-menu .tv-menu__card .tv-menu__price-inline {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    margin-top: 2px;
  }
  .tv-menu .tv-menu__card .tv-fp__price del {
    font-size: 11.5px;
    margin-right: 4px;
  }
  .tv-menu .tv-menu__card .tv-fp__desc {
    font-size: 12.5px;
    color: #6b7280;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    margin: 0;
  }
  .tv-menu .tv-menu__card .tv-fp__badges {
    gap: 4px;
  }
  .tv-menu .tv-menu__card .tv-fp__badge {
    font-size: 10px;
    padding: 2px 7px;
  }

  /* Footer mobile: chỉ wishlist nhỏ, dồn cuối góc trái-dưới body để cân với add */
  .tv-menu .tv-menu__card .tv-fp__foot {
    order: 99;
    justify-content: flex-start;
    padding-top: 0;
    margin-top: auto;
  }
  .tv-menu .tv-menu__card .tv-fp__foot .tv-fp__price {
    display: none;
  }
  .tv-menu .tv-menu__card .tv-fp__wish a {
    width: 26px;
    height: 26px;
  }
  .tv-menu .tv-menu__card .tv-fp__wish a svg,
  .tv-menu .tv-menu__card .tv-fp__wish a i {
    width: 14px;
    height: 14px;
    font-size: 14px !important;
  }

  /* Ảnh: vuông nhỏ gọn ~96px, nằm bên phải, KHÔNG overflow hidden để Add lộ ra */
  .tv-menu .tv-menu__card .tv-fp__media {
    order: 2;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    aspect-ratio: 1 / 1;
    max-width: none;
    border-radius: 12px;
    overflow: visible; /* Add tràn ra ngoài */
    background: transparent;
  }
  /* Bo ảnh thật bên trong */
  .tv-menu .tv-menu__card .tv-fp__media .tv-fp__media-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
  }
  .tv-menu .tv-menu__card .tv-fp__media img,
  .tv-menu .tv-menu__card .tv-fp__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  /* Add button: hình tròn 32px lệch góc dưới-phải ảnh, viền trắng tách khỏi nền */
  .tv-menu .tv-menu__card .tv-fp__add {
    right: -6px;
    bottom: -6px;
    width: 32px;
    height: 32px;
    font-size: 9px;
    font-weight: 700;
    background: var(--tv-primary);
    box-shadow:
      0 4px 10px -3px rgba(199, 149, 44, 0.6),
      0 0 0 2.5px #fff;
  }
  .tv-menu .tv-menu__card .tv-fp__add:hover {
    background: var(--tv-secondary);
    box-shadow:
      0 6px 14px -4px rgba(114, 73, 7, 0.7),
      0 0 0 2.5px #fff;
  }
}

/* =========================================================
 * Shop / Category / Search loop – tái dùng .tv-fp__card
 * (override content-product.php của Flatsome)
 * ========================================================= */

.tv-fp__card-col .col-inner {
  height: 100%;
}
.tv-fp__card-col .tv-fp__card {
  height: 100%;
}

/* Out of stock badge khi product không add được */
.tv-fp__oos {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #6b7280;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* Mobile: trang shop cũng dùng layout horizontal như section menu */
@media (max-width: 640px) {
  /* Flatsome render col trong row, mỗi col chiếm full width đã sẵn */
  .tv-fp__card-col {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
  /* Slider món mới mobile: 1 card vừa phải + hé card kế */
  .tv-np__slider .tv-np__item {
    width: 72% !important;
    max-width: 72% !important;
    flex-basis: 72% !important;
    flex-shrink: 0 !important;
    padding: 0 6px !important;
  }
}

/* =========================================================
 * [tv_about_hero] – banner About page (full-bleed, gradient brand)
 * ========================================================= */

.tv-about-hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px clamp(20px, 5vw, 64px) 130px;
  color: #fff;
  background:
    radial-gradient(
      1100px 600px at 100% 0%,
      rgba(255, 255, 255, 0.1),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 0% 100%,
      rgba(0, 0, 0, 0.2),
      transparent 60%
    ),
    linear-gradient(135deg, var(--tv-primary) 0%, var(--tv-secondary) 100%);
}

.tv-ah__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.tv-ah__eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 14px;
}
.tv-ah__title {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}
.tv-ah__subtitle {
  margin: 0;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  font-style: italic;
  opacity: 0.95;
}
.tv-ah__divider {
  display: block;
  width: 60px;
  height: 2px;
  margin: 24px auto;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
}
.tv-ah__lead {
  margin: 0 auto 26px;
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.7;
  opacity: 0.92;
}

.tv-ah__meta {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  font-size: 13.5px;
}
.tv-ah__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
}

.tv-ah__actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.tv-ah__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}
.tv-ah__btn--solid {
  background: #fff;
  color: var(--tv-secondary);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
}
.tv-ah__btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.45);
  color: var(--tv-secondary);
}
.tv-ah__btn--outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.tv-ah__btn--outline:hover {
  background: #fff;
  color: var(--tv-secondary);
  transform: translateY(-2px);
}

.tv-ah__blob {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 1;
  animation: tvFloat 9s ease-in-out infinite;
}
.tv-ah__blob--tl {
  width: 180px;
  height: 180px;
  top: -60px;
  left: 4%;
  animation-delay: 0s;
}
.tv-ah__blob--tr {
  width: 130px;
  height: 130px;
  top: 40px;
  right: 5%;
  animation-delay: 1s;
}
.tv-ah__blob--bl {
  width: 110px;
  height: 110px;
  bottom: 100px;
  left: 8%;
  animation-delay: 1.5s;
}
.tv-ah__blob--br {
  width: 240px;
  height: 240px;
  bottom: -90px;
  right: 6%;
  animation-delay: 2.5s;
}

.tv-ah__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  display: block;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 800px) {
  .tv-about-hero {
    padding: 60px 22px 100px;
  }
  .tv-ah__curve {
    height: 60px;
  }
  .tv-ah__btn {
    min-width: 140px;
    padding: 11px 24px;
  }
}

/* Reveal */
.tv-about-hero[data-tv-reveal] .tv-ah__inner > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.tv-about-hero[data-tv-reveal].is-visible .tv-ah__inner > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-about-hero[data-tv-reveal].is-visible .tv-ah__inner > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.tv-about-hero[data-tv-reveal].is-visible .tv-ah__inner > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}
.tv-about-hero[data-tv-reveal].is-visible .tv-ah__inner > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}
.tv-about-hero[data-tv-reveal].is-visible .tv-ah__inner > *:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.4s;
}
.tv-about-hero[data-tv-reveal].is-visible .tv-ah__inner > *:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.5s;
}
.tv-about-hero[data-tv-reveal].is-visible .tv-ah__inner > *:nth-child(7) {
  opacity: 1;
  transform: none;
  transition-delay: 0.6s;
}

/* =========================================================
 * [tv_about_story] – 2 cột (ảnh + nội dung)
 * ========================================================= */

.tv-as {
  padding: 80px 0;
  background: #fff;
}
.tv-as__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.tv-as--reverse .tv-as__grid {
  direction: rtl;
}
.tv-as--reverse .tv-as__grid > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .tv-as {
    padding: 56px 0;
  }
  .tv-as__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tv-as--reverse .tv-as__grid {
    direction: ltr;
  }
}

.tv-as__media {
  position: relative;
  border-radius: 18px;
  overflow: visible;
  aspect-ratio: 4 / 5;
  max-height: 540px;
}
.tv-as__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.35);
}
.tv-as__media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background:
    radial-gradient(
      900px 500px at 100% 0%,
      rgba(255, 255, 255, 0.12),
      transparent 60%
    ),
    linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff;
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.35);
}
.tv-as__year {
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1;
}
.tv-as__year-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0.85;
}

.tv-as__sticker {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  color: var(--tv-secondary);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.25);
  transform: rotate(-8deg);
  border: 2px dashed var(--tv-primary);
}
.tv-as__sticker-num {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}
.tv-as__sticker-text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
  line-height: 1.2;
}

.tv-as__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tv-primary);
  margin-bottom: 14px;
}
.tv-as__heading {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a1a;
}
.tv-as__divider {
  display: block;
  width: 56px;
  height: 3px;
  margin: 8px 0 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tv-primary), var(--tv-secondary));
}
.tv-as__paragraph {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #4b5563;
}

/* Reveal */
.tv-as[data-tv-reveal] .tv-as__media,
.tv-as[data-tv-reveal] .tv-as__content > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.tv-as[data-tv-reveal].is-visible .tv-as__media {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-as[data-tv-reveal].is-visible .tv-as__content > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}
.tv-as[data-tv-reveal].is-visible .tv-as__content > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}
.tv-as[data-tv-reveal].is-visible .tv-as__content > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.26s;
}
.tv-as[data-tv-reveal].is-visible .tv-as__content > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.34s;
}
.tv-as[data-tv-reveal].is-visible .tv-as__content > *:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.42s;
}

/* =========================================================
 * [tv_about_values] – 3-4 cột giá trị cốt lõi
 * ========================================================= */

.tv-av {
  padding: 80px 0;
  background: linear-gradient(180deg, #fdfbf6 0%, #fff 100%);
}
.tv-av__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.tv-av__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tv-primary);
  margin-bottom: 12px;
}
.tv-av__heading {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
}
.tv-av__subtitle {
  margin: 0 auto;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
}

.tv-av__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.tv-av__grid[data-count="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1000px) {
  .tv-av__grid,
  .tv-av__grid[data-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .tv-av__grid,
  .tv-av__grid[data-count="4"] {
    grid-template-columns: 1fr;
  }
}

.tv-av__card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  border: 1px solid #f0e6d0;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 14px 30px -22px rgba(199, 149, 44, 0.35);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.tv-av__card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 24px 40px -22px rgba(199, 149, 44, 0.55);
}
.tv-av__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff;
  box-shadow: 0 12px 22px -10px rgba(199, 149, 44, 0.6);
}
.tv-av__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}
.tv-av__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
}

/* Reveal */
.tv-av[data-tv-reveal] .tv-av__head,
.tv-av[data-tv-reveal] .tv-av__card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--tv-av-delay, 0s);
}
.tv-av[data-tv-reveal].is-visible .tv-av__head,
.tv-av[data-tv-reveal].is-visible .tv-av__card {
  opacity: 1;
  transform: none;
}

/* =========================================================
 * [tv_about_signatures] – các món tiêu biểu
 * ========================================================= */

.tv-asig {
  padding: 80px 0;
  background: #fff;
}
.tv-asig__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.tv-asig__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tv-primary);
  margin-bottom: 12px;
}
.tv-asig__heading {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
}
.tv-asig__subtitle {
  margin: 0 auto;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
}

.tv-asig__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1000px) {
  .tv-asig__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .tv-asig__grid {
    grid-template-columns: 1fr;
  }
}

.tv-asig__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #f0e6d0;
  box-shadow: 0 14px 30px -22px rgba(199, 149, 44, 0.35);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.tv-asig__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px -22px rgba(199, 149, 44, 0.55);
}

.tv-asig__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
}
.tv-asig__img,
.tv-asig__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tv-asig__card:hover .tv-asig__img,
.tv-asig__card:hover .tv-asig__media img {
  transform: scale(1.06);
}
.tv-asig__img--placeholder {
  background: repeating-linear-gradient(
    45deg,
    #f3f4f6 0 12px,
    #e5e7eb 12px 24px
  );
}

.tv-asig__no {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--tv-secondary);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.18);
}

.tv-asig__body {
  padding: 18px 18px 22px;
}
.tv-asig__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}
.tv-asig__title a {
  color: inherit;
  text-decoration: none;
}
.tv-asig__title a:hover {
  color: var(--tv-secondary);
}
.tv-asig__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #6b7280;
}

.tv-asig__cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.tv-asig__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  box-shadow: 0 12px 28px -10px rgba(199, 149, 44, 0.6);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.tv-asig__cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(199, 149, 44, 0.75);
  color: #fff;
}

/* Reveal */
.tv-asig[data-tv-reveal] .tv-asig__head,
.tv-asig[data-tv-reveal] .tv-asig__card,
.tv-asig[data-tv-reveal] .tv-asig__cta {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--tv-asig-delay, 0s);
}
.tv-asig[data-tv-reveal].is-visible .tv-asig__head,
.tv-asig[data-tv-reveal].is-visible .tv-asig__card,
.tv-asig[data-tv-reveal].is-visible .tv-asig__cta {
  opacity: 1;
  transform: none;
}

/* =========================================================
 * About page — overrides v1.1 (richer visual)
 * ========================================================= */

/* HERO – thêm pattern bamboo + glass cards meta */
.tv-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.08) 0,
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.07) 0,
      transparent 35%
    ),
    repeating-linear-gradient(
      135deg,
      transparent 0 60px,
      rgba(255, 255, 255, 0.025) 60px 61px
    );
  pointer-events: none;
  z-index: 1;
}
.tv-about-hero {
  padding: 110px clamp(20px, 5vw, 64px) 150px;
}
.tv-ah__inner {
  max-width: 820px;
}
.tv-ah__eyebrow {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11.5px;
}
.tv-ah__title {
  font-family: "Lato", "Playfair Display", Georgia, serif;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

/* Contact page — tránh vỡ dấu tiếng Việt (lắng, nghe, ...) */
.tv-about-hero.tv-ch .tv-ah__title {
  font-family: inherit;
  letter-spacing: -0.2px;
  text-transform: none;
  word-break: normal;
}
.tv-ah__title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 22px auto 0;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
}
.tv-ah__divider {
  display: none;
} /* dùng underline ở title rồi */
.tv-ah__subtitle {
  font-family: "Dancing Script", cursive;
  font-size: clamp(22px, 2.6vw, 32px) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  margin-bottom: 28px !important;
}
.tv-ah__lead {
  font-size: 16px;
  line-height: 1.85;
}

.tv-ah__meta {
  gap: 10px !important;
  flex-direction: column;
  align-items: center;
}
.tv-ah__meta li {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 13px;
}
@media (min-width: 700px) {
  .tv-ah__meta {
    flex-direction: row;
  }
}

.tv-ah__actions {
  margin-top: 32px;
}

/* STORY – media nhiều layer + sticker đậm + frame trang trí */
.tv-as {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.tv-as::before {
  content: "";
  position: absolute;
  top: 80px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(199, 149, 44, 0.08) 0,
    transparent 70%
  );
  pointer-events: none;
}
.tv-as::after {
  content: "";
  position: absolute;
  bottom: 60px;
  left: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(114, 73, 7, 0.06) 0,
    transparent 70%
  );
  pointer-events: none;
}
.tv-as .container {
  position: relative;
  z-index: 2;
}

.tv-as__media {
  position: relative;
  aspect-ratio: 4 / 5;
}
/* Frame outline behind image */
.tv-as__media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 3px solid var(--tv-primary);
  border-radius: 18px;
  z-index: 0;
}
.tv-as__media img,
.tv-as__media-placeholder {
  position: relative;
  z-index: 1;
}

.tv-as__media-placeholder {
  background:
    radial-gradient(
      900px 500px at 100% 0%,
      rgba(255, 255, 255, 0.18),
      transparent 60%
    ),
    linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
}
.tv-as__media-placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 14px;
}

/* Heading có pattern eyebrow + corner accent */
.tv-as__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tv-as__eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--tv-primary);
}
.tv-as__heading {
  font-family: "Lato", "Playfair Display", Georgia, serif;
  letter-spacing: 0.3px;
}
.tv-as__heading em {
  color: var(--tv-primary);
  font-style: italic;
  font-family: "Dancing Script", cursive;
  font-weight: 400;
}
.tv-as__paragraph::first-letter {
  font-size: 0; /* tắt drop-cap mặc định nếu có */
}
.tv-as__paragraph + .tv-as__paragraph {
  color: #6b7280;
  font-size: 14.5px;
}

/* VALUES – background pattern + accent number */
.tv-av {
  padding: 110px 0;
  background:
    radial-gradient(
      800px 400px at 0% 0%,
      rgba(199, 149, 44, 0.06),
      transparent 60%
    ),
    radial-gradient(
      800px 400px at 100% 100%,
      rgba(114, 73, 7, 0.05),
      transparent 60%
    ),
    linear-gradient(180deg, #fdfbf6 0%, #fff 100%);
}
.tv-av__head {
  margin-bottom: 60px;
}
.tv-av__heading {
  font-family: "Lato", Georgia, serif;
}
.tv-av__heading::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--tv-primary), var(--tv-secondary));
  border-radius: 3px;
}

.tv-av__card {
  position: relative;
  padding: 40px 28px 32px;
  overflow: hidden;
}
.tv-av__card::before {
  content: counter(tv-av-i);
  counter-increment: tv-av-i;
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 110px;
  font-weight: 800;
  font-family: "Lato", sans-serif;
  color: rgba(199, 149, 44, 0.08);
  line-height: 1;
  pointer-events: none;
}
.tv-av__grid {
  counter-reset: tv-av-i;
}
.tv-av__icon {
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  box-shadow:
    0 16px 30px -10px rgba(199, 149, 44, 0.55),
    inset 0 0 0 6px rgba(255, 255, 255, 0.18);
}
.tv-av__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.tv-av__title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--tv-primary);
  opacity: 0.6;
}

/* SIGNATURES – overlay name on image, chef-style cards */
.tv-asig {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.tv-asig::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 200px;
  background: radial-gradient(
    ellipse at center,
    rgba(199, 149, 44, 0.08),
    transparent 70%
  );
  pointer-events: none;
}
.tv-asig .container {
  position: relative;
  z-index: 2;
}
.tv-asig__heading {
  font-family: "Lato", Georgia, serif;
}
.tv-asig__heading::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--tv-primary), var(--tv-secondary));
  border-radius: 3px;
}

/* Card kiểu menu chef – overlay đen mờ + tên trên ảnh */
.tv-asig__card {
  border: 0;
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.25);
}
.tv-asig__media {
  aspect-ratio: 3 / 4;
}
.tv-asig__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.tv-asig__card .tv-asig__title-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.tv-asig__no {
  background: var(--tv-primary);
  color: #fff;
  font-size: 13px;
  width: 40px;
  height: 40px;
  box-shadow: 0 8px 18px -4px rgba(199, 149, 44, 0.6);
}
.tv-asig__body {
  padding: 18px 20px 24px;
  background: #fff;
}
.tv-asig__title {
  font-size: 15.5px;
}
.tv-asig__desc {
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .tv-about-hero {
    padding: 80px 22px 110px;
  }
  .tv-as {
    padding: 70px 0;
  }
  .tv-av {
    padding: 70px 0;
  }
  .tv-asig {
    padding: 70px 0;
  }
}

/* =========================================================
 * Khi shortcode được paste vào page mặc định (entry-content),
 * vẫn cần thoát khỏi container hẹp để hiển thị full-bleed.
 * ========================================================= */

.entry-content > .tv-about-hero,
.page-content > .tv-about-hero,
.entry-content > .tv-hero-contact,
.page-content > .tv-hero-contact {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: none !important;
}

/* Reset list mặc định của entry-content khi gặp meta list của hero */
.entry-content .tv-ah__meta,
.entry-content .tv-hc__info {
  list-style: none !important;
  padding-left: 0 !important;
}
.entry-content .tv-ah__meta li,
.entry-content .tv-hc__info li {
  list-style: none !important;
}
.entry-content .tv-ah__meta li::before,
.entry-content .tv-hc__info li::before {
  content: none !important;
}

/* =========================================================
 * [tv_booking_form] – Form đặt bàn
 * ========================================================= */

.tv-bf {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff 0%, #fdfbf6 100%);
  position: relative;
}

.tv-bf__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 960px) {
  .tv-bf {
    padding: 60px 0;
  }
  .tv-bf__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Trên mobile: form lên trước, visual xuống sau */
  .tv-bf__visual {
    order: 2;
    position: static;
    top: auto;
  }
  .tv-bf__form {
    order: 1;
  }
}

/* Visual side */
.tv-bf__visual {
  position: sticky;
  top: 90px;
  border-radius: 18px;
  overflow: hidden;
}
.tv-bf__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.35);
}
.tv-bf__visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background:
    radial-gradient(
      900px 500px at 100% 0%,
      rgba(255, 255, 255, 0.18),
      transparent 60%
    ),
    linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff;
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.35);
  padding: 40px;
  text-align: center;
}
.tv-bf__visual-tag {
  font-family: "Dancing Script", cursive;
  font-size: 28px;
  letter-spacing: 1px;
  margin-top: 4px;
}
.tv-bf__visual-placeholder p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  max-width: 260px;
  line-height: 1.6;
}

.tv-bf__features {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tv-bf__feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #f0e6d0;
  border-radius: 12px;
  color: #4b5563;
  font-size: 13.5px;
  box-shadow: 0 8px 20px -16px rgba(199, 149, 44, 0.4);
}
.tv-bf__feat strong {
  color: var(--tv-secondary);
}
.tv-bf__feat-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 14px -4px rgba(199, 149, 44, 0.6);
}

/* Form side */
.tv-bf__form {
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  border: 1px solid #f0e6d0;
  box-shadow: 0 30px 60px -30px rgba(199, 149, 44, 0.35);
}
@media (max-width: 540px) {
  .tv-bf__form {
    padding: 24px 20px;
    border-radius: 14px;
  }
}

.tv-bf__head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px dashed #e5e7eb;
}
.tv-bf__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tv-primary);
  margin-bottom: 10px;
}
.tv-bf__heading {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.25;
}
.tv-bf__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.tv-bf__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.tv-bf__row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 600px) {
  .tv-bf__row,
  .tv-bf__row--3 {
    grid-template-columns: 1fr;
  }
}

.tv-bf__field {
  display: block;
  margin-bottom: 16px;
}
.tv-bf__row .tv-bf__field {
  margin-bottom: 0;
}

.tv-bf__label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #374151;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.tv-bf__label em {
  color: #ef4444;
  font-style: normal;
  font-weight: 700;
  margin-left: 2px;
}
.tv-bf__optional {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: #9ca3af;
  text-transform: none;
  margin-left: 4px;
}

.tv-bf__field input[type="text"],
.tv-bf__field input[type="email"],
.tv-bf__field input[type="tel"],
.tv-bf__field input[type="date"],
.tv-bf__field select,
.tv-bf__field textarea {
  width: 100%;
  height: auto;
  min-height: 46px;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background-color: #fafaf6;
  font-size: 14.5px;
  color: #111827;
  font-family: inherit;
  line-height: 1.5;
  box-sizing: border-box;
  transition: all 0.2s ease;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Custom arrow cho select */
.tv-bf__field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

/* Date input giữ icon native của browser */
.tv-bf__field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
}

.tv-bf__field textarea {
  min-height: 110px;
  line-height: 1.6;
  resize: vertical;
}
.tv-bf__field input:focus,
.tv-bf__field select:focus,
.tv-bf__field textarea:focus {
  outline: none;
  border-color: var(--tv-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(199, 149, 44, 0.15);
}
.tv-bf__field input.is-error,
.tv-bf__field select.is-error,
.tv-bf__field textarea.is-error {
  border-color: #ef4444;
  background: #fef2f2;
}

/* Chips (occasion) */
.tv-bf__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tv-bf__chip {
  cursor: pointer;
}
.tv-bf__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tv-bf__chip span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #e5e7eb;
  background: #fafaf6;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  transition: all 0.2s ease;
  user-select: none;
}
.tv-bf__chip:hover span {
  border-color: var(--tv-primary);
  color: var(--tv-secondary);
}
.tv-bf__chip input:checked + span {
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(199, 149, 44, 0.6);
}
.tv-bf__chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(199, 149, 44, 0.3);
}

/* Honeypot ẩn */
.tv-bf__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submit */
.tv-bf__actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #e5e7eb;
}
.tv-bf__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff;
  border: 0;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(199, 149, 44, 0.6);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.tv-bf__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -12px rgba(199, 149, 44, 0.75);
}
.tv-bf__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.tv-bf__submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.tv-bf__submit:hover .tv-bf__submit-icon {
  transform: translateX(3px);
}

.tv-bf__legal {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
}

/* Feedback */
.tv-bf__feedback {
  margin-top: 18px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  opacity: 0;
}
.tv-bf__feedback.is-visible {
  padding: 16px 18px;
  max-height: 220px;
  opacity: 1;
  margin-top: 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
}
.tv-bf__feedback.is-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.tv-bf__feedback.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.tv-bf__feedback strong {
  font-weight: 800;
}

/* =========================================================
 * [tv_booking_info] – 3 cards info
 * ========================================================= */

.tv-bi {
  padding: 90px 0;
  background: #fff;
}
.tv-bi__head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 50px;
}
.tv-bi__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tv-primary);
  margin-bottom: 12px;
}
.tv-bi__heading {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}
.tv-bi__heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--tv-primary), var(--tv-secondary));
  border-radius: 3px;
}
.tv-bi__subtitle {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #6b7280;
}

.tv-bi__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 900px) {
  .tv-bi__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.tv-bi__card {
  padding: 32px 28px;
  background: linear-gradient(180deg, #fff 0%, #fdfbf6 100%);
  border: 1px solid #f0e6d0;
  border-radius: 16px;
  box-shadow: 0 14px 30px -22px rgba(199, 149, 44, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.tv-bi__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px -22px rgba(199, 149, 44, 0.55);
}
.tv-bi__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff;
  box-shadow: 0 12px 22px -10px rgba(199, 149, 44, 0.6);
}
.tv-bi__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}
.tv-bi__text {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}
.tv-bi__text a {
  color: var(--tv-secondary);
  font-weight: 600;
  text-decoration: none;
}
.tv-bi__text a:hover {
  text-decoration: underline;
}
.tv-bi__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--tv-primary) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease;
}
.tv-bi__link:hover {
  transform: translateX(2px);
  color: var(--tv-secondary) !important;
}
.tv-bi__hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #9ca3af;
  line-height: 1.55;
}

/* Reveal animation */
.tv-bf[data-tv-reveal] .tv-bf__visual,
.tv-bf[data-tv-reveal] .tv-bf__form,
.tv-bi[data-tv-reveal] .tv-bi__head,
.tv-bi[data-tv-reveal] .tv-bi__card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.tv-bf[data-tv-reveal].is-visible .tv-bf__visual {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-bf[data-tv-reveal].is-visible .tv-bf__form {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.tv-bi[data-tv-reveal].is-visible .tv-bi__head {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-bi[data-tv-reveal].is-visible .tv-bi__card:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.tv-bi[data-tv-reveal].is-visible .tv-bi__card:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.22s;
}
.tv-bi[data-tv-reveal].is-visible .tv-bi__card:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.29s;
}

/* =========================================================
 * [tv_contact_channels] – 4 nút liên hệ nhanh
 * ========================================================= */

.tv-cc {
  padding: 80px 0;
  background: #fff;
}
.tv-cc__head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 40px;
}
.tv-cc__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tv-primary);
  margin-bottom: 12px;
}
.tv-cc__heading {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}
.tv-cc__heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--tv-primary), var(--tv-secondary));
  border-radius: 3px;
}
.tv-cc__subtitle {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #6b7280;
}

.tv-cc__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1000px) {
  .tv-cc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .tv-cc__grid {
    grid-template-columns: 1fr;
  }
}

.tv-cc__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
  position: relative;
}
.tv-cc__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(
    --tv-cc-bg,
    linear-gradient(135deg, var(--tv-primary), var(--tv-secondary))
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}
.tv-cc__card > * {
  position: relative;
  z-index: 1;
}
.tv-cc__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 40px -22px var(--tv-cc-shadow, rgba(199, 149, 44, 0.55));
}

.tv-cc__icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(
    --tv-cc-bg,
    linear-gradient(135deg, var(--tv-primary), var(--tv-secondary))
  );
  color: #fff;
  box-shadow: 0 10px 20px -8px var(--tv-cc-shadow, rgba(199, 149, 44, 0.55));
  transition: transform 0.25s ease;
}
.tv-cc__card:hover .tv-cc__icon {
  transform: rotate(-6deg) scale(1.06);
}

.tv-cc__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: color 0.25s ease;
}
.tv-cc__title {
  font-size: 14.5px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.2px;
  transition: color 0.25s ease;
}
.tv-cc__sub {
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.tv-cc__arrow {
  flex: 0 0 auto;
  color: var(--tv-cc-fg, var(--tv-primary));
  opacity: 0.7;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}
.tv-cc__card:hover .tv-cc__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Hover state đầy màu */
.tv-cc__card:hover::before {
  opacity: 1;
}
.tv-cc__card:hover .tv-cc__title,
.tv-cc__card:hover .tv-cc__sub,
.tv-cc__card:hover .tv-cc__arrow {
  color: #fff;
}
.tv-cc__card:hover .tv-cc__icon {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.25);
}

/* Theming theo channel */
.tv-cc__card--zalo {
  --tv-cc-bg: linear-gradient(135deg, #2196f3 0%, #0c84e0 100%);
  --tv-cc-shadow: rgba(33, 150, 243, 0.5);
  --tv-cc-fg: #2196f3;
}
.tv-cc__card--whatsapp {
  --tv-cc-bg: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  --tv-cc-shadow: rgba(37, 211, 102, 0.5);
  --tv-cc-fg: #25d366;
}
.tv-cc__card--phone {
  --tv-cc-bg: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  --tv-cc-shadow: rgba(199, 149, 44, 0.55);
  --tv-cc-fg: var(--tv-primary);
}
.tv-cc__card--email {
  --tv-cc-bg: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  --tv-cc-shadow: rgba(239, 68, 68, 0.5);
  --tv-cc-fg: #ef4444;
}

/* Reveal */
.tv-cc[data-tv-reveal] .tv-cc__head,
.tv-cc[data-tv-reveal] .tv-cc__card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.tv-cc[data-tv-reveal].is-visible .tv-cc__head {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-cc[data-tv-reveal].is-visible .tv-cc__card {
  opacity: 1;
  transform: none;
}
.tv-cc[data-tv-reveal].is-visible .tv-cc__card:nth-child(1) {
  transition-delay: 0.15s;
}
.tv-cc[data-tv-reveal].is-visible .tv-cc__card:nth-child(2) {
  transition-delay: 0.22s;
}
.tv-cc[data-tv-reveal].is-visible .tv-cc__card:nth-child(3) {
  transition-delay: 0.29s;
}
.tv-cc[data-tv-reveal].is-visible .tv-cc__card:nth-child(4) {
  transition-delay: 0.36s;
}
.tv-cc[data-tv-reveal].is-visible .tv-cc__card:nth-child(5) {
  transition-delay: 0.43s;
}
.tv-cc[data-tv-reveal].is-visible .tv-cc__card:nth-child(6) {
  transition-delay: 0.50s;
}
.tv-cc[data-tv-reveal].is-visible .tv-cc__card:nth-child(n+7) {
  transition-delay: 0.57s;
}

/* =========================================================
 * [tv_contact_form] – form + map sidebar
 * ========================================================= */

.tv-cf {
  padding: 90px 0;
  background: linear-gradient(180deg, #fdfbf6 0%, #fff 100%);
}
.tv-cf__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 960px) {
  .tv-cf {
    padding: 60px 0;
  }
  .tv-cf__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tv-cf__side {
    order: 2;
  }
  .tv-cf__form {
    order: 1;
  }
}

/* Side */
.tv-cf__side {
  position: sticky;
  top: 90px;
}
@media (max-width: 960px) {
  .tv-cf__side {
    position: static;
  }
}

.tv-cf__map {
  position: relative;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35);
  background: #f3f4f6;
  margin-bottom: 22px;
}
.tv-cf__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.tv-cf__map-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--tv-secondary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}
.tv-cf__map-pill:hover {
  transform: translateY(-1px) scale(1.03);
}

.tv-cf__info {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tv-cf__info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #f0e6d0;
  border-radius: 12px;
}
.tv-cf__info-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff;
}
.tv-cf__info-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 4px;
}
.tv-cf__info-value {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #1f2937;
}
.tv-cf__info-value a {
  color: var(--tv-secondary);
  text-decoration: none;
  font-weight: 600;
}
.tv-cf__info-value a:hover {
  text-decoration: underline;
}

/* Form */
.tv-cf__form {
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  border: 1px solid #f0e6d0;
  box-shadow: 0 30px 60px -30px rgba(199, 149, 44, 0.35);
}
@media (max-width: 540px) {
  .tv-cf__form {
    padding: 24px 20px;
    border-radius: 14px;
  }
}

.tv-cf__head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #e5e7eb;
}
.tv-cf__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tv-primary);
  margin-bottom: 10px;
}
.tv-cf__heading {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.25;
}
.tv-cf__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.tv-cf__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 600px) {
  .tv-cf__row {
    grid-template-columns: 1fr;
  }
}

.tv-cf__field {
  display: block;
  margin-bottom: 14px;
}
.tv-cf__row .tv-cf__field {
  margin-bottom: 0;
}

.tv-cf__label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #374151;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.tv-cf__label em {
  color: #ef4444;
  font-style: normal;
  font-weight: 700;
  margin-left: 2px;
}

.tv-cf__field input[type="text"],
.tv-cf__field input[type="email"],
.tv-cf__field input[type="tel"],
.tv-cf__field select,
.tv-cf__field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background-color: #fafaf6;
  font-size: 14.5px;
  color: #111827;
  font-family: inherit;
  line-height: 1.5;
  box-sizing: border-box;
  transition: all 0.2s ease;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.tv-cf__field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.tv-cf__field textarea {
  min-height: 130px;
  line-height: 1.6;
  resize: vertical;
}
.tv-cf__field input:focus,
.tv-cf__field select:focus,
.tv-cf__field textarea:focus {
  outline: none;
  border-color: var(--tv-primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(199, 149, 44, 0.15);
}
.tv-cf__field input.is-error,
.tv-cf__field select.is-error,
.tv-cf__field textarea.is-error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.tv-cf__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tv-cf__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff;
  border: 0;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(199, 149, 44, 0.6);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.tv-cf__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -12px rgba(199, 149, 44, 0.75);
}
.tv-cf__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.tv-cf__submit-icon {
  transition: transform 0.2s ease;
}
.tv-cf__submit:hover .tv-cf__submit-icon {
  transform: translateX(3px);
}

.tv-cf__legal {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
}

.tv-cf__feedback {
  margin-top: 18px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  opacity: 0;
}
.tv-cf__feedback.is-visible {
  padding: 16px 18px;
  max-height: 220px;
  opacity: 1;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
}
.tv-cf__feedback.is-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.tv-cf__feedback.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Reveal */
.tv-cf[data-tv-reveal] .tv-cf__side,
.tv-cf[data-tv-reveal] .tv-cf__form {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.tv-cf[data-tv-reveal].is-visible .tv-cf__side {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-cf[data-tv-reveal].is-visible .tv-cf__form {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

/* =========================================================
 * [tv_faq] – FAQ accordion
 * ========================================================= */

.tv-faq {
  padding: 90px 0;
  background: #fff;
}
.tv-faq__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.tv-faq__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tv-primary);
  margin-bottom: 12px;
}
.tv-faq__heading {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}
.tv-faq__heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--tv-primary), var(--tv-secondary));
  border-radius: 3px;
}
.tv-faq__subtitle {
  margin: 0 auto;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
}

/* Toolbar: search + filter */
.tv-faq__toolbar {
  max-width: 880px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.tv-faq__search {
  position: relative;
  display: block;
}
.tv-faq__search input {
  width: 100%;
  padding: 14px 44px 14px 46px;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  background: #fafaf6;
  font-size: 14.5px;
  color: #111827;
  box-sizing: border-box;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.tv-faq__search input:focus {
  outline: none;
  border-color: var(--tv-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(199, 149, 44, 0.15);
}
.tv-faq__search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}
.tv-faq__search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  font-size: 22px;
  font-weight: 600;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
}
.tv-faq__search.has-value .tv-faq__search-clear {
  display: inline-flex;
}
.tv-faq__search-clear:hover {
  background: #f3f4f6;
  color: #374151;
}

.tv-faq__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.tv-faq__chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tv-faq__chip:hover {
  border-color: var(--tv-primary);
  color: var(--tv-secondary);
}
.tv-faq__chip.is-active {
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(199, 149, 44, 0.55);
}

/* Accordion list */
.tv-faq__list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-faq__item {
  border: 1.5px solid #f0e6d0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.tv-faq__item:hover {
  border-color: var(--tv-primary);
}
.tv-faq__item[open] {
  border-color: var(--tv-primary);
  box-shadow: 0 14px 30px -18px rgba(199, 149, 44, 0.45);
}
.tv-faq__item.is-hidden {
  display: none !important;
}

.tv-faq__q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}
.tv-faq__q::-webkit-details-marker {
  display: none;
}
.tv-faq__q::marker {
  content: "";
}
.tv-faq__q:hover {
  background: #fdfbf6;
}

.tv-faq__q-text {
  flex: 1 1 auto;
  font-size: 15.5px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.45;
}
.tv-faq__q-cat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--tv-secondary);
  background: #fdf6e8;
  border-radius: 999px;
}

/* Plus / Minus icon */
.tv-faq__q-icon {
  flex: 0 0 auto;
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-block;
}
.tv-faq__q-icon span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--tv-primary);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.tv-faq__q-icon span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}
.tv-faq__item[open] .tv-faq__q-icon span:last-child {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Answer */
.tv-faq__a {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #4b5563;
  animation: tvFaqOpen 0.25s ease;
}
.tv-faq__a a {
  color: var(--tv-secondary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(199, 149, 44, 0.4);
  text-underline-offset: 3px;
}
.tv-faq__a a:hover {
  text-decoration-color: var(--tv-primary);
}
.tv-faq__a p {
  margin: 0 0 12px;
}
.tv-faq__a p:last-child {
  margin-bottom: 0;
}
.tv-faq__a ul,
.tv-faq__a ol {
  margin: 0 0 12px 22px;
}

@keyframes tvFaqOpen {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Empty state */
.tv-faq__empty {
  max-width: 540px;
  margin: 30px auto 0;
  padding: 36px 20px;
  text-align: center;
  color: #6b7280;
  border: 2px dashed #f0e6d0;
  border-radius: 14px;
}
.tv-faq__empty svg {
  color: var(--tv-primary);
  opacity: 0.5;
  margin-bottom: 10px;
}
.tv-faq__empty h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #1a1a1a;
}
.tv-faq__empty p {
  margin: 0;
  font-size: 14px;
}

/* Reveal */
.tv-faq[data-tv-reveal] .tv-faq__head,
.tv-faq[data-tv-reveal] .tv-faq__toolbar,
.tv-faq[data-tv-reveal] .tv-faq__list {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.tv-faq[data-tv-reveal].is-visible .tv-faq__head {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.tv-faq[data-tv-reveal].is-visible .tv-faq__toolbar {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.tv-faq[data-tv-reveal].is-visible .tv-faq__list {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}

/* =========================================================
 * [tv_faq_cta] – Khối kêu gọi liên hệ
 * ========================================================= */

.tv-faq-cta {
  padding: 60px 0 100px;
  background: #fff;
}

.tv-faq-cta__box {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  border-radius: 20px;
  background:
    radial-gradient(
      800px 300px at 0% 0%,
      rgba(255, 255, 255, 0.18),
      transparent 60%
    ),
    linear-gradient(135deg, var(--tv-primary), var(--tv-secondary));
  color: #fff;
  box-shadow: 0 30px 50px -25px rgba(199, 149, 44, 0.55);
}
@media (max-width: 768px) {
  .tv-faq-cta__box {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

.tv-faq-cta__icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tv-faq-cta__text {
  flex: 1 1 auto;
  min-width: 0;
}
.tv-faq-cta__heading {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: #fff;
}
.tv-faq-cta__subtitle {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.tv-faq-cta__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.tv-faq-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}
.tv-faq-cta__btn--solid {
  background: #fff;
  color: var(--tv-secondary);
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.25);
}
.tv-faq-cta__btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px rgba(0, 0, 0, 0.35);
  color: var(--tv-secondary);
}
.tv-faq-cta__btn--outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.tv-faq-cta__btn--outline:hover {
  background: #fff;
  color: var(--tv-secondary);
  transform: translateY(-2px);
}

.tv-faq-cta[data-tv-reveal] .tv-faq-cta__box {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.tv-faq-cta[data-tv-reveal].is-visible .tv-faq-cta__box {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

/* =========================================================
 * Cart → Booking modal
 * ========================================================= */

/* Nút Reserve trong trang Cart (kế thừa class .checkout-button của Woo) */
.tv-c2b-open {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--tv-primary),
    var(--tv-secondary)
  ) !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 30px -10px rgba(199, 149, 44, 0.55) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}
.tv-c2b-open:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 20px 36px -12px rgba(199, 149, 44, 0.7) !important;
  color: #fff !important;
}

/* Modal */
.tv-c2b-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  overflow: hidden;
}
.tv-c2b-modal.is-open {
  display: block;
}

.tv-c2b-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: tvC2bFadeIn 0.25s ease;
}

.tv-c2b-modal__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  animation: tvC2bSlideUp 0.35s ease;
}

@media (max-width: 600px) {
  .tv-c2b-modal__dialog {
    padding: 24px 20px;
    border-radius: 14px;
    max-height: calc(100vh - 16px);
  }
}

@keyframes tvC2bFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes tvC2bSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.tv-c2b-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.tv-c2b-modal__close:hover {
  background: #e5e7eb;
  color: #1f2937;
  transform: rotate(90deg);
}

.tv-c2b-modal__head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e5e7eb;
}
.tv-c2b-modal__eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tv-primary);
  margin-bottom: 6px;
}
.tv-c2b-modal__title {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}
.tv-c2b-modal__subtitle {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* Cart summary trong modal */
.tv-c2b-modal__summary {
  background: linear-gradient(180deg, #fdfbf6 0%, #fff 100%);
  border: 1px solid #f0e6d0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.tv-c2b-summary__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--tv-secondary);
  font-size: 14px;
}
.tv-c2b-summary__head strong {
  font-weight: 700;
}
.tv-c2b-summary__count {
  margin-left: auto;
  padding: 2px 10px;
  background: var(--tv-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.tv-c2b-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 160px;
  overflow-y: auto;
}
.tv-c2b-summary__list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #f0e6d0;
  font-size: 13.5px;
}
.tv-c2b-summary__list li:last-child {
  border-bottom: 0;
}
.tv-c2b-summary__name {
  color: #1a1a1a;
  line-height: 1.4;
}
.tv-c2b-summary__qty {
  color: #6b7280;
  font-weight: 600;
}
.tv-c2b-summary__price {
  color: var(--tv-secondary);
  font-weight: 700;
  min-width: 80px;
  text-align: right;
}

.tv-c2b-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid #f0e6d0;
  font-size: 14.5px;
}
.tv-c2b-summary__total strong {
  color: var(--tv-secondary);
  font-size: 17px;
  font-weight: 800;
}

.tv-c2b-summary__empty {
  margin: 0;
  padding: 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 13.5px;
}

/* Body scroll lock khi modal mở */
body.tv-c2b-locked {
  overflow: hidden;
}

/* Form override compact */
.tv-c2b-form {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.tv-c2b-form .tv-bf__field {
  margin-bottom: 12px;
}

/* =========================================================
 * Sau khi click "Add" → WooCommerce ajax thêm class .added và chèn link
 * "View cart" ngay sau button. Mình ẩn cả 2 để giữ UX nhất quán:
 * khách click Add nhiều lần để thêm phần (qty +1 mỗi click).
 * ========================================================= */

/* Ẩn link "View cart" auto-insert */
.tv-fp__card .added_to_cart,
.tv-fp__media .added_to_cart,
.tv-menu__card .added_to_cart {
  display: none !important;
}

/* Force luôn hiện nút Add — chống Flatsome / Woo CSS ẩn.
 * Flatsome có rule `.add_to_cart_button.added { display: none }` trong
 * flatsome-shop.css; rule dưới đây cao hơn về specificity + dùng !important
 * để override, kể cả khi JS chưa kịp xoá class .added. */
.tv-fp__card .tv-fp__add,
.tv-fp__card .tv-fp__add.added,
.tv-fp__card .tv-fp__add.add_to_cart_button.added,
.tv-fp__media .tv-fp__add,
.tv-fp__media .tv-fp__add.added,
.tv-fp__media .tv-fp__add.add_to_cart_button.added,
.tv-menu__card .tv-fp__add,
.tv-menu__card .tv-fp__add.added,
.tv-menu__card .tv-fp__add.add_to_cart_button.added,
a.tv-fp__add.add_to_cart_button.added,
a.tv-fp__add.added {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Bỏ icon ✓ mặc định (trông như đã hoàn tất, làm khách tưởng không click thêm được) */
.tv-fp__add.added .tv-fp__add-text::after {
  content: none !important;
}

/* Trạng thái loading: chỉ giảm opacity nhẹ, vẫn click thêm được sau khi hết loading */
.tv-fp__add.loading {
  opacity: 0.8;
}

/* =========================================================
 * FORCE giữ nút Add hiển thị mãi mãi sau khi click,
 * cho phép khách add nhiều lần không giới hạn.
 * Override mọi rule tiềm ẩn của WooCommerce / Flatsome / theme.
 * ========================================================= */

a.tv-fp__add,
a.tv-fp__add.added,
a.tv-fp__add.added_to_cart,
a.tv-fp__add.loading,
.tv-fp__media a.tv-fp__add,
.tv-fp__media a.tv-fp__add.added,
.tv-fp__card a.tv-fp__add,
.tv-fp__card a.tv-fp__add.added,
.tv-menu__card a.tv-fp__add,
.tv-menu__card a.tv-fp__add.added {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Ẩn link "View cart" auto-insert sau nút Add (nếu có) */
.tv-fp__media .added_to_cart.wc-forward,
.tv-fp__card .added_to_cart.wc-forward,
.tv-menu__card .added_to_cart.wc-forward,
.tv-fp__media a.wc-forward:not(.tv-fp__add),
.tv-fp__card a.wc-forward:not(.tv-fp__add) {
  display: none !important;
}

/* Loading state nhẹ — vẫn click được sau khi load xong */
.tv-fp__add.loading {
  opacity: 0.7 !important;
  pointer-events: none !important;
}
.tv-fp__add.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.6);
  animation: tvAddSpin 0.6s linear infinite;
}
@keyframes tvAddSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- GTranslate trong mobile sidebar ---- */
.tv-mobile-lang {
  padding: 16px 20px;
  border-top: 1px solid #f0e6d0;
}
.tv-mobile-lang .gt_selector,
.tv-mobile-lang select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  background: #fdfbf6;
  color: #374151;
}
.tv-mobile-lang a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
}
.tv-mobile-lang a:hover {
  color: #c7952c;
}
.tv-mobile-lang img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

/* =========================================================
 * [tv_new_products] - San pham moi / Mon moi ra lo
 * ========================================================= */

.tv-np {
  position: relative;
  background:
    var(--tv-home-bg) center / cover fixed no-repeat,
    #660000;
  padding: clamp(42px, 5vw, 58px) 0 clamp(38px, 5vw, 56px);
  overflow: hidden;
}

/* Force card LUON doc (anh tren, chu duoi) trong section nay - ghi de Flatsome mobile list */
/* Khong can - vi content-product.php cua child theme dung .tv-fp__card, khong phai .box cua Flatsome */

.tv-np::before {
  content: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffa827 40%, transparent);
  pointer-events: none;
}
/* tv-np__inner uses .container now, so no max-width needed here */
.tv-np__inner {
  /* padding is handled by .container, but we can add extra top/bottom if needed, though we already have padding on .tv-np */
}
.tv-np__title {
  text-align: center;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 900;
  font-style: normal;
  font-family: inherit;
  letter-spacing: -0.04em;
  color: #e8e8e8;
  margin: 0 0 clamp(26px, 3vw, 32px);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.tv-np__title::after {
  content: none;
  display: block;
  width: 50px;
  height: 3px;
  background: #ffa827;
  border-radius: 99px;
  margin: 12px auto 0;
}
.tv-np__slider-wrap {
  position: relative;
  padding: 0 44px;
  margin-bottom: 8px;
}

.tv-np__empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.tv-np__slider .flickity-viewport {
  overflow: hidden;
  min-height: 1px;
}

/* Slide cells — giống .tv-promos__item (4 sp / hàng desktop) */
.tv-np__item {
  width: 25%;
  padding: 0 12px;
  box-sizing: border-box;
}

.tv-np__slider .tv-np__item {
  display: flex;
  flex-direction: column;
}

.tv-np__slider .tv-np__card {
  flex: 1;
  width: 100%;
}

@media (max-width: 900px) {
  .tv-np__item {
    width: 50%;
  }
}

@media (max-width: 849px) {
  .tv-np .tv-np__inner.container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .tv-np__slider-wrap {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .tv-np__slider .flickity-prev-next-button {
    display: none;
  }
  .tv-np__item {
    width: 72% !important;
    max-width: 72% !important;
    flex-basis: 72% !important;
    padding: 0 6px;
  }
  .tv-np__card-img {
    padding-top: 85%;
  }
  .tv-np__card-info {
    min-height: 82px;
    padding: 10px 12px 12px;
  }
  .tv-np__card-title {
    font-size: 14px;
    min-height: calc(1.25em * 2);
  }
  .tv-np__card-price {
    font-size: 14px;
  }
  .tv-np__btn-add {
    min-height: 24px;
    padding: 3px 9px;
    font-size: 12px;
  }
}

/* Fallback khi Flickity chưa kịp khởi tạo */
.tv-np__slider:not(.flickity-enabled) {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0;
}
.tv-np__slider:not(.flickity-enabled) .tv-np__item {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.tv-np__card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tv-np__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
.tv-np__card-img {
  display: block;
  width: 100%;
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: #f4f4f4;
  flex-shrink: 0;
}
.tv-np__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.tv-np__thumb--placeholder {
  background: repeating-linear-gradient(45deg, #f3f4f6 0 12px, #e5e7eb 12px 24px);
}
.tv-np__card:hover .tv-np__thumb {
  transform: scale(1.05);
}
.tv-np__card-info {
  min-height: 96px;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.tv-np__card-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.25em * 2);
}
.tv-np__card-title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-np__card-title a:hover {
  color: #8a0000;
}
.tv-np__card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 0;
  border-top: 0;
  gap: 12px;
}
.tv-np__card-price {
  font-size: 16px;
  font-weight: 700;
  color: #0b5c37;
  line-height: 1.2;
  flex: 1;
}
.tv-np__card-price .woocommerce-Price-amount {
  color: inherit;
}
.tv-np__card-price del {
  font-weight: 400;
  color: #aaa;
  font-size: 12px;
  display: block;
}
.tv-np__card-price ins {
  text-decoration: none;
}

.tv-np__btn-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 27px;
  padding: 4px 11px;
  border: 1px solid #dcdcdc;
  border-radius: 99px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: none;
  text-transform: none;
}
.tv-np__btn-add:hover {
  background: #0b5c37;
  border-color: #0b5c37;
  color: #fff;
}
.tv-np__btn-add--disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.tv-np__plus {
  font-size: 18px;
  font-weight: 300;
  line-height: 0.8;
}

.tv-np__actions {
  text-align: center;
  margin-top: 10px;
}
.tv-np__btn-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 234px;
  min-height: 64px;
  padding: 15px 34px;
  border: 2px solid #ff9f00;
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}
.tv-np__btn-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff9f00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 0;
}
.tv-np__btn-menu:hover::before {
  transform: scaleX(1);
}
.tv-np__btn-menu:hover {
  color: #fff;
}
.tv-np__btn-menu span {
  position: relative;
  z-index: 1;
}

.tv-np__slider .flickity-prev-next-button {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  top: 42%;
  transition: opacity 0.2s ease;
}
.tv-np__slider .flickity-prev-next-button:hover {
  background: transparent;
}
.tv-np__slider .flickity-prev-next-button .arrow {
  fill: #fff;
  width: 28px;
  height: 28px;
}
.tv-np__slider .flickity-prev-next-button:hover .arrow {
  fill: #ffa827;
}
.tv-np__slider .flickity-prev-next-button.previous {
  left: 0;
}
.tv-np__slider .flickity-prev-next-button.next {
  right: 0;
}

@media (max-width: 849px) {
  .tv-np__slider-wrap {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-np__card,
  .tv-np__thumb {
    transition: none;
  }
}

/* WP generated img inside card-img wrapper */
.tv-np__card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.tv-np__card:hover .tv-np__card-img img {
  transform: scale(1.05);
}

/* =========================================================
 * 6. Quick View Modal
 * ========================================================= */
  .tv-cmenu-card {
      cursor: pointer;
  }
  
  .tv-cmenu-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.6);
      z-index: 99999;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .tv-cmenu-modal-wrap {
      position: relative;
      width: 90%;
      max-width: 480px;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 10px 40px rgba(0,0,0,0.2);
      animation: tvModalFadeIn 0.3s ease;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
  }
  
  @keyframes tvModalFadeIn {
      from { opacity: 0; transform: translateY(20px) scale(0.95); }
      to { opacity: 1; transform: translateY(0) scale(1); }
  }
  
  .tv-cmenu-modal-close {
      position: absolute;
      top: 8px;
      right: 8px;
      z-index: 10;
      width: 28px;
      height: 28px;
      background: #fff;
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0,0,0,0.15);
      color: #333 !important;
      font-size: 16px !important;
      font-weight: 700 !important;
      line-height: 1 !important;
      padding: 0 !important;
      margin: 0 !important;
  }
  
  .tv-cmenu-modal-content {
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
  }
  
  .tv-cmenu-modal-top {
      position: relative;
  }
  
  .tv-cmenu-modal-top img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      display: block;
  }
  
  .tv-cmenu-modal-badge {
      position: absolute;
      bottom: 12px;
      left: 12px;
      background: rgba(0,0,0,0.7);
      color: #fff;
      padding: 4px 10px;
      border-radius: 99px;
      font-size: 12px;
      font-weight: 600;
      display: flex;
      align-items: center;
  }
  
  .tv-cmenu-modal-body {
      padding: 24px;
  }
  
  .tv-cmenu-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 1px dashed #eee;
  }
  
  .tv-cmenu-modal-title-wrap {
      flex: 1;
      padding-right: 15px;
  }
  
  .tv-cmenu-modal-title {
      font-size: 20px;
      font-weight: 700;
      color: #333;
      margin: 0 0 8px 0;
      line-height: 1.3;
  }
  
  .tv-cmenu-modal-price {
      font-size: 16px;
      font-weight: 700;
      color: #134e34; /* Green matching screenshot */
  }
  
  .tv-cmenu-modal-price .amount {
      color: inherit;
      font-weight: inherit;
  }
  
  .tv-cmenu-modal-qty {
      display: flex;
      align-items: center;
      border: 1px solid #e0e0e0;
      border-radius: 4px;
      overflow: hidden;
      flex-shrink: 0;
  }

  .tv-cmenu-modal-qty .tv-qty-input {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
  }
  
  .tv-qty-btn {
      background: #fff;
      border: none;
      width: 32px;
      height: 32px;
      font-size: 18px;
      color: #666;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .tv-qty-input {
      width: 40px !important;
      height: 32px !important;
      border: none !important;
      border-left: 1px solid #e0e0e0 !important;
      border-right: 1px solid #e0e0e0 !important;
      text-align: center !important;
      font-size: 14px !important;
      font-weight: 600 !important;
      color: #333 !important;
      -moz-appearance: textfield;
      padding: 0 !important;
      background: #fff !important;
      box-shadow: none !important;
      margin: 0 !important;
  }
  .tv-qty-input::-webkit-outer-spin-button,
  .tv-qty-input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
  }
  
  .tv-cmenu-modal-desc {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
      margin-bottom: 30px;
  }
  .tv-cmenu-modal-desc p {
      margin-bottom: 12px;
  }
  
  .tv-cmenu-modal-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 15px;
      flex-wrap: wrap;
      gap: 10px;
  }

  .tv-cmenu-modal-footer a.added_to_cart {
      display: inline-flex !important;
      align-items: center;
      gap: 4px;
      font-size: 13px;
      font-weight: 800;
      color: #1a4332 !important;
      text-decoration: none !important;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      white-space: nowrap;
      cursor: pointer;
  }

  .tv-cmenu-modal-footer a.added_to_cart:hover {
      color: #ffa827 !important;
  }
  
  .tv-cmenu-modal-vat {
      font-size: 13px;
      color: #666;
  }
  
  .tv-cmenu-modal-add {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      background: #1a4332 !important; /* Dark green */
      color: #fff !important;
      padding: 10px 20px !important;
      border-radius: 99px !important;
      font-weight: 700 !important;
      font-size: 14px !important;
      text-decoration: none !important;
      border: none !important;
      margin: 0 !important;
      transition: background 0.2s !important;
  }
  
  .tv-cmenu-modal-add:hover {
      background: #123023 !important;
  }
  
  /* Spinner */
  .tv-cmenu-loading,
  .tv-cmenu-modal-message {
      min-height: 240px;
      padding: 72px 24px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
      text-align: center;
      color: #555;
  }

  .tv-cmenu-loading-text {
      font-size: 14px;
      font-weight: 700;
      color: #1a4332;
  }

  .tv-cmenu-spinner {
      display: inline-block;
      width: 40px;
      height: 40px;
      border: 4px solid rgba(0,0,0,0.1);
      border-top-color: #660000;
      border-radius: 50%;
      animation: tv-cmenu-spin 1s linear infinite;
  }

  @keyframes tv-cmenu-spin {
      to { transform: rotate(360deg); }
  }
  
  /* Fix flatsome injecting elements into the big button */
  .tv-cmenu-modal-add.loading {
      opacity: 0.7 !important;
      pointer-events: none !important;
  }
  .tv-cmenu-modal-add.added {
      display: inline-flex !important;
  }
  
  /* Mobile optimizations */
  @media (max-width: 600px) {
      .tv-cmenu-modal-wrap {
          width: 100%;
          max-width: 100%;
          height: 100dvh;
          max-height: 100dvh;
          border-radius: 0;
      }
      .tv-cmenu-modal-top img {
          height: 280px;
      }
  }



.tv-cmenu-modal-close svg { stroke: #333 !important; }

/* Hosting/mobile safety overrides: keep quick-view modal stable even when CSS is minified/merged. */
.tv-cmenu-modal-overlay[style*="display: block"],
.tv-cmenu-modal-overlay[style*="display:block"] {
  display: flex !important;
}
.tv-cmenu-modal-content {
  flex: 1 1 auto;
  max-height: 90vh;
  overflow-y: auto;
}
.tv-cmenu-modal-footer {
  gap: 16px;
}

@media (max-width: 600px) {
  .tv-cmenu-modal-overlay {
    align-items: flex-end;
  }
  .tv-cmenu-modal-content {
    max-height: 100dvh;
  }
  .tv-cmenu-modal-body {
    padding: 20px 24px 22px;
  }
  .tv-cmenu-modal-footer {
    align-items: center;
    gap: 12px;
  }
  .tv-cmenu-modal-add {
    flex-shrink: 0;
  }
}
