/* ==========================================================================
   Genhost order form: brand layer on top of WHMCS standard_cart.
   standard_cart loads this file automatically (templates/orderforms/<name>/css/custom.css).
   The client area theme's custom.css (fonts, buttons, colours) applies here too.

   Product descriptions use the website's markup (see scripts/sync-whmcs.mjs on the website):
     <ul class="main">              main features, always shown
     <ul class="extra">             extra features, shown
     <ul class="extra" title="...">  grouped features (Performance, Security...), hidden on these
                                     simple cards; the full list is on genhost.in
     <li class="no">                 not included (shown with a cross)
     <li title="...">                tooltip (native title)
   ========================================================================== */

#order-standard_cart {
  --gh-primary: #C9301F;
  --gh-primary-hover: #A82718;
  --gh-primary-soft: #FDEEEC;
  --gh-navy: #23272E;
  --gh-text: #0f172a;
  --gh-muted: #475569;
  --gh-border: #e2e8f0;
  --gh-success: #15803d;
}

/* ---------- Page heading ---------- */
#order-standard_cart .header-lined h1 { font-weight: 800; letter-spacing: -0.02em; }
#order-standard_cart .header-lined p { color: var(--gh-muted); }

/* ---------- Category sidebar ---------- */
#order-standard_cart .cart-sidebar .card,
#order-standard_cart .cart-sidebar .panel { border-radius: 14px; overflow: hidden; }
#order-standard_cart .cart-sidebar .list-group-item { padding: 10px 16px; }
#order-standard_cart .cart-sidebar .list-group-item.active,
#order-standard_cart .cart-sidebar .list-group-item.active:hover {
  background: var(--gh-primary-soft);
  color: var(--gh-primary-hover);
  border-color: var(--gh-border);
  font-weight: 700;
}

/* ---------- Product cards ---------- */
#order-standard_cart .products .row-eq-height > [class*='col-'] { display: flex; }
/* Three plans side by side on wide screens. standard_cart wraps every two plans in their own
   .row, so the rows are flattened (display: contents) and all cards share one wrapping grid:
   1 per row on phones, 2 on tablets, 3 from 992px. */
#order-standard_cart .products {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}
#order-standard_cart .products > .row,
#order-standard_cart .products > .row-eq-height { display: contents; }
#order-standard_cart .products > .row > [class*='col-'] {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}
@media (min-width: 768px) {
  #order-standard_cart .products > .row > [class*='col-'] { flex-basis: 50%; max-width: 50%; }
}
@media (min-width: 992px) {
  #order-standard_cart .products > .row > [class*='col-'] { flex-basis: 33.3333%; max-width: 33.3333%; }
}
#order-standard_cart .products .product {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0 0 24px;
  background: #fff;
  border: 1px solid var(--gh-border);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.06);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#order-standard_cart .products .product:hover { border-color: #f4c7c0; box-shadow: 0 16px 36px rgb(15 23 42 / 0.08); }

/* Recommended plan (badge added by includes/hooks/genhost_theme.php) */
#order-standard_cart .products .product { position: relative; }
#order-standard_cart .products .product.gh-featured {
  border: 2px solid var(--gh-primary);
  box-shadow: 0 18px 40px rgb(201 48 31 / 0.16);
}
#order-standard_cart .products .product .gh-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--gh-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
#order-standard_cart .products .product.gh-featured footer { background: var(--gh-primary-soft); }
#order-standard_cart .products .product header {
  margin: 0;
  /* 46px on top: room for the Recommended badge on every card, so titles line up across the row */
  padding: 46px 24px 12px;
  background: none;
  border-radius: 0;
}
#order-standard_cart .products .product header span {
  color: var(--gh-text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
#order-standard_cart .products .product header .qty { font-size: 0.8rem; font-style: normal; color: var(--gh-muted); }

#order-standard_cart .products .product div.product-desc {
  float: none;
  width: auto;
  flex: 1;
  padding: 0 24px 8px;
  font-size: 0.9375rem;
}
#order-standard_cart .products .product div.product-desc p { margin: 0; }

/* Feature lists from the description */
#order-standard_cart .product-desc ul.main,
#order-standard_cart .product-desc ul.extra {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#order-standard_cart .product-desc ul.extra:not([title]) {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--gh-border);
}
#order-standard_cart .product-desc ul.extra[title] { display: none; }
#order-standard_cart .product-desc ul.main li,
#order-standard_cart .product-desc ul.extra li {
  position: relative;
  padding-left: 26px;
  color: var(--gh-text);
  line-height: 1.45;
}
#order-standard_cart .product-desc ul.main li::before,
#order-standard_cart .product-desc ul.extra li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ecfdf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
#order-standard_cart .product-desc li.no { color: var(--gh-muted); }
#order-standard_cart .product-desc li.no::before {
  background: #fef2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23b91c1c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
#order-standard_cart .product-desc li[title] { cursor: help; }
/* WHMCS adds <br /> after every description line; inside and between the lists it only adds gaps. */
#order-standard_cart .product-desc ul br,
#order-standard_cart .product-desc ul + br { display: none; }
#order-standard_cart .product-desc li b { font-weight: 700; }

/* Older "Feature: value" style descriptions */
#order-standard_cart .products .product span.feature-value { font-weight: 700; color: var(--gh-text); }

/* Price and button */
#order-standard_cart .products .product footer {
  float: none;
  width: auto;
  margin: 0;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--gh-border);
  background: #f8fafc;
  font-size: 0.9rem;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#order-standard_cart .products .product div.product-pricing { margin: 0; color: var(--gh-muted); }
/* The price is its own line already; WHMCS's <br> after it only adds an empty line. */
#order-standard_cart .products .product div.product-pricing br { display: none; }
#order-standard_cart .products .product div.product-pricing span.price {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gh-text);
  letter-spacing: -0.02em;
}
#order-standard_cart .products .product .btn-order-now {
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
}

/* ---------- Order summary ---------- */
#order-standard_cart .order-summary {
  background-color: var(--gh-navy);
  border-bottom-color: var(--gh-navy);
  border-radius: 16px;
  overflow: hidden;
}
#order-standard_cart .order-summary h2 { font-weight: 700; padding: 14px; }
#order-standard_cart .summary-container { background: #fff; border-radius: 0 0 14px 14px; font-size: 0.9rem; }
#order-standard_cart .order-summary .total-due-today .amt { font-weight: 800; color: var(--gh-text); }
#order-standard_cart .btn-checkout { min-height: 48px; border-radius: 12px; }

/* ---------- Domain checker ---------- */
.domain-checker-container {
  background: var(--gh-navy, #23272E);
  border-radius: 18px;
}
.domain-checker-bg { background-image: none; }
.domain-checker-container .input-group-box { border-radius: 14px; }

/* ---------- Configure product / checkout ---------- */
#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading-borderless span { color: var(--gh-text); font-weight: 700; }
#order-standard_cart .panel-addon,
#order-standard_cart .card { border-radius: 14px; }
#order-standard_cart .panel-addon-selected { border-color: var(--gh-primary); }
#order-standard_cart .panel-addon-selected .panel-add { background: var(--gh-primary); }

/* Phones: the cart's own row pulls out 15px while the page padding is 12px; match them. */
@media (max-width: 575.98px) {
  #order-standard_cart > .row { margin-left: -12px; margin-right: -12px; }
  #order-standard_cart > .row > .cart-body,
  #order-standard_cart > .row > .cart-sidebar { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 767px) {
  #order-standard_cart .products .product header,
  #order-standard_cart .products .product div.product-desc,
  #order-standard_cart .products .product footer { padding-left: 18px; padding-right: 18px; }
}

/* ==========================================================================
   Add-ons (cart.php?gid=addons) and service renewals (/service-renewals).
   The page class (gh-page-addons / gh-page-renewals) is set in <head> by
   includes/hooks/genhost_theme.php, so there is no flash of the old layout.
   ========================================================================== */

/* No category sidebar: the page uses the full width. */
html.gh-cart-wide #order-standard_cart .cart-sidebar { display: none; }
html.gh-cart-wide #order-standard_cart .cart-body { float: none; width: 100%; }

/* ---------- Add-ons: heading and the category dropdown, centred ---------- */
html.gh-page-addons #order-standard_cart .header-lined { text-align: center; border: 0; margin-bottom: 6px; }
html.gh-page-addons #order-standard_cart .header-lined h1 { font-size: 1.75rem !important; margin-bottom: 0; }
html.gh-page-addons #order-standard_cart .sidebar-collapsed {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 14px auto 28px;
  padding: 0;
  max-width: 780px;
}
html.gh-page-addons #order-standard_cart .sidebar-collapsed::after { display: none; }
/* Only the product group dropdown (the first panel); Actions and the guest currency picker stay hidden. */
html.gh-page-addons #order-standard_cart .sidebar-collapsed > .panel ~ .panel,
html.gh-page-addons #order-standard_cart .sidebar-collapsed > .float-right { display: none !important; }
html.gh-page-addons #order-standard_cart .sidebar-collapsed > .panel,
html.gh-page-addons #order-standard_cart .sidebar-collapsed > .card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: 1 1 300px;
  max-width: 380px;
  margin: 0;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--gh-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}
html.gh-page-addons #order-standard_cart .sidebar-collapsed .panel-heading,
html.gh-page-addons #order-standard_cart .sidebar-collapsed .card-header {
  flex: none;
  padding: 0;
  border: 0;
  background: none;
}
html.gh-page-addons #order-standard_cart .sidebar-collapsed h3 {
  color: var(--gh-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
html.gh-page-addons #order-standard_cart .sidebar-collapsed h3 i { display: none; }
html.gh-page-addons #order-standard_cart .sidebar-collapsed .panel-body,
html.gh-page-addons #order-standard_cart .sidebar-collapsed .card-body { flex: 1; min-width: 0; padding: 0; }
html.gh-page-addons #order-standard_cart .sidebar-collapsed .panel-footer,
html.gh-page-addons #order-standard_cart .sidebar-collapsed .card-footer { display: none; }
html.gh-page-addons #order-standard_cart .sidebar-collapsed select {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background-color: #f6f8fc;
  color: var(--gh-text);
  font-weight: 600;
  cursor: pointer;
}
html.gh-page-addons #order-standard_cart .sidebar-collapsed select:focus { box-shadow: 0 0 0 3px rgb(201 48 31 / 0.18); }

/* ---------- Add-on cards ---------- */
html.gh-page-addons #order-standard_cart .products .product header { padding: 22px 24px 8px; }
html.gh-page-addons #order-standard_cart .products .product form { display: flex; flex-direction: column; align-items: stretch; height: 100%; }
/* header and footer carry Bootstrap's col-12 (flex-basis 100%), which in a column would take the
   whole card height: size them by their content instead. */
