/* ── Montserrat self-hosted ── */
@import url("../fonts/Manrope/stylesheet.css");

:root {
  --color-pri: #c2a056;
  --color-sec: #1b1c19;
  --color-text: #000;
  --color-white: #fff;
  --color-black: #000;
  --cl-border: #d9d9d9;
  --font-body: "Manrope", sans-serif;
  --font-title: "Manrope", sans-serif;
  --font-second: "Manrope", sans-serif;
  /* Layout */
  --size-hd: 80px;
  --pd-sc: 40px;
  --rs: 16px;
}

@theme {
  --color-pri: #c2a056;
  --color-sec: #1b1c19;
  --font-body: "Manrope", sans-serif;
  --font-title: "Manrope", sans-serif;
  --font-second: "Manrope", sans-serif;
}
.font-second {
  font-family: "Manrope", sans-serif;
}
/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #ddd;
}
::-webkit-scrollbar-thumb {
  background: var(--color-pri);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-sec);
}

@media (max-width: 1200px) {
  :root {
    --size-hd: 60px;
    --rs: 8px;
  }
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--color-text);
  overflow: hidden auto;
}

.main {
  position: relative;
  z-index: 1;
  padding-top: var(--size-hd);
  min-height: 94vh;
}

.container {
  width: 100%;
  max-width: 1445px;
  margin: 0 auto;
  padding: 0 15px;
}
@media (max-width: 1536px) and (min-width: 1024px) {
  .container {
    max-width: 1230px;
  }
  .col.col-5i {
    width: calc(100% / 4);
  }
}

iframe {
  vertical-align: middle;
}

.row {
  --cg: 24px;
  --rg: 24px;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 calc(var(--cg) * -0.5) calc(var(--rg) * -1);
}
.row.small {
  --cg: 16px;
  --rg: 16px;
}
@media screen and (max-width: 1200px) {
  .hd-logo {
    width: 100px;
  }
  .row {
    --cg: 12px;
    --rg: 12px;
  }
}
.section-pd-t {
  padding-top: var(--pd-sc);
}
.rows {
  --cg: 24px;
  --rg: 24px;
  margin: 0 calc(var(--cg) * -0.5);
}

@media screen and (max-width: 1200px) {
  .rows {
    --cg: 12px;
    --rg: 12px;
  }
}
.rows .col {
  margin-bottom: 0;
}
.col {
  width: 100%;
  padding: 0 calc(var(--cg) / 2);
  margin-bottom: var(--rg);
}
.col-11 {
  width: 91.6666666667%;
}
.col-10 {
  width: 83.3333333333%;
}
.col-9 {
  width: 75%;
}
.col-8 {
  width: 66.6666666667%;
}
.col-7 {
  width: 58.3333333333%;
}
.col-6 {
  width: 50%;
}
.col-5 {
  width: 41.6666666667%;
}
.col-4 {
  width: 33.3333333333%;
}
.col-3 {
  width: 25%;
}
.col-2 {
  width: 16.6666666667%;
}
.col-1 {
  width: 8.3333333333%;
}
.col-5i {
  width: 20%;
}
.col-4i {
  width: 25%;
}

.mona-content strong,
.mona-content b {
  font-weight: bold;
}
.mona-content em,
.mona-content i {
  font-style: italic;
}
.mona-content h1,
.mona-content h2,
.mona-content h3,
.mona-content h4,
.mona-content h5,
.mona-content h6 {
  line-height: 1.3;
  margin-bottom: 0.5em;
  margin-top: 0.6em;
  font-weight: 700;
}
.mona-content h1 {
  font-size: 1.7em;
}
.mona-content h2 {
  font-size: 1.6em;
}
.mona-content h3 {
  font-size: 1.25em;
}
.mona-content h4 {
  font-size: 1.125em;
}
.mona-content h5 {
  font-size: 1em;
}
.mona-content h6 {
  font-size: 0.85em;
}
.mona-content p {
  margin-top: 0.4em;
}
.mona-content ul,
.mona-content ol {
  margin: 1em 0;
  list-style-position: inside;
}
.mona-content ul ul,
.mona-content ul ol,
.mona-content ol ul,
.mona-content ol ol {
  margin-left: 1em;
}
.mona-content ul {
  list-style-type: disc;
}
.mona-content ol {
  list-style-type: decimal;
}
.mona-content ul ul,
.mona-content ol ul {
  list-style-type: circle;
}
.mona-content ol ol,
.mona-content ul ol {
  list-style-type: lower-latin;
}
.mona-content img,
.mona-content iframe {
  max-width: 100% !important;
  height: auto;
}
.mona-content blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1em 0;
  padding: 1em;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.mona-content blockquote::before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
.mona-content blockquote p {
  display: inline;
}
.mona-content table {
  border-collapse: collapse;
  max-width: 100%;
  margin: 1em 0;
  border: 1px solid #e1e1e1;
}
.mona-content table th,
.mona-content table td {
  border-right: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  padding: 5px 10px;
  vertical-align: middle;
}
.mona-content .mona-youtube-wrap {
  position: relative;
  height: 0;
  padding-top: 56.25%;
}
.mona-content .mona-youtube-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.mona-content .mona-table-wrap {
  overflow: auto;
}
.ic-dot {
  color: #bb0000;
}
/* =============================================
   TITLE MAIN — dùng chung toàn site
   Figma: H3 / Montserrat Black 48px / uppercase
   <h2 class="title-main">Lĩnh vực <span>HOẠT ĐỘNG</span></h2>
============================================= */
.title-main {
  font-family: "Manrope", sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-pri);
  text-transform: uppercase;
  letter-spacing: -1.92px;
}

.title-main span {
  color: var(--color-sec);
  display: inline-block;
}

@media (max-width: 1200px) {
  .title-main {
    font-size: 36px;
    letter-spacing: -1.44px;
  }
}

@media (max-width: 1024px) {
  .title-main {
    font-size: 24px;
    letter-spacing: -1.12px;
  }
}

/* =============================================
   BUTTON — dùng chung toàn site
   Figma: Montserrat Bold 16px / padding 10px 20px / radius 8px
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-pri);
}

/* Button trên nền sáng — bg primary, text trắng */

.btn-second {
  padding: 8px 16px;
  border: 1px solid var(--color-sec);
  border-radius: 4px;
  background-color: var(--color-sec);
  color: #fff;
}
.btn-second:hover {
  background-color: #fff;
  color: var(--color-sec);
}
.btn-pri:hover {
  background-color: #fff;
  color: var(--color-pri);
}
.btn-white {
  padding: 10px 20px;
  border: 1px solid #fff;
  border-radius: 4px;
  background-color: #fff;
  color: var(--color-pri);
}
.btn-white:hover {
  background-color: var(--color-pri);
  color: #fff;
}
.btn-white:hover img {
  filter: brightness(0) invert(100%);
}
/* Button trên nền tối — border trắng, text trắng */
.btn-outline-white {
  padding: 10px 20px;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
}
.btn-outline-white img {
  filter: brightness(0) invert(1);
}
.btn-outline-white:hover {
  background-color: #fff;
  color: var(--color-pri);
}
.btn-outline-white:hover img {
  filter: unset;
}

/* Link button — không border, không bg */
.btn-link {
  color: var(--color-pri);
}
.btn-link:hover {
  color: var(--color-sec);
}

@media (max-width: 1200px) {
  .btn-pri,
  .btn-white,
  .btn-outline-white {
    padding: 8px 16px;
  }
  .container-second {
    padding: 0 15px;
  }
}
.bg-linear {
  background: linear-gradient(
    360deg,
    rgba(26, 26, 26, 0.8) 0%,
    rgba(26, 26, 26, 0.407772) 71.82%,
    rgba(26, 26, 26, 0) 99.94%
  );
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
}
.section-banner {
  position: sticky;
  top: 0;
}

@media (max-width: 768px) {
  .btn-pri,
  .btn-white,
  .btn-outline-white {
    padding: 7px 14px;
  }
  .bg-linear {
    height: 70%;
  }
  .section-banner {
    position: relative;
  }
  .project-desc br {
    display: none;
  }
  .wysiwyg-content br {
    display: none;
  }
}

.svg-title-about {
  display: block;
  width: 100%;
  overflow: visible;
}

.project-desc .text-sec {
  font-weight: 700;
}
.container-second {
  width: calc((100vw - (100vw - 1230px) / 2));
  max-width: 100%;
}

/* ── Pagination tin tức ── */
.pagination-tin-tuc .page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination-tin-tuc .page-numbers li {
  list-style: none;
}
.pagination-tin-tuc .page-numbers li a,
.pagination-tin-tuc .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-pri);
  transition:
    background-color 0.2s,
    color 0.2s;
  text-decoration: none;
}
.pagination-tin-tuc .page-numbers li a:hover {
  background-color: var(--color-pri);
  color: #fff;
}
.pagination-tin-tuc .page-numbers li span.current {
  background-color: var(--color-pri);
  color: #fff;
}
.pagination-tin-tuc .page-numbers li .prev,
.pagination-tin-tuc .page-numbers li .next {
  color: var(--color-pri);
}

