/* ============================================
   Contact Widget — Modern Redesign
   ============================================ */

#mb-whp-contact {
  position: fixed;
  bottom: 28px;
  left: 20px;
  z-index: 9999;
  animation: whp-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.whp-hidden {
  display: none;
}

/* Spacing between stacked buttons */
div#mb-whp-contact > *:not(:last-child) {
  margin-bottom: 14px;
}

.whp-contact-item {
  position: relative;
}

/* ---- Floating action button ---- */
.whp-contact-icon {
  background: #dd3333;
  color: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 16px rgba(221, 51, 51, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.whp-contact-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(221, 51, 51, 0.48);
}
.whp-contact-icon.hide {
  display: none;
}
.whp-contact-icon svg {
  width: 26px;
  height: 26px;
}

/* Pulse rings */
.whp-contact-icon:before,
.whp-contact-icon:after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: #dd3333;
  opacity: 0.35;
  z-index: -1;
  transform: scale(0);
  animation: mbwph-pulse 2.2s ease-out infinite;
}
.whp-contact-icon:after {
  animation-delay: 0.7s;
}

/* Close icon inside button */
.whp-contact-icon-close {
  opacity: 0;
  visibility: hidden;
  display: flex;
  transition: all 0.15s ease;
  transform: rotate(90deg) scale(0.6);
  position: absolute;
}
.whp-contact-icon.show-close > svg { display: none; }
.whp-contact-icon-close svg { width: 22px; height: 22px; }
.active.whp-contact-icon-close {
  opacity: 1;
  visibility: visible;
  transform: rotate(0) scale(1);
}

/* ---- Popup panel ---- */
.whp-contact-button { position: relative; }

.whp-contact-content {
  opacity: 0;
  visibility: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 10px 30px -5px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(15, 23, 42, 0.03);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  min-width: 270px;
  border-radius: 16px;
  overflow: hidden;
  transform: translateY(10px) scale(0.96);
  transform-origin: 14px 110%;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
}
.whp-contact-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header */
.whp-contact-content-head {
  background: #fff;
  color: #0f172a;
  padding: 13px 16px 11px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.whp-contact-content-head::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: whp-blink 2.5s ease-in-out infinite;
}

/* Items */
.whp-contact-content-body > * {
  padding: 11px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-bottom: 1px solid #f8fafc;
  transition: background 0.15s ease;
}
.whp-contact-content-body > *:last-child {
  border-bottom: none;
}
.whp-contact-content-body > *:hover {
  background: #f8fafc;
}

.whp-contact-content-item > *:not(:last-child) {
  margin-right: 0;
}
.whp-contact-content-item * {
  display: flex;
  text-decoration: none;
  align-items: center;
}

/* Icon */
.whp-content-item-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 9px;
  flex-shrink: 0;
}

/* Text */
.whp-contact-content-item span {
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  word-break: break-all;
  line-height: 1.4;
  width: auto;
}

/* Phone item */
.whp-contact-content-item .whp-content-item-phone {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: auto;
}
.whp-contact-content-item .whp-content-item-phone > * { margin: 0; }
.whp-contact-content-item .whp-content-item-phone .whp-content-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  width: auto;
}
.whp-contact-content-item .whp-content-item-phone p {
  font-size: 12.5px;
  color: #94a3b8;
  width: auto;
}

/* ---- Right-side position (cả 2 format: 'right' mới và 'mbwp-ct-right' cũ) ---- */
#mb-whp-contact.right,
#mb-whp-contact.mbwp-ct-right {
  right: 20px;
  left: auto;
}
.whp-contact.right .whp-contact-content,
.whp-contact.mbwp-ct-right .whp-contact-content {
  left: auto;
  right: 0;
  transform-origin: calc(100% - 14px) 110%;
}
.whp-contact.right .whp-contact-greeting,
.whp-contact.mbwp-ct-right .whp-contact-greeting {
  right: calc(100% + 14px);
  left: auto;
}
.whp-contact.right .whp-contact-greeting::before,
.whp-contact.mbwp-ct-right .whp-contact-greeting::before {
  right: -14px;
  left: auto;
  border-right: 7px solid transparent;
  border-left: 7px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* ---- Greeting bubble ---- */
.whp-contact-greeting {
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  transform: translateY(-50%);
  max-width: 220px;
  width: max-content;
  pointer-events: none;
}
.whp-contact-greeting.hide { display: none; }

.whp-contact-greeting span {
  background: #fff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
  border-radius: 10px;
  display: block;
  color: #334155;
  pointer-events: auto;
  white-space: nowrap;
}
.whp-contact-greeting::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 7px solid #fff;
}

.whp-contact-close-greeting {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 9999;
  width: 18px;
  height: 18px;
  background: #64748b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 2px;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  box-sizing: border-box;
}
.whp-contact-greeting:hover .whp-contact-close-greeting {
  opacity: 1;
  visibility: visible;
}