html.gh-page-addons #order-standard_cart .products .product form > header,
html.gh-page-addons #order-standard_cart .products .product form > footer { flex: 0 0 auto; max-width: none; width: auto; }
html.gh-page-addons #order-standard_cart .products .product div.product-desc { display: flex; flex: 1 1 auto; flex-direction: column; gap: 14px; color: var(--gh-muted); }
html.gh-page-addons #order-standard_cart .products .product .form-group { display: block; margin: auto 0 0; }
html.gh-page-addons #order-standard_cart .products .product .form-group select { width: 100%; height: 42px; border-radius: 10px; }
html.gh-page-addons #order-standard_cart .products .product .clearfix { display: none; }
html.gh-page-addons #order-standard_cart .products .product footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--gh-primary);
  color: #fff;
  font-weight: 700;
}
html.gh-page-addons #order-standard_cart .products .product footer .btn:hover,
html.gh-page-addons #order-standard_cart .products .product footer .btn:focus-visible { background: var(--gh-primary-hover); }
html.gh-page-addons #order-standard_cart .products .product div.product-pricing span.price { font-size: 1.3rem; }
html.gh-page-addons #order-standard_cart #noAddons { border-radius: 12px; }

/* ---------- Service renewals ---------- */
html.gh-page-renewals #order-standard_cart .header-lined.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--gh-border);
}
html.gh-page-renewals #order-standard_cart .header-lined.row > [class*='col-'] { padding: 0; }
/* Heading takes the free space; the filter button and search keep their natural size. */
html.gh-page-renewals #order-standard_cart .header-lined.row > .col-md-6:first-child { flex: 1 1 0%; width: auto; min-width: 0; max-width: none; }
html.gh-page-renewals #order-standard_cart .header-lined.row > .col-md-6:last-child { flex: 0 0 auto; width: auto; max-width: none; }
html.gh-page-renewals #order-standard_cart .service-renewals-quick-filter { flex: none; white-space: nowrap; }
html.gh-page-renewals #order-standard_cart .form-control.service-renewals-filter { flex: 0 0 260px; }
html.gh-page-renewals #order-standard_cart .header-lined h1 { margin: 0; font-size: 1.75rem !important; }
html.gh-page-renewals #order-standard_cart .header-lined.row > .col-md-6:last-child { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 8px; }
html.gh-page-renewals #order-standard_cart .service-renewals-quick-filter,
html.gh-page-renewals #order-standard_cart .form-control.service-renewals-filter {
  float: none !important;
  width: auto !important;
  height: 40px !important;
  margin: 0;
  border-radius: 10px !important;
  font-size: 0.875rem !important;
}
html.gh-page-renewals #order-standard_cart .form-control.service-renewals-filter { min-width: 240px; border: 1px solid var(--gh-border); }
html.gh-page-renewals #order-standard_cart .service-renewals-quick-filter { padding: 0 14px; font-weight: 600; }
html.gh-page-renewals #order-standard_cart .sidebar-collapsed { display: none; }
html.gh-page-renewals #order-standard_cart .secondary-cart-body { padding-left: 0; }
@media (max-width: 991.98px) {
  /* List and summary stack: no gutters needed, so the inner row stays inside the page. */
  html.gh-page-renewals #order-standard_cart .cart-body > .row:not(.header-lined) { margin-left: 0; margin-right: 0; }
  html.gh-page-renewals #order-standard_cart .secondary-cart-body { padding-right: 0; margin-bottom: 20px; }
  html.gh-page-renewals #order-standard_cart .secondary-cart-sidebar { padding-left: 0; padding-right: 0; }
}

/* The list: one bordered box, a row per service, add-ons nested under it. */
html.gh-page-renewals .service-renewals {
  margin: 0;
  border: 1px solid var(--gh-border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
html.gh-page-renewals .service-renewals .service-renewal,
html.gh-page-renewals .service-renewals .service-renewal:nth-child(even) {
  position: relative;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gh-border);
  background: #fff;
}
html.gh-page-renewals .service-renewals > .service-renewal:last-child { border-bottom: 0; }
html.gh-page-renewals .service-renewals .service-renewal h3 { margin: 0; padding-right: 160px; color: var(--gh-text); font-size: 1.05rem !important; font-weight: 700; }
html.gh-page-renewals .service-renewals .service-renewal h4 { margin: 2px 0 6px; color: var(--gh-primary-hover); font-size: 0.9rem !important; font-weight: 600; overflow-wrap: anywhere; }
html.gh-page-renewals .service-renewals .service-renewal h4:empty { display: none; }
html.gh-page-renewals .service-renewals .service-renewal > p { margin: 0 0 10px; color: var(--gh-muted); font-size: 0.85rem; }
html.gh-page-renewals .service-renewals .service-renewal > .float-right { position: absolute; top: 16px; right: 20px; float: none !important; }
html.gh-page-renewals .service-renewals .service-renewal .label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
html.gh-page-renewals .service-renewals .label-warning { background: #fff7e6; color: #b45309; }
html.gh-page-renewals .service-renewals .label-info { background: #eef4ff; color: #1d4ed8; }
html.gh-page-renewals .service-renewals .service-renewal > .clearfix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6f8fc;
  font-size: 0.875rem;
}
html.gh-page-renewals .service-renewals .service-renewal > .clearfix::after { display: none; }
html.gh-page-renewals .service-renewals .service-renewal > .clearfix > .float-left { float: none !important; min-width: 0; color: var(--gh-text); }
html.gh-page-renewals .service-renewals .div-renewal-period-label { margin: 0; color: var(--gh-muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
html.gh-page-renewals .service-renewals .div-renewal-ineligible { color: var(--gh-muted); font-weight: 600; }
html.gh-page-renewals .service-renewals .btn-add-renewal-to-cart {
  float: none !important;
  min-height: 38px;
  padding: 6px 16px;
  border: 1px solid var(--gh-primary);
  border-radius: 10px;
  background: #fff;
  color: var(--gh-primary);
  font-weight: 700;
}
html.gh-page-renewals .service-renewals .btn-add-renewal-to-cart:hover { background: var(--gh-primary-soft); color: var(--gh-primary-hover); }
html.gh-page-renewals .addon-renewals { margin-top: 12px; }
html.gh-page-renewals .service-renewals .addon-renewals > h4 { margin: 0 0 6px; color: var(--gh-muted); font-size: 0.72rem !important; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
html.gh-page-renewals .addon-renewals > div { border: 1px solid var(--gh-border); border-radius: 10px; overflow: hidden; }
html.gh-page-renewals .addon-renewals .service-renewal,
html.gh-page-renewals .addon-renewals .service-renewal:nth-child(even) { padding: 12px 14px; }
html.gh-page-renewals .addon-renewals div > .service-renewal:last-child { border-bottom: 0; }
/* Layout: a readable width, the list on the left and a fixed-width summary column. */
html.gh-page-renewals #order-standard_cart { max-width: 1240px; }
@media (min-width: 992px) {
  html.gh-page-renewals #order-standard_cart .cart-body > .row:not(.header-lined) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
    margin: 0;
  }
  html.gh-page-renewals #order-standard_cart .secondary-cart-body,
  html.gh-page-renewals #order-standard_cart .secondary-cart-sidebar { float: none; width: auto; max-width: none; padding: 0; }
}

/* Order summary: a white card like the rest of the client area (not the stock dark box). */
html.gh-page-renewals #order-standard_cart .order-summary {
  margin: 0;
  border: 1px solid var(--gh-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.05);
  overflow: hidden;
}
html.gh-page-renewals #order-standard_cart .order-summary h2 {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gh-border);
  color: var(--gh-text);
  font-size: 0.8rem !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}
html.gh-page-renewals #order-standard_cart .order-summary .loader { top: 14px; padding-right: 18px; color: var(--gh-muted); }
html.gh-page-renewals #order-standard_cart .summary-container {
  min-height: 0;
  padding: 14px 18px 16px;
  border-radius: 0;
  background: #fff;
  color: var(--gh-text);
  font-size: 0.875rem;
}
html.gh-page-renewals #order-standard_cart .order-summary .product-name { margin: 0 0 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; color: var(--gh-muted); text-transform: uppercase; }
html.gh-page-renewals #order-standard_cart .summary-container > .clearfix { padding: 6px 0; }
html.gh-page-renewals #order-standard_cart .summary-container .float-right { text-align: right; }
html.gh-page-renewals #order-standard_cart .summary-container .fa-trash-alt { margin-left: 4px; color: var(--gh-danger, #b91c1c); }
html.gh-page-renewals #order-standard_cart .order-summary .subtotal,
html.gh-page-renewals #order-standard_cart .order-summary .bordered-totals { margin: 6px 0 0; padding: 10px 0; border-top: 1px solid var(--gh-border); border-bottom: 0; font-size: 0.875rem; color: var(--gh-muted); }
/* Subtotal and fees: one line above them; the total below brings its own line (no double rule). */
html.gh-page-renewals #order-standard_cart .order-summary .summary-totals { margin: 8px 0 0; padding: 10px 0 8px; border-top: 1px solid var(--gh-border); border-bottom: 0; }
html.gh-page-renewals #order-standard_cart .order-summary .summary-totals > .clearfix { padding: 2px 0; }
html.gh-page-renewals #order-standard_cart .order-summary .total-due-today { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--gh-border); }
html.gh-page-renewals #order-standard_cart .order-summary .total-due-today .amt { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--gh-text); }
html.gh-page-renewals #order-standard_cart .order-summary .total-due-today span:not(.amt) { color: var(--gh-muted); font-size: 0.78rem; }
html.gh-page-renewals #order-standard_cart #btnGoToCart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
}
html.gh-page-renewals #order-standard_cart #no-services { border-radius: 12px; }

@media (max-width: 767.98px) {
  html.gh-page-addons #order-standard_cart .header-lined h1,
  html.gh-page-renewals #order-standard_cart .header-lined h1 { font-size: 1.4rem !important; }
  html.gh-page-addons #order-standard_cart .sidebar-collapsed > .panel,
  html.gh-page-addons #order-standard_cart .sidebar-collapsed > .card { max-width: none; }
  html.gh-page-renewals #order-standard_cart .header-lined.row > .col-md-6:first-child,
  html.gh-page-renewals #order-standard_cart .header-lined.row > .col-md-6:last-child { flex: 0 0 100%; max-width: 100%; }
  html.gh-page-renewals #order-standard_cart .header-lined.row > .col-md-6:last-child { flex-wrap: wrap; margin-top: 10px; }
  html.gh-page-renewals #order-standard_cart .service-renewals-quick-filter,
  html.gh-page-renewals #order-standard_cart .form-control.service-renewals-filter { flex: 1 1 100%; min-width: 0; white-space: normal; }
  html.gh-page-renewals .service-renewals .service-renewal,
  html.gh-page-renewals .service-renewals .service-renewal:nth-child(even) { padding: 14px; }
  html.gh-page-renewals .service-renewals .service-renewal h3 { padding-right: 0; }
  html.gh-page-renewals .service-renewals .service-renewal > .float-right { position: static; display: block; margin-bottom: 6px; }
  html.gh-page-renewals .service-renewals .btn-add-renewal-to-cart { width: 100%; }
}

/* ==========================================================================
   Domains in the cart: register / search (gh-page-domreg), transfer (gh-page-domxfer)
   and domain renewals (gh-page-domrenew). Markers set in <head> by the theme hook.
   ========================================================================== */