/* ── Easy TOC: ẩn TOC inline trong bài, chỉ dùng ở sidebar ── */
.article-content #ez-toc-container {
  display: none !important;
}
.mona-content #ez-toc-container {
  display: none !important;
}
#ez-toc-container {
  padding: 0;
  background: unset;
  border: unset;
}
#ez-toc-container a {
  text-decoration: unset !important;
}
#ez-toc-container a:hover {
  color: var(--color-pri);
}
div#ez-toc-container .ez-toc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-pri);
  margin-bottom: 16px;
  display: block;
}
div#ez-toc-container ul li,
div#ez-toc-container ul li a {
  font-size: 14px;
  font-weight: 700;
  color: #818181;
}
div#ez-toc-container ul li:not(:last-child) {
  margin-bottom: 8px;
}
#ez-toc-container ul ul,
.ez-toc div.ez-toc-widget-container ul ul {
  margin-left: 0.8em;
  margin-top: 0.4em;
}
/* ══════════════════════════════════════════════════════
   Modal overlay — generic reusable
   ══════════════════════════════════════════════════════ */
[data-modal] {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: rgba(40, 51, 119, 0.4);
}
[data-modal].is-active {
  opacity: 1;
  pointer-events: auto;
}
[data-modal] .modal-box {
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
[data-modal].is-active .modal-box {
  transform: translateY(0);
}

/* ── Popup dự án home ── */
[data-modal="popup-du-an"] .modal-box {
  transform: scale(0.96) translateY(12px);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}
[data-modal="popup-du-an"].is-active .modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.wpcf7-response-output {
  display: none !important;
}
.page-template-page-lien-he .wpcf7-response-output {
  display: block !important;
}
.wpcf7-form-control-wrap.cf7-date-replaced {
  display: block;
  height: 0;
  overflow: visible;
}
.wpcf7-form-control-wrap.cf7-date-replaced > input,
.wpcf7-form-control-wrap.cf7-date-replaced > select,
.wpcf7-form-control-wrap.cf7-date-replaced > textarea {
  display: none !important;
}
.wpcf7-form-control-wrap.cf7-date-replaced .wpcf7-not-valid-tip {
  display: block !important;
}

/* ── CF7 form override cho modal ứng tuyển ── */
.cf7-ung-tuyen .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf7-ung-tuyen .wpcf7-form > p {
  margin: 0;
}

.cf7-ung-tuyen .cf7-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cf7-ung-tuyen .cf7-field-group label {
  font-size: 14px;
  font-weight: 500;
  color: #283377;
  display: block;
}
.cf7-ung-tuyen .cf7-required {
  color: #f04438;
}

.cf7-ung-tuyen .cf7-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 480px) {
  .cf7-ung-tuyen .cf7-row-2col {
    grid-template-columns: 1fr;
  }
}

#cf7-vi-tri[readonly] {
  background: #f4f5f8;
  cursor: default;
  color: #283377;
  font-weight: 600;
}

.cf7-ung-tuyen .wpcf7-text,
.cf7-ung-tuyen .wpcf7-email,
.cf7-ung-tuyen .wpcf7-tel {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #e7e7e9;
  border-radius: 6px;
  font-size: 16px;
  color: #283377;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: -0.04em;
}
.cf7-ung-tuyen .wpcf7-textarea {
  width: 100%;
  height: 96px;
  padding: 12px;
  border: 1px solid #e7e7e9;
  border-radius: 6px;
  font-size: 16px;
  color: #283377;
  background: #fff;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: -0.04em;
}
.cf7-ung-tuyen .wpcf7-text::placeholder,
.cf7-ung-tuyen .wpcf7-email::placeholder,
.cf7-ung-tuyen .wpcf7-tel::placeholder,
.cf7-ung-tuyen .wpcf7-textarea::placeholder {
  color: #bdbdbd;
  font-weight: 400;
}
.cf7-ung-tuyen .wpcf7-text:focus,
.cf7-ung-tuyen .wpcf7-email:focus,
.cf7-ung-tuyen .wpcf7-tel:focus,
.cf7-ung-tuyen .wpcf7-textarea:focus {
  border-color: #283377;
}

/* File upload */
.cf7-ung-tuyen .cf7-upload-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 116px;
  border: 1px solid #e7e7e9;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 12px;
  cursor: pointer;
}
.cf7-ung-tuyen .cf7-upload-area .wpcf7-form-control-wrap {
  position: absolute;
  inset: 0;
}
.cf7-ung-tuyen .cf7-upload-area .wpcf7-file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.cf7-ung-tuyen .cf7-upload-text {
  font-size: 14px;
  color: #818181;
  pointer-events: none;
  line-height: 20px;
}
.cf7-ung-tuyen .cf7-upload-text strong {
  color: #283377;
  font-weight: 600;
}
.cf7-ung-tuyen .cf7-upload-hint {
  font-size: 14px;
  color: #818181;
  pointer-events: none;
  line-height: 20px;
}
.cf7-ung-tuyen .cf7-upload-area.has-file {
  border-color: #283377;
  background: #f0f2fb;
}
.cf7-ung-tuyen .cf7-upload-area.has-file .cf7-upload-hint {
  display: none;
}
.cf7-ung-tuyen .cf7-upload-area.has-file .cf7-upload-text strong {
  color: #283377;
  word-break: break-all;
}

/* Buttons */
.cf7-ung-tuyen .cf7-btn-row {
  display: flex;
  gap: 8px;
}
.cf7-ung-tuyen .cf7-submit-wrap,
.cf7-ung-tuyen .cf7-btn-row .cf7-cancel-btn {
  flex: 1;
  border-radius: 6px;
}
.cf7-ung-tuyen .cf7-submit-wrap {
  display: flex;
}
.cf7-ung-tuyen .cf7-submit-wrap .wpcf7-submit {
  width: 100%;
  justify-content: center;
  border-radius: 6px;
}
.cf7-ung-tuyen .cf7-cancel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: transparent;
  color: #283377;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #e7e7e9;
  border-radius: 6px;
  cursor: pointer;
}
.cf7-submit-wrap {
  position: relative;
}
/* Submit loading state */
.is-loading .wpcf7-submit {
  opacity: 0.75;
  pointer-events: none;
}
.is-loading::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cf7-spin 0.65s linear infinite;
  transform: translateY(-50%);
}
@keyframes cf7-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Validation */

.cf7-ung-tuyen .wpcf7-response-output {
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
}
.wpcf7-form-control-wrap {
  display: block;
  position: relative;
}
.screen-reader-response {
  display: none;
}

.sidebar-td .item-td {
  border: 1px solid #e7e7e9;
}

/* ============================================================
   CF7 — Liên hệ
   ============================================================ */
.cf7-lien-he .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cf7-lien-he .wpcf7-form > p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf7-lien-he label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.2px;
  color: var(--color-sec);
  display: block;
}
.cf7-lien-he .wpcf7-form-control-wrap {
  display: block;
}
.cf7-lien-he .wpcf7-text,
.cf7-lien-he .wpcf7-email,
.cf7-lien-he .wpcf7-tel {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-sec);
  background: #fbf9f4;
  outline: none;
  transition: border-color 0.2s;
}
.cf7-lien-he .wpcf7-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-sec);
  background: #fbf9f4;
  outline: none;
  transition: border-color 0.2s;
  height: 140px;
  font-family: inherit;
  line-height: 1.55;
  resize: none;
}
.cf7-lien-he .wpcf7-text::placeholder,
.cf7-lien-he .wpcf7-email::placeholder,
.cf7-lien-he .wpcf7-tel::placeholder,
.cf7-lien-he .wpcf7-textarea::placeholder {
  color: #a0aeac;
  font-weight: 400;
}
.cf7-lien-he .wpcf7-text:focus,
.cf7-lien-he .wpcf7-email:focus,
.cf7-lien-he .wpcf7-tel:focus,
.cf7-lien-he .wpcf7-textarea:focus {
  border-color: var(--color-pri);
}
.cf7-lien-he .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--color-pri);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
  border: 1px solid var(--color-pri);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.cf7-lien-he .wpcf7-submit:hover {
  background: #fff;
  color: var(--color-pri);
}
.cf7-lien-he .wpcf7-response-output {
  margin: 0;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .cf7-lien-he label {
    font-size: 14px;
  }
}
.wpcf7-spinner {
  display: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(19, 58, 53, 0.2);
  border-top-color: var(--color-pri);
  animation: cf7-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-left: 10px;
  background: none !important;
}
.wpcf7-spinner.is-active {
  display: inline-block;
}

form .wpcf7-not-valid-tip::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #bb0000;
  bottom: 100%;
  right: 16px;
}

form .wpcf7-not-valid-tip {
  font-size: 10px !important;
  padding: 6px;
  border-radius: 4px;
  background-color: #bb0000;
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 10;
  font-weight: 500;
}

.wpcf7 form .wpcf7-response-output {
  padding: 2px 4px;
  font-size: 14px;
  text-align: center;
  background: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  margin-top: 12px;
  color: #1e994f;
}

.wpcf7 form.invalid .wpcf7-response-output {
  color: red;
}
.hide-sitename {
  display: none;
}

/* =============================================
   Section About Mission
   ============================================= */
