/* ── TBF Promotions Frontend ─────────────────────────────────────────────── */

/* ── Product card badge ── */
.tbf-promo-badge {
  border-radius: 50px;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 10px;
  white-space: nowrap;
}

/* ── Single product promotion box ── */
.tbf-promo-single-box {
  align-items: flex-start;
  background: #fffcf0;
  border: 1.5px solid #f0d060;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0;
  padding: 14px 16px;
}

.tbf-promo-single-box__badge {
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 12px;
}

.tbf-promo-single-box__name {
  color: #1a3a0a;
  font-size: 15px;
}

.tbf-promo-single-box__desc {
  color: #444;
  font-size: 14px;
  margin: 0;
}

.tbf-promo-single-box__expires {
  color: #c05000;
  font-size: 12px;
  font-weight: 600;
}

/* ── Promotions page grid ── */
.tbf-promotions-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  padding: 24px 0;
}

.tbf-promo-card {
  background: #fff;
  border: 1px solid #e8eedf;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(16,32,21,0.07);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.tbf-promo-card:hover {
  box-shadow: 0 8px 28px rgba(16,32,21,0.13);
}

.tbf-promo-card__badge {
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  text-align: center;
}

.tbf-promo-card__body {
  padding: 16px;
}

.tbf-promo-card__title {
  color: #1a3a0a;
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
}

.tbf-promo-card__desc {
  color: #444;
  font-size: 14px;
  margin: 0 0 10px;
}

.tbf-promo-card__expires {
  color: #c05000;
  font-size: 12px;
  font-weight: 600;
}

.tbf-promo-empty {
  color: #666;
  font-size: 15px;
  padding: 32px 0;
  text-align: center;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .tbf-promotions-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tbf-promo-single-box {
    padding: 12px 14px;
  }
}