/* Shared: centred heading, the category dropdown hidden (the left menu has Domains) */
html.gh-page-domreg #order-standard_cart .header-lined,
html.gh-page-domxfer #order-standard_cart .header-lined { text-align: center; border: 0; margin-bottom: 4px; }
html.gh-page-domreg #order-standard_cart .header-lined h1,
html.gh-page-domxfer #order-standard_cart .header-lined h1 { margin: 0; font-size: 1.75rem !important; }
html.gh-page-domreg #order-standard_cart .cart-body > p { margin: 0 auto; max-width: 620px; color: var(--gh-muted); font-size: 0.93rem; text-align: center; }
html.gh-page-domreg #order-standard_cart .header-lined p { margin: 6px auto 0; max-width: 620px; color: var(--gh-muted); font-size: 0.93rem; }
html.gh-page-domreg #order-standard_cart .sidebar-collapsed,
html.gh-page-domxfer #order-standard_cart .sidebar-collapsed,
html.gh-page-domrenew #order-standard_cart .sidebar-collapsed { display: none; }
html.gh-page-domreg #order-standard_cart .cart-body { max-width: 1120px; margin: 0 auto; }

/* ---------- Register: the search box (light panel, own design) ---------- */
html.gh-page-domreg #order-standard_cart .domain-checker-container {
  position: relative;
  margin: 18px 0 26px;
  border: 1px solid #f0e2df;
  border-radius: 20px;
  background:
    radial-gradient(60% 120% at 100% 0, rgb(201 48 31 / 0.09) 0, transparent 60%),
    radial-gradient(50% 120% at 0 100%, rgb(35 39 46 / 0.05) 0, transparent 60%),
    #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 14px 34px rgb(15 23 42 / 0.06);
}
html.gh-page-domreg .domain-checker-bg { padding: 38px 0 30px; background-image: none; }
html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box .form-control {
  height: 60px;
  margin: 0;
  padding: 0 18px 0 52px;
  border: 2px solid #e2e8f0;
  border-radius: 14px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") 18px center / 20px no-repeat;
  box-shadow: none;
  color: var(--gh-text);
  font-size: 1.1rem;
  font-weight: 600;
  transition: border-color 0.15s, box-shadow 0.15s;
}
html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box .form-control::placeholder { color: #94a3b8; font-weight: 500; }
html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box .form-control:focus { border-color: var(--gh-primary); box-shadow: 0 0 0 4px rgb(201 48 31 / 0.12); }
html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box .input-group-btn { display: flex; }
html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 30px;
  width: auto;
  border-radius: 14px !important;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgb(201 48 31 / 0.25);
}
html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box .btn::before {
  content: '\f002';
  font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.9rem;
}
/* the column classes around the box: full width inside the panel */
html.gh-page-domreg #frmDomainChecker .row > [class*='col-'] { flex: 0 0 100%; max-width: 100%; margin-left: 0; padding: 0 24px; }
/* quick extension chips (added by the theme script) */
.gh-tld-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 720px; margin: 16px auto 0; }
.gh-tld-chips-label { color: var(--gh-muted); font-size: 0.8rem; font-weight: 700; }
.gh-tld-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--gh-border);
  border-radius: 999px;
  background: #fff;
  color: var(--gh-text);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.gh-tld-chip b { font-weight: 800; }
.gh-tld-chip span { color: var(--gh-muted); font-size: 0.75rem; font-weight: 600; }
.gh-tld-chip:hover, .gh-tld-chip:focus-visible { border-color: var(--gh-primary); color: var(--gh-primary-hover); transform: translateY(-1px); }
/* simple captcha: a quiet line under the chips */
html.gh-page-domreg #order-standard_cart .default-captcha,
html.gh-page-domreg #order-standard_cart .default-captcha-register-margin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  max-width: 720px;
  margin: 16px auto 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--gh-muted);
  font-size: 0.82rem;
}
html.gh-page-domreg #order-standard_cart .default-captcha p { margin: 0; }
html.gh-page-domreg #order-standard_cart .default-captcha > div { display: flex; align-items: center; gap: 8px; }
html.gh-page-domreg #order-standard_cart .default-captcha img { height: 36px; border-radius: 8px; }
html.gh-page-domreg #order-standard_cart .default-captcha input { width: 110px; height: 36px; border: 1px solid var(--gh-border); border-radius: 8px; text-align: center; font-weight: 700; letter-spacing: 0.1em; }

/* ---------- Register: search results ---------- */
html.gh-page-domreg #DomainSearchResults { margin-bottom: 26px; }
html.gh-page-domreg .domain-checker-result-headline { margin: 0 0 16px; }
html.gh-page-domreg #primaryLookupResult {
  padding: 22px 24px;
  border: 1px solid var(--gh-border);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
