/* HaoDev Conversion Kit - styles gom từ Customizer tapaalohashirt.com */

/* ===== TAGS (pills trên giá) ===== */
.haodev-product-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0;
}

.haodev-tag{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  font-size:14px;
  line-height:1;
  border:1px solid transparent;
  white-space:nowrap;
}

.haodev-tag-default{
  background:#e6f2ed;
  color:#1c5c45;
  border-color:#c9e4d8;
}

.haodev-tag-blue{
  background:#e7f1ff;
  color:#1d4ed8;
  border-color:#c7dcff;
}

.haodev-tag-yellow{
  background:#fff8e1;
  color:#b45309;
  border-color:#fde68a;
}

.haodev-tag-red{
  background:#fee2e2;
  color:#b91c1c;
  border-color:#fecaca;
}

/* ===== QUICK TIPS ===== */
.haodev-quick-tips{
  margin:0;
}

.haodev-tip{
  border-radius:12px;
  padding:14px 16px;
  margin:0 0 12px 0;
  font-size:14px;
}

.haodev-tip p:last-child{ margin-bottom:0; }

.haodev-tip-default{
  background:#f1f3f2;
  border-left:4px solid #1c5c45;
}

.haodev-tip-blue{
  background:#eef4ff;
  border-left:4px solid #1d4ed8;
}

.haodev-tip-yellow{
  background:#fff9db;
  border-left:4px solid #b45309;
}

.haodev-tip-red{
  background:#fee2e2;
  border-left:4px solid #b91c1c;
}

/* ===== OFFER GRID sau giá ===== */
.spa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 15px 0 20px;
}

.spa-grid__item {
  background: #e6f2ed;
  border: 1px solid #c9e4d8;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #1a1a1a;
}

.spa-grid__item p { margin: 0; }
.spa-grid__item p + p { margin-top: 2px; }

.spa-grid__item strong, .spa-grid__item b {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}

@media (max-width: 768px) {
  .spa-grid { grid-template-columns: 1fr; }
}

/* ===== SITE REVIEW BADGE (trước title sản phẩm) ===== */
.site-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
}
.site-review-stars { display: inline-flex; gap: 2px; }
.site-review-badge .star.full,
.site-review-badge .star.half { color: #f5a623; font-size: 18px; }
.site-review-badge .star.empty { color: #ddd; font-size: 18px; }
.site-review-text { color: #666; font-size: 14px; }

/* ===== REVIEWS ===== */
.hd-loadmore-btn {
  color: #006d67;
}

/* Trust badge block (Guaranteed Safe Checkout) full width */
.safe-checkout.nasa-crazy-box {
  width: 100%;
}

/* ===== DELIVERY ESTIMATE WIDGET ===== */
.hdck-delivery-wrap {
  border: 1.5px solid #f0c040;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 14px 0;
  background: #fffef5;
  font-size: 14px;
}

.hdck-delivery-header {
  margin-bottom: 14px;
  line-height: 1.6;
}

.hdck-delivery-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 14px;
}

.hdck-dt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
  min-width: 80px;
}

.hdck-dt-line {
  flex: 1;
  border-top: 2px dashed #c3c4c7;
  margin-top: 22px;
}

.hdck-dt-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.hdck-dt-icon--placed   { background: #f0f0f0; color: #50575e; }
.hdck-dt-icon--ships    { background: #e7f1ff; color: #1d4ed8; }
.hdck-dt-icon--delivered{ background: #e6f2ed; color: #1c5c45; }

.hdck-dt-date {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 3px;
  white-space: nowrap;
}

.hdck-dt-label {
  font-size: 12px;
  color: #555;
  text-decoration: underline;
  text-decoration-style: dotted;
}

.hdck-delivery-note {
  border-top: 1px solid #f0e0a0;
  padding-top: 10px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .hdck-delivery-timeline { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hdck-dt-line { display: none; }
  .hdck-dt-step { flex-direction: row; gap: 12px; text-align: left; min-width: unset; }
  .hdck-dt-icon { flex-shrink: 0; }
}