.sec-about-mission .mission-col-desc.is-active {
  max-height: 400px;
  opacity: 1;
}
.mission-col-desc {
  transition:
    max-height 0.25s ease,
    opacity 0.25s ease;
}
.section-about-awards:before {
  content: "";
  position: absolute;
  top: 0%;
  left: 100%;
  width: 5%;
  transform: translate(-50%, 50%);
  aspect-ratio: 9 / 60;
  background: #ffca1b;
  border-radius: 100rem;
  filter: blur(8rem);
}
.section-about-awards:after {
  content: "";
  position: absolute;
  top: 22%;
  right: 100%;
  width: 5%;
  transform: translate(50%, 50%);
  aspect-ratio: 9 / 60;
  background: #ffca1b;
  border-radius: 100rem;
  filter: blur(8rem);
}

/* =============================================
   ABOUT JOURNEY — Timeline active state
   ============================================= */
.journey-tl-item.is-active .journey-tl-year {
  color: var(--color-sec) !important;
  font-weight: 700;
}
.journey-tl-item.is-active .journey-tl-icon {
  color: var(--color-sec);
}

.bg-line-sm {
  position: absolute;
  bottom: 0;
  left: 0%;
  height: 1rem;
  width: 100%;
  background-image: url("../images/about/journey/line-sm.svg");
  background-repeat: repeat-x;
  background-size: contain;
}
.journey-slide.active .t-titlte {
  color: var(--color-sec);
}
.c-second {
  color: var(--color-sec);
}

@keyframes spin8932 {
  to {
    transform: rotate(360deg);
  }
}

#circle8932 {
  transform-origin: 50% 50%;
  stroke: url(#RadialGradient8932);
  fill: none;
  animation: spin8932 0.5s infinite linear;
}
.tts-btn {
  border: 1px solid #b3b4b9;
  border-radius: 100rem;
}
.tts-btn:hover {
  background: var(--color-pri);
  cursor: pointer;
  border-color: var(--color-pri);
}
.tts-btn:hover svg {
  filter: brightness(0) invert(1);
}

/* ── section-hoat-dong Masonry ── */

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 12px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--color-pri);
}
.breadcrumb-item:not(:last-child)::after {
  content: "";
  margin-left: 11px;
  width: 11px;
  height: 11px;
  background-image: url("../images/ic-chevron-right2.svg");
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(0) saturate(100%) invert(65%) sepia(23%) saturate(805%)
    hue-rotate(3deg) brightness(96%) contrast(91%);
}
.breadcrumb-item a {
  color: var(--color-pri);
  transition: color 0.2s;
}

.breadcrumb-item.is-current span {
  font-weight: 600;
}

.item-prj.is-custom {
  background-color: #283377;
  color: white;
}
.item-prj.is-custom h3,
.item-prj.is-custom p,
.item-prj.is-custom span {
  filter: brightness(0) invert(1);
}
.item-prj.is-custom .w-4.h-4 img,
.item-prj.is-custom .w-5.h-5 img {
  filter: brightness(0) invert(1);
}

/* ===== PAGE INTRO ===== */

/* Each split char keeps its own gradient */
.banner-char {
  display: inline-block;
  padding: 0 2px;
}

/* Home banner intro: hidden before GSAP animation takes over */

.page-home .banner-hero-overlay,
.page-home .banner-hero-caption {
  opacity: 0;
}

/* Scroll dot bounce animation */
@keyframes intro-scroll-bounce {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0;
  }
}
.intro-scroll-dot {
  animation: intro-scroll-bounce 1.6s ease-in-out infinite;
}
@keyframes scroll-chevron-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(5px);
    opacity: 0.4;
  }
}
.banner-scroll-chevron {
  transform-box: fill-box;
  transform-origin: center;
  animation: scroll-chevron-bounce 1.4s ease-in-out infinite;
}
.main.page-contact {
  background: #f4f5f8;
}
.icon-link:hover {
  filter: brightness(0) saturate(100%) invert(88%) sepia(12%) saturate(1116%)
    hue-rotate(358deg) brightness(102%) contrast(91%);
}

/* ── Back to top ── */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}
#backToTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover svg rect {
  fill: var(--color-pri);
  transition: fill 0.2s ease;
}
#backToTop:hover svg path {
  fill: #fff;
  transition: fill 0.2s ease;
}
.section-about-journey .container {
  max-width: 1280px;
}
@media (max-width: 767px) {
  #backToTop {
    bottom: 20px;
    right: 16px;
  }
}
.journey-slide ul,
.journey-slide ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.journey-slide .b-content .c-second {
  color: var(--color-pri);
}
.journey-slide br {
  display: none;
}
.bn-hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #666666 35%);
  z-index: 1;
}

/* mona-content: responsive images in post content */
.mona-content img {
  max-width: 100%;
  height: auto;
}
.mona-content .wp-caption {
  max-width: 100% !important;
  width: auto !important;
}
.mona-content .wp-caption img {
  max-width: 100%;
  height: auto;
  width: auto;
}
.font-title {
  font-family: var(--font-title);
}

/* ── Gallery Swiper — line pagination ── */
.swiper-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.swiper-pagination-bullet {
  width: 32px;
  height: 2px;
  border-radius: 0;
  background: #c8c4bb;
  opacity: 1;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 56px;
  background: var(--color-pri);
}
.swiper-slide {
  height: auto;
}
/* =============================================
   HEADER
   ============================================= */
.hd {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  height: 80px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.hd > .container {
  height: 100%;
}
.hd-logo {
  width: 160px;
}
@media screen and (max-width: 1280px) {
  .hd-logo {
    width: 140px;
  }
}
@media screen and (max-width: 768px) {
  .hd {
    height: 64px;
  }
  .hd-logo {
    width: 100px;
  }
}

/* Nav link – desktop */
.hd-nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-sec);
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.hd-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-pri);
  transition: width 0.25s ease;
}
.hd-nav-link:hover,
.current-menu-item > .hd-nav-link,
.current-page-ancestor > .hd-nav-link {
  color: var(--color-pri);
}
.hd-nav-link:hover::after,
.current-menu-item > .hd-nav-link::after,
.current-page-ancestor > .hd-nav-link::after {
  width: 100%;
}

/* Language switcher */
.hd-lang a {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-sec);
  transition: color 0.2s ease;
}
.hd-lang a:hover,
.hd-lang a.lang-active,
.hd-lang span.lang-active {
  color: var(--color-pri);
}

/* =============================================
   MOBILE DRAWER
   ============================================= */
.hd-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: 300px;
  height: 100%;
  background: #fbf9f4;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.hd-nav.is-open {
  transform: translateX(0);
}

/* Overlay */
.hd-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.hd-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile nav items */
.hd-nav-item {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-sec);
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s ease;
}
.hd-nav-item:hover,
.current-menu-item > .hd-nav-item {
  color: var(--color-pri);
}

.main {
  background: #fff;
}
.section-pd {
  padding: var(--pd-sc) 0;
}

/* ── CF7 form override cho trang chi tiết khóa học + workshop ── */
/* ── Khóa Học / Workshop form ─────────────────────────────────────── */
/* .cf7-khoa-hoc .wpcf7-form,
.cf7-workshop .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
} */
.cf7-khoa-hoc .wpcf7-form > p,
.cf7-workshop .wpcf7-form > p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.cf7-khoa-hoc .wpcf7-form label,
.cf7-workshop .wpcf7-form label {
  font-weight: 400;
  letter-spacing: 1.2px;
}

/* Text / Email / Tel */
.cf7-khoa-hoc .wpcf7-text,
.cf7-khoa-hoc .wpcf7-email,
.cf7-khoa-hoc .wpcf7-tel,
.cf7-workshop .wpcf7-text,
.cf7-workshop .wpcf7-email,
.cf7-workshop .wpcf7-tel {
  width: 100%;
  padding: 10px 16px;
  background: #fbf9f4;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-sec);
  outline: none;
  transition: border-color 0.2s;
}
.cf7-khoa-hoc .wpcf7-text::placeholder,
.cf7-khoa-hoc .wpcf7-email::placeholder,
.cf7-khoa-hoc .wpcf7-tel::placeholder,
.cf7-workshop .wpcf7-text::placeholder,
.cf7-workshop .wpcf7-email::placeholder,
.cf7-workshop .wpcf7-tel::placeholder {
  color: #a0aeac;
  font-weight: 400;
}
.cf7-khoa-hoc .wpcf7-text:focus,
.cf7-khoa-hoc .wpcf7-email:focus,
.cf7-khoa-hoc .wpcf7-tel:focus,
.cf7-workshop .wpcf7-text:focus,
.cf7-workshop .wpcf7-email:focus,
.cf7-workshop .wpcf7-tel:focus {
  border-color: var(--color-pri);
}

/* Date */
.cf7-khoa-hoc .wpcf7-date,
.cf7-workshop .wpcf7-date {
  width: 100%;
  padding: 10px 16px;
  background: #fbf9f4;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-sec);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.cf7-khoa-hoc .wpcf7-date:focus,
.cf7-workshop .wpcf7-date:focus {
  border-color: var(--color-pri);
}
.cf7-khoa-hoc .wpcf7-date::-webkit-calendar-picker-indicator,
.cf7-workshop .wpcf7-date::-webkit-calendar-picker-indicator {
  opacity: 0.4;
  cursor: pointer;
  filter: invert(22%) sepia(27%) saturate(564%) hue-rotate(116deg)
    brightness(95%) contrast(92%);
}
.cf7-khoa-hoc .wpcf7-form-control-wrap:has(.wpcf7-date),
.cf7-workshop .wpcf7-form-control-wrap:has(.wpcf7-date) {
  position: relative;
  display: block;
}
.cf7-khoa-hoc .wpcf7-date.flatpickr-input:not([type="hidden"]),
.cf7-workshop .wpcf7-date.flatpickr-input:not([type="hidden"]) {
  padding-right: 44px;
}
.cf7-khoa-hoc .flatpickr-calendar-icon,
.cf7-workshop .flatpickr-calendar-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: #4e635a;
  cursor: pointer;
  pointer-events: all;
  line-height: 0;
}
.cf7-khoa-hoc .flatpickr-calendar-icon svg,
.cf7-workshop .flatpickr-calendar-icon svg {
  width: 18px;
  height: 18px;
}

