/* WHMCS modules hub — /whmcs-modules (extends theme single-pricing-pack) */

.whmcs-modules-hub .wm-hub-pack {
  overflow: hidden;
}

.whmcs-modules-hub .wm-hub-pack--featured {
  border-color: rgba(9, 72, 179, 0.25);
  box-shadow: 0 16px 40px rgba(9, 72, 179, 0.1);
}

.whmcs-modules-hub .wm-hub-pack__popular {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  right: 1rem;
  text-transform: uppercase;
  top: 1rem;
  z-index: 2;
}

.whmcs-modules-hub .wm-hub-pack__shot {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1rem 1rem 0.75rem;
}

.whmcs-modules-hub .wm-hub-pack__shot .btn {
  width: 100%;
}

.whmcs-modules-hub .wm-hub-pack__shot-img {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  display: block;
  height: auto;
  max-height: 168px;
  margin: 0 auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
  width: auto;
}

.whmcs-modules-hub .wm-hub-pack__from {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
}

.whmcs-modules-hub .wm-hub-pack__price {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0;
}

.whmcs-modules-hub .wm-hub-pack__dollar {
  font-size: 1.25rem;
  margin-right: 0.1rem;
  padding-top: 0.35rem;
}

.whmcs-modules-hub .wm-hub-pack__amount {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.whmcs-modules-hub .wm-hub-pack__period {
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 600;
}

.whmcs-modules-hub .wm-hub-compare-table thead th {
  font-size: 0.9rem;
  vertical-align: middle;
}

.whmcs-modules-hub .wm-hub-compare-table tbody th {
  background: #f8fafc;
  font-weight: 600;
  width: 18%;
}

@media (min-width: 992px) {
  .whmcs-modules-hub .wm-hub-row > [class*="col-"] {
    display: flex;
  }
}

/* Marketing screenshots — match prior live width (~316px), not full column */
.whmcs-modules-hub .feature-tab-section .image-box img.img-fluid {
  display: block;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 316px;
  width: 100%;
}