/* ---- Keyframes ---- */
@keyframes whp-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes whp-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

@-webkit-keyframes mbwph-pulse {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes mbwph-pulse {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@-webkit-keyframes mbwphRotate {
  0% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
}

@keyframes mbwphRotate {
  0% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

@-webkit-keyframes zoomInDown {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -500px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -500px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInDown {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -500px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -500px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}


.woocommerce div.product form.cart .single_add_to_cart_button {
  min-width: 130px;
  margin: 0px 5px;
}

.whp-lst-n {
  list-style: none;
  display: inline-flex;
}

.whp-lst-n li {
  margin: 0px 5px;
}

.whp-lst-n li img {
  font-size: 14px;
}

.whp-qr {
  display: block;
  margin-inline: 0px;

}

.whp-qr h4 {
  text-align: center;
}

.whp-qr img {
  width: 150px;
  height: 150px;
  margin-inline: auto;
  display: block;
  margin-bottom: 40px;
}


/* ============================================
   Pop-up Frontend — Modern Redesign
   ============================================ */

.whp-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.whp-popup-background {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  z-index: 0;
}

#whp-popup .center {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal card */
#whp-popup .modal-box {
  opacity: 0;
  visibility: hidden;
  background: #fff !important;
  width: 100% !important;
  max-height: 96vh;
  overflow-y: auto;
  border-radius: 20px !important;
  padding: 40px 36px 36px !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3), 0 8px 20px rgba(15, 23, 42, 0.15) !important;
  position: relative;
  text-align: center;
  box-sizing: border-box !important;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s;
}

#whp-popup .modal-box.show-modal {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Close button */
#whp-popup .modal-box .icon-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #64748b;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}
#whp-popup .modal-box .icon-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Icon circle */
#whp-popup .modal-box .icon-letter-1 {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}
#whp-popup .modal-box .icon-letter-1 .fas {
  color: #fff;
}

/* Title */
#whp-popup .modal-box header {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  font-family: inherit;
  line-height: 1.3;
}

/* Subtitle */
#whp-popup .modal-box > p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Email input wrapper */
#whp-popup .icon-letter-2 {
  display: none;
}

/* Input */
#whp-popup input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: auto;
}
#whp-popup input[type="email"]:focus {
  border-color: #3858e9;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(56, 88, 233, 0.1);
}
#whp-popup input[type="email"]::placeholder {
  color: #94a3b8;
}

/* Submit button */
#whp-popup button#whp-button-popup {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #3858e9 0%, #2563eb 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(56, 88, 233, 0.35);
  letter-spacing: 0.2px;
  height: auto;
  margin-top: 0;
}
#whp-popup button#whp-button-popup:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 88, 233, 0.4);
}

/* Social icons */
#whp-popup .modal-box .icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
#whp-popup .icons a,
#whp-popup .icons i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #475569;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
#whp-popup .icons a:hover,
#whp-popup .icons i:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: none;
}

/* CF7 / External form inside popup */
#whp-popup .modal-box .wpcf7,
#whp-popup .modal-box .wpforms-container,
#whp-popup .modal-box form:not([id="whp-form"]) {
  text-align: left;
  margin-top: 8px;
}
#whp-popup .modal-box .wpcf7 input[type="text"],
#whp-popup .modal-box .wpcf7 input[type="email"],
#whp-popup .modal-box .wpcf7 textarea,
#whp-popup .modal-box .wpcf7 select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13.5px;
  color: #0f172a;
  background: #f8fafc;
  box-sizing: border-box;
  margin-bottom: 0;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: auto;
}
#whp-popup .modal-box .wpcf7 input:focus,
#whp-popup .modal-box .wpcf7 textarea:focus {
  border-color: #3858e9;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(56,88,233,.08);
}
#whp-popup .modal-box .wpcf7 input[type="submit"],
#whp-popup .modal-box .wpcf7-submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #3858e9, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  height: auto;
  letter-spacing: 0.2px;
}
#whp-popup .modal-box .wpcf7 label {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  display: block;
  margin-bottom: 4px;
}

.whp-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

@media (max-width: 480px) {
  #whp-popup .modal-box {
    padding: 32px 20px 24px;
    border-radius: 16px;
  }
}

/* =============================================================
   Mẫu C - Khung chào & Lưới biểu tượng tròn siêu gọn
   ============================================================= */

/* Đồng bộ chữ tiêu đề trắng (Contrast Fix) */
.whp-contact-content-head {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  text-transform: none;
}

.whp-contact-content-body-merged {
  background: #ffffff;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Hộp chào (Welcome card) */
/* ======================================
   Contact Widget — V2 Layout
   ====================================== */

/* Panel wrapper */
.whp-v2-panel {
  min-width: 350px;
  max-width: 365px;
  border-radius: 24px;
  overflow: hidden;
  padding: 0 !important;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.06);
  border: none !important;
  background: #ffffff;
}

