/* ==========================================================
   HOAWebHost store, cart & checkout theme
   Loaded from templates/kohost/header.tpl (version-stamped so Cloudflare serves the latest copy)
   Text fields stay white with black text (site-wide rule in hoawebhost-header.css).
   ========================================================== */

/* ---------- Inner-page title banner (all pages that have one) ---------- */
section.tt-page-header {
  background: radial-gradient(circle at 82% 0%, rgba(55, 30, 84, .6), transparent 50%),
              radial-gradient(circle at 10% 100%, rgba(7, 54, 219, .25), transparent 45%),
              linear-gradient(145deg, #030d23, #0a1f50) !important;
  border-bottom: 1px solid rgba(110, 220, 255, .18);
}
section.tt-page-header .tt-breadcrumb,
section.tt-page-header .tt-breadcrumb * { background: transparent !important; color: #9fc3dd !important; box-shadow: none !important; }
section.tt-page-header .tt-breadcrumb::before,
section.tt-page-header .tt-breadcrumb::after { display: none !important; }
section.tt-page-header .tt-breadcrumb a:hover { color: #fff !important; }
section.tt-page-header .tt-triangle-right,
section.tt-page-header .tt-triangle-left { display: none !important; }

/* ---------- Cart pages: navy background ---------- */
body:has(#order-standard_cart),
body:has(#order-standard_cart) #main-body {
  background: radial-gradient(circle at 82% 8%, rgba(55, 30, 84, .45), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(7, 54, 219, .2), transparent 42%),
              linear-gradient(145deg, #030d23, #081a46) !important;
}
#order-standard_cart { color: #cfe9ff; }

/* Order Summary + Checkout button must always show */
#order-standard_cart .secondary-cart-sidebar { display: block !important; }

/* Headings */
#order-standard_cart h1, #order-standard_cart h2, #order-standard_cart h3, #order-standard_cart h4,
#order-standard_cart .font-size-22, #order-standard_cart .font-size-30,
#order-standard_cart .header-lined, #order-standard_cart .header-lined h1 { color: #fff !important; }
#order-standard_cart .sub-heading { border-color: rgba(110, 220, 255, .25) !important; }
#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading .primary-bg-color {
  background: #0a1c45 !important; color: #fff !important;
  border-radius: 8px; padding: 2px 12px;
}

/* Text, labels, links */
#order-standard_cart label, #order-standard_cart p, #order-standard_cart .form-check-label,
#order-standard_cart .field-help-text, #order-standard_cart .small, #order-standard_cart small { color: #cfe9ff; }
#order-standard_cart .text-muted { color: #9fc3dd !important; }
#order-standard_cart a:not(.btn) { color: #7fe0ff; }
#order-standard_cart a:not(.btn):hover { color: #fff; }

/* Panels and cards */
#order-standard_cart .view-cart-items,
#order-standard_cart .view-cart-tabs,
#order-standard_cart .view-cart-tabs .tab-content,
#order-standard_cart .panel, #order-standard_cart .card,
#order-standard_cart .domain-selection-options,
#order-standard_cart .domain-selection-options .option,
#order-standard_cart .product-info,
#order-standard_cart .products .product,
#order-standard_cart .well {
  background: linear-gradient(160deg, rgba(14, 40, 90, .62), rgba(9, 20, 45, .75)) !important;
  border: 1px solid rgba(110, 220, 255, .25) !important;
  border-radius: 14px !important;
  color: #cfe9ff !important;
  box-shadow: none !important;
}
#order-standard_cart .panel-heading, #order-standard_cart .card-header,
#order-standard_cart .view-cart-items-header {
  background: rgba(60, 196, 255, .12) !important;
  border-color: rgba(110, 220, 255, .25) !important;
  color: #fff !important;
}
#order-standard_cart .view-cart-items .item { border-color: rgba(255, 255, 255, .08) !important; background: transparent !important; }
#order-standard_cart .view-cart-items .item-title,
#order-standard_cart .view-cart-items .item-price,
#order-standard_cart .view-cart-items .item-price span { color: #fff !important; }
#order-standard_cart .view-cart-items .item-group,
#order-standard_cart .view-cart-items .item-domain,
#order-standard_cart .view-cart-items .item-price .cycle { color: #9fc3dd !important; }
#order-standard_cart .view-cart-tabs .nav-tabs { border-color: rgba(110, 220, 255, .25) !important; }
#order-standard_cart .view-cart-tabs .nav-tabs a,
#order-standard_cart .nav-tabs .nav-link {
  background: rgba(9, 20, 45, .6) !important; color: #cfe9ff !important;
  border-color: rgba(110, 220, 255, .25) !important;
}
#order-standard_cart .view-cart-tabs .nav-tabs .active a,
#order-standard_cart .nav-tabs .nav-link.active { background: rgba(60, 196, 255, .18) !important; color: #fff !important; }

/* Order Summary */
#order-standard_cart .order-summary {
  background: linear-gradient(160deg, #0e285a, #080e26) !important;
  border: 1px solid rgba(110, 220, 255, .38) !important;
  border-radius: 18px !important;
  box-shadow: 0 0 36px rgba(22, 122, 249, .28) !important;
  overflow: hidden;
}
#order-standard_cart .order-summary h2 { color: #fff !important; }
#order-standard_cart .order-summary .summary-container { background: transparent !important; color: #cfe9ff !important; }
#order-standard_cart .order-summary .summary-container * { color: #cfe9ff; }
#order-standard_cart .order-summary .total-due-today .amt,
#order-standard_cart .order-summary .total-due-today span.amt { color: #00f3f4 !important; text-shadow: 0 0 10px rgba(0, 243, 244, .45); }
#order-standard_cart .order-summary .loader { background: rgba(5, 13, 37, .7) !important; }

/* Buttons */
#order-standard_cart .btn-primary,
#order-standard_cart .btn-checkout,
#order-standard_cart #btnCompleteOrder,
#order-standard_cart .btn-success {
  background: linear-gradient(105deg, #00f3f4, #1682f7) !important;
  border: 0 !important;
  color: #05122e !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  box-shadow: 0 0 18px rgba(0, 243, 244, .35) !important;
}
#order-standard_cart .btn-primary:hover,
#order-standard_cart .btn-checkout:hover,
#order-standard_cart #btnCompleteOrder:hover { box-shadow: 0 0 28px rgba(0, 243, 244, .6) !important; }
#order-standard_cart .btn-default, #order-standard_cart .btn-info, #order-standard_cart .btn-link,
#order-standard_cart .btn-continue-shopping {
  background: rgba(9, 20, 45, .6) !important;
  border: 1px solid rgba(110, 220, 255, .5) !important;
  color: #dff6ff !important;
  border-radius: 12px !important;
}
#order-standard_cart .btn-danger, #order-standard_cart .btn-remove-from-cart { color: #ff8fa3 !important; }
#order-standard_cart .empty-cart .btn { background: rgba(255, 77, 109, .14) !important; color: #ffb3c1 !important; border-color: rgba(255, 77, 109, .4) !important; }