/* Select */
.cf7-khoa-hoc .wpcf7-form-control-wrap:has(.wpcf7-select),
.cf7-workshop .wpcf7-form-control-wrap:has(.wpcf7-select) {
  display: block;
  position: relative;
}
.cf7-khoa-hoc .wpcf7-form-control-wrap:has(.wpcf7-select)::after,
.cf7-workshop .wpcf7-form-control-wrap:has(.wpcf7-select)::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23133a35' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.cf7-khoa-hoc .wpcf7-select,
.cf7-workshop .wpcf7-select {
  width: 100%;
  padding: 10px 40px 10px 16px;
  background: #fbf9f4;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-sec);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
}
.cf7-khoa-hoc .wpcf7-select:focus,
.cf7-workshop .wpcf7-select:focus {
  border-color: var(--color-pri);
}
.cf7-khoa-hoc .wpcf7-select option[value=""],
.cf7-workshop .wpcf7-select option[value=""] {
  color: #a0aeac;
}
.cf7-khoa-hoc .wpcf7-select.wpcf7-not-valid,
.cf7-workshop .wpcf7-select.wpcf7-not-valid {
  border-color: #e53935;
}

/* Radio (Có trẻ em tham gia?) – checkbox style */
.wpcf7-radio {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.wpcf7-list-item {
  margin: 0;
  position: relative;
  display: inline-flex;
}
.wpcf7-list-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}
.wpcf7-list-item .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-sec);
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0;
  user-select: none;
  line-height: 1;
}
.wpcf7-list-item .wpcf7-list-item-label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #d1cfc9;
  border-radius: 4px;
  background: #fff;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.wpcf7-list-item:has(input:checked) .wpcf7-list-item-label {
  color: var(--color-pri);
  font-weight: 600;
}
.wpcf7-list-item:has(input:checked) .wpcf7-list-item-label::before {
  border-color: var(--color-pri);
  background: var(--color-pri);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='1.5,6 5,9.5 10.5,2.5' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.wpcf7-list-item .wpcf7-list-item-label:hover::before {
  border-color: var(--color-pri);
}
.wpcf7-form-control-wrap:has(.wpcf7-radio) {
  display: flex;
  align-items: center;
  background: #fbf9f4;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 10px 16px;
  min-height: 47px;
}

/* Submit */
.cf7-khoa-hoc .wpcf7-submit,
.cf7-workshop .wpcf7-submit {
  width: 100%;
  padding: 10px;
  background: var(--color-pri);
  border: 1px solid var(--color-pri);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.cf7-khoa-hoc .wpcf7-submit:hover,
.cf7-workshop .wpcf7-submit:hover {
  background: #fff;
  color: var(--color-pri);
}
.cf7-khoa-hoc .wpcf7-spinner,
.cf7-workshop .wpcf7-spinner {
  display: none;
}

/* ── Dịch Vụ form ─────────────────────────────────────────────────── */
.cf7-dich-vu .wpcf7-form {
  display: flex;
  flex-direction: column;
}
.cf7-dich-vu .wpcf7-form > p {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.cf7-dich-vu .wpcf7-form label {
  font-weight: 400;
  letter-spacing: 1.2px;
}
.cf7-dich-vu .wpcf7-text,
.cf7-dich-vu .wpcf7-email,
.cf7-dich-vu .wpcf7-tel {
  width: 100%;
  padding: 10px 16px;
  background: #fbf9f4;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-sec);
  outline: none;
  transition: border-color 0.2s;
}
.cf7-dich-vu .wpcf7-text::placeholder,
.cf7-dich-vu .wpcf7-email::placeholder,
.cf7-dich-vu .wpcf7-tel::placeholder {
  color: #a0aeac;
  font-weight: 400;
}
.cf7-dich-vu .wpcf7-text:focus,
.cf7-dich-vu .wpcf7-email:focus,
.cf7-dich-vu .wpcf7-tel:focus {
  border-color: var(--color-pri);
}
.cf7-dich-vu .wpcf7-date {
  width: 100%;
  padding: 10px 16px;
  background: #fbf9f4;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-sec);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.cf7-dich-vu .wpcf7-date:focus {
  border-color: var(--color-pri);
}
.cf7-dich-vu .wpcf7-date::-webkit-calendar-picker-indicator {
  opacity: 0.4;
  cursor: pointer;
  filter: invert(22%) sepia(27%) saturate(564%) hue-rotate(116deg)
    brightness(95%) contrast(92%);
}
.cf7-dich-vu .wpcf7-form-control-wrap:has(.wpcf7-date) {
  position: relative;
  display: block;
}
.cf7-dich-vu .wpcf7-date.flatpickr-input:not([type="hidden"]) {
  padding-right: 44px;
}
.cf7-dich-vu .flatpickr-calendar-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: #4e635a;
  cursor: pointer;
  pointer-events: all;
  line-height: 0;
}
.cf7-dich-vu .flatpickr-calendar-icon svg {
  width: 18px;
  height: 18px;
}
.cf7-dich-vu .wpcf7-textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fbf9f4;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-sec);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.55;
}
.cf7-dich-vu .wpcf7-textarea::placeholder {
  color: #a0aeac;
  font-weight: 400;
}
.cf7-dich-vu .wpcf7-textarea:focus {
  border-color: var(--color-pri);
}
.cf7-dich-vu .wpcf7-submit {
  width: 100%;
  padding: 10px;
  background: var(--color-pri);
  border: 1px solid var(--color-pri);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.cf7-dich-vu .wpcf7-submit:hover {
  background: #fff;
  color: var(--color-pri);
}
.cf7-dich-vu .wpcf7-spinner {
  display: none;
}

/* ── Select: người hướng dẫn & khung giờ ─────────────────────────── */
.cf7-dich-vu .wpcf7-form-control-wrap:has(.wpcf7-select) {
  display: block;
  position: relative;
}
.cf7-dich-vu .wpcf7-form-control-wrap:has(.wpcf7-select)::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23133a35' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.cf7-dich-vu .wpcf7-select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  background: #fbf9f4;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  color: var(--color-sec);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
}
.cf7-dich-vu .wpcf7-select:focus {
  border-color: var(--color-pri);
}
.cf7-dich-vu .wpcf7-select option[value=""] {
  color: #a0aeac;
}
.cf7-dich-vu .wpcf7-select.wpcf7-not-valid {
  border-color: #e53935;
}

/* Validation tip */
.cf7-dich-vu .wpcf7-form:not(.invalid):not(.failed) .wpcf7-not-valid-tip {
  display: none;
}
.cf7-dich-vu
  .wpcf7-form:not(.invalid):not(.failed)
  .wpcf7-form-control.wpcf7-not-valid {
  border-color: inherit;
}

