/* ==================================================
   BS Đông 2 - FINAL CTA FORM FULL CLEAN
   ================================================== */

.bsd2-finalcta-section {
  position: relative !important;
  overflow: hidden !important;
  background: #071B31 !important;
}

.bsd2-finalcta-section .section-bg {
  background:
    radial-gradient(circle at 8% 10%, rgba(253,173,0,.18), transparent 30%),
    radial-gradient(circle at 92% 82%, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(135deg, #061526 0%, #0B1F3A 54%, #061322 100%) !important;
}

.bsd2-finalcta-section .section-content {
  position: relative !important;
  z-index: 2 !important;
}

.bsd2-finalcta-row {
  margin-left: auto !important;
  margin-right: auto !important;
}

.bsd2-finalcta-left,
.bsd2-finalcta-right {
  padding: 12px !important;
}

/* LEFT CONTENT */

.bsd2-finalcta-copy {
  max-width: 540px !important;
}

.bsd2-finalcta-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  margin-bottom: 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(253,173,0,.38) !important;
  background: rgba(253,173,0,.12) !important;
  color: #FFD782 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
}

.bsd2-finalcta-kicker span {
  width: 8px !important;
  height: 8px !important;
  flex: 0 0 auto !important;
  border-radius: 999px !important;
  background: #FDAD00 !important;
  box-shadow: 0 0 0 5px rgba(253,173,0,.16) !important;
}

.bsd2-finalcta-copy h2 {
  margin: 0 !important;
  color: #FFFFFF !important;
  font-size: clamp(36px, 4.6vw, 62px) !important;
  line-height: 1.03 !important;
  font-weight: 950 !important;
  letter-spacing: -0.06em !important;
}

.bsd2-finalcta-copy > p {
  max-width: 520px !important;
  margin: 18px 0 0 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  font-weight: 650 !important;
}

/* POINTS */

.bsd2-finalcta-points {
  display: grid !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

.bsd2-finalcta-points div {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 58px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

.bsd2-finalcta-points strong {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: #FDAD00 !important;
  color: #071B31 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.bsd2-finalcta-points span {
  color: rgba(255,255,255,.86) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.bsd2-finalcta-note {
  margin-top: 14px !important;
  padding: 13px !important;
  border-radius: 16px !important;
  background: rgba(253,173,0,.09) !important;
  border: 1px solid rgba(253,173,0,.25) !important;
  color: rgba(255,255,255,.74) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  font-weight: 650 !important;
}

.bsd2-finalcta-note strong {
  color: #FFD782 !important;
}

/* FORM CARD */

.bsd2-finalcta-formbox {
  position: relative !important;
  z-index: 4 !important;
  overflow: hidden !important;
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 36px 34px !important;
  border-radius: 6px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(253,173,0,.30) !important;
  box-shadow: 0 34px 90px rgba(0,0,0,.30) !important;
}

.bsd2-finalcta-formbox::before {
  content: "" !important;
  position: absolute !important;
  top: -100px !important;
  left: -110px !important;
  width: 280px !important;
  height: 280px !important;
  border-radius: 999px !important;
  background: rgba(253,173,0,.10) !important;
  pointer-events: none !important;
}

.bsd2-finalcta-formbox::after {
  content: "" !important;
  position: absolute !important;
  right: -90px !important;
  bottom: -110px !important;
  width: 250px !important;
  height: 250px !important;
  border-radius: 999px !important;
  background: rgba(7,27,49,.055) !important;
  pointer-events: none !important;
}

.bsd2-finalcta-form-head,
.bsd2-finalcta-countdown,
.bsd2-cf7-form,
.bsd2-finalcta-formbox .wpcf7 {
  position: relative !important;
  z-index: 5 !important;
}

.bsd2-finalcta-form-head {
  text-align: center !important;
  margin-bottom: 10px !important;
}

.bsd2-finalcta-form-head h3 {
  margin: 0 !important;
  color: #071B31 !important;
  font-size: 31px !important;
  line-height: 1.12 !important;
  font-weight: 950 !important;
  letter-spacing: -0.04em !important;
  text-transform: uppercase !important;
}

.bsd2-finalcta-form-head p {
  margin: 9px 0 0 !important;
  color: #637083 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
}

/* COUNTDOWN FLATSOME */

.bsd2-finalcta-countdown {
  width: 100% !important;
  margin: 10px auto 20px !important;
  text-align: center !important;
}

.bsd2-finalcta-countdown br,
.bsd2-finalcta-countdown p {
  display: none !important;
}

.bsd2-finalcta-countdown .ux-countdown,
.bsd2-finalcta-countdown .ux-timer,
.bsd2-finalcta-countdown .countdown {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.bsd2-finalcta-countdown .ux-countdown > *,
.bsd2-finalcta-countdown .ux-timer > *,
.bsd2-finalcta-countdown .countdown > * {
  flex: 0 0 56px !important;
  width: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 8px 4px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 !important;
  background: #E9E9E9 !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #071B31 !important;
  overflow: hidden !important;
  text-align: center !important;
}

.bsd2-finalcta-countdown .ux-countdown *,
.bsd2-finalcta-countdown .ux-timer *,
.bsd2-finalcta-countdown .countdown * {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
}

/* Số countdown */

.bsd2-finalcta-countdown .ux-countdown > * > span:first-child,
.bsd2-finalcta-countdown .ux-timer > * > span:first-child,
.bsd2-finalcta-countdown .countdown > * > span:first-child,
.bsd2-finalcta-countdown .ux-countdown .time,
.bsd2-finalcta-countdown .ux-timer .time,
.bsd2-finalcta-countdown .countdown .time,
.bsd2-finalcta-countdown .ux-countdown .value,
.bsd2-finalcta-countdown .ux-timer .value,
.bsd2-finalcta-countdown .countdown .value,
.bsd2-finalcta-countdown .ux-countdown strong,
.bsd2-finalcta-countdown .ux-timer strong,
.bsd2-finalcta-countdown .countdown strong {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #071B31 !important;
  font-size: 19px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-align: center !important;
}

/* Nhãn countdown */

.bsd2-finalcta-countdown .ux-countdown > * > span:last-child,
.bsd2-finalcta-countdown .ux-timer > * > span:last-child,
.bsd2-finalcta-countdown .countdown > * > span:last-child,
.bsd2-finalcta-countdown .ux-countdown small,
.bsd2-finalcta-countdown .ux-timer small,
.bsd2-finalcta-countdown .countdown small,
.bsd2-finalcta-countdown .ux-countdown .label,
.bsd2-finalcta-countdown .ux-timer .label,
.bsd2-finalcta-countdown .countdown .label {
  display: block !important;
  width: 100% !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  color: #071B31 !important;
  font-size: 9px !important;
  line-height: 1.05 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: center !important;
  opacity: 1 !important;
}
/* ==================================================
   GOOGLE MAP REVIEW CARD - CLEAN CSS
   Dùng cho .reviews-card / .rv-item / .rv-owner
   ================================================== */

.reviews-card,
.reviews-card * {
  box-sizing: border-box;
}

.reviews-card {
  width: min(920px, 100%);
  margin: 24px auto;
  padding: 18px 18px 8px;
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 6px 20px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

/* Header */
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.reviews-head h3 {
  margin: 0 !important;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.rv-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #374151;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.rv-toggle:hover {
  background: #f3f4f6;
}

/* Body */
.reviews-body {
  display: block;
}

.reviews-body.is-collapsed {
  display: none !important;
}

/* Summary */
.reviews-summary {
  display: grid;
  grid-template-columns: 110px 1fr 300px;
  gap: 18px;
  align-items: start;
  padding-bottom: 12px;
}

.rv-starsline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rv-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.rv-stars img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.rv-stars.small img {
  width: 14px;
  height: 14px;
}

.rv-avg {
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.rv-total {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.2;
}

.rv-score {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-score-number {
  color: #111827;
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* Histogram */
.rv-hist {
  padding-top: 4px;
}

.rv-hist-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.rv-hist-label {
  width: 14px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1;
  text-align: right;
}

.rv-hist-bar {
  position: relative;
  flex: 1;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #f3f4f6;
}

.rv-hist-fill {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: #facc15;
  transition: width .55s ease;
}

/* Review list */
.reviews-list {
  margin-top: 12px;
}

.rv-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #eee;
}

.rv-avatar {
  flex: 0 0 38px;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50%;
  object-fit: cover;
}

.rv-content {
  flex: 1;
  min-width: 0;
}

.rv-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rv-name {
  color: #111827;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
}

.rv-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.25;
}

.rv-time {
  color: #6b7280;
  font-size: 13px;
}

.rv-menu {
  flex: 0 0 auto;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.rv-text {
  margin: 8px 0 0 !important;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
}

/* Photos trong review */
.rv-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.rv-photo {
  display: block;
  width: calc(20% - 5px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

/* Owner reply - kiểu Google */
.rv-owner,
.rv-reply {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #f9fafb;
}

.rv-reply {
  border-left: 3px solid #2563eb;
}

.rv-owner-head,
.owner-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.brand-badge {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.brand-tick {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  fill: #1d4ed8;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}

.owner-name {
  color: #111827;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.owner-role {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef2ff;
  color: #374151;
  font-size: 12px;
  line-height: 1.2;
}

.owner-desc {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
}

.reply-text,
.rv-owner-text {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
}

/* More link */
.rv-more {
  padding: 10px 0 14px;
}

.rv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none !important;
}

.rv-link:hover {
  text-decoration: underline !important;
}

/* Tablet */
@media (max-width: 820px) {
  .reviews-summary {
    grid-template-columns: 100px 1fr;
  }

  .rv-hist {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .reviews-card {
    padding: 14px 14px 6px;
    border-radius: 12px;
  }

  .reviews-head h3 {
    font-size: 18px;
  }

  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rv-starsline {
    justify-content: flex-start;
  }

  .rv-score {
    justify-content: flex-start;
  }

  .rv-score-number {
    font-size: 46px;
  }

  .rv-item {
    gap: 10px;
    padding: 14px 0;
  }

  .rv-avatar {
    flex-basis: 34px;
    width: 34px !important;
    height: 34px !important;
  }

  .rv-meta {
    gap: 6px;
    font-size: 12px;
  }

  .rv-text {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .rv-photo {
    width: calc(33.333% - 4px);
  }
}
/* Countdown riêng - chỉ Ngày / Giờ / Phút / Giây */

.bsd2-finalcta-countdown {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  margin: 10px auto 20px !important;
  text-align: center !important;
}

.bsd2-native-countdown {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.bsd2-native-countdown-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  padding: 8px 4px !important;
  background: #E9E9E9 !important;
  border-radius: 0 !important;
  text-align: center !important;
}

.bsd2-native-countdown-item strong {
  display: block !important;
  color: #071B31 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.bsd2-native-countdown-item span {
  display: block !important;
  margin-top: 6px !important;
  color: #071B31 !important;
  font-size: 9px !important;
  line-height: 1.05 !important;
  font-weight: 850 !important;
}

@media (max-width: 549px) {
  .bsd2-native-countdown {
    gap: 6px !important;
  }

  .bsd2-native-countdown-item {
    width: 48px !important;
    min-width: 48px !important;
    height: 52px !important;
    padding: 6px 3px !important;
  }

  .bsd2-native-countdown-item strong {
    font-size: 16px !important;
  }

  .bsd2-native-countdown-item span {
    font-size: 8px !important;
  }
}
/* ==================================================
   BEFORE / AFTER COMPARE - SGC CLASS CLEAN
   Giữ class sgc-compare để không phải sửa shortcode
   ================================================== */

.sgc-compare,
.sgc-compare * {
  box-sizing: border-box;
}

.sgc-compare {
  --p: 50%;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.sgc-compare__box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 24px;
  background: #f3f4f6;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
}

.sgc-compare__box figure {
  position: absolute;
  inset: 0;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* Ảnh phủ kín */
.sgc-compare__after,
.sgc-compare__before {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Lớp overlay ảnh TRƯỚC */
.sgc-compare__divisor {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: var(--p, 50%);
  height: 100%;
  overflow: hidden;
  box-shadow: 0 5px 10px -2px rgba(0, 0, 0, .30);
}

/* Hai vạch trắng dọc */
.sgc-compare__divisor::before,
.sgc-compare__divisor::after {
  content: "";
  position: absolute;
  right: -2px;
  z-index: 4;
  width: 4px;
  height: calc(50% - 25px);
  background: #fff;
}

.sgc-compare__divisor::before {
  top: 0;
  box-shadow: 0 -3px 8px 1px rgba(0, 0, 0, .30);
}

.sgc-compare__divisor::after {
  bottom: 0;
  box-shadow: 0 3px 8px 1px rgba(0, 0, 0, .30);
}

/* Nút kéo */
.sgc-compare__handle {
  position: absolute;
  top: 50%;
  left: var(--p, 50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sgc-compare__handle::before,
.sgc-compare__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -6px;
  border: 6px inset transparent;
}

.sgc-compare__handle::before {
  left: 50%;
  margin-left: -17px;
  border-right: 6px solid #fff;
}

.sgc-compare__handle::after {
  right: 50%;
  margin-right: -17px;
  border-left: 6px solid #fff;
}

/* Slider phủ ngang */
.sgc-compare__slider {
  position: absolute;
  top: 50%;
  left: -25px;
  z-index: 8;
  width: calc(100% + 50px);
  height: 50px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  background: transparent;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
}

.sgc-compare__slider:focus {
  outline: none;
  border: none;
}

.sgc-compare__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 4px solid #fff;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, .30);
}

.sgc-compare__slider::-moz-range-thumb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 4px solid #fff;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, .30);
}

.sgc-compare__slider::-moz-range-track {
  height: 15px;
  width: 100%;
  background: transparent;
  outline: none;
}

/* Nhãn tiêu đề */
.sgc-compare__badge {
  position: absolute;
  bottom: 10px;
  z-index: 7;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  pointer-events: none;
}

.sgc-compare__badge--before {
  left: 10px;
}

.sgc-compare__badge--after {
  right: 10px;
}

/* Mobile */
@media (max-width: 480px) {
  .sgc-compare__box {
    border-radius: 18px;
  }

  .sgc-compare__handle {
    width: 42px;
    height: 42px;
  }

  .sgc-compare__slider {
    left: -21px;
    width: calc(100% + 42px);
    height: 42px;
  }

  .sgc-compare__slider::-webkit-slider-thumb {
    width: 42px;
    height: 42px;
  }

  .sgc-compare__slider::-moz-range-thumb {
    width: 42px;
    height: 42px;
  }

  .sgc-compare__divisor::before,
  .sgc-compare__divisor::after {
    height: calc(50% - 21px);
  }

  .sgc-compare__badge {
    bottom: 8px;
    padding: 5px 8px;
    font-size: 10px;
  }
}
/* ==================================================
   1. DR TRAN DONG - GIAO DIỆN CONTACT FORM CF7
   ================================================== */
.nkp-form-wrap,
.nkp-form-wrap * {
  box-sizing: border-box !important;
}

.nkp-form-wrap {
  width: 100% !important;
}

.nkp-form-wrap .row {
  margin-left: -6px !important;
  margin-right: -6px !important;
}

.nkp-form-wrap .col {
  padding-left: 6px !important;
  padding-right: 6px !important;
  padding-bottom: 12px !important;
}

.nkp-label {
  display: block !important;
  margin: 0 0 6px !important;
  color: #071B31 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

.nkp-form-wrap .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

.nkp-input,
.nkp-form-wrap input[type="text"],
.nkp-form-wrap input[type="tel"],
.nkp-form-wrap input[type="email"],
.nkp-form-wrap select,
.nkp-form-wrap textarea {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(7,27,49,.14) !important;
  background: #ffffff !important;
  color: #071B31 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 8px 18px rgba(7,27,49,.04) !important;
  outline: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.nkp-form-wrap select {
  cursor: pointer !important;
}

.nkp-input:focus,
.nkp-form-wrap input[type="text"]:focus,
.nkp-form-wrap input[type="tel"]:focus,
.nkp-form-wrap input[type="email"]:focus,
.nkp-form-wrap select:focus,
.nkp-form-wrap textarea:focus {
  border-color: rgba(253,173,0,.72) !important;
  box-shadow: 0 0 0 4px rgba(253,173,0,.14), 0 10px 24px rgba(7,27,49,.06) !important;
}

.nkp-input::placeholder,
.nkp-form-wrap input::placeholder,
.nkp-form-wrap textarea::placeholder {
  color: #94a3b8 !important;
  font-weight: 650 !important;
}

/* Nút Submit */
.nkp-submit-wrap {
  display: block !important;
  width: 100% !important;
  margin-top: 4px !important;
  animation: nkpSubmitPulse 1.85s ease-in-out infinite !important;
}

.nkp-submit,
.nkp-form-wrap input[type="submit"],
.nkp-form-wrap .wpcf7-submit {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  border: 1px solid #FDAD00 !important;
  background: #FDAD00 !important;
  color: #071B31 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  cursor: pointer !important;
  box-shadow: 0 16px 34px rgba(253,173,0,.28), inset 0 1px 0 rgba(255,255,255,.35) !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.nkp-submit:hover,
.nkp-form-wrap input[type="submit"]:hover,
.nkp-form-wrap .wpcf7-submit:hover {
  transform: translateY(-2px) !important;
  background: #ffb51c !important;
  box-shadow: 0 20px 42px rgba(253,173,0,.34), inset 0 1px 0 rgba(255,255,255,.35) !important;
}

@keyframes nkpSubmitPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

/* Khóa nút, vô hiệu hóa Spam Click lúc gửi */
.wpcf7 form.submitting .nkp-submit-wrap {
  animation: none !important;
}
.wpcf7 form.submitting .nkp-submit,
.wpcf7 form.submitting .wpcf7-submit {
  pointer-events: none !important;
  opacity: 0.6 !important;
  cursor: wait !important;
  transform: none !important;
}

/* Lỗi nhập liệu ở từng trường */
.nkp-form-wrap .wpcf7-not-valid-tip,
.drtd-call-popup-body .wpcf7-not-valid-tip {
  margin-top: 5px !important;
  color: #dc2626 !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}

/* ==================================================
   2. POPUP THÔNG BÁO KẾT QUẢ GIỮA MÀN HÌNH
   ================================================== */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 999999 !important;
  width: 90% !important;
  max-width: 380px !important;
  margin: 0 !important;
  padding: 24px 20px !important;
  background: #ffffff !important;
  border: 2px solid #FDAD00 !important;
  border-radius: 16px !important;
  color: #071B31 !important;
  text-align: center !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 800 !important;
  box-shadow: 0 24px 70px rgba(7,27,49,.40), 0 0 0 100vw rgba(10, 22, 46, .62) !important; 
  animation: cf7PopupIn .3s ease-out both !important;
  display: block !important;
  cursor: pointer !important; /* Đổi con trỏ chuột để khách biết có thể bấm tắt */
}

/* Viền đỏ cho thông báo lỗi */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #dc2626 !important;
}

/* Ẩn triệt để thông báo nếu form chưa gửi xong hoặc bị JS ép ẩn */
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output,
.wpcf7 form.nkp-hide-msg .wpcf7-response-output {
  display: none !important;
}

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

/* ==================================================
   3. DR TRAN DONG - GIAO DIỆN POPUP GỌI LẠI (TỪ NÚT TEL)
   ================================================== */
.drtd-call-popup,
.drtd-call-popup * { box-sizing: border-box !important; }

.drtd-call-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  background: rgba(10, 22, 46, .62) !important;
  backdrop-filter: blur(4px) !important;
}

.drtd-call-popup.is-active { display: flex !important; }
body.drtd-call-popup-open { overflow: hidden !important; }

.drtd-call-popup-card {
  position: relative !important;
  width: 100% !important;
  max-width: 430px !important;
  max-height: calc(100vh - 40px) !important;
  overflow-y: auto !important;
  padding: 26px 24px 22px !important;
  border-radius: 22px !important;
  background: radial-gradient(circle at 12% 8%, rgba(253,173,0,.16), transparent 34%), linear-gradient(180deg, #ffffff 0%, #fffaf0 100%) !important;
  border: 1px solid rgba(253,173,0,.22) !important;
  box-shadow: 0 24px 70px rgba(7,27,49,.30), inset 0 1px 0 rgba(255,255,255,.85) !important;
  animation: drtdCallPopupIn .22s ease both !important;
}

@keyframes drtdCallPopupIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.drtd-call-popup-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  border-radius: 999px !important;
  background: rgba(7,27,49,.07) !important;
  color: #071B31 !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
.drtd-call-popup-close:hover {
  background: rgba(253,173,0,.22) !important;
}

.drtd-call-popup-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-bottom: 9px !important;
  color: #7c3a00 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

.drtd-call-popup-kicker span {
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #FDAD00 !important;
  box-shadow: 0 0 0 5px rgba(253,173,0,.15) !important;
}

.drtd-call-popup-head h3 {
  margin: 0 36px 8px 0 !important;
  color: #071B31 !important;
  font-size: 23px !important;
  line-height: 1.18 !important;
  font-weight: 950 !important;
}

.drtd-call-popup-head p {
  margin: 0 0 16px !important;
  color: #4b5563 !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
}

/* Dùng chung Form Style trong Popup */
.drtd-call-popup-body .nkp-form-wrap { width: 100% !important; }
.drtd-call-popup-body .nkp-form-wrap .row { margin-left: -6px !important; margin-right: -6px !important; }
.drtd-call-popup-body .nkp-form-wrap .col { padding-left: 6px !important; padding-right: 6px !important; padding-bottom: 12px !important; }
.drtd-call-popup-body .nkp-label {
  display: block !important; margin: 0 0 6px !important; color: #071B31 !important; font-size: 12px !important; font-weight: 900 !important;
}
.drtd-call-popup-body .wpcf7-form-control-wrap { display: block !important; width: 100% !important; }

/* Mobile Reponsive (Gộp chung) */
@media (max-width: 549px) {
  .nkp-form-wrap .col, .drtd-call-popup-body .nkp-form-wrap .col { padding-bottom: 10px !important; }
  .nkp-input, .drtd-call-popup-body .nkp-input,
  .nkp-form-wrap input[type="text"], .drtd-call-popup-body input[type="text"],
  .nkp-form-wrap input[type="tel"], .drtd-call-popup-body input[type="tel"],
  .nkp-form-wrap input[type="email"], .drtd-call-popup-body input[type="email"],
  .nkp-form-wrap select, .drtd-call-popup-body select,
  .nkp-form-wrap textarea, .drtd-call-popup-body textarea {
    height: 46px !important; min-height: 46px !important; border-radius: 13px !important; font-size: 13px !important;
  }
  .nkp-submit, .drtd-call-popup-body .nkp-submit,
  .nkp-form-wrap input[type="submit"], .drtd-call-popup-body input[type="submit"],
  .nkp-form-wrap .wpcf7-submit, .drtd-call-popup-body .wpcf7-submit {
    height: 48px !important; min-height: 48px !important; font-size: 13px !important;
  }
  .drtd-call-popup { padding: 14px !important; }
  .drtd-call-popup-card { max-width: 100% !important; padding: 22px 16px 18px !important; border-radius: 18px !important; }
  .drtd-call-popup-head h3 { font-size: 20px !important; }
}
/* ==================================================
   FIX CF7 / POPUP BỊ HEADER ĐÈ
   DÁN Ở CUỐI CÙNG CSS
   ================================================== */

/* Hạ tầng hiển thị của Header */
#header,
.header-wrapper,
#header .header-main,
.header-wrapper.stuck {
  z-index: 9 !important;
}