/* Domain step: the two choices (new domain / existing domain) */
#order-standard_cart .domain-selection-options .option { padding: 16px 18px !important; margin-bottom: 12px !important; }
#order-standard_cart .domain-selection-options .option label { color: #fff !important; font-weight: 700 !important; font-size: 15px !important; }
#order-standard_cart .domain-selection-options .option label:has(input[value="register"])::after {
  content: "  ·  from $12.99/yr  ·  1–3 years"; color: #00f3f4; font-weight: 600;
}
#order-standard_cart .domain-selection-options .option label:has(input[value="owndomain"])::after {
  content: "  ·  no charge"; color: #7cf7a8; font-weight: 600;
}

/* Domain step: "www." prefix box */
#order-standard_cart .input-group-addon,
#order-standard_cart .input-group-prepend .input-group-text { background: #0d2148 !important; color: #6fdcff !important; border-color: rgba(110, 220, 255, .35) !important; }

/* Checkout: payment method, security message, alerts */
#order-standard_cart .tt-payment-container, #order-standard_cart .payment-methods label { color: #fff !important; }
#order-standard_cart #paymentGatewaysContainer h6,
#order-standard_cart #paymentGatewaysContainer label,
#order-standard_cart #paymentGatewaysContainer .radio-inline { color: #e6f4ff !important; }
/* Terms of Service checkbox + other inline checkbox labels */
#order-standard_cart .checkbox-inline,
#order-standard_cart .radio-inline { color: #e6f4ff !important; font-size: 14px; }
#order-standard_cart .checkbox-inline a { color: #6fdcff !important; font-weight: 700; }
#order-standard_cart .checkout-security-msg { background: rgba(124, 247, 168, .1) !important; border-color: rgba(124, 247, 168, .35) !important; color: #cfffe0 !important; }
#order-standard_cart .alert { border-radius: 12px; }