@media (max-width: 767px) {
  .cf7-khoa-hoc .wpcf7-submit,
  .cf7-workshop .wpcf7-submit,
  .cf7-dich-vu .wpcf7-submit {
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* ── Select2 custom theme (TSH forms) ────────────────────────────────── */

/* Ẩn mũi tên ::after native khi Select2 đã khởi tạo */
.wpcf7-form-control-wrap:has(.select2-container)::after {
  display: none;
}

/* Full width */
.cf7-khoa-hoc .select2-container,
.cf7-workshop .select2-container,
.cf7-dich-vu .select2-container {
  width: 100% !important;
}

/* Selection box */
.select2-tsh.select2-selection--single {
  height: auto !important;
  padding: 13px 40px 13px 16px !important;
  background: #fbf9f4 !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 12px !important;
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
}
.select2-container--open .select2-tsh.select2-selection--single {
  border-color: var(--color-pri) !important;
}

/* Text rendered */
.select2-tsh .select2-selection__rendered {
  padding: 0 !important;
  line-height: normal !important;
  color: var(--color-sec) !important;
  font-size: 16px !important;
  font-family: inherit !important;
}
.select2-tsh .select2-selection__placeholder {
  color: #a0aeac !important;
}

/* Arrow */
.select2-tsh .select2-selection__arrow {
  width: 40px !important;
  height: 100% !important;
  top: 0 !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.select2-tsh .select2-selection__arrow b {
  border: none !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  top: auto !important;
  left: auto !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23133a35' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  transition: transform 0.2s;
}
.select2-container--open .select2-tsh .select2-selection__arrow b {
  transform: rotate(180deg);
}

/* Validation error */
/* .cf7-khoa-hoc .wpcf7-select.wpcf7-not-valid ~ .select2-container .select2-tsh,
.cf7-workshop .wpcf7-select.wpcf7-not-valid ~ .select2-container .select2-tsh,
.cf7-dich-vu .wpcf7-select.wpcf7-not-valid ~ .select2-container .select2-tsh {
  border-color: #e53935 !important;
} */

/* Dropdown panel (appended to <body>) */
.select2-tsh-dropdown.select2-dropdown {
  border: 1px solid #e0ddd7 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(19, 58, 53, 0.12) !important;
  overflow: hidden;
  font-family: inherit;
}
.select2-tsh-dropdown .select2-results__options {
  padding: 6px;
}
.select2-tsh-dropdown .select2-results__option {
  padding: 10px 14px;
  font-size: 15px;
  color: var(--color-sec);
  font-family: inherit;
  border-radius: 8px;
  transition: background 0.15s;
}
.select2-tsh-dropdown .select2-results__option--highlighted[aria-selected] {
  background: #f7f5f0 !important;
  color: var(--color-pri) !important;
}
.select2-tsh-dropdown .select2-results__option[aria-selected="true"] {
  background: #f0ede5 !important;
  color: var(--color-pri) !important;
  font-weight: 500;
}

/* ── Feedback slider ───────────────────────────────────────────────── */
.feedback-slider .swiper-wrapper {
  align-items: stretch;
}
.feedback-slider .swiper-slide {
  height: auto;
}

/* ── Flatpickr theme override ────────────────────────────────────────── */
.flatpickr-calendar {
  border-radius: 16px;
  border: none;
  font-family: inherit;
  font-size: 13px;
}
.flatpickr-months .flatpickr-month {
  color: var(--color-sec);
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
  border-bottom-color: var(--color-sec);
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
  border-top-color: var(--color-sec);
}
.flatpickr-weekday {
  color: #8d9b99;
  font-weight: 600;
  font-size: 11px;
}
.flatpickr-day {
  border-radius: 8px;
  color: var(--color-sec);
}
.flatpickr-day:hover {
  background: #f4f2ef;
  border-color: transparent;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--color-sec);
  border-color: transparent;
  color: #fff;
}
.flatpickr-day.today:not(.selected) {
  border-color: transparent;
  color: var(--color-pri);
  font-weight: 600;
  background: transparent;
}
/* .flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  opacity: 0.45;
} */
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: var(--color-sec);
}

/* ── Search Booking — Airbnb-style ──────────────────────────────────── */
.search-booking {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

/* Tabs */
.sb-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 14px;
}
.sb-tab {
  background: transparent;
  border: none;
  color: var(--color-sec);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 99px;
  cursor: pointer;
  opacity: 0.55;
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.2s;
  font-family: inherit;
}
.sb-tab:hover {
  opacity: 0.9;
  background: rgba(194, 160, 86, 0.08);
}
.sb-tab.is-active {
  opacity: 1;
  background: rgba(194, 160, 86, 0.12);
  color: var(--color-pri);
  font-weight: 600;
}

/* Transparent wrapper trên desktop, flex row 50/50 trên mobile */
.sb-row-top {
  display: contents;
}

/* Bar */
.sb-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 99px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
  padding: 8px;
  position: relative;
  gap: 8px;
}

/* Separator */
.sb-sep {
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(192, 200, 198, 0.55);
  flex-shrink: 0;
  transition: opacity 0.2s;
}
/* .sb-field.is-open ~ .sb-sep,
.sb-sep:has(+ .sb-field.is-open) {
  opacity: 0;
} */

/* Fields */
.sb-field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.sb-field__btn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  text-align: left;
  border-radius: 99px;
  transition: background 0.18s;
  font-family: inherit;
}
.sb-field__btn:hover,
.sb-field.is-open .sb-field__btn {
  background: rgba(0, 0, 0, 0.04);
}
.sb-field__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--color-sec);
  line-height: 1;
}
.sb-field__value {
  display: block;
  font-size: 13px;
  color: #8d9b99;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  transition: color 0.18s;
}
.sb-field__value:not(:empty):not([data-empty]) {
  color: var(--color-sec);
}

/* Panel (dropdown) */
.sb-panel {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.14);
  padding: 14px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}
.sb-field--last .sb-panel {
  left: auto;
  right: 0;
}
.sb-field.is-open .sb-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sb-panel__heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #8d9b99;
  margin-bottom: 10px;
  padding: 0 4px;
}

/* Type options */
.sb-option-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 12px;
  transition:
    background 0.15s,
    color 0.15s;
  font-family: inherit;
}
.sb-option:hover {
  background: #f4f2ef;
}
.sb-option.is-active {
  background: rgba(194, 160, 86, 0.1);
}
.sb-option__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0ede8;
  color: var(--color-sec);
  flex-shrink: 0;
  transition:
    background 0.15s,
    color 0.15s;
}
.sb-option.is-active .sb-option__icon {
  background: rgba(194, 160, 86, 0.15);
  color: var(--color-pri);
}
.sb-option:hover .sb-option__icon {
  background: #e8e4de;
}
.sb-option__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-option.is-active .sb-option__label {
  color: var(--color-pri);
}
.sb-option__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-sec);
  line-height: 1.3;
}
.sb-option__desc {
  font-size: 12px;
  color: #8d9b99;
  line-height: 1.3;
}
.sb-option.is-active .sb-option__desc {
  color: var(--color-pri);
  opacity: 0.7;
}

/* Type panel */
.sb-panel--type {
  min-width: 320px;
}

/* Option list */
.sb-type-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-type-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.15s;
  font-family: inherit;
}
.sb-type-item:hover {
  background: #f4f2ef;
}
.sb-type-item.is-active {
  background: rgba(194, 160, 86, 0.1);
}
.sb-type-item__img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8e4de;
}
.sb-type-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sb-type-item__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.sb-type-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-sec);
  line-height: 1.3;
}
.sb-type-item.is-active .sb-type-item__name {
  color: var(--color-pri);
}
.sb-type-item__desc {
  font-size: 12px;
  color: #8d9b99;
  line-height: 1.4;
}

/* Time panel */
.sb-panel--time {
  display: flex;
  flex-direction: row;
  padding: 0;
  min-width: 520px;
  overflow: hidden;
}
.sb-flatpickr-trigger {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.sb-time-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  min-width: 182px;
  flex-shrink: 0;
}
.sb-time-sep-v {
  width: 1px;
  background: rgba(192, 200, 198, 0.4);
  flex-shrink: 0;
  margin: 14px 0;
}
.sb-time-right {
  flex: 1;
  min-width: 0;
  padding: 6px 4px 6px 0;
  display: flex;
  align-items: flex-start;
}
.sb-time-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background: transparent;
  border: 1.5px solid #e9e6e0;
  border-radius: 14px;
  padding: 11px 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition:
    background 0.16s,
    border-color 0.16s;
}
.sb-time-pill:hover {
  background: #f4f2ef;
  border-color: rgba(194, 160, 86, 0.35);
}
.sb-time-pill.is-active {
  background: rgba(194, 160, 86, 0.08);
  border-color: var(--color-pri);
}
.sb-time-pill__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-sec);
  line-height: 1.3;
}
.sb-time-pill.is-active .sb-time-pill__label {
  color: var(--color-pri);
}
.sb-time-pill__sub {
  font-size: 12px;
  color: #8d9b99;
  margin-top: 2px;
  line-height: 1.3;
}
.sb-panel--time .flatpickr-calendar.inline {
  width: 100%;
  box-shadow: none;
  border: none;
}
.sb-date-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(192, 200, 198, 0.6);
  border-radius: 12px;
  font-size: 14px;
  color: var(--color-sec);
  background: #fff;
  outline: none;
  transition: border-color 0.16s;
  font-family: inherit;
}
.sb-date-input:focus {
  border-color: var(--color-pri);
}

/* Guest panel */
.sb-panel--guest {
  min-width: 300px;
  padding: 16px 18px;
}
.sb-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(192, 200, 198, 0.28);
}
.sb-guest-row:nth-last-child(2) {
  border-bottom: none;
  padding-bottom: 0;
}

.sb-guest-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-guest-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-sec);
}
.sb-guest-desc {
  font-size: 12px;
  color: #8d9b99;
}
.sb-guest-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sb-counter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(192, 200, 198, 0.7);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--color-sec);
  transition:
    background 0.16s,
    border-color 0.16s,
    color 0.16s,
    opacity 0.16s;
  flex-shrink: 0;
  padding: 0;
  font-family: inherit;
}
.sb-counter-btn:hover:not(:disabled) {
  border-color: var(--color-sec);
  background: var(--color-sec);
  color: #fff;
}
.sb-counter-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.sb-counter-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-sec);
  min-width: 20px;
  text-align: center;
  line-height: 1;
}

/* Guest panel footer (mobile only) */
.sb-guest-footer {
  display: none;
}

/* Price panel */
.sb-panel--price {
  min-width: 260px;
  padding: 8px;
}
.sb-price-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.16s;
}
.sb-price-item:hover {
  background: rgba(192, 200, 198, 0.16);
}
.sb-price-item__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-sec);
}
.sb-price-item.is-active .sb-price-item__label {
  font-weight: 600;
  color: var(--color-pri);
}
.sb-price-item__check {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-pri);
  opacity: 0;
  transition: opacity 0.16s;
  flex-shrink: 0;
}
.sb-price-item.is-active .sb-price-item__check {
  opacity: 1;
}