html.gh-page-domreg #primaryLookupResult p { margin: 0 0 8px; }
html.gh-page-domreg .domain-checker-available { color: #15803d; font-size: 1.2rem; font-weight: 800; }
html.gh-page-domreg .domain-checker-unavailable, html.gh-page-domreg .domain-checker-invalid { color: #b91c1c; font-size: 1.05rem; font-weight: 700; }
html.gh-page-domreg .domain-checker-available strong, html.gh-page-domreg .domain-checker-unavailable strong { color: var(--gh-text); }
html.gh-page-domreg #primaryLookupResult .domain-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 10px 0 0; }
html.gh-page-domreg #primaryLookupResult .domain-price .price { color: var(--gh-text); font-size: 1.5rem; font-weight: 800; }
html.gh-page-domreg .btn-add-to-cart { border-radius: 10px; font-weight: 700; }
html.gh-page-domreg .domain-lookup-loader { color: var(--gh-muted); }

/* the extensions picked out under the result */
html.gh-page-domreg .spotlight-tlds { margin: 0 0 18px; }
html.gh-page-domreg .spotlight-tlds-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
html.gh-page-domreg .spotlight-tld-container { float: none; width: auto; padding: 0; }
html.gh-page-domreg .spotlight-tld {
  height: auto;
  min-height: 110px;
  padding: 14px 10px;
  border: 1px solid var(--gh-border);
  border-radius: 12px;
  background: #fff;
  color: var(--gh-text);
  font-size: 1.15rem;
  font-weight: 800;
}
html.gh-page-domreg .spotlight-tld .price { display: block; margin: 4px 0 8px; color: var(--gh-muted); font-size: 0.85rem; font-weight: 600; }
html.gh-page-domreg .spotlight-tld .btn { padding: 5px 14px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; }

/* suggestions */
html.gh-page-domreg .suggested-domains { overflow: hidden; border: 1px solid var(--gh-border); border-radius: 14px; background: #fff; }
html.gh-page-domreg .suggested-domains .panel-heading,
html.gh-page-domreg .suggested-domains .card-header { padding: 12px 18px; border-bottom: 1px solid var(--gh-border); background: #f6f8fc; color: var(--gh-muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
html.gh-page-domreg .domain-suggestion { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-bottom: 1px solid #eef1f5; border-radius: 0; font-size: 0.95rem; }
html.gh-page-domreg .domain-suggestion .domain { font-weight: 700; color: var(--gh-text); }
html.gh-page-domreg .domain-suggestion .extension { font-weight: 700; color: var(--gh-primary); }
html.gh-page-domreg .domain-suggestion .actions { display: flex; align-items: center; gap: 12px; margin-left: auto; float: none; }
html.gh-page-domreg .domain-suggestion .price { font-weight: 700; color: var(--gh-text); }
html.gh-page-domreg .domain-suggestion .btn-add-to-cart { padding: 5px 14px; border: 1px solid var(--gh-primary); background: #fff; color: var(--gh-primary); font-size: 0.8rem; }
html.gh-page-domreg .domain-suggestion .btn-add-to-cart:hover { background: var(--gh-primary-soft); }
html.gh-page-domreg .domain-suggestion .promo span { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fff7e6; color: #b45309; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
html.gh-page-domreg .suggested-domains .more-suggestions { padding: 12px; border-top: 0; background: #fff; }
html.gh-page-domreg .domain-suggestions-warning { padding: 10px 18px 2px; font-size: 0.75rem; }

/* ---------- Register: extension prices ---------- */
html.gh-page-domreg .domain-pricing { margin-top: 8px; }
html.gh-page-domreg .domain-pricing > h4 { margin: 0 0 10px; color: var(--gh-text); font-size: 1rem !important; font-weight: 800; }
html.gh-page-domreg .tld-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
html.gh-page-domreg .tld-filters .badge {
  padding: 6px 12px;
  border: 1px solid var(--gh-border);
  border-radius: 999px;
  background: #fff;
  color: var(--gh-text);
  font-size: 0.78rem;
  font-weight: 600;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
html.gh-page-domreg .tld-filters .badge:hover { border-color: #f4c7c0; color: var(--gh-primary-hover); text-decoration: none; }
html.gh-page-domreg .tld-filters .badge-success { border-color: var(--gh-primary); background: var(--gh-primary); color: #fff; }
html.gh-page-domreg .tld-filters .badge-success:hover { color: #fff; }
html.gh-page-domreg .domain-pricing > .bg-white { overflow: hidden; border: 1px solid var(--gh-border); border-radius: 14px; }
html.gh-page-domreg .domain-pricing .tld-pricing-header { background: #f6f8fc; border-bottom: 1px solid var(--gh-border); }
html.gh-page-domreg .domain-pricing .tld-pricing-header div,
html.gh-page-domreg .domain-pricing .tld-pricing-header div:nth-child(odd),
html.gh-page-domreg .domain-pricing .tld-pricing-header [class*='col-'] {
  padding-top: 11px;
  padding-bottom: 11px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--gh-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html.gh-page-domreg .domain-pricing .tld-pricing-header .row [class*='col-'] { padding-top: 0; padding-bottom: 0; }
html.gh-page-domreg .domain-pricing .tld-pricing-header .tld-column { text-align: left; padding-left: 24px; }
html.gh-page-domreg .domain-pricing .tld-row { margin: 0; padding: 10px 0; border-bottom: 1px solid #eef1f5; background: #fff; font-size: 0.9rem; }
html.gh-page-domreg .domain-pricing .tld-row:nth-child(even) { background: #fff; }
html.gh-page-domreg .domain-pricing .tld-row.highlighted { background: #fafbfd; }
html.gh-page-domreg .domain-pricing .tld-row:hover { background: #fffbfa; }
html.gh-page-domreg .domain-pricing .two-row-center { display: flex; align-items: center; margin: 0; border-right: 0; line-height: 1.3; }
html.gh-page-domreg .domain-pricing .tld-row { align-items: center; }
html.gh-page-domreg .domain-pricing .tld-pricing-header { align-items: center; }
html.gh-page-domreg .domain-pricing .tld-pricing-header > [class*='col-'] { padding-top: 11px; padding-bottom: 11px; }
html.gh-page-domreg .domain-pricing .tld-row strong { color: var(--gh-text); font-size: 1rem; font-weight: 800; }
html.gh-page-domreg .domain-pricing .tld-row small { color: var(--gh-muted); }
html.gh-page-domreg .domain-pricing .tld-row .row { margin: 0; }
html.gh-page-domreg .domain-pricing .tld-row .col-4:first-child { color: var(--gh-text); font-weight: 700; }
html.gh-page-domreg .tld-sale-group { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; }

/* ---------- Register: the two promo boxes ---------- */
html.gh-page-domreg .domain-promo-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: calc(100% - 40px);
  padding: 24px;
  border: 1px solid var(--gh-border);
  border-radius: 14px;
  background: #fff;
  color: var(--gh-text);
}
html.gh-page-domreg .domain-promo-box > .clearfix { width: 100%; }
html.gh-page-domreg .domain-promo-box i.fa-4x {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-left: 12px;
  border-radius: 14px;
  background: var(--gh-primary-soft);
  color: var(--gh-primary);
  font-size: 1.3rem;
}
html.gh-page-domreg .domain-promo-box h3 { margin: 0 0 4px; font-size: 1.15rem !important; font-weight: 800; white-space: normal; }
html.gh-page-domreg .domain-promo-box p { color: var(--gh-muted); font-size: 0.85rem; }
html.gh-page-domreg .domain-promo-box p.font-bold { color: var(--gh-primary-hover) !important; font-weight: 700; }
html.gh-page-domreg .domain-promo-box .btn { margin-top: auto; padding: 9px 18px; border: 0; border-radius: 10px; background: var(--gh-primary); color: #fff; font-weight: 700; }
html.gh-page-domreg .domain-promo-box .btn:hover { background: var(--gh-primary-hover); }
html.gh-page-domreg .domain-promo-box .small { margin: 10px 0 0; color: #94a3b8; font-size: 0.72rem; }

/* ---------- Transfer ---------- */
html.gh-page-domxfer #order-standard_cart .cart-body > .text-center h2 { margin: 6px 0 4px; color: var(--gh-muted); font-size: 1rem !important; font-weight: 600; }
html.gh-page-domxfer #order-standard_cart .cart-body > .text-center p { color: var(--gh-muted); font-size: 0.9rem; }
html.gh-page-domxfer #frmDomainTransfer .row > [class*='col-'] { flex: 0 0 100%; max-width: 560px; margin: 0 auto; }
html.gh-page-domxfer #frmDomainTransfer .card {
  overflow: hidden;
  border: 1px solid var(--gh-border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 10px 30px rgb(15 23 42 / 0.06);
}
html.gh-page-domxfer #frmDomainTransfer .card-header { padding: 20px 24px 6px; border: 0; background: #fff; }
html.gh-page-domxfer #frmDomainTransfer .card-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem !important; font-weight: 800; }
html.gh-page-domxfer #frmDomainTransfer .card-title::before {
  content: '\f362';
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gh-primary-soft);
  color: var(--gh-primary);
  font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
  font-size: 0.9rem;
  font-weight: 900;
}
html.gh-page-domxfer #frmDomainTransfer .card-body { padding: 14px 24px 8px; }
html.gh-page-domxfer #frmDomainTransfer label { color: var(--gh-text); font-size: 0.82rem; font-weight: 700; }
html.gh-page-domxfer #frmDomainTransfer label a { color: var(--gh-muted); font-weight: 600; cursor: help; }
html.gh-page-domxfer #frmDomainTransfer .form-control { height: 46px; border-radius: 10px; font-size: 0.95rem; }
html.gh-page-domxfer #order-standard_cart .default-captcha { max-width: none; margin: 4px 0 8px; padding: 12px; border: 1px dashed var(--gh-border); border-radius: 10px; background: #f6f8fc; box-shadow: none; }
html.gh-page-domxfer #order-standard_cart .default-captcha p { margin: 0 0 8px; }
html.gh-page-domxfer #order-standard_cart .default-captcha > div { display: flex; align-items: center; justify-content: center; gap: 8px; }
html.gh-page-domxfer #order-standard_cart .default-captcha img { height: 38px; border-radius: 8px; }
html.gh-page-domxfer #order-standard_cart .default-captcha input { width: 120px; height: 38px; border-radius: 8px; text-align: center; font-weight: 700; letter-spacing: 0.1em; }
html.gh-page-domxfer #frmDomainTransfer .card-footer { padding: 14px 24px 20px; border: 0; background: #fff; }
html.gh-page-domxfer #frmDomainTransfer .btn-transfer { width: 100%; min-height: 46px; border-radius: 10px; font-size: 1rem; font-weight: 800; }
html.gh-page-domxfer #order-standard_cart .cart-body > p.small { margin-top: 14px; color: #94a3b8; }

/* ---------- Domain renewals ---------- */
html.gh-page-domrenew #order-standard_cart { max-width: 1240px; }
html.gh-page-domrenew #order-standard_cart .header-lined { margin: 0 0 18px; padding: 0 0 14px; border-bottom: 1px solid var(--gh-border); }
html.gh-page-domrenew #order-standard_cart .header-lined h1 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-size: 1.75rem !important; }
html.gh-page-domrenew #order-standard_cart .header-lined h1 .float-right { float: none !important; }
html.gh-page-domrenew .domain-renewals-filter { width: 260px !important; height: 40px !important; border: 1px solid var(--gh-border); border-radius: 10px !important; font-size: 0.875rem !important; font-weight: 400; }
@media (min-width: 992px) {
  html.gh-page-domrenew #order-standard_cart .cart-body > .row:not(.header-lined) { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; margin: 0; }
  html.gh-page-domrenew #order-standard_cart .secondary-cart-body,
  html.gh-page-domrenew #order-standard_cart .secondary-cart-sidebar { float: none; width: auto; max-width: none; padding: 0; }
}
@media (max-width: 991.98px) {
  html.gh-page-domrenew #order-standard_cart .cart-body > .row:not(.header-lined) { margin-left: 0; margin-right: 0; }
  html.gh-page-domrenew #order-standard_cart .secondary-cart-body { padding: 0; margin-bottom: 20px; }
  html.gh-page-domrenew #order-standard_cart .secondary-cart-sidebar { padding: 0; }
}
html.gh-page-domrenew .domain-renewals { margin: 0; overflow: hidden; border: 1px solid var(--gh-border); border-radius: 14px; background: #fff; }
html.gh-page-domrenew .domain-renewals .domain-renewal,
html.gh-page-domrenew .domain-renewals .domain-renewal:nth-child(even) { position: relative; padding: 16px 20px; border-bottom: 1px solid var(--gh-border); background: #fff; }
html.gh-page-domrenew .domain-renewals .domain-renewal:last-child { border-bottom: 0; }
/* period picker and Add to Cart on one line */
html.gh-page-domrenew .domain-renewals .domain-renewal { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
html.gh-page-domrenew .domain-renewal > * { grid-column: 1 / -1; }
html.gh-page-domrenew .domain-renewal > .form-horizontal { grid-column: 1; }
html.gh-page-domrenew .domain-renewal > .text-right { grid-column: 2; }
html.gh-page-domrenew .domain-renewal h3 { margin: 0 0 2px; padding-right: 170px; color: var(--gh-text); font-size: 1.05rem !important; font-weight: 800; overflow-wrap: anywhere; }
html.gh-page-domrenew .domain-renewal > p { margin: 0 0 10px; color: var(--gh-muted); font-size: 0.85rem; }
html.gh-page-domrenew .domain-renewal > .float-right { position: absolute; top: 16px; right: 20px; float: none !important; }
html.gh-page-domrenew .domain-renewal .label { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
html.gh-page-domrenew .domain-renewal .label-success { background: #ecfdf3; color: #15803d; }
html.gh-page-domrenew .domain-renewal .label-warning { background: #fff7e6; color: #b45309; }
html.gh-page-domrenew .domain-renewal .label-danger { background: #fef2f2; color: #b91c1c; }
html.gh-page-domrenew .domain-renewal .label-info { background: #eef4ff; color: #1d4ed8; }
html.gh-page-domrenew .domain-renewal .label-grey { background: #f1f5f9; color: #475569; }
html.gh-page-domrenew .domain-renewal .form-horizontal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px; border-radius: 10px; background: #f6f8fc; }
html.gh-page-domrenew .domain-renewal .form-horizontal .form-group { display: flex; flex: 1 1 320px; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; }
html.gh-page-domrenew .domain-renewal .form-horizontal .form-group > [class*='col-'] { flex: 1 1 200px; max-width: none; padding: 0; }
html.gh-page-domrenew .domain-renewal .control-label { flex: 0 0 auto !important; margin: 0; color: var(--gh-muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
html.gh-page-domrenew .domain-renewal .select-renewal-pricing { height: 40px; border-radius: 10px; font-size: 0.875rem; }
html.gh-page-domrenew .domain-renewal .text-right { flex: none; }
html.gh-page-domrenew .btn-add-renewal-to-cart { min-height: 38px; padding: 6px 16px; border: 1px solid var(--gh-primary); border-radius: 10px; background: #fff; color: var(--gh-primary); font-size: 0.875rem; font-weight: 700; }
html.gh-page-domrenew .btn-add-renewal-to-cart:hover { background: var(--gh-primary-soft); color: var(--gh-primary-hover); }
html.gh-page-domrenew .domain-renewal-desc { color: #15803d !important; font-weight: 600; }
html.gh-page-domrenew #no-domains { border-radius: 12px; }
/* order summary: same white card as service renewals */
html.gh-page-domrenew #order-standard_cart .order-summary { margin: 0; overflow: hidden; border: 1px solid var(--gh-border); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.05); }
html.gh-page-domrenew #order-standard_cart .order-summary h2 { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--gh-border); color: var(--gh-text); font-size: 0.8rem !important; font-weight: 800; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; }
html.gh-page-domrenew #order-standard_cart .order-summary .loader { top: 14px; padding-right: 18px; color: var(--gh-muted); }
html.gh-page-domrenew #order-standard_cart .summary-container { min-height: 0; padding: 14px 18px 16px; border-radius: 0; background: #fff; color: var(--gh-text); font-size: 0.875rem; }
html.gh-page-domrenew #order-standard_cart .order-summary .product-name { margin: 0 0 6px; color: var(--gh-muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
html.gh-page-domrenew #order-standard_cart .summary-container > .clearfix { padding: 6px 0; }
html.gh-page-domrenew #order-standard_cart .summary-container .fa-trash-alt { margin-left: 4px; color: #b91c1c; }
html.gh-page-domrenew #order-standard_cart .order-summary .summary-totals { margin: 8px 0 0; padding: 10px 0 8px; border-top: 1px solid var(--gh-border); border-bottom: 0; }
html.gh-page-domrenew #order-standard_cart .order-summary .total-due-today { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--gh-border); }
html.gh-page-domrenew #order-standard_cart .order-summary .total-due-today .amt { font-size: 1.6rem; font-weight: 800; color: var(--gh-text); }
html.gh-page-domrenew #order-standard_cart .order-summary .total-due-today span:not(.amt) { color: var(--gh-muted); font-size: 0.78rem; }
html.gh-page-domrenew #order-standard_cart #btnGoToCart { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin-top: 14px; border-radius: 12px; font-size: 1rem; font-weight: 700; }

@media (max-width: 767.98px) {
  html.gh-page-domreg #order-standard_cart .header-lined h1,
  html.gh-page-domxfer #order-standard_cart .header-lined h1,
  html.gh-page-domrenew #order-standard_cart .header-lined h1 { font-size: 1.4rem !important; }
  html.gh-page-domreg .domain-pricing .tld-pricing-header .tld-column { display: none; }
  html.gh-page-domreg .domain-pricing .tld-row > .col-md-4 { padding: 0 16px 4px !important; }
  html.gh-page-domreg .domain-promo-box { height: auto; }
  html.gh-page-domrenew .domain-renewal h3 { padding-right: 0; }
  html.gh-page-domrenew .domain-renewals .domain-renewal { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  html.gh-page-domrenew .domain-renewal > .form-horizontal, html.gh-page-domrenew .domain-renewal > .text-right { grid-column: 1; }
  html.gh-page-domrenew .btn-add-renewal-to-cart { width: 100%; }
  html.gh-page-domrenew .domain-renewal > .float-right { position: static; display: block; margin-bottom: 6px; }
  html.gh-page-domrenew .domain-renewals-filter { width: 100% !important; }
  html.gh-page-domrenew #order-standard_cart .header-lined h1 .float-right { width: 100%; }
}

/* Register: price table pages (theme script) */
html.gh-page-domreg .domain-pricing .tld-row.gh-pg-off { display: none !important; }
/* rows outside the chosen categories: hidden at once (WHMCS's own fade over ~500 rows is slow) */
html.gh-page-domreg .domain-pricing .tld-row:not(.filtered-row):not(.no-tlds) { display: none !important; }
.gh-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 12px 0 4px; }
.gh-pager[hidden] { display: none; }
.gh-pager-info { color: var(--gh-muted); font-size: 0.82rem; }
.gh-pager-nums { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gh-pager-btn {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--gh-border);
  border-radius: 10px;
  background: #fff;
  color: var(--gh-text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.gh-pager-btn i { font-size: 0.7rem; }
.gh-pager-btn:hover:not(:disabled) { border-color: #f4c7c0; color: var(--gh-primary-hover); }
.gh-pager-btn.is-on { border-color: var(--gh-primary); background: var(--gh-primary); color: #fff; }
.gh-pager-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.gh-pager-gap { padding: 0 4px; color: #94a3b8; }
@media (max-width: 767.98px) {
  html.gh-page-domreg .domain-checker-bg { padding: 24px 0 22px; }
  html.gh-page-domreg #frmDomainChecker .row > [class*='col-'] { padding: 0 14px; }
  html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box { flex-wrap: wrap; }
  html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box .form-control { flex: 1 1 100%; height: 54px; font-size: 1rem; }
  html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box .input-group-btn { flex: 1 1 100%; }
  html.gh-page-domreg #order-standard_cart .domain-checker-container .input-group-box .btn { width: 100%; height: 50px; justify-content: center; }
  .gh-pager { justify-content: center; }
  .gh-pager-info { width: 100%; text-align: center; }
}

/* ==========================================================================
   Register / search domain page: hero, popular extensions, features, steps, FAQ
   (sections from includes/hooks/genhost_pages.php, cards filled by the theme script)
   ========================================================================== */
html.gh-page-domreg #order-standard_cart .cart-body { max-width: 1160px; }
html.gh-page-domreg #order-standard_cart .domain-checker-container { margin-top: 4px; }
html.gh-page-domreg #order-standard_cart .domain-checker-bg { padding: 44px 0 34px; }

.gh-dr-hero { max-width: 760px; margin: 0 auto 24px; padding: 0 20px; text-align: center; }
.gh-dr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gh-primary-soft);
  color: var(--gh-primary-hover);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gh-dr-hero h1 { margin: 0 0 10px; color: var(--gh-text); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.gh-dr-hero p { margin: 0 auto; max-width: 600px; color: var(--gh-muted); font-size: 1rem; line-height: 1.6; }

.gh-dr-section { margin: 40px 0 0; }
.gh-dr-head { margin: 0 0 16px; }
.gh-dr-head h2 { margin: 0; color: var(--gh-text); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.gh-dr-head p { margin: 4px 0 0; color: var(--gh-muted); font-size: 0.9rem; }
.gh-dr-head-table { margin-top: 40px; }
/* WHMCS's own "Browse extensions by category" heading is replaced by the one above */
html.gh-page-domreg .domain-pricing > h4 { display: none; }

/* Popular extension cards */
.gh-dr-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gh-dr-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 20px 20px 18px;
  border: 1px solid var(--gh-border);
  border-radius: 16px;
  background: #fff;
  color: var(--gh-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.gh-dr-card:hover, .gh-dr-card:focus-visible { border-color: #f4c7c0; box-shadow: 0 14px 30px rgb(15 23 42 / 0.08); transform: translateY(-2px); }
.gh-dr-card-tld { color: var(--gh-primary); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.gh-dr-card-tag { margin-bottom: 12px; color: var(--gh-muted); font-size: 0.82rem; }
.gh-dr-card-price { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.gh-dr-card-per { color: var(--gh-muted); font-size: 0.75rem; }
.gh-dr-card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--gh-primary-hover); font-size: 0.82rem; font-weight: 800; }
.gh-dr-card-go i { font-size: 0.65rem; transition: transform 0.15s; }
.gh-dr-card:hover .gh-dr-card-go i { transform: translateX(3px); }

/* Features */
.gh-dr-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gh-dr-features li { padding: 20px; border: 1px solid var(--gh-border); border-radius: 16px; background: #fff; }
.gh-dr-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: var(--gh-primary-soft); color: var(--gh-primary); font-size: 1rem; }
.gh-dr-features h3 { margin: 0 0 4px; color: var(--gh-text); font-size: 1rem; font-weight: 800; }
.gh-dr-features p { margin: 0; color: var(--gh-muted); font-size: 0.85rem; line-height: 1.55; }

/* Steps */
.gh-dr-steps-wrap { padding: 28px; border-radius: 18px; background: var(--gh-navy, #23272E); }
.gh-dr-steps-wrap .gh-dr-head h2 { color: #fff; }
.gh-dr-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.gh-dr-steps li { padding: 18px; border-radius: 14px; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.gh-dr-steps li > span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--gh-primary); color: #fff; font-size: 0.85rem; font-weight: 800; }
.gh-dr-steps h3 { margin: 0 0 4px; color: #fff; font-size: 1rem; font-weight: 800; }
.gh-dr-steps p { margin: 0; color: rgb(255 255 255 / 0.72); font-size: 0.85rem; line-height: 1.55; }

/* Promo boxes (hosting / transfer) sit after the steps */
html.gh-page-domreg .domain-pricing ~ .row { margin-top: 26px; }

/* FAQ */
.gh-dr-faq-list { display: grid; gap: 10px; }
.gh-dr-faq details { border: 1px solid var(--gh-border); border-radius: 14px; background: #fff; }
.gh-dr-faq summary {
  position: relative;
  padding: 16px 48px 16px 20px;
  color: var(--gh-text);
  font-size: 0.95rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.gh-dr-faq summary::-webkit-details-marker { display: none; }
.gh-dr-faq summary::after {
  content: '\f067';
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -9px;
  color: var(--gh-primary);
  font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
  font-size: 0.8rem;
  font-weight: 900;
}
.gh-dr-faq details[open] summary::after { content: '\f068'; }
.gh-dr-faq details[open] summary { padding-bottom: 6px; }
.gh-dr-faq details p { margin: 0; padding: 0 20px 18px; color: var(--gh-muted); font-size: 0.88rem; line-height: 1.65; }
.gh-dr-faq summary:focus-visible { outline: 2px solid var(--gh-primary); outline-offset: 2px; border-radius: 14px; }

@media (max-width: 991.98px) {
  .gh-dr-cards, .gh-dr-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-dr-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  html.gh-page-domreg #order-standard_cart .domain-checker-bg { padding: 28px 0 24px; }
  .gh-dr-hero { padding: 0 14px; margin-bottom: 18px; }
  .gh-dr-hero p { font-size: 0.92rem; }
  .gh-dr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gh-dr-card { padding: 14px; }
  .gh-dr-card-tld { font-size: 1.35rem; }
  .gh-dr-card-tag { display: none; }
  .gh-dr-card-price { margin-top: 6px; font-size: 1.05rem; }
  .gh-dr-features { grid-template-columns: minmax(0, 1fr); }
  .gh-dr-steps-wrap { padding: 20px 16px; }
  .gh-dr-section { margin-top: 30px; }
}

/* ==========================================================================
   Store without the category sidebar (html.gh-cart-nosb, set in <head> on every
   /store/ and cart.php page): one centred column, max 1100px. On the plan list a
   grouped category bar replaces the sidebar (html.gh-has-catbar, built by
   includes/hooks/genhost_theme.php).
   ========================================================================== */
html.gh-cart-nosb #order-standard_cart { box-sizing: border-box; max-width: 1100px; margin-left: auto; margin-right: auto; }
html.gh-cart-nosb #order-standard_cart .cart-sidebar { display: none !important; }
html.gh-cart-nosb #order-standard_cart > .row > .cart-body { flex: 0 0 100%; float: none; width: 100%; max-width: 100%; }
html.gh-has-catbar #order-standard_cart .sidebar-collapsed { display: none !important; }

.gh-store-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.gh-store-head .header-lined { flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; }
#order-standard_cart .gh-store-head .header-lined h1 { margin: 0 0 6px; font-size: 1.9rem !important; line-height: 1.2; }
#order-standard_cart .gh-store-head .header-lined p { margin: 0; font-size: 0.95rem; }
.gh-store-tools { display: flex; flex: none; align-items: center; gap: 8px; }
.gh-cur-seg { display: inline-flex; padding: 3px; border: 1px solid var(--gh-border); border-radius: 10px; background: #fff; }
.gh-cur-seg button { min-width: 54px; height: 32px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--gh-muted); font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.gh-cur-seg button:hover { color: var(--gh-text); }
.gh-cur-seg button.is-on { background: var(--gh-navy); color: #fff; }

.gh-catbar { margin: 0 0 22px; border: 1px solid var(--gh-border); border-radius: 14px; background: #fff; }
.gh-cat-tabs { display: flex; gap: 4px; padding: 6px 8px 0; border-bottom: 1px solid var(--gh-border); overflow-x: auto; scrollbar-width: none; }
.gh-cat-tabs::-webkit-scrollbar { display: none; }
.gh-cat-tab { flex: none; margin-bottom: -1px; padding: 10px 14px 11px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--gh-muted); font-size: 0.9rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.gh-cat-tab:hover { color: var(--gh-text); }
.gh-cat-tab.is-on { border-bottom-color: var(--gh-primary); color: var(--gh-text); }
.gh-cat-tab:focus-visible { outline: 2px solid rgb(201 48 31 / 0.35); outline-offset: -2px; border-radius: 6px; }
.gh-cat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; }
.gh-cat-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border: 1px solid var(--gh-border); border-radius: 999px; background: #fff; color: #334155; font-size: 0.84rem; font-weight: 600; text-decoration: none !important; }
.gh-cat-chip:hover { border-color: #f4c7c0; color: var(--gh-primary); }
.gh-cat-chip.is-on { border-color: var(--gh-primary); background: var(--gh-primary-soft); color: var(--gh-primary); font-weight: 700; }

@media (max-width: 767px) {
  .gh-store-head { flex-direction: column; align-items: stretch; gap: 12px; }
  #order-standard_cart .gh-store-head .header-lined h1 { font-size: 1.45rem !important; }
  .gh-store-tools { justify-content: flex-start; }
  .gh-cat-tab { padding: 9px 11px 10px; font-size: 0.85rem; }
  .gh-cat-chips { padding: 10px 12px 12px; }
}

/* ==========================================================================
   Order steps (domain choice, configure, cart, checkout) in the client area style:
   white cards, light table header, brand-red main buttons, 44px fields.
   ========================================================================== */
html.gh-cart-nosb #order-standard_cart .header-lined h1 { margin-bottom: 6px; font-size: 1.9rem !important; }
html.gh-cart-nosb #order-standard_cart .header-lined { margin-bottom: 18px; padding-bottom: 0; border: 0; }
html.gh-cart-nosb #order-standard_cart .form-control,
html.gh-cart-nosb #order-standard_cart .field,
html.gh-cart-nosb #order-standard_cart select.form-control { min-height: 44px; border: 1px solid #d6dbe3; border-radius: 10px; box-shadow: none; color: var(--gh-text); font-size: 0.93rem; }
html.gh-cart-nosb #order-standard_cart textarea.form-control { min-height: 96px; }
html.gh-cart-nosb #order-standard_cart .form-control:focus,
html.gh-cart-nosb #order-standard_cart .field:focus { border-color: var(--gh-primary); box-shadow: 0 0 0 3px rgb(201 48 31 / 0.12); }
html.gh-cart-nosb #order-standard_cart .input-group-text { border-color: #d6dbe3; background: #f8fafc; color: var(--gh-muted); }
html.gh-cart-nosb #order-standard_cart .sub-heading { margin: 26px 0 14px; height: auto; border: 0; text-align: left; }
html.gh-cart-nosb #order-standard_cart .sub-heading span,
html.gh-cart-nosb #order-standard_cart .sub-heading-borderless span { position: static; padding: 0; background: none; color: var(--gh-text); font-size: 1.02rem; font-weight: 800; }

/* Main buttons: brand red everywhere (the stock checkout button is green). */
html.gh-cart-nosb #order-standard_cart .btn-checkout,
html.gh-cart-nosb #order-standard_cart #btnCompleteProductConfig,
html.gh-cart-nosb #order-standard_cart #btnCompleteOrder,
html.gh-cart-nosb #order-standard_cart .btn-success,
html.gh-cart-nosb #order-standard_cart .btn-primary { border-color: var(--gh-primary) !important; background: var(--gh-primary) !important; color: #fff !important; font-weight: 700; box-shadow: none; }
html.gh-cart-nosb #order-standard_cart .btn-checkout:hover,
html.gh-cart-nosb #order-standard_cart #btnCompleteProductConfig:hover,
html.gh-cart-nosb #order-standard_cart #btnCompleteOrder:hover,
html.gh-cart-nosb #order-standard_cart .btn-success:hover,
html.gh-cart-nosb #order-standard_cart .btn-primary:hover { border-color: var(--gh-primary-hover) !important; background: var(--gh-primary-hover) !important; }
html.gh-cart-nosb #order-standard_cart .btn-checkout,
html.gh-cart-nosb #order-standard_cart #btnCompleteProductConfig,
html.gh-cart-nosb #order-standard_cart #btnCompleteOrder { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border-radius: 12px; font-size: 1rem; }
html.gh-cart-nosb #order-standard_cart .btn-default { border: 1px solid #d6dbe3; border-radius: 10px; background: #fff; color: var(--gh-text); font-weight: 600; }

/* Order summary: white card (same as the renewals page). */
html.gh-cart-nosb #order-standard_cart .order-summary { margin: 0; border: 1px solid var(--gh-border); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.05); overflow: hidden; }
html.gh-cart-nosb #order-standard_cart .order-summary h2 { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--gh-border); background: none; color: var(--gh-text); font-size: 0.8rem !important; font-weight: 800; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; }
html.gh-cart-nosb #order-standard_cart .order-summary .loader { top: 14px; padding-right: 18px; color: var(--gh-muted); }
html.gh-cart-nosb #order-standard_cart .summary-container { min-height: 0; padding: 14px 18px 16px; border-radius: 0; background: #fff; color: var(--gh-text); font-size: 0.875rem; }
html.gh-cart-nosb #order-standard_cart .order-summary .product-name { margin: 0 0 4px; color: var(--gh-text); font-size: 0.95rem; font-weight: 800; }
html.gh-cart-nosb #order-standard_cart .order-summary .product-group { color: var(--gh-muted); font-size: 0.8rem; }
html.gh-cart-nosb #order-standard_cart .summary-container > .clearfix { padding: 4px 0; }
html.gh-cart-nosb #order-standard_cart .order-summary .subtotal,
html.gh-cart-nosb #order-standard_cart .order-summary .bordered-totals { margin: 8px 0 0; padding: 10px 0; border-top: 1px solid var(--gh-border); border-bottom: 0; color: var(--gh-muted); font-size: 0.875rem; }
html.gh-cart-nosb #order-standard_cart .order-summary .summary-totals { margin: 8px 0 0; padding: 10px 0 8px; border-top: 1px solid var(--gh-border); border-bottom: 0; }
html.gh-cart-nosb #order-standard_cart .order-summary .total-due-today { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--gh-border); }
html.gh-cart-nosb #order-standard_cart .order-summary .total-due-today .amt { color: var(--gh-text); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
html.gh-cart-nosb #order-standard_cart .order-summary .total-due-today span:not(.amt) { color: var(--gh-muted); font-size: 0.78rem; }
html.gh-cart-nosb #order-standard_cart #continueShopping { color: var(--gh-muted); font-size: 0.86rem; font-weight: 600; }

/* Cart items: a white card with a light header row (not the stock blue bar). */
html.gh-cart-nosb #order-standard_cart .view-cart-items-header { padding: 11px 16px; border: 1px solid var(--gh-border); border-bottom: 0; border-radius: 14px 14px 0 0; background: #f8fafc; color: #64748b; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
html.gh-cart-nosb #order-standard_cart .view-cart-items { margin-bottom: 18px; border: 1px solid var(--gh-border); border-radius: 0 0 14px 14px; background: #fff; overflow: hidden; }
html.gh-cart-nosb #order-standard_cart .view-cart-items .item { padding: 14px 16px; border-bottom: 1px solid #eef1f5; background: #fff; }
html.gh-cart-nosb #order-standard_cart .view-cart-items .item:last-child { border-bottom: 0; }
html.gh-cart-nosb #order-standard_cart .view-cart-items .item-title { color: var(--gh-text); font-size: 0.95rem; font-weight: 800; }
html.gh-cart-nosb #order-standard_cart .view-cart-items .item-group,
html.gh-cart-nosb #order-standard_cart .view-cart-items .item-domain { color: var(--gh-muted); font-size: 0.82rem; }
html.gh-cart-nosb #order-standard_cart .view-cart-items .item-price span:first-child { color: var(--gh-text); font-weight: 800; }
html.gh-cart-nosb #order-standard_cart .view-cart-items .btn-link,
html.gh-cart-nosb #order-standard_cart .view-cart-items .btn-remove-from-cart { color: var(--gh-muted); }
html.gh-cart-nosb #order-standard_cart .view-cart-items .btn-remove-from-cart:hover { color: var(--gh-danger, #b91c1c); }
html.gh-cart-nosb #order-standard_cart .view-cart-empty { padding: 28px 16px; color: var(--gh-muted); text-align: center; }
html.gh-cart-nosb #order-standard_cart .empty-cart .btn { border: 0; background: none; color: var(--gh-muted); font-size: 0.82rem; }
html.gh-cart-nosb #order-standard_cart .empty-cart .btn:hover { color: var(--gh-danger, #b91c1c); }

/* Promo code / estimate taxes: one white card with small tabs. */
html.gh-cart-nosb #order-standard_cart .view-cart-tabs { border: 1px solid var(--gh-border); border-radius: 14px; background: #fff; overflow: hidden; }
html.gh-cart-nosb #order-standard_cart .view-cart-tabs .nav-tabs { gap: 4px; padding: 6px 10px 0; border-bottom: 1px solid var(--gh-border); background: #fff; }
html.gh-cart-nosb #order-standard_cart .view-cart-tabs .nav-tabs .nav-link,
html.gh-cart-nosb #order-standard_cart .view-cart-tabs .nav-tabs a { margin-bottom: -1px; padding: 10px 12px 11px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--gh-muted); font-size: 0.86rem; font-weight: 700; }
html.gh-cart-nosb #order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active,
html.gh-cart-nosb #order-standard_cart .view-cart-tabs .nav-tabs .active > a { border-bottom-color: var(--gh-primary); color: var(--gh-text); }
html.gh-cart-nosb #order-standard_cart .view-cart-tabs .tab-content { padding: 16px; border: 0; }
html.gh-cart-nosb #order-standard_cart .view-cart-tabs .tab-content .btn-block { min-height: 44px; border: 1px solid var(--gh-primary); border-radius: 10px; background: #fff; color: var(--gh-primary); font-weight: 700; }
html.gh-cart-nosb #order-standard_cart .view-cart-tabs .tab-content .btn-block:hover { background: var(--gh-primary-soft); }

/* Choose a domain: each option a bordered row, the chosen one outlined in red. */
html.gh-cart-nosb #order-standard_cart .domain-selection-options { display: grid; gap: 10px; margin: 0 0 18px; }
html.gh-cart-nosb #order-standard_cart .domain-selection-options .option { margin: 0; padding: 14px 16px; border: 1px solid var(--gh-border); border-radius: 12px; background: #fff; }
html.gh-cart-nosb #order-standard_cart .domain-selection-options .option-selected { border-color: var(--gh-primary); background: #fff; box-shadow: 0 0 0 1px var(--gh-primary); }
html.gh-cart-nosb #order-standard_cart .domain-selection-options .option > label { margin: 0; color: var(--gh-text); font-size: 0.93rem; font-weight: 700; }
html.gh-cart-nosb #order-standard_cart .domain-selection-options .domain-input-group { margin: 12px 0 2px; padding: 0; background: none; }
html.gh-cart-nosb #order-standard_cart .domain-selection-options .domain-input-group .btn { min-height: 44px; border-radius: 10px; }

/* Configure product: product box and option fields. */
html.gh-cart-nosb #order-standard_cart .product-info { margin-bottom: 18px; padding: 16px 18px; border: 1px solid var(--gh-border); border-radius: 14px; background: #fff; }
html.gh-cart-nosb #order-standard_cart .product-info .product-title { margin: 0 0 4px; color: var(--gh-text); font-size: 1.1rem; font-weight: 800; }
html.gh-cart-nosb #order-standard_cart .product-info p { color: var(--gh-muted); font-size: 0.88rem; }
html.gh-cart-nosb #order-standard_cart .field-container label,
html.gh-cart-nosb #order-standard_cart .product-configurable-options label { color: var(--gh-text); font-size: 0.86rem; font-weight: 700; }
html.gh-cart-nosb #order-standard_cart .field-help-text { color: var(--gh-muted); font-size: 0.8rem; }

/* Checkout: account, payment and terms. */
html.gh-cart-nosb #order-standard_cart .already-registered { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--gh-border); border-radius: 12px; background: #fff; }
html.gh-cart-nosb #order-standard_cart .already-registered p { margin: 0; color: var(--gh-muted); }
html.gh-cart-nosb #order-standard_cart #paymentGatewaysContainer label { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0; padding: 10px 14px; border: 1px solid var(--gh-border); border-radius: 10px; background: #fff; font-weight: 600; cursor: pointer; }
html.gh-cart-nosb #order-standard_cart #paymentGatewaysContainer label:has(input:checked) { border-color: var(--gh-primary); box-shadow: 0 0 0 1px var(--gh-primary); }
html.gh-cart-nosb #order-standard_cart .prepend-icon .field-icon { top: 0; height: 44px; line-height: 44px; color: #94a3b8; }
/* Configure page: plan features in two compact columns, folded (genhost_theme.php adds .gh-pi). */
html.gh-cart-nosb #order-standard_cart .product-info.gh-pi { position: relative; }
html.gh-cart-nosb #order-standard_cart .gh-pi ul { columns: 2; column-gap: 24px; margin: 0 0 6px; padding: 0; list-style: none; }
html.gh-cart-nosb #order-standard_cart .gh-pi li { position: relative; break-inside: avoid; padding: 3px 0 3px 18px; color: #475569; font-size: 0.84rem; line-height: 1.45; }
html.gh-cart-nosb #order-standard_cart .gh-pi li::before { content: ""; position: absolute; top: 9px; left: 2px; width: 7px; height: 4px; border-bottom: 2px solid var(--gh-success, #15803d); border-left: 2px solid var(--gh-success, #15803d); transform: rotate(-45deg); }
html.gh-cart-nosb #order-standard_cart .gh-pi li b, html.gh-cart-nosb #order-standard_cart .gh-pi li strong { color: var(--gh-text); }
html.gh-cart-nosb #order-standard_cart .gh-pi br { display: none; }
html.gh-cart-nosb #order-standard_cart .gh-pi ul + ul { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e5e9f0; }
html.gh-cart-nosb #order-standard_cart .gh-pi.is-folded { max-height: 290px; overflow: hidden; }
html.gh-cart-nosb #order-standard_cart .gh-pi.is-folded::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 84px; background: linear-gradient(rgb(255 255 255 / 0), #fff 70%); pointer-events: none; }
html.gh-cart-nosb #order-standard_cart .gh-pi-more { position: relative; z-index: 1; display: block; margin: 8px auto 0; padding: 6px 14px; border: 1px solid #d6dbe3; border-radius: 999px; background: #fff; color: var(--gh-text); font-size: 0.82rem; font-weight: 700; cursor: pointer; }
html.gh-cart-nosb #order-standard_cart .gh-pi.is-folded .gh-pi-more { position: absolute; right: 0; bottom: 12px; left: 0; width: max-content; }
@media (max-width: 575.98px) { html.gh-cart-nosb #order-standard_cart .gh-pi ul { columns: 1; } }
html.gh-cart-nosb #order-standard_cart #btnCompleteProductConfig { margin-top: 12px; }

/* "www." joined to the domain box (no gap or inner rounding). */
html.gh-cart-nosb #order-standard_cart .input-group > .input-group-prepend > .input-group-text { height: 100%; min-height: 44px; border-radius: 10px 0 0 10px; }
html.gh-cart-nosb #order-standard_cart .input-group > .input-group-prepend + .form-control,
html.gh-cart-nosb #order-standard_cart .input-group > .input-group-prepend + input { margin-left: -1px; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
html.gh-cart-nosb #order-standard_cart .input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }

/* Configure page: link to the plan's page on genhost.in. */
html.gh-cart-nosb #order-standard_cart .gh-pi-link { margin: -6px 0 20px; color: var(--gh-muted); font-size: 0.86rem; }
html.gh-cart-nosb #order-standard_cart .gh-pi-link a { color: var(--gh-primary); font-weight: 700; }
html.gh-cart-nosb #order-standard_cart .gh-pi-link a i { margin-left: 5px; font-size: 0.72rem; }

/* Billing cycle as cards with the saving (like the pricing on genhost.in). */
html.gh-cart-nosb #order-standard_cart .gh-cycle-select { display: none !important; }
html.gh-cart-nosb #order-standard_cart .gh-cycles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 4px 0 18px; }
html.gh-cart-nosb #order-standard_cart .gh-cycle { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 96px; padding: 12px 14px; border: 1px solid #d6dbe3; border-radius: 12px; background: #fff; color: var(--gh-text); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
html.gh-cart-nosb #order-standard_cart .gh-cycle:hover { border-color: #b8c0cc; }
html.gh-cart-nosb #order-standard_cart .gh-cycle:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgb(201 48 31 / 0.18); }
html.gh-cart-nosb #order-standard_cart .gh-cycle.is-on { border-color: var(--gh-primary); background: #fffafa; box-shadow: 0 0 0 1px var(--gh-primary); }
html.gh-cart-nosb #order-standard_cart .gh-cycle-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
html.gh-cart-nosb #order-standard_cart .gh-cycle-top b { font-size: 0.86rem; font-weight: 800; }
html.gh-cart-nosb #order-standard_cart .gh-cycle-top em { padding: 2px 7px; border-radius: 999px; background: #e8f7ee; color: #15803d; font-size: 0.7rem; font-style: normal; font-weight: 800; }
html.gh-cart-nosb #order-standard_cart .gh-cycle-price { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
html.gh-cart-nosb #order-standard_cart .gh-cycle small { color: var(--gh-muted); font-size: 0.76rem; line-height: 1.35; }

/* Checkout: New customer / I have an account. */
html.gh-cart-nosb #order-standard_cart .gh-acct-tabs { display: inline-flex; gap: 4px; margin: 0 0 18px; padding: 4px; border: 1px solid var(--gh-border); border-radius: 12px; background: #fff; }
html.gh-cart-nosb #order-standard_cart .gh-acct-tabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: none; color: var(--gh-muted); font-size: 0.88rem; font-weight: 700; cursor: pointer; }
html.gh-cart-nosb #order-standard_cart .gh-acct-tabs button.is-on { background: var(--gh-navy); color: #fff; }
html.gh-cart-nosb #order-standard_cart .already-registered.gh-acct-hidden { display: none; }
html.gh-cart-nosb #order-standard_cart #containerExistingUserSignin,
html.gh-cart-nosb #order-standard_cart #containerNewUserSignup { margin-bottom: 8px; }
/* Billing cycle cards: 3 even columns, the saving as a corner badge. */
html.gh-cart-nosb #order-standard_cart .gh-cycles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.gh-cart-nosb #order-standard_cart .gh-cycle { position: relative; min-height: 92px; }
html.gh-cart-nosb #order-standard_cart .gh-cycle-top { padding-right: 70px; }
html.gh-cart-nosb #order-standard_cart .gh-cycle-top em { position: absolute; top: 10px; right: 10px; }
@media (max-width: 575.98px) { html.gh-cart-nosb #order-standard_cart .gh-cycles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Checkout steps for new customers (genhost_theme.php): same look as the /register steps. */
#order-standard_cart .gh-st-off { display: none !important; }
#order-standard_cart .gh-co-steps { display: flex; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
#order-standard_cart .gh-co-steps li { flex: 1 1 0; min-width: 0; }
#order-standard_cart .gh-co-steps button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0 0 10px; border: 0; border-bottom: 3px solid var(--gh-border); background: none; color: #94a3b8; font-size: 0.86rem; font-weight: 700; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
#order-standard_cart .gh-co-steps button:disabled { cursor: default; }
#order-standard_cart .gh-co-steps button span { display: inline-grid; flex: none; place-items: center; width: 24px; height: 24px; border: 1px solid #d6dbe3; border-radius: 50%; font-size: 0.76rem; }
#order-standard_cart .gh-co-steps .is-on button { border-bottom-color: var(--gh-primary); color: var(--gh-text); }
#order-standard_cart .gh-co-steps .is-on button span { border-color: var(--gh-primary); background: var(--gh-primary); color: #fff; }
#order-standard_cart .gh-co-steps .is-done button { border-bottom-color: #f1b7b0; color: var(--gh-text); }
#order-standard_cart .gh-co-steps .is-done button span { border-color: #f1b7b0; color: var(--gh-primary); }
#order-standard_cart .gh-co-nav { display: flex; gap: 10px; margin: 8px 0 24px; padding-top: 20px; border-top: 1px solid var(--gh-border); }
#order-standard_cart .gh-co-nav[hidden], #order-standard_cart .gh-co-nav [hidden] { display: none !important; }
#order-standard_cart .gh-co-nav .btn { min-height: 46px; padding: 0 22px; border-radius: 10px; font-size: 0.95rem; font-weight: 700; }
#order-standard_cart .gh-co-nav .gh-reg-next { flex: 1; }
#order-standard_cart .gh-co-nav.is-top { margin: 0 0 6px; padding-top: 0; border-top: 0; }
#order-standard_cart .gh-co-nav.is-top .gh-reg-back { min-height: 36px; padding: 0 14px; font-size: 0.86rem; }
#order-standard_cart .gh-co-nav.is-top .gh-reg-back::before { content: "\2190"; margin-right: 6px; }
@media (max-width: 575.98px) {
  #order-standard_cart .gh-co-steps button { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.76rem; white-space: normal; }
}

/* Radio buttons and tick boxes (WHMCS's iCheck) in the brand red instead of blue. */
#order-standard_cart .iradio_square-blue,
#order-standard_cart .icheckbox_square-blue,
.iradio_square-blue, .icheckbox_square-blue { box-sizing: border-box; width: 20px !important; height: 20px !important; border: 1.5px solid #c4cbd5; border-radius: 50%; background: #fff !important; vertical-align: middle; transition: border-color .15s; }
.icheckbox_square-blue { border-radius: 6px; }
.iradio_square-blue.hover, .icheckbox_square-blue.hover { border-color: var(--gh-primary); }
.iradio_square-blue.checked { border: 6px solid var(--gh-primary); }
.icheckbox_square-blue.checked { border-color: var(--gh-primary); background: var(--gh-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat !important; }
.iradio_square-blue.disabled, .icheckbox_square-blue.disabled { opacity: .5; }

/* Secure order notice: a quiet line in the theme style instead of the yellow box. */
#order-standard_cart .checkout-security-msg,
.checkout-security-msg { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 12px 16px; border: 1px solid var(--gh-border); border-radius: 12px; background: #fff; color: var(--gh-muted); font-size: 0.82rem; line-height: 1.5; text-align: left; }
.checkout-security-msg i, .checkout-security-msg .fa-lock { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 !important; border-radius: 50%; background: #e8f7ee; color: #15803d; font-size: 0.9rem !important; float: none !important; }
.checkout-security-msg strong { color: var(--gh-text); }

/* Store currency toggle with the flag / globe. */
.gh-cur-seg button { display: inline-flex; align-items: center; gap: 7px; }
.gh-cur-seg-ico { display: inline-grid; place-items: center; line-height: 0; }
.gh-cur-seg-ico svg { border-radius: 2px; }
.gh-cur-seg-ico .fa-globe-americas { color: #2563eb; font-size: 0.95rem; }
.gh-cur-seg button.is-on .fa-globe-americas { color: #93c5fd; }
/* Ticked radio / box: these must beat the #order-standard_cart base rule above. */
#order-standard_cart .iradio_square-blue.checked, .iradio_square-blue.checked { border: 6px solid var(--gh-primary); }
#order-standard_cart .icheckbox_square-blue.checked, .icheckbox_square-blue.checked { border-color: var(--gh-primary); background: var(--gh-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat !important; }
#order-standard_cart .icheckbox_square-blue { border-radius: 6px; }
#order-standard_cart .iradio_square-blue.hover, #order-standard_cart .icheckbox_square-blue.hover { border-color: var(--gh-primary); }
/* Secure notice: text flows normally (the IP stays inline), lock badge on the left. */
#order-standard_cart .checkout-security-msg, .checkout-security-msg { position: relative; display: block; padding: 12px 16px 12px 60px; }
.checkout-security-msg i, .checkout-security-msg .fa-lock { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); }
.checkout-security-msg strong { padding: 0 1px; }
/* Total due today: a plain line in the theme style instead of the green box. */
#order-standard_cart div#totalDueToday.alert { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--gh-border); border-radius: 12px; background: #fff; color: var(--gh-muted); font-size: 0.9rem; text-align: left; }
#order-standard_cart div#totalDueToday.alert strong { color: var(--gh-text); font-size: 1.25rem; font-weight: 800; }
#order-standard_cart #paymentGatewaysContainer > p { margin-bottom: 10px; color: var(--gh-text); font-size: 0.86rem !important; font-weight: 700; }
#order-standard_cart #paymentGatewaysContainer .text-center { text-align: left !important; }
/* Checkout end: mailing list heading like the other section headings, terms aligned left. */
#order-standard_cart .marketing-email-optin { margin: 22px 0 6px; }
#order-standard_cart .marketing-email-optin h4 { margin: 0 0 6px; color: var(--gh-text); font-size: 1.02rem !important; font-weight: 800; }
#order-standard_cart .marketing-email-optin p { color: var(--gh-muted); font-size: 0.86rem; }
#order-standard_cart #btnCompleteOrder { margin-top: 4px; }
#order-standard_cart #btnCompleteOrder ~ * { text-align: left; }
#order-standard_cart #frmCheckout > .text-center { text-align: left !important; }
#order-standard_cart #frmCheckout > .text-center .checkbox-inline { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 14px; padding-left: 0; color: var(--gh-muted); font-size: 0.9rem; }
#order-standard_cart #frmCheckout > .text-center .checkbox-inline a { color: var(--gh-primary); font-weight: 700; }

/* Order summary (cart): no rule above the first row; the total right-aligned and large. */
html.gh-cart-nosb #order-standard_cart .summary-container > .subtotal:first-child,
html.gh-cart-nosb #order-standard_cart .summary-container > div:first-child:empty + .subtotal { margin-top: 0; padding-top: 2px; border-top: 0; }
html.gh-cart-nosb #order-standard_cart .summary-container > div:empty { display: none; }
html.gh-cart-nosb #order-standard_cart .order-summary .recurring-totals { padding: 6px 0 10px; color: var(--gh-muted); font-size: 0.82rem; }
html.gh-cart-nosb #order-standard_cart .order-summary .recurring-charges { font-style: normal; text-align: right; }
html.gh-cart-nosb #order-standard_cart .order-summary .total-due-today { text-align: right; }
html.gh-cart-nosb #order-standard_cart .order-summary .total-due-today .amt { display: block; }

/* Trust block under the cart / configure button (genhost_theme.php). */
#order-standard_cart .gh-trust { margin: 16px 0 2px; padding-top: 14px; border-top: 1px solid var(--gh-border); text-align: center; }
#order-standard_cart .gh-trust-mb { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; color: var(--gh-text); font-size: 0.86rem; font-weight: 600; }
#order-standard_cart .gh-trust-mb i { color: #15803d; }
#order-standard_cart .gh-trust-h { margin: 0 0 8px; color: var(--gh-text); font-size: 0.8rem; font-weight: 800; }
#order-standard_cart .gh-trust-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
#order-standard_cart .gh-trust-pay li { display: grid; place-items: center; width: 50px; height: 28px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; }
#order-standard_cart .gh-trust-pay svg { width: 46px; height: 23px; }
#order-standard_cart #btnCompleteProductConfig + .gh-trust { padding: 14px 14px 2px; border: 1px solid var(--gh-border); border-radius: 14px; background: #fff; }
#order-standard_cart .gh-trust-pay { gap: 4px; }
#order-standard_cart .gh-trust-pay li { width: 41px; height: 26px; }
#order-standard_cart .gh-trust-pay svg { width: 39px; height: 20px; }

/* Remove item / Empty cart confirmations (.modal-remove-item): compact, centred, theme style. */
.modal-remove-item .modal-dialog { display: flex; align-items: center; max-width: 380px; min-height: calc(100% - 3.5rem); margin: 1.75rem auto; }
.modal-remove-item .modal-content { width: 100%; border: 1px solid var(--gh-border); border-radius: 16px; box-shadow: 0 24px 60px rgb(15 23 42 / 0.25); overflow: hidden; }
.modal-remove-item .modal-body { position: relative; padding: 26px 24px 6px; text-align: center; }
.modal-remove-item .modal-body .close { position: absolute; top: 12px; right: 14px; margin: 0; padding: 4px; color: #94a3b8; font-size: 1.3rem; opacity: 1; text-shadow: none; }
.modal-remove-item .modal-body .close:hover { color: var(--gh-text); }
.modal-remove-item .modal-body h4 { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 0 8px; color: var(--gh-text); font-size: 1.1rem; font-weight: 800; }
.modal-remove-item .modal-body h4 i,
.modal-remove-item .modal-body h4 .fa-3x { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gh-primary-soft); color: var(--gh-primary); font-size: 1.25rem !important; }
.modal-remove-item .modal-body h4 + br, .modal-remove-item .modal-body br { display: none; }
.modal-remove-item .modal-body p, .modal-remove-item .modal-body { color: var(--gh-muted); font-size: 0.9rem; line-height: 1.5; }
.modal-remove-item .modal-footer { display: flex; gap: 10px; justify-content: center; padding: 14px 24px 22px; border: 0; }
.modal-remove-item .modal-footer > * { margin: 0; }
.modal-remove-item .modal-footer .btn { flex: 1; min-height: 42px; border-radius: 10px; font-size: 0.92rem; font-weight: 700; }
.modal-remove-item .modal-footer .btn-default { border: 1px solid #d6dbe3; background: #fff; color: var(--gh-text); }
.modal-remove-item .modal-footer .btn-default:hover { border-color: #b8c0cc; background: #f8fafc; }
.modal-remove-item .modal-footer .btn-primary,
.modal-remove-item .modal-footer .btn-danger { border-color: var(--gh-primary) !important; background: var(--gh-primary) !important; color: #fff !important; }
.modal-remove-item .modal-footer .btn-primary:hover,
.modal-remove-item .modal-footer .btn-danger:hover { border-color: var(--gh-primary-hover) !important; background: var(--gh-primary-hover) !important; }
@media (max-width: 575.98px) { .modal-remove-item .modal-dialog { margin: 1rem 16px; min-height: calc(100% - 2rem); } }
.modal-remove-item .modal-body > .float-right { position: absolute; top: 10px; right: 12px; float: none !important; }
.modal-remove-item .modal-body > .float-right .close { position: static; }
.modal-remove-item .modal-body h4 { margin-bottom: 8px !important; }
.modal-remove-item .modal-body h4 i { line-height: 1 !important; vertical-align: 0 !important; }
.modal-remove-item .modal-body h4 i::before { display: block; line-height: 1; }
.modal-remove-item .modal-body h4 i { display: grid !important; place-items: center; padding: 0 !important; margin: 0 auto !important; }

/* Payment logos: official files at one height, centred in even tiles. */
#order-standard_cart .gh-trust-pay { gap: 6px; }
#order-standard_cart .gh-trust-pay li { display: flex; align-items: center; justify-content: center; width: 54px; height: 32px; padding: 0 6px; border: 1px solid #e2e8f0; border-radius: 7px; background: #fff; }
#order-standard_cart .gh-trust-pay li img { display: block; width: auto; max-width: 100%; height: auto; max-height: 16px; object-fit: contain; }
#order-standard_cart .gh-trust-pay li img[src$="mastercard.svg"] { max-height: 20px; }
#order-standard_cart .gh-trust-pay li img[src$="phonepe.svg"], #order-standard_cart .gh-trust-pay li img[src$="paypal.svg"] { max-height: 15px; }
#order-standard_cart .gh-trust-pay li.is-text { gap: 4px; width: auto; padding: 0 8px; color: #1e3a8a; font-size: 0.66rem; font-weight: 800; line-height: 1.1; white-space: nowrap; }
#order-standard_cart .gh-trust-pay li.is-text i { font-size: 0.8rem; }

/* Configure page: summary, Continue and the trust block in one card. */
html.gh-cart-nosb #order-standard_cart .order-summary.gh-sum-card .gh-sum-actions { margin: 0; padding: 2px 18px 0; background: #fff; }
html.gh-cart-nosb #order-standard_cart .order-summary.gh-sum-card #btnCompleteProductConfig { margin-top: 0; }
html.gh-cart-nosb #order-standard_cart .order-summary.gh-sum-card .gh-trust { margin: 16px 18px 0; padding: 14px 0 18px; border: 0; border-top: 1px solid var(--gh-border); border-radius: 0; background: #fff; }
/* Logo tiles: equal height, each logo at its natural width (no squashing). */
#order-standard_cart .gh-trust-pay { gap: 6px; }
#order-standard_cart .gh-trust-pay li { width: auto; min-width: 46px; height: 30px; padding: 0 8px; }
#order-standard_cart .gh-trust-pay li img { width: auto; max-width: none; height: 14px; max-height: none; }
#order-standard_cart .gh-trust-pay li img[src$="mastercard.svg"] { height: 20px; }
#order-standard_cart .gh-trust-pay li img[src$="gpay.svg"] { height: 20px; }
#order-standard_cart .gh-trust-pay li img[src$="upi.svg"] { height: 16px; }
#order-standard_cart .gh-trust-pay li img[src$="phonepe.svg"] { height: 15px; }
#order-standard_cart .gh-trust-pay li img[src$="bitcoin.svg"] { height: 15px; }
#order-standard_cart .gh-trust-pay li img[src$="visa.svg"] { height: 13px; }

/* Domain step: the check in progress is one quiet line in a card; Continue only once WHMCS enables it. */
#order-standard_cart #DomainSearchResults { margin: 4px 0 0; }
#order-standard_cart #primaryLookupSearching.domain-lookup-primary-loader { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--gh-border); border-radius: 12px; background: #fff; color: var(--gh-muted); font-size: 0.92rem !important; font-weight: 600; text-align: left; }
#order-standard_cart #primaryLookupSearching i { color: var(--gh-primary); font-size: 1rem; }
#order-standard_cart #btnDomainContinue[disabled] { display: none !important; }
#order-standard_cart #frmProductDomainSelections > .text-center { text-align: right !important; }
#order-standard_cart #btnDomainContinue { min-height: 46px; padding: 0 26px; border-radius: 10px; font-size: 0.95rem; font-weight: 700; }

/* Configure page: "Have questions? Contact our sales team" as a quiet help line, one icon, left aligned. */
#order-standard_cart .alert.info-text-sm { display: block; margin: 8px 0 0; padding: 12px 16px; border: 1px solid var(--gh-border); border-radius: 12px; background: #fff; color: var(--gh-muted); font-size: 0.88rem; text-align: left !important; }
#order-standard_cart .alert.info-text-sm::before { content: none; }
#order-standard_cart .alert.info-text-sm > i { margin-right: 8px; color: var(--gh-primary); font-size: 1rem; vertical-align: -1px; }
#order-standard_cart .alert.info-text-sm .alert-link { color: var(--gh-primary); font-weight: 700; text-decoration: none; }
#order-standard_cart .alert.info-text-sm .alert-link:hover { text-decoration: underline; }