/* ---------- Store page: all plans side by side ---------- */
body:has(#order-standard_cart #products) #main-body .container { max-width: 1340px !important; }
#order-standard_cart .cart-body:has(#products) { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
/* WHMCS groups the cards 3 per .row; flatten those rows so all 5 share one line */
#order-standard_cart #products { width: 100% !important; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 18px; }
#order-standard_cart #products > .row { display: contents; }
@media (min-width: 1200px) {
  #order-standard_cart #products > .row > [class*="col-"] { flex: 0 0 20% !important; max-width: 20% !important; padding-left: 8px; padding-right: 8px; }
}
#order-standard_cart #products .tt-single-product {
  display: flex; flex-direction: column; height: 100%;
  margin: 0 !important; padding: 26px 16px 22px !important;
  background: linear-gradient(160deg, rgba(14, 40, 90, .7), rgba(9, 20, 45, .85)) !important;
  border: 1px solid rgba(110, 220, 255, .3) !important;
  border-radius: 16px !important;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
#order-standard_cart #products .tt-single-product:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 243, 244, .7) !important;
  box-shadow: 0 0 28px rgba(0, 243, 244, .25) !important;
}
#order-standard_cart #products .tt-product-name h5 { color: #fff !important; font-size: 18px !important; font-weight: 800 !important; margin: 0 0 4px; min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
#order-standard_cart #products .tt-product-price { margin-top: 4px !important; }
#order-standard_cart #products .tt-product-price .price { color: #00f3f4 !important; font-size: 26px !important; font-weight: 800 !important; text-shadow: 0 0 12px rgba(0, 243, 244, .35); }
#order-standard_cart #products .tt-product-price .tt-cycle { color: #9fc3dd !important; display: block !important; }
#order-standard_cart #products .tt-product-price .price { display: block; }
#order-standard_cart #products .tt-product-price br { display: none; }
#order-standard_cart #products .tt-product-desc { padding: 14px 0 18px !important; border-top: 1px solid rgba(110, 220, 255, .15); margin-top: 14px; }
#order-standard_cart #products .tt-product-desc br { display: none; }
#order-standard_cart #products .tt-product-desc li { text-align: left; font-size: 13.5px; line-height: 1.4; margin: 0 0 9px; color: #dff6ff; }
#order-standard_cart #products .tt-product-desc ul.mb-0:empty { display: none; }
#order-standard_cart #products .btn-order-now { margin-top: auto !important; align-self: center; padding: 10px 26px !important; }

/* Store page: HOA XP check box in each plan column (added by footer.tpl script) */
#order-standard_cart .hwh-xp { margin: auto 0 14px; }
#order-standard_cart .hwh-xp + .btn-order-now { margin-top: 0 !important; }
#order-standard_cart .hwh-xp-check { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 9px 10px; border: 1px dashed rgba(0, 243, 244, .45); border-radius: 10px; background: rgba(0, 243, 244, .06); cursor: pointer; font-size: 13px; color: #dff6ff !important; font-weight: 500 !important; }
#order-standard_cart .hwh-xp-check input { width: 16px; height: 16px; margin: 0; accent-color: #00f3f4; cursor: pointer; }
#order-standard_cart .hwh-xp-check b { color: #fff; }
#order-standard_cart .hwh-xp-check em { font-style: normal; color: #00f3f4; font-weight: 700; }
#order-standard_cart .hwh-xp-check:has(input:checked) { border-style: solid; background: rgba(0, 243, 244, .14); box-shadow: 0 0 14px rgba(0, 243, 244, .2); }
#order-standard_cart .hwh-xp-incl { padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(124, 247, 168, .35); background: rgba(124, 247, 168, .1); color: #cfffe0; font-size: 13px; text-align: center; }
#order-standard_cart .hwh-xp-incl b { color: #fff; }