/* Submit button */
.sb-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-pri);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 8px;
  transition:
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.sb-submit:hover {
  background: #b08e40;
  transform: scale(1.02);
}
.sb-toast {
  position: fixed;
  top: calc(var(--size-hd) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  background: #1b1c19;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}
.sb-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.flatpickr-innerContainer {
  justify-content: center;
}
/* ── Mobile ───── */
@media (max-width: 768px) {
  .sb-bar {
    flex-direction: column;
    border-radius: 24px;
    padding: 8px;
    gap: 2px;
  }
  .sb-sep {
    display: none;
  }
  .sb-field {
    width: 100%;
  }
  .sb-field__btn {
    padding: 12px 18px;
    border-radius: 18px;
  }
  .sb-panel {
    left: 0;
    right: 0;
    min-width: unset;
    border-radius: 18px;
  }
  .sb-field--last .sb-panel {
    left: 0;
    right: 0;
  }
  /* Loại hình + Thời gian: 50/50 */
  .sb-row-top {
    display: flex;
    width: 100%;
    position: relative;
    gap: 2px;
  }
  .sb-row-top .sb-field {
    flex: 1;
    width: 50%;
    position: static;
  }
  .sb-row-top .sb-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    min-width: unset;
  }
  .sb-submit {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 4px;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 18px;
  }
  .sb-tabs {
    flex-wrap: wrap;
    gap: 4px;
  }
  .sb-tab {
    font-size: 13px;
    padding: 7px 14px;
  }
  /* Thời gian panel: stack dọc trên mobile */
  .sb-panel--time {
    flex-direction: column;
  }
  .sb-time-sep-v {
    display: none;
  }
  .sb-time-left {
    border-bottom: 1px solid rgba(192, 200, 198, 0.4);
    padding-bottom: 10px;
  }
  .sb-time-right {
    padding: 4px 8px 8px;
  }
  .sb-guest-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(192, 200, 198, 0.3);
  }
  .sb-guest-clear {
    font-size: 13px;
    font-weight: 500;
    color: #8d9b99;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .sb-guest-apply {
    flex: 1;
    background: var(--color-pri);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: opacity 0.16s;
  }
  .sb-guest-apply:hover {
    opacity: 0.85;
  }
}

/* ── Mobile Popup (Airbnb-style trigger + fullscreen overlay) ────────── */
.sb-mobile-trigger {
  display: none;
}
.sb-popup-overlay {
  /* transparent wrapper on desktop */
}
.sb-popup-footer {
  display: none;
}

@media (max-width: 768px) {
  /* Compact pill trigger */
  .sb-mobile-trigger {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 0px;
    padding: 10px 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.13);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
  }
  .sb-mobile-trigger__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--color-pri);
    border-radius: 50%;
    color: #fff;
  }
  .sb-mobile-trigger__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
  }
  .sb-mobile-trigger__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-sec);
    line-height: 1.2;
  }
  .sb-mobile-trigger__sub {
    font-size: 12px;
    color: #8d9b99;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }

  /* Fullscreen popup overlay: slides up from bottom */
  .sb-popup-overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--size-hd);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 500;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
  }
  .search-booking.is-popup-open .sb-popup-overlay {
    transform: translateY(0);
  }

  .sb-popup-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(192, 200, 198, 0.7);
    background: transparent;
    cursor: pointer;
    color: var(--color-sec);
    flex-shrink: 0;
    transition: background 0.15s;
  }
  .sb-popup-close:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  /* sb-bar inside popup: flat list, no card style */
  .sb-popup-overlay .sb-bar {
    flex-direction: column !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    gap: 0 !important;
    flex: 1;
    overflow-y: auto;
  }

  /* row-top inside popup: stack vertically */
  .sb-popup-overlay .sb-row-top {
    display: contents !important;
  }

  /* Fields as Airbnb-style list rows */
  .sb-popup-overlay .sb-field {
    width: 100% !important;
    position: relative !important;
    flex: unset !important;
  }
  .sb-popup-overlay .sb-field__btn {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 24px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(192, 200, 198, 0.28) !important;
    gap: 12px !important;
    background: transparent !important;
  }
  .sb-popup-overlay .sb-field.is-open .sb-field__btn {
    border-bottom-color: transparent !important;
    background: rgba(194, 160, 86, 0.04) !important;
  }
  .sb-popup-overlay .sb-field__label {
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--color-sec) !important;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .sb-popup-overlay .sb-field__value {
    font-size: 14px !important;
    color: #8d9b99 !important;
    text-align: right !important;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Panels: inline expand (not absolute dropdown) */
  .sb-popup-overlay .sb-panel {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: unset !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease !important;
    pointer-events: none;
    border-bottom: 1px solid rgba(192, 200, 198, 0.28);
  }
  .sb-popup-overlay .sb-field.is-open .sb-panel {
    max-height: 900px;
    pointer-events: auto;
  }

  /* Type panel in popup */
  .sb-popup-overlay .sb-panel--type {
    padding: 0 !important;
  }

  /* Time panel in popup: stacked */
  .sb-popup-overlay .sb-panel--time {
    flex-direction: column !important;
    min-width: unset !important;
    padding: 0 !important;
  }
  .sb-popup-overlay .sb-time-left {
    padding: 14px 20px !important;
    border-bottom: 1px solid rgba(192, 200, 198, 0.28);
  }
  .sb-popup-overlay .sb-time-right {
    padding: 8px 12px !important;
  }
  .sb-popup-overlay .sb-time-sep-v {
    display: none;
  }

  /* Guest panel in popup */
  .sb-popup-overlay .sb-panel--guest {
    padding: 0 20px !important;
  }

  /* Price panel in popup */
  .sb-popup-overlay .sb-panel--price {
    min-width: unset !important;
    padding: 8px 12px !important;
  }

  /* Hide guest sub-footer inside popup (use main popup footer instead) */
  .sb-popup-overlay .sb-guest-footer {
    display: none !important;
  }

  /* Hide separators inside popup */
  .sb-popup-overlay .sb-sep {
    display: none !important;
  }

  /* Hide desktop submit inside popup */
  .sb-popup-overlay .sb-submit {
    display: none !important;
  }

  /* Popup footer: sticky at bottom */
  .sb-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-top: 1px solid rgba(192, 200, 198, 0.3);
    position: sticky;
    bottom: 0;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  }
  .sb-popup-clear-all {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-sec);
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    padding: 4px 0;
  }
  .sb-popup-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    background: var(--color-pri);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.16s;
  }
  .sb-popup-submit:hover {
    opacity: 0.88;
  }
}

/* ── Search Results Page ─────────────────────────────────────────────── */
.sr-search-wrap {
  margin-bottom: 40px;
}
.sr-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}
.sr-count {
  font-size: 15px;
  color: var(--color-sec);
}
.sr-count strong {
  font-weight: 700;
}
.sr-clear {
  font-size: 13px;
  color: #8d9b99;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.sr-clear:hover {
  color: var(--color-sec);
}
.sr-grid {
  row-gap: 40px;
}
.sr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  gap: 16px;
  color: #8d9b99;
}
.sr-empty__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-sec);
}
.sr-empty__desc {
  font-size: 15px;
}
.cf7-khoa-hoc .row,
.cf7-workshop .row,
.cf7-dich-vu .row {
  --cg: 12px;
  --rg: 12px;
}

/* ── CF7 date popup (detail pages) ──────────────────────────────────── */
.cf7-date-field {
  position: relative;
}
.cf7-date-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  background: #fbf9f4;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s;
}
.cf7-date-trigger:hover,
.cf7-date-field.is-open .cf7-date-trigger {
  border-color: var(--color-pri);
  outline: none;
}
.cf7-date-trigger__val {
  flex: 1;
  font-size: 16px;
  color: #9ca3af;
}
.cf7-date-trigger__val.has-value {
  color: var(--color-sec);
}
.cf7-date-trigger svg {
  flex-shrink: 0;
  color: #4e635a;
}
/* Popup panel */
.cf7-date-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  min-width: 420px;
  z-index: 200;
  flex-direction: row;
  background: #fff;
  border: 1px solid #e4e2dd;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(19, 58, 53, 0.12);
  overflow: hidden;
}
.cf7-date-field.is-open .cf7-date-panel {
  display: flex;
}
/* Pills — cột dọc bên trái */
.cf7-date-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  min-width: 168px;
  flex-shrink: 0;
}
/* Vertical separator */
.cf7-date-sep {
  width: 1px;
  background: rgba(192, 200, 198, 0.4);
  flex-shrink: 0;
  margin: 14px 0;
}
/* Calendar area — bên phải */
.cf7-date-right {
  flex: 1;
  min-width: 0;
  padding: 6px 4px 6px 0;
  display: flex;
  align-items: flex-start;
}
.cf7-date-fp-trigger {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cf7-date-right .flatpickr-calendar.inline {
  width: 100%;
  box-shadow: none;
  border: none;
  background: transparent;
}
/* Pills */
.cf7-date-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background: transparent;
  border: 1.5px solid #e9e6e0;
  border-radius: 14px;
  padding: 11px 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition:
    background 0.16s,
    border-color 0.16s;
}
.cf7-date-pill:hover {
  background: #f4f2ef;
  border-color: rgba(194, 160, 86, 0.35);
}
.cf7-date-pill.is-active {
  background: rgba(194, 160, 86, 0.08);
  border-color: var(--color-pri);
}
.cf7-date-pill__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-sec);
  line-height: 1.3;
}
.cf7-date-pill.is-active .cf7-date-pill__label {
  color: var(--color-pri);
}
.cf7-date-pill__sub {
  font-size: 12px;
  color: #8d9b99;
  margin-top: 2px;
  line-height: 1.3;
}
/* ── CF7 date picker — Mobile ── */
@media (max-width: 768px) {
  .cf7-date-panel {
    flex-direction: column;
    min-width: unset;
    right: 0;
  }
  .cf7-date-sep {
    display: none;
  }
  .cf7-date-left {
    border-bottom: 1px solid rgba(192, 200, 198, 0.4);
    padding-bottom: 10px;
    min-width: unset;
  }
  .cf7-date-right {
    padding: 4px 8px 8px;
  }
  .main {
    overflow: hidden;
  }
}
.gsb-buttons {
  z-index: 50;
  right: 20px !important;
  bottom: 107px;
}
.zalo-chat-widget {
  right: 20px !important;
  z-index: 50 !important;
}

