/*
 * Global Premium Domain Card Styles
 * Matches the "Similar premium domains" card design on Domain Detail page.
 *
 * IMPORTANT:
 * - Styles are scoped to `.nh-sim-card` to avoid conflicts with header icons.
 */

.nh-sim-card{
  display:flex;
  flex-direction:column;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(15,23,42,0.10);
  box-shadow:0 12px 28px rgba(15,23,42,0.10);
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease, box-shadow .18s ease;
}

.nh-sim-card:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 34px rgba(15,23,42,0.14);
}

.nh-sim-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 10px 0;
}

.nh-sim-actions{display:flex;gap:8px;align-items:center;}

/* Card-only icon buttons (scoped) */
.nh-sim-card .nh-icon-btn{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,0.10) !important;
  background:#fff !important;
  display:grid;
  place-items:center;
  cursor:pointer;
  position:relative;
  z-index:3;
  transition:background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.nh-sim-card .nh-icon-btn i{
  font-size:14px;
  color:rgba(15,23,42,0.72);
}

.nh-sim-card .nh-icon-btn:hover{
  background:rgba(15,23,42,0.03);
  box-shadow:0 10px 22px rgba(2, 6, 23, 0.10);
}

/* Like state */
.nh-sim-card .nh-like-btn.liked{
  border-color:rgba(239,68,68,0.28);
  background:rgba(239,68,68,0.10);
  color:rgba(239,68,68,0.95);
}
.nh-sim-card .nh-like-btn.liked i,
.nh-sim-card .nh-like-btn.liked svg{color:rgba(239,68,68,0.95);}

/* Compare state */
.nh-sim-card .compare-toggle.is-compared{
  border-color:rgba(99,102,241,0.30);
  background:rgba(99,102,241,0.12);
  color:rgba(99,102,241,0.95);
}
.nh-sim-card .compare-toggle.is-compared i,
.nh-sim-card .compare-toggle.is-compared svg{color:rgba(99,102,241,0.95);}

.nh-sim-verified{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(34,197,94,0.18);
  background:rgba(34,197,94,0.10);
  color:rgba(34,197,94,0.95);
  display:grid;
  place-items:center;
}

.nh-sim-media{
  height:150px;
  display:grid;
  place-items:center;
  padding:12px;
  background:linear-gradient(180deg,#ffffff,#f7f9ff);
}

.nh-sim-media img{max-width:82%;max-height:92px;object-fit:contain;}

.nh-sim-mock{
  width:100%;
  height:100%;
  border-radius:14px;
  background-size:cover;
  background-position:center;
}

.nh-sim-foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px 14px 14px;
}

.nh-sim-name{
  font-weight:1000;
  color:rgba(15,23,42,0.92);
  letter-spacing:-0.01em;
}

.nh-sim-price{
  font-weight:1000;
  color:rgba(15,23,42,0.86);
}

/* Fallback */
.nh-card-fallback{
  width:100%;
  height:100%;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:16px;
  color:rgba(15,23,42,0.70);
  background:linear-gradient(180deg,#ffffff,#f7f9ff);
}
