/*
 * Momo Review — Affiliate buttons (Shopee / TikTok / Lazada).
 * Port từ React ReviewCard.css + ReviewDetail.css.
 */
.affiliate-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.affiliate-buttons--inline {
  flex-direction: column;
}

.affiliate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  color: white;
  transition: var(--transition);
  border: 2px solid transparent;
  flex: 1 0 auto;
  min-width: 90px;
  text-align: center;
  white-space: nowrap;
}

.aff-btn:hover {
  transform: translateY(-2px);
  color: white;
}

.affiliate-buttons--sm .aff-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  min-width: 70px;
}

.affiliate-buttons--lg .aff-btn {
  padding: 14px 28px;
  font-size: 1rem;
  min-width: 120px;
  flex: 1 1 0;
}

.aff-btn--shopee {
  background: linear-gradient(135deg, #ee4d2d, #ff6633);
  box-shadow: 0 2px 8px rgba(238, 77, 45, 0.3);
}

.aff-btn--shopee:hover {
  box-shadow: 0 4px 12px rgba(238, 77, 45, 0.5);
}

.aff-btn--tiktok {
  background: linear-gradient(135deg, #000, #161823);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.aff-btn--tiktok:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.aff-btn--lazada {
  background: linear-gradient(135deg, #0f146d, #4a4eff);
  box-shadow: 0 2px 8px rgba(15, 20, 109, 0.3);
}

.aff-btn--lazada:hover {
  box-shadow: 0 4px 12px rgba(15, 20, 109, 0.5);
}

.affiliate-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .affiliate-list {
    flex-direction: row;
    gap: 6px;
  }
  .affiliate-buttons--lg .aff-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
    min-width: 0;
    flex: 1 1 0;
  }
  .aff-btn { width: auto; }
  .affiliate-section h3.affiliate-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }
}