/* =============================================
   WooCommerce Checkout — Custom UI
   ============================================= */

.tsh-checkout-wrap {
  padding: 60px 0 80px;
}

/* 1 box căn giữa */
/* ── Checkout wrap ── */
.tsh-checkout-wrap {
  padding: 52px 0 80px;
}
.tsh-co-form {
  max-width: 100%;
}

/* ── 2-column grid ── */
.tsh-co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Card ── */
.tsh-co-box {
  background: #fff;
  border: 1px solid #e4e2dd;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27, 28, 25, 0.06);
}

/* ── Section chung ── */
.tsh-co-section {
  padding: 12px;
}
.tsh-co-section__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.tsh-co-section__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sec);
  letter-spacing: 0.2px;
  margin: 0;
}

/* ── Edit link ── */
.tsh-co-edit-link {
  font-size: 13px;
  color: var(--color-pri);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: opacity 0.2s;
}
.tsh-co-edit-link:hover {
  opacity: 0.65;
}

/* ── Info grid — 2 cột ── */
.tsh-co-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.tsh-co-info-row {
  padding: 12px 16px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tsh-co-info-row:nth-last-child(-n + 2) {
  border-bottom: none;
}
.tsh-co-info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #a8b5b2;
}
.tsh-co-info-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-sec);
  line-height: 1.4;
  word-break: break-all;
}

/* ── Order review table ── */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 20px;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 11px 0;
  color: var(--color-sec);
  border-bottom: 1px solid #f0ede6;
  text-align: left;
  vertical-align: middle;
}
.woocommerce-checkout-review-order-table td:last-child,
.woocommerce-checkout-review-order-table th:last-child {
  text-align: right;
}
.woocommerce-checkout-review-order-table thead th {
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #a8b5b2;
  font-weight: 600;
  padding-bottom: 8px;
}
.woocommerce-checkout-review-order-table tfoot tr:not(.order-total) th,
.woocommerce-checkout-review-order-table tfoot tr:not(.order-total) td {
  font-size: 13px;
  color: #999;
  border-bottom: none;
  padding: 6px 0;
}
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  border-bottom: none;
  border-top: 1px solid #edeae4;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-pri);
  padding-top: 14px;
}

/* ── Payment ── */
.tsh-co-payment-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sec);
  letter-spacing: 0.2px;
  margin: 4px 0 14px;
}
#payment {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

#payment ul.wc_payment_methods {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  list-style: none;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Mỗi phương thức = 1 card vuông vức */
#payment ul.wc_payment_methods li.wc_payment_method {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 16px 18px;
  border: 1.5px solid #e4e2dd;
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
#payment ul.wc_payment_methods li.wc_payment_method:has(input[type="radio"]:checked) {
  border-color: var(--color-pri);
  background: #faf8f4;
  box-shadow: 0 2px 12px -5px rgba(194, 160, 86, 0.5);
}
#payment ul.wc_payment_methods li label {
  font-size: 16px;
  color: var(--color-sec);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  flex: 1;
  margin: 0;
  min-width: 0;
}
#payment ul.wc_payment_methods li input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
#payment ul.wc_payment_methods li input[type="radio"]:checked {
  border-color: var(--color-pri);
  background: var(--color-pri);
  box-shadow: inset 0 0 0 3px #fff;
}
/* Icon mô tả bên phải mỗi phương thức */
.tsh-pay-ic {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-pri);
  flex-shrink: 0;
}
.tsh-pay-ic svg {
  display: block;
}
/* Cổng bị disable (placeholder chờ ra mắt) */
#payment ul.wc_payment_methods li.tsh-pm-disabled {
  opacity: 0.55;
}
#payment ul.wc_payment_methods li.tsh-pm-disabled label,
#payment ul.wc_payment_methods li.tsh-pm-disabled input[type="radio"] {
  cursor: not-allowed;
}
.tsh-soon-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #b8922e;
  background: #f7efd8;
  border-radius: 99px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
#payment .payment_box {
  flex: 0 0 100%;
  background: #f0ede6;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  margin-top: 4px;
  display: none !important;
}
/* ── Cổng HIỂN THỊ payment_box khi được chọn ──
   Thêm gateway mới cần hiện box vào danh sách selector bên dưới,
   vd sau này thêm SePay Credit Card:
   #payment_method_sepay_card:checked ~ .payment_box */
#payment_method_bacs:checked ~ .payment_box,
#payment_method_tsh_paypal_qr:checked ~ .payment_box,
#payment_method_sepay:checked ~ .payment_box {
  display: block !important;
}

/* ── Cổng KHÔNG hiện box khi chọn (giữ ẩn) ── */
#payment_method_tsh_cash:checked ~ .payment_box {
  display: none !important;
}
.tsh-paypal-desc {
  margin: 0 0 10px;
  color: #666;
  font-size: 13px;
}
.tsh-cash-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}
.tsh-cash-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-pri);
}
.tsh-cash-note p {
  margin: 0;
}
.tsh-cash-ty__body {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.tsh-cash-ty__body p {
  margin: 0 0 10px;
}
.tsh-cash-ty__note {
  font-size: 13px;
  color: #666;
}

/* BACS: info table + QR side by side */
.tsh-bacs-checkout-wrap {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 16px;
  align-items: center;
}
.tsh-bacs-checkout-info {
  display: flex;
  flex-direction: column;
}
.tsh-bacs-checkout-wrap .tsh-bacs-qr {
  margin-top: 0;
}
.tsh-bacs-checkout-wrap .tsh-bacs-qr img {
  width: 160px;
}
@media (max-width: 640px) {
  .tsh-bacs-checkout-wrap {
    grid-template-columns: 1fr;
  }
  .tsh-bacs-checkout-wrap .tsh-bacs-qr {
    justify-self: center;
  }
  .tsh-bacs-checkout-wrap .tsh-bacs-qr img {
    width: 200px;
  }
}
#payment .form-row {
  margin: 0;
  padding: 0;
}

/* ── Privacy policy text ── */
.woocommerce-privacy-policy-text {
  display: none;
}
.woocommerce-privacy-policy-text a {
  color: var(--color-pri);
  text-decoration: underline;
}

/* ── Place order button ── */
#place_order {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--color-pri);
  color: #fff !important;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.25s,
    box-shadow 0.25s;
  text-align: center;
  box-shadow: 0 4px 14px -2px rgba(194, 160, 86, 0.4);
}
#place_order:hover {
  background: #b8922e;
  box-shadow: 0 6px 20px -4px rgba(194, 160, 86, 0.5);
}

/* ── Checkout notes ── */
.tsh-co-notes {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #edeae4;
}
.tsh-co-notes__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-sec);
  margin: 0 0 10px;
}
.tsh-co-notes__title--sub {
  margin-top: 16px;
}
.tsh-co-notes__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tsh-co-notes__list li {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.tsh-co-notes__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-pri);
  font-size: 16px;
  line-height: 1.4;
}
.tsh-co-notes__list li strong {
  color: var(--color-sec);
  font-weight: 600;
}

/* ── WC notices ── */
.woocommerce-error {
  background: #fff5f5;
  border: 1px solid #ffd0d0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: #c0392b;
  list-style: none;
  margin-bottom: 20px;
}

/* ── Empty state ── */
.tsh-co-empty {
  text-align: center;
  padding: 60px 24px;
  background: #fff;
  border: 1px solid #e4e2dd;
  border-radius: 16px;
  color: #888;
  max-width: 480px;
  margin: 0 auto;
}
.tsh-co-back-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 28px;
  background: var(--color-pri);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* ── Tablet: stack thành 1 cột ── */
@media (max-width: 768px) {
  .tsh-co-grid {
    grid-template-columns: 1fr;
  }
  .tsh-co-grid .tsh-co-box:last-child {
    order: -1;
  }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .tsh-checkout-wrap {
    padding: 32px 0 60px;
  }
  .tsh-co-section {
    padding: 12px;
  }
  .tsh-co-info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tsh-co-info-row {
    padding: 16px 0;
    border-bottom: 1px solid #edeae4;
  }
  .tsh-co-info-row:nth-child(odd) {
    padding-right: 16px;
    border-right: 1px solid #edeae4;
  }
  .tsh-co-info-row:nth-child(even) {
    padding-left: 16px;
  }
  .tsh-co-info-row:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.tsh-ty-wrap {
  padding: 60px 0 100px;
  background: #faf8f5;
  min-height: 70vh;
}

/* ── Header ── */
.tsh-ty-header {
  text-align: center;
  margin-bottom: 32px;
}
.tsh-ty-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-pri);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  box-shadow: 0 0 0 10px rgba(194, 160, 86, 0.12);
}
.tsh-ty-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-sec);
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}
.tsh-ty-sub {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  margin: 0;
}