/* Store page: add-on list in each plan column */
#order-standard_cart .hwh-addlist { padding: 10px 10px 6px; border: 1px solid rgba(0, 243, 244, .3); border-radius: 12px; background: rgba(0, 243, 244, .05); text-align: left; }
#order-standard_cart .hwh-addlist-title { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #6fdcff; font-weight: 800; margin: 0 0 6px; }
#order-standard_cart .hwh-add-row { display: flex !important; align-items: center; gap: 6px; margin: 0 0 6px !important; font-size: 12.5px !important; line-height: 1.25; color: #dff6ff !important; font-weight: 500 !important; cursor: pointer; }
#order-standard_cart .hwh-add-row input { flex: 0 0 auto; width: 15px; height: 15px; margin: 0; accent-color: #00f3f4; cursor: pointer; }
#order-standard_cart .hwh-add-name { flex: 1 1 auto; min-width: 0; }
#order-standard_cart .hwh-add-name small { color: #9fc3dd; font-size: 11px; }
#order-standard_cart .hwh-add-row em { flex: 0 0 auto; font-style: normal; font-weight: 800; color: #00f3f4; white-space: nowrap; }
#order-standard_cart .hwh-add-row:has(input:checked) .hwh-add-name { color: #fff; font-weight: 700; }
#order-standard_cart .hwh-add-incl { cursor: default; }
#order-standard_cart .hwh-add-mark { flex: 0 0 15px; text-align: center; color: #7cf7a8; font-weight: 800; }
#order-standard_cart .hwh-add-incl em { color: #7cf7a8; font-weight: 700; }

