/* =====================================================================
   POG.VN – THÀNH PHẦN DÙNG CHUNG (nút, nhãn, tiêu đề, badge)
   Chỉ dùng biến trong pog-variables.css. Class có tiền tố .pog- để
   không đụng CSS của WooCommerce / plugin.
   Cập nhật: 2026-11-17 (A1)
   ===================================================================== */

/* ---------- Tiêu đề & chữ ---------- */
.pog-display, .pog-h1, .pog-h2, .pog-h3 {
  font-family: var(--pog-font);
  color: var(--pog-dark);
  line-height: var(--pog-lh-tight);
  margin: 0;
}
.pog-display { font-size: var(--pog-fs-display); font-weight: var(--pog-fw-black); letter-spacing: var(--pog-ls-tight); }
.pog-h1      { font-size: var(--pog-fs-h1);      font-weight: var(--pog-fw-black); letter-spacing: var(--pog-ls-tight); }
.pog-h2      { font-size: var(--pog-fs-h2);      font-weight: var(--pog-fw-black); letter-spacing: var(--pog-ls-tight); }
.pog-h3      { font-size: var(--pog-fs-h3);      font-weight: var(--pog-fw-bold);  line-height: var(--pog-lh-snug); }

.pog-text-lead  { font-size: var(--pog-fs-body-lg); line-height: var(--pog-lh-body); color: var(--pog-gray); }
.pog-text-muted { color: var(--pog-gray); }
.pog-text-sm    { font-size: var(--pog-fs-sm); }

/* Nhãn nhỏ phía trên tiêu đề section */
.pog-eyebrow {
  display: inline-block;
  font-size: var(--pog-fs-xs);
  font-weight: var(--pog-fw-bold);
  letter-spacing: var(--pog-ls-caps);
  text-transform: uppercase;
  color: var(--pog-primary);
}

/* ---------- Nút ---------- */
.pog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pog-space-2);
  min-height: 44px;
  padding: 0 var(--pog-space-5);
  border: 1.5px solid transparent;
  border-radius: var(--pog-radius-full);
  font-family: var(--pog-font);
  font-size: var(--pog-fs-body);
  font-weight: var(--pog-fw-bold);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--pog-transition-fast), border-color var(--pog-transition-fast),
              color var(--pog-transition-fast), box-shadow var(--pog-transition-fast), transform var(--pog-transition-fast);
}
.pog-btn:focus-visible { outline: none; box-shadow: var(--pog-focus-ring); }
.pog-btn:active { transform: translateY(1px); }
.pog-btn[disabled], .pog-btn.is-disabled { opacity: .5; pointer-events: none; }

.pog-btn--primary { background: var(--pog-primary); color: var(--pog-white); }
.pog-btn--primary:hover { background: var(--pog-primary-hover); color: var(--pog-white); box-shadow: var(--pog-shadow-orange); }

.pog-btn--secondary { background: var(--pog-white); color: var(--pog-dark); border-color: var(--pog-border-strong); }
.pog-btn--secondary:hover { border-color: var(--pog-dark); color: var(--pog-dark); }

.pog-btn--navy { background: var(--pog-navy); color: var(--pog-white); }
.pog-btn--navy:hover { background: var(--pog-navy-hover); color: var(--pog-white); }

.pog-btn--outline { background: transparent; color: var(--pog-primary); border-color: var(--pog-primary); }
.pog-btn--outline:hover { background: var(--pog-primary); color: var(--pog-white); }

.pog-btn--sm { min-height: 36px; padding: 0 var(--pog-space-4); font-size: var(--pog-fs-sm); }
.pog-btn--lg { min-height: 52px; padding: 0 var(--pog-space-6); font-size: var(--pog-fs-body-lg); }
.pog-btn--block { width: 100%; }

.pog-link {
  color: var(--pog-primary);
  font-weight: var(--pog-fw-semibold);
  text-decoration: none;
}
.pog-link:hover { color: var(--pog-primary-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Badge / nhãn ---------- */
.pog-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--pog-space-1);
  padding: 3px 10px;
  border-radius: var(--pog-radius-full);
  font-size: var(--pog-fs-xs);
  font-weight: var(--pog-fw-bold);
  line-height: 1.5;
}
.pog-tag--sale  { background: var(--pog-primary); color: var(--pog-white); }
.pog-tag--soft  { background: var(--pog-primary-light); color: var(--pog-primary); }
.pog-tag--trust { background: var(--pog-navy-light); color: var(--pog-navy); }
.pog-tag--cream { background: var(--pog-cream); color: var(--pog-dark); }

/* ---------- Bố cục ---------- */
.pog-wrap {
  width: 100%;
  max-width: var(--pog-container);
  margin-inline: auto;
  padding-inline: var(--pog-gutter);
  box-sizing: border-box;
}
.pog-section { padding-block: var(--pog-section-y); }
.pog-section--soft  { background: var(--pog-bg-soft); }
.pog-section--cream { background: var(--pog-cream-light); }

.pog-card {
  background: var(--pog-white);
  border: 1px solid var(--pog-border);
  border-radius: var(--pog-radius-lg);
}