/* ── 2-col body ── */
.tsh-ty-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
/* Ẩn cột phải → card full width, canh giữa */
.tsh-ty-body--single {
  grid-template-columns: 1fr;
  max-width: 720px;
}
/* Content trái + banner phải */
.tsh-ty-body--banner {
  grid-template-columns: 1fr 400px;
}
.tsh-ty-banner {
  position: sticky;
  top: calc(var(--size-hd) + 16px);
  align-self: start;
}
.tsh-ty-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
/* Cột content: dồn header + support + card + nút về bên trái, căn trái */
.tsh-ty-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.tsh-ty-content .tsh-ty-header {
  text-align: left;
  margin-bottom: 0;
}
.tsh-ty-content .tsh-ty-check {
  margin: 0 0 14px;
}
.tsh-ty-content .tsh-ty-support {
  max-width: none;
  margin: 0;
  text-align: left;
}
.tsh-ty-content .tsh-ty-support-nums {
  justify-content: flex-start;
}
.tsh-ty-content .tsh-ty-actions {
  max-width: none;
  margin: 0;
  justify-content: flex-start;
}

/* ── Hỗ trợ / liên hệ ── */
.tsh-ty-support {
  max-width: 720px;
  margin: 4px auto 24px;
  text-align: center;
  padding: 18px 22px;
  background: #faf8f4;
  border: 1px solid #ece8e0;
  border-radius: 12px;
}
.tsh-ty-support-lead {
  margin: 0 0 6px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.tsh-ty-support-nums {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-sec);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: center;
}
.tsh-ty-support-nums a {
  color: var(--color-pri);
  text-decoration: none;
}
.tsh-ty-support-nums a:hover {
  text-decoration: underline;
}
.tsh-ty-support-sep {
  color: #cfc9bf;
}
.tsh-ty-payment .tsh-bacs-qr--ty {
  margin: 0;
  max-width: none;
}

/* ── Card ── */
.tsh-ty-card {
  background: #fff;
  border: 1px solid #e4e2dd;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27, 28, 25, 0.06);
}

/* ── Confirmation code row ── */
.tsh-ty-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #faf8f4;
  border-bottom: 1px solid #edeae4;
}
.tsh-ty-code-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a8b5b2;
  margin-bottom: 4px;
}
.tsh-ty-code-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-pri);
  letter-spacing: 0.5px;
}
.tsh-ty-code-icon {
  color: var(--color-pri);
  opacity: 0.6;
}

/* ── Quick 3-col info ── */
.tsh-ty-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
}
.tsh-ty-quick-item {
  padding: 12px 16px;
  border-right: 1px solid #edeae4;
}
.tsh-ty-quick-item:last-child {
  border-right: none;
}
.tsh-ty-quick-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #a8b5b2;
  margin-bottom: 6px;
}
.tsh-ty-quick-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-sec);
  line-height: 1.4;
}

/* ── Divider ── */
.tsh-ty-divider {
  height: 1px;
  background: #edeae4;
}

/* ── Detail groups ── */
.tsh-ty-details {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tsh-ty-detail-group {
}
.tsh-ty-detail-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #a8b5b2;
  margin: 0 0 12px;
}
.tsh-ty-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.tsh-ty-detail-item {
  padding: 6px 12px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.tsh-ty-detail-item:nth-last-child(-n + 2) {
  border-bottom: none;
}
.tsh-ty-detail-item--full {
  grid-column: 1 / -1;
}
.tsh-ty-detail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #b0bcb9;
}
.tsh-ty-detail-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-sec);
}
.tsh-ty-detail-val--gold {
  color: var(--color-pri);
  font-weight: 700;
  font-size: 15px;
}
.tsh-ty-detail-val--ellipsis {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Notice ── */
.tsh-ty-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 18px 16px;
  background: #f5f3ee;
  border-radius: 8px;
  padding: 10px 14px;
}
.tsh-ty-notice-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-pri);
}
.tsh-ty-notice p {
  font-size: 12px;
  color: #888;
  line-height: 1.65;
  margin: 0;
}

/* ── Actions ── */
.tsh-ty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.tsh-ty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
  flex: 1;
  text-align: center;
}
.tsh-ty-btn--pri {
  background: var(--color-pri);
  color: #fff;
  border: 1px solid var(--color-pri);
  box-shadow: 0 4px 14px -2px rgba(194, 160, 86, 0.35);
}
.tsh-ty-btn--pri:hover {
  background: #b8922e;
  border-color: #b8922e;
  box-shadow: none;
}
.tsh-ty-btn--ghost {
  background: transparent;
  color: var(--color-sec);
  border: 1px solid #d5d1ca;
}
.tsh-ty-btn--ghost:hover {
  border-color: var(--color-sec);
}
.tsh-ty-btn:disabled,
.tsh-ty-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Empty state ── */
.tsh-ty-empty {
  text-align: center;
  padding: 60px 24px;
  color: #888;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .tsh-ty-body,
  .tsh-ty-body--banner {
    grid-template-columns: 1fr;
  }
  .tsh-ty-banner {
    position: static;
  }
}
@media (max-width: 640px) {
  .tsh-ty-wrap {
    padding: 40px 0 70px;
  }
  .tsh-ty-title {
    font-size: 22px;
  }
  .tsh-ty-quick {
    grid-template-columns: 1fr 1fr;
  }
  .tsh-ty-quick-item {
    border-right: 1px solid #edeae4;
    border-bottom: 1px solid #edeae4;
  }
  .tsh-ty-quick-item:nth-child(2n) {
    border-right: none;
  }
  .tsh-ty-quick-item:last-child {
    border-bottom: none;
  }
  .tsh-ty-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tsh-ty-actions {
    flex-direction: column;
  }
  .tsh-ty-code-val {
    font-size: 18px;
  }
}

/* ── VietQR Block ── */
.tsh-bacs-qr {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tsh-bacs-qr img {
  width: 260px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--cl-border);
}
.tsh-bacs-qr__note {
  font-size: 13px;
  color: #666;
  text-align: center;
}
/* Thank-you variant */
.tsh-bacs-qr--ty {
  background: #fafaf8;
  border: 1px solid var(--cl-border);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  max-width: 440px;
}
.tsh-bacs-qr__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-sec);
  margin-bottom: 4px;
}
.tsh-bacs-qr__info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tsh-bacs-qr__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid var(--cl-border);
}
.tsh-bacs-qr__row:last-child {
  border-bottom: none;
}
.tsh-bacs-qr__row span {
  color: #666;
}
.tsh-bacs-qr__row--ref strong {
  color: var(--color-pri);
  font-size: 14px;
}
.tsh-bacs-qr__val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tsh-bacs-qr__val strong {
  overflow-wrap: anywhere;
  text-align: right;
}
.tsh-copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--cl-border, #e5e5e5);
  border-radius: 5px;
  background: #fff;
  color: #888;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.tsh-copy-btn:hover {
  color: var(--color-pri);
  border-color: var(--color-pri);
}
.tsh-copy-btn__ico {
  display: block;
}
.tsh-copy-btn__ico--check {
  display: none;
}
.tsh-copy-btn.is-copied {
  color: #2e7d32;
  border-color: #2e7d32;
  background: #edf7ed;
}
.tsh-copy-btn.is-copied .tsh-copy-btn__ico--copy {
  display: none;
}
.tsh-copy-btn.is-copied .tsh-copy-btn__ico--check {
  display: block;
}
.tsh-payment-waiting {
  text-align: center;
  color: #888;
  font-size: 13px;
  margin-top: 8px;
}
.tsh-payment-confirmed {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 16px;
  background: #f0faf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  color: #16a34a;
  font-weight: 600;
}
.tsh-payment-confirmed span {
  font-size: 20px;
}
.tsh-payment-confirmed--full {
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  font-size: 15px;
}
.tsh-payment-confirmed--full span {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.tsh-payment-confirmed--full p {
  margin: 0 0 4px;
  font-size: 16px;
}
.tsh-payment-confirmed__sub {
  font-size: 13px !important;
  font-weight: 400;
  color: #166534;
  opacity: 0.85;
}
.tsh-bacs-qr--success {
  background: #f0faf4;
  border-color: #86efac;
}
.woocommerce-bacs-bank-details {
  display: none;
}
#tsh-place-order {
  display: none;
  width: 100%;
  padding: 14px;
  background: var(--color-pri);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}
#tsh-place-order:hover {
  opacity: 0.85;
}
.tsh-confirm-btn {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  background: var(--color-pri);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.tsh-confirm-btn:hover {
  opacity: 0.85;
}
.tsh-confirm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.tsh-transfer-msg {
  margin-top: 12px;
  padding: 14px 16px;
  background: #f0faf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #166534;
}
.tsh-transfer-msg p {
  margin: 0 0 4px;
}
.tsh-transfer-msg p:last-child {
  margin: 0;
}
