@font-face {
  font-family: "Noto Sans Thai";
  src: url("/wp-content/uploads/2024/01/NotoSansThai-Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Thai";
  src: url("/wp-content/uploads/2024/01/NotoSansThai-Light.ttf");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Thai";
  src: url("/wp-content/uploads/2024/01/NotoSansThai-Medium.ttf");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Thai";
  src: url("/wp-content/uploads/2024/01/NotoSansThai-Black.ttf");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

.benjaruk-welcome-pack.wp,
.wp.benjaruk-welcome-pack {
  --ink: #1a1a1a;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --brand: #8fb3e8;
  --brand-dark: #4d78b7;
  --brand-soft: #eef4fc;
  --line: #06c755;
  --card: #ffffff;
  --surface: #f3f4f6;
  --highlight: #ecfdf3;
  --highlight-border: #bbf7d0;
  --border: rgba(26, 26, 26, 0.06);
  --float-h: 132px;
  --wp-font-text: var(--clb-text-font-family, "Noto Sans Thai", sans-serif);
  --wp-font-title: var(--clb-title-font-family, "Noto Sans Thai", sans-serif);
  --wp-font-title-weight: var(--clb-title-font-weight, 500);
  max-width: 480px;
  margin: 0 auto;
  padding: 0 0 calc(var(--float-h) + env(safe-area-inset-bottom, 0px));
  font-family: var(--wp-font-text);
  color: var(--ink);
  line-height: 1.5;
  box-sizing: border-box;
  background: var(--surface);
  min-height: 100dvh;
}

.benjaruk-welcome-pack *,
.benjaruk-welcome-pack *::before,
.benjaruk-welcome-pack *::after {
  box-sizing: border-box;
}

.wp__head {
  text-align: center;
  padding: 28px 20px 16px;
  background: #fff;
}

.wp__head-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  display: grid;
  place-items: center;
}

.wp__head-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wp__title {
  margin: 0 0 6px;
  font-family: var(--wp-font-title);
  font-size: 20px;
  font-weight: var(--wp-font-title-weight);
  line-height: 1.35;
  color: var(--ink);
}

.wp__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.wp__offer-id {
  display: none;
  margin: 0;
  padding: 8px 20px 0;
  font-size: 11px;
  color: var(--muted-2);
  text-align: center;
  background: #fff;
}

.wp__offer-id.is-visible {
  display: block;
}

.wp__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.wp__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.wp__row--highlight {
  background: var(--highlight);
  border-color: var(--highlight-border);
}

.wp__row-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wp__row-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wp__row--highlight .wp__row-icon {
  background: rgba(255, 255, 255, 0.85);
}

.wp__row-body {
  flex: 1;
  min-width: 0;
}

.wp__row-body strong {
  display: block;
  font-family: var(--wp-font-title);
  font-size: 15px;
  font-weight: var(--wp-font-title-weight);
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.35;
}

.wp__row-body span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.wp__web-note {
  margin: 4px 16px 0;
  padding: 0 4px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.wp__web-link {
  color: var(--brand-dark) !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.wp__float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(243, 244, 246, 0) 0%, rgba(243, 244, 246, 0.92) 24%, #f3f4f6 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wp__float-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none !important;
  font-family: var(--wp-font-title);
  font-weight: var(--wp-font-title-weight);
  font-size: 16px;
  background: var(--line);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.32);
}

.wp__float-btn--web {
  background: var(--brand-dark);
  box-shadow: 0 8px 24px rgba(77, 120, 183, 0.32);
}

.wp__float-oa {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--muted) !important;
  text-decoration: none !important;
}

/* Legacy shortcode button classes (standalone CTAs) */
.wp__btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none !important;
  font-family: var(--wp-font-title);
  font-weight: var(--wp-font-title-weight);
  font-size: 15px;
}

.wp__btn--line {
  background: var(--line);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.28);
}

.wp__btn--ghost {
  margin-top: 10px;
  background: transparent;
  color: var(--brand-dark) !important;
  font-size: 13px;
  padding: 8px;
}

.wp__btn--soft {
  background: #fff;
  color: var(--brand-dark) !important;
  border: 1px solid rgb(143 179 232 / 40%);
}