/* Store page: 6th "Max Build" custom column (added by hwh-addon-check.js) */
body:has(#order-standard_cart #products.hwh-six) #main-body .container { max-width: 1440px !important; }
@media (min-width: 1200px) {
  #order-standard_cart #products.hwh-six > .row > [class*="col-"] { flex: 0 0 16.6667% !important; max-width: 16.6667% !important; padding-left: 6px; padding-right: 6px; }
}
#order-standard_cart #products .hwh-max { border-color: rgba(181, 108, 255, .55) !important; background: linear-gradient(160deg, rgba(55, 30, 110, .7), rgba(14, 12, 45, .9)) !important; }
#order-standard_cart #products .hwh-max:hover { border-color: rgba(200, 140, 255, .9) !important; box-shadow: 0 0 28px rgba(181, 108, 255, .3) !important; }
#order-standard_cart #products .hwh-max .price { color: #d6a8ff !important; text-shadow: 0 0 12px rgba(181, 108, 255, .45) !important; }
#order-standard_cart #products .hwh-max li i { color: #b56cff; margin-right: 4px; }
#order-standard_cart .hwh-max-tag { padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(181, 108, 255, .5); background: rgba(181, 108, 255, .12); color: #ecdcff; font-size: 13px; font-weight: 700; text-align: center; }
#order-standard_cart #products .hwh-max-btn { background: linear-gradient(105deg, #b56cff, #6b5cff) !important; color: #fff !important; box-shadow: 0 0 18px rgba(181, 108, 255, .4) !important; }

/* Store page: "save 10% yearly" banner above the plans */
#order-standard_cart .hwh-save-note { margin: 0 auto 22px; max-width: 760px; padding: 11px 18px; text-align: center; border-radius: 999px; border: 1px solid rgba(124, 247, 168, .45); background: rgba(124, 247, 168, .1); color: #dfffea; font-size: 14.5px; box-shadow: 0 0 18px rgba(124, 247, 168, .15); }
#order-standard_cart .hwh-save-note b { color: #7cf7a8; }

/* Store page: add-on price table under the plans (added by hwh-addon-check.js) */
#order-standard_cart .hwh-addon-table { margin: 44px 0 10px; }
#order-standard_cart .hwh-addon-table h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; text-align: center; }
#order-standard_cart .hwh-addon-table > p { text-align: center; color: #9fc3dd; margin: 0 0 18px; }
#order-standard_cart .hwh-at-wrap { overflow-x: auto; border: 1px solid rgba(110, 220, 255, .3); border-radius: 16px; background: linear-gradient(160deg, rgba(14, 40, 90, .7), rgba(9, 20, 45, .85)); }
#order-standard_cart .hwh-addon-table table { width: 100%; border-collapse: collapse; min-width: 760px; }
#order-standard_cart .hwh-addon-table th, #order-standard_cart .hwh-addon-table td { padding: 14px 12px; border-bottom: 1px solid rgba(110, 220, 255, .12); text-align: center; vertical-align: middle; color: #dff6ff; }
#order-standard_cart .hwh-addon-table thead th { background: rgba(60, 196, 255, .12); color: #fff; font-weight: 800; font-size: 14px; }
#order-standard_cart .hwh-addon-table tbody th { text-align: left; }
#order-standard_cart .hwh-addon-table tbody th b { display: block; color: #fff; font-size: 15px; }
#order-standard_cart .hwh-addon-table tbody th small { display: block; color: #9fc3dd; font-size: 12.5px; font-weight: 400; margin-top: 2px; }
#order-standard_cart .hwh-addon-table tbody tr:last-child th, #order-standard_cart .hwh-addon-table tbody tr:last-child td { border-bottom: 0; }
#order-standard_cart .hwh-at-price { color: #00f3f4; font-weight: 800; }
#order-standard_cart .hwh-at-incl { color: #7cf7a8; font-weight: 700; }
#order-standard_cart .hwh-at-or { display: block; color: #9fc3dd; font-size: 12px; margin-top: 3px; }
#order-standard_cart .hwh-addon-table td.hwh-at-desc { text-align: left; font-size: 14px; line-height: 1.5; color: #cfe9ff; }
#order-standard_cart .hwh-addon-table tbody th { white-space: nowrap; }
#order-standard_cart .hwh-addon-table td:last-child { white-space: nowrap; font-size: 13.5px; }

/* Configure step: add-on panels */
#order-standard_cart .panel-addon { background: linear-gradient(160deg, rgba(14, 40, 90, .7), rgba(9, 20, 45, .85)) !important; border: 1px solid rgba(110, 220, 255, .3) !important; border-radius: 14px !important; overflow: hidden; color: #dff6ff !important; transition: box-shadow .2s, border-color .2s; }
#order-standard_cart .panel-addon .panel-body { background: transparent !important; color: #cfe9ff !important; font-size: 13.5px; }
#order-standard_cart .panel-addon label { color: #fff !important; font-weight: 700 !important; font-size: 15px; }
#order-standard_cart .panel-addon .panel-price { background: transparent !important; color: #00f3f4 !important; font-weight: 800; }
#order-standard_cart .panel-addon .panel-add { background: rgba(0, 243, 244, .12) !important; color: #00f3f4 !important; border-top: 1px solid rgba(110, 220, 255, .25); font-weight: 700; }
#order-standard_cart .panel-addon-selected { border-color: #00f3f4 !important; box-shadow: 0 0 22px rgba(0, 243, 244, .3) !important; }
#order-standard_cart .panel-addon-selected .panel-add { background: linear-gradient(105deg, #00f3f4, #1682f7) !important; color: #05122e !important; }

/* Phones: let the summary sit under the cart items */
@media (max-width: 991px) {
  #order-standard_cart .secondary-cart-sidebar { margin-top: 24px; }
}
