.elementor-2918 .elementor-element.elementor-element-38ac43a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2918 .elementor-element.elementor-element-91ab58d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2918 .elementor-element.elementor-element-37e5808{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-eccc406 *//* ================== WRAPPER ================== */
.topik-desktop .topik-wrap {
    max-width: 1180px;
    margin: 20px auto;
    padding: 32px;
    background: linear-gradient(to bottom, #0b63e6, #0a52c4);
    border-radius: 18px;
    color: #fff;
    font-family: "montserrat", sans-serif;
}

/* ================== HEADER ================== */
.topik-desktop .header h2 {
    font-size: 34px;
    font-weight: 900;
    margin: 0 0 8px;
      font-family: "montserrat", sans-serif;
      color: #fff;
}

.topik-desktop .header p {
    color: #e4ecff;
    margin: 0 0 22px;
}

/* ================== SELECTOR (LEVEL + GOAL) ================== */
.topik-desktop .etopik-select {
    display: flex;
    gap: 28px;
    margin-bottom: 24px;
}

.topik-desktop .select-col { flex: 1; }

.topik-desktop .select-title {
    background: rgba(255,255,255,0.12);
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.topik-desktop .select-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topik-desktop .option {
    background: #082b63;
    padding: 14px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: 0.2s ease;
}
.topik-desktop .option:hover { transform: translateY(-3px); }
.topik-desktop .option.active {
    background: #fff;
    color: #0A2140;
}
.topik-desktop .option.disabled {
    opacity: .3;
    pointer-events: none;
}

/* ================== EXTRA ROW (TEST ĐẦU VÀO) ================== */
.topik-desktop .extra-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px;
    margin: 12px 0 18px;
    width: 100%;
}

.topik-desktop .test-btn {
    background: #ffd24d;
    color: #0A2140;
    font-weight: 900;
    border-radius: 999px;
    padding: 12px 26px;
    text-decoration: none;
}

.topik-desktop .view-detail {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
}

/* ================== RESULT TITLE ================== */
.topik-desktop .path-title {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    margin: 4px 0;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.topik-desktop .path-desc {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #f2f6ff;
    margin: 0 0 18px;
}

/* ================== 3 CỘT GIÁ ================== */
.topik-desktop .price-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.topik-desktop .price-card {
    flex: 1 0 0;  
    background: #fff;
    color: #0A2140;
    border-radius: 20px;
    padding: 24px 26px;
    border: 1px solid #dfe8ff;
    box-shadow: 0 6px 20px rgba(10,33,64,0.12);

    display: flex !important;
    flex-direction: column !important;
}
.topik-desktop .price-card.highlight {
    border: 3px solid #FFD24D;
}

/* TITLE + SUBTAG */
.topik-desktop .price-title {
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.topik-desktop .plan-sub-inline {
    background: #eaf1ff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

/* DESC (CĂN CHIỀU CAO ĐỂ NÚT THẲNG HÀNG) */
.topik-desktop .price-desc {
    font-size: 13px;
    color: #636b7b;
    line-height: 1.5;
    margin: 4px 0 6px;
    min-height: 44px; /* cùng chiều cao cho 3 cột */
}

/* OWN-TAG (THỜI HẠN SỞ HỮU / HỌC TỚI KHI ĐỖ) */
.topik-desktop .own-tag {
    background: #fff8d7;
    border-left: 5px solid #ffcc3c;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;

    min-height: 32px;              /* FIX cao đều giữa 3 cột */
    display: flex;
    align-items: center;
}

/* PRICE LINE */
.topik-desktop .price-values {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    white-space: nowrap;

    min-height: 28px;              /* FIX cao đều giữa 3 cột */
}
.topik-desktop .price-old {
    text-decoration: line-through;
    color: #a3a9bb;
}
.topik-desktop .price-val {
    font-size: 19px;
    font-weight: 900;
}
.topik-desktop .discount-tag {
    background: #ffe4c0;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

/* BUTTON – luôn thẳng hàng vì phía trên đã cố định cao */
.topik-desktop .register-btn {
    background: #0b63e6;
    padding: 14px 0;
    color: #fff;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    margin-top: 10px;
    text-decoration: none;
}

/* BENEFITS */
.topik-desktop .benefits {
    margin-top: 14px;
}
.topik-desktop .benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.topik-desktop .benefits li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.55;
}
.topik-desktop .bullet {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFD24D;
    color: #0A2140;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

/* ITEM KHÔNG ÁP DỤNG (mờ đi) */
.muted {
    opacity: 0.38;
    filter: grayscale(100%);
}
.muted .bullet {
    background: #e1e1e1 !important;
    color: #9fa5b3 !important;
}

/* NOTE BOX PRO */
.note-pro {
    background: #f3f7ff;
    border: 1px solid #dbe5ff;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.58;
    font-weight: 600;
    margin-top: 10px;
}
#cardTeacher {
    position: relative !important;
    overflow: visible !important; /* quan trọng để badge không bị cắt */
}

#cardTeacher::after {
    content: "8–10\Angười";   /* xuống dòng */
    white-space: pre-line;   /* bắt buộc để \A hoạt động */

    position: absolute;
    top: -18px;
    right: -18px;

    width: 64px;
    height: 64px;

    background: #FFD24D;
    color: #0A2140;
    font-weight: 900;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;

    border-radius: 50%;
    border: 3px solid rgba(0,0,0,0.12);
    box-shadow: 0 6px 12px rgba(0,0,0,0.18);

    display: flex;               /* bắt buộc để canh giữa */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* ================== MOBILE ================== */
@media (max-width: 900px){
    .topik-desktop .etopik-select { flex-direction: column; }
    .topik-desktop .option { font-size: 16px; padding: 12px 16px; }

    .topik-desktop .price-row { flex-direction: column; }
    #cardTeacher::after {
        top: -12px;
        right: -10px;
        width: 56px;
        height: 56px;
        font-size: 11px;
    }
}
/* ==== FIX 3 CỘT LỆCH SAU KHI CHỌN TỔ HỢP ==== */
.topik-desktop .price-row {
    display: flex;
    gap: 20px;
}

.topik-desktop .price-card {
    flex: 1 1 33.33% !important;   /* Mỗi cột đúng 1/3 */
    min-width: 0 !important;       /* Ngăn flex co giãn kỳ dị */
}

/* Cố định chiều cao các phần trên để nút luôn thẳng hàng */
.topik-desktop .price-desc { min-height: 44px !important; }
.topik-desktop .own-tag { min-height: 32px !important; display:flex;align-items:center; }
.topik-desktop .price-values { min-height: 48px !important; display:flex;align-items:center; }

/* Giữ chỗ cho discount ở gói Monthly để 3 cột đều nhau */
#cardMonthly .discount-tag {
    visibility: hidden;
    width: 48px;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-4492d59 *//* ================================
   CARD NGOÀI – pastel xanh & cao hơn
================================ */
.etopik-comic {
  background: #EAF6FF;        /* pastel xanh dương rất nhẹ */
  border-radius: 32px;
  padding: 50px 24px 60px;    /* tăng chiều cao */
  min-height: 110%;           /* card cao hơn */
  
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ép widget full height */
.elementor-column .elementor-widget-wrap,
.elementor-widget-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ================================
   COMIC BUBBLE – CANH GIỮA + GỌN
================================ */
.etopik-comic .comic-wrap {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.etopik-comic .comic-bubble {
  background: #ffffff;
  border: 3px solid #000;
  padding: 32px 28px 40px;
  border-radius: 26px;
  display: inline-flex;              /* ⚡ dùng flex để căn giữa mọi thứ */
  flex-direction: column;
  align-items: center;               /* căn giữa ngang */
  justify-content: center;           /* căn giữa dọc nội dung */

  max-width: 520px;
  width: 90%;
  text-align: center;                /* căn giữa text */
  line-height: 1.55;

  box-shadow: 8px 14px 0px #ffcedb;
  position: relative;
}

/* Đuôi bong bóng */
.etopik-comic .comic-bubble::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 22px solid #ffffff;
  filter: drop-shadow(0px 3px 0px #000);
}

/* ================================
   CTA PINK + ANIMATION
================================ */
.etopik-comic .comic-cta {
  display: inline-block;
  margin-top: 16px;
  background: #ffc9e2;
  padding: 10px 26px;
  border-radius: 18px;
  color: #d91672;
  font-weight: 800;
  font-size: 17px;

  animation: ctaBlinkPink 1.25s infinite ease-in-out;
  text-decoration: none;
}

@keyframes ctaBlinkPink {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.08); opacity: .6; }
  100% { transform: scale(1); opacity: 1; }
}

/* ================================
   PERSON IMAGE – sát đáy
================================ */
.etopik-comic .comic-person {
  width: 220px;
  margin-top: 38px;
  margin-bottom: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 767px) {

  .etopik-comic {
    padding: 28px 16px 40px;
    min-height: auto;
  }

  .etopik-comic .comic-bubble {
    padding: 26px 18px 34px;
    max-width: 100%;
    border-radius: 22px;
  }

  .etopik-comic .comic-cta {
    font-size: 15px;
    padding: 8px 18px;
  }

  .etopik-comic .comic-person {
    width: 150px;
    margin-top: 24px;
  }
}/* End custom CSS */