/* ── Header ── */
.whp-v2-header {
  background: linear-gradient(135deg, #00b035 0%, #00962b 100%);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 24px 24px 0 0;
}
.whp-v2-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.whp-v2-header-icon {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.whp-v2-header-icon svg {
  width: 24px;
  height: 24px;
}
.whp-v2-header-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  font-family: inherit;
}
.whp-v2-header-text span {
  font-size: 11.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  display: block;
  margin-top: 2px;
  font-weight: 400;
}
.whp-v2-online-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.15);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}
.whp-v2-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(187, 247, 208, 0.4);
  animation: whp-blink 1.8s ease-in-out infinite;
}

/* ── Body ── */
.whp-v2-panel .whp-v2-body {
  padding: 16px 18px 14px;
  background: #ffffff;
  max-height: 75vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.whp-v2-panel .whp-v2-body::-webkit-scrollbar {
  width: 3px;
}
.whp-v2-panel .whp-v2-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Illustration Support Team */
.whp-v2-illustration-container {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.whp-v2-illustration {
  width: 140px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

/* Welcome text */
.whp-v2-welcome {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.3;
  font-family: inherit;
}
.whp-v2-sub {
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.5;
  font-family: inherit;
}

/* ── Hotline Button ── */
.whp-v2-call-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(90deg, #00c03c 0%, #00962b 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 168, 48, 0.25);
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
  font-family: inherit;
  gap: 0;
  line-height: 1;
}
.whp-v2-call-icon {
  width: 30px;
  height: 30px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  margin-right: 8px;
  color: #00b035;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.whp-v2-call-label {
  flex: 1;
  text-align: center;
  color: #ffffff;
}
.whp-v2-chevron {
  font-size: 13px;
  flex-shrink: 0;
  color: #ffffff;
}
.whp-v2-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 168, 48, 0.35);
  color: #ffffff !important;
  text-decoration: none;
}
.whp-v2-call-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 168, 48, 0.2);
}

.whp-v2-cta-note {
  text-align: center;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: inherit;
}
.whp-v2-cta-note i {
  color: #22c55e;
  font-size: 13px;
}

/* ── Divider ── */
.whp-v2-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 500;
  font-family: inherit;
}
.whp-v2-divider::before,
.whp-v2-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* ── Social Grid ── */
.whp-v2-social-grid {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.whp-v2-social-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px 8px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}
.whp-v2-social-card:hover {
  border-color: #e2e8f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.whp-v2-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
  flex-shrink: 0;
  margin-bottom: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.whp-v2-social-icon.zalo {
  background: #0068ff;
}
.whp-v2-social-icon.zalo img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}
.whp-v2-social-icon.facebook {
  background: #1877f2;
}
.whp-v2-social-icon.messenger {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}
.whp-v2-social-icon.email {
  background: #ea4335;
  font-size: 16px;
}
.whp-v2-social-card strong {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  display: block;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.whp-v2-social-card span {
  font-size: 9.5px;
  color: #64748b;
  text-align: center;
  line-height: 1.2;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* ── Footer note ── */
.whp-v2-footer-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  text-align: left;
  font-size: 12px;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 14px 0 0;
  line-height: 1.4;
  font-family: inherit;
  font-weight: 500;
  box-sizing: border-box;
}
.whp-v2-footer-note i {
  color: #16a34a;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}
.whp-v2-footer-note span {
  flex: 1;
}
.whp-v2-footer-note img.emoji {
  width: 14px !important;
  height: 14px !important;
  display: inline-block !important;
  vertical-align: -2px !important;
  margin-left: 2px !important;
}

/* Collapsible hotline list */
.whp-agents-collapse {
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}
.whp-agents-collapse-inner {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 6px;
}
.whp-agents-collapse-inner::-webkit-scrollbar {
  width: 3px;
}
.whp-agents-collapse-inner::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.whp-agent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
  margin-bottom: 4px;
  box-sizing: border-box;
}
.whp-agent-row:last-child {
  margin-bottom: 0;
}
.whp-agent-row:hover {
  background: #f1f5f9;
}
.whp-agent-row img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.whp-agent-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.whp-agent-info strong {
  font-size: 12.5px;
  color: #0f172a;
  line-height: 1.2;
}
.whp-agent-info span {
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
}
.whp-agent-row .fa-chevron-right {
  font-size: 10px;
  color: #94a3b8;
}

/* Color fallback for Header Icon SVG */
.whp-v2-header-icon {
  color: #00c217;
}
/* ── AI Post Image Styles — scoped to avoid theme conflicts ─── */
.wpaap-post-body figure.wp-block-image {
    display: block;
    margin: 28px auto;
    text-align: center;
}
.wpaap-post-body figure.wp-block-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.wpaap-post-body figure.wp-block-image figcaption {
    display: block;
    text-align: center;
    font-style: italic;
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    padding: 0 16px;
    line-height: 1.5;
}
