/* 7h-eg storefront cards — aligned with Trust Hosting catalog chrome */
.th-7h-card {
  position: relative;
  overflow: visible;
  z-index: 1;
}
.ovh-card.th-gl-card {
  text-align: start;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  padding: 20px 18px 16px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: visible;
}
.ovh-card.th-gl-card:hover,
.th-7h-card:hover {
  transform: none;
  border-color: #b6c8de;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
  z-index: 8;
}
.th-7h-head {
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid #edf2f7;
}
.th-7h-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.th-7h-kicker {
  display: inline-flex;
  align-items: center;
  background: #eef4ff;
  color: #1a73e8;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.th-gl-card.is-gaming .th-7h-kicker {
  background: #fff4e5;
  color: #c05621;
}
.th-gl-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 750;
  color: #102a43;
  line-height: 1.35;
  min-height: 0;
  display: block;
}
.th-gl-price {
  color: #e11d2e;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.th-7h-usd {
  margin-inline-start: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  vertical-align: 6px;
}
.th-gl-egp,
.th-gl-period,
.th-gl-stock {
  color: #627d98;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}
.th-gl-stock {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  margin-top: 0;
  background: #dcfce7;
  color: #166534;
}
.th-gl-stock.is-out {
  background: #fee2e2;
  color: #991b1b;
}
.th-gl-stock.is-ok {
  background: #dcfce7;
  color: #166534;
}
.th-gl-specs {
  list-style: none;
  margin: 10px 0 16px;
  padding: 0;
  color: #334155;
  font-size: 13.5px;
  line-height: 1.45;
  flex: 1 1 auto;
  text-align: start;
}
.th-gl-specs,
.th-gl-specs li {
  overflow: visible;
}
.th-gl-specs li {
  border-bottom: 1px solid #f1f5f9;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
  position: relative;
}
.th-gl-specs li:last-child { border-bottom: 0; }
.th-gl-specs li > .fa {
  color: #1a73e8;
  width: 16px;
  margin-top: 2px;
  flex: 0 0 16px;
  text-align: center;
}
.th-7h-spec-text { flex: 1 1 auto; min-width: 0; }
.th-gl-specs li strong { font-weight: 800; color: #102a43; }
.th-gl-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.th-gl-info {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #9aa8b6;
  color: #7d8b99;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: help;
  background: #f8fafc;
}
.th-gl-tip-box {
  position: absolute;
  bottom: calc(100% + 10px);
  right: -8px;
  left: auto;
  width: 260px;
  max-width: min(260px, calc(100vw - 28px));
  box-sizing: border-box;
  background: #1f2933;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: start;
  white-space: normal;
  overflow: visible;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 80;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.ovh-catalog[dir="rtl"] .th-gl-tip-box {
  right: auto;
  left: -8px;
}
.th-gl-tip-box::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 10px;
  left: auto;
  margin-left: 0;
  border: 7px solid transparent;
  border-top-color: #1f2933;
}
.ovh-catalog[dir="rtl"] .th-gl-tip-box::after {
  right: auto;
  left: 10px;
}
.th-gl-tip:hover .th-gl-tip-box,
.th-gl-tip:focus-within .th-gl-tip-box {
  opacity: 1;
  visibility: visible;
}
.ovh-catalog .ovh-cards,
.ovh-catalog .ovh-grid,
.ovh-catalog .th-host-grid {
  overflow: visible;
}
.th-gl-order { margin-top: auto; }
.th-gl-btn {
  display: inline-block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #1a73e8;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 16px;
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.th-gl-btn:hover { background: #1558c0; color: #fff; }
.th-gl-btn.is-disabled,
.th-gl-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.ovh-cards.is-list .ovh-card.th-gl-card {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr minmax(180px, 220px);
  gap: 16px 20px;
  max-width: none;
  width: 100%;
  justify-self: stretch;
  align-items: center;
  text-align: start;
}
.ovh-cards.is-list .th-7h-head {
  border-bottom: 0;
  padding-bottom: 0;
  margin: 0;
  text-align: start;
}
.ovh-cards.is-list .th-gl-title { font-size: 17px; }
.ovh-cards.is-list .th-gl-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
  margin: 0;
}
.ovh-cards.is-list .th-gl-order { margin: 0; }

@media (max-width: 991px) {
  .ovh-cards.is-list .ovh-card.th-gl-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .th-gl-price { font-size: 24px; }
  .th-gl-title { font-size: 17px; }
}
