/* Willber V19.5.2 — two visual-only corrections.
   (1) Billing-cycle field on configureproduct only.
   (2) Footer branding alignment on all WHMCS client pages.
   Do not alter prices, options, events, order calculations or footer links. */

/* The WHMCS legacy field-container margin/form-group styles left the select
   visually pressed against the bottom edge. Reserve genuine vertical space. */
#order-standard_cart.willber-order.wo-step-2 .secondary-cart-body > .field-container:has(> .form-group > #inputBillingcycle) {
  padding: 18px 20px 20px !important;
  margin: 0 0 26px !important;
  min-height: 112px;
  height: auto !important;
  overflow: visible !important;
  border: 1px solid var(--wo-border, var(--wh-border)) !important;
  border-radius: 18px !important;
  background: var(--wo-surface, var(--wh-surface)) !important;
}
#order-standard_cart.willber-order.wo-step-2 .field-container > .form-group:has(> #inputBillingcycle) {
  margin: 0 !important;
  min-width: 0;
}
#order-standard_cart.willber-order.wo-step-2 .field-container > .form-group > label[for="inputBillingcycle"] {
  display: block;
  margin: 0 0 11px !important;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.4;
  color: var(--wo-text, var(--wh-text)) !important;
}
#order-standard_cart.willber-order.wo-step-2 .field-container > .form-group > label[for="inputBillingcycle"] + br {
  display: none !important;
}
#order-standard_cart.willber-order.wo-step-2 #inputBillingcycle {
  display: block !important;
  width: min(100%, 360px) !important;
  max-width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 10px 42px 10px 14px !important;
  margin: 0 !important;
  line-height: 1.45 !important;
  font-size: .92rem !important;
  font-weight: 650;
  border-radius: 12px !important;
  border: 1px solid var(--wo-border, var(--wh-border)) !important;
  color: var(--wo-text, var(--wh-text)) !important;
  background-color: var(--wo-surface-2, var(--wh-surface-2)) !important;
  text-overflow: ellipsis;
}
#order-standard_cart.willber-order.wo-step-2 #inputBillingcycle:focus-visible {
  border-color: var(--wo-brand, var(--wh-brand)) !important;
  outline: 2px solid var(--wo-brand, var(--wh-brand));
  outline-offset: 2px;
}
@media (max-width: 575.98px) {
  #order-standard_cart.willber-order.wo-step-2 .secondary-cart-body > .field-container:has(> .form-group > #inputBillingcycle) {
    padding: 16px !important;
  }
  #order-standard_cart.willber-order.wo-step-2 #inputBillingcycle {
    width: 100% !important;
  }
}

/* Footer logo, description and return link share one stable column flow.
   Keep the original logo image, logo source, navigation and theme palettes. */
body.wh-client-body #footer.wh-footer .wh-footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
}
body.wh-client-body #footer.wh-footer .wh-footer-grid {
  align-items: start;
}
body.wh-client-body #footer.wh-footer .wh-footer-brand-col > a.wh-footer-brand.wh-official-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start;
  align-self: flex-start;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  min-height: 50px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}
body.wh-client-body #footer.wh-footer .wh-footer-brand-col .wh-official-logo-footer {
  display: block;
  width: 188px;
  max-width: 100%;
  max-height: 50px;
  height: auto;
  margin: 0 !important;
  object-fit: contain;
  object-position: left center;
}
body.wh-client-body #footer.wh-footer .wh-footer-brand-col > p {
  margin: 0 !important;
  max-width: 340px;
  line-height: 1.65;
}
body.wh-client-body #footer.wh-footer .wh-footer-brand-col > a.wh-footer-site-link {
  align-self: flex-start;
  margin: 2px 0 0 !important;
  line-height: 1.5;
}
@media (max-width: 767.98px) {
  body.wh-client-body #footer.wh-footer .wh-footer-brand-col {
    gap: 10px;
  }
  body.wh-client-body #footer.wh-footer .wh-footer-brand-col .wh-official-logo-footer {
    width: 174px;
  }
}
