/* مقایسه + هوشمندیار — همسایز دسکتاپ / تبلت / موبایل */

.pc-header-compare,
.ob-launcher-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 14px !important;
  margin: 0 4px !important;
  border-radius: 999px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

/* مقایسه — فیروزه‌ای روشن (جایگزین پرتقالی) */
.pc-header-compare {
  color: #0f766e !important;
  background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 42%, #5eead4 100%) !important;
  border-color: rgba(45, 212, 191, 0.55) !important;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.28) !important;
  position: relative;
  overflow: hidden;
}

.pc-header-compare:hover {
  color: #115e59 !important;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(20, 184, 166, 0.4) !important;
}

.pc-header-compare i {
  color: inherit !important;
  font-size: 0.9rem !important;
}

.pc-header-compare .pc-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 6px;
  inset-inline-end: 8px;
  background: #14b8a6;
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5);
  animation: pcPulseTeal 1.8s ease-out infinite;
}

@keyframes pcPulseTeal {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

/* هوشمندیار — آبی بیزنسی، همان ارتفاع */
.ob-launcher-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 40%, #0ea5e9 100%) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32) !important;
  max-width: none !important;
}

.ob-launcher-btn:hover {
  color: #fff !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.ob-launcher-btn .ob-launcher-text,
.pc-header-compare .pc-compare-label {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9rem;
}

/* تبلت */
@media (max-width: 991.98px) {
  .pc-header-compare,
  .ob-launcher-btn {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 12px !important;
    font-size: 0.75rem !important;
  }
}

/* موبایل */
@media (max-width: 575.98px) {
  .pc-header-compare,
  .ob-launcher-btn {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 10px !important;
    font-size: 0.72rem !important;
    margin: 0 2px !important;
  }
  .ob-launcher-btn .ob-launcher-text,
  .pc-header-compare .pc-compare-label {
    max-width: 5.5rem;
  }
}
