:root {
  --766-bg: #f6f4ef;
  --766-surface: #fffdf9;
  --766-line: #e5ddd2;
  --766-text: #29241f;
  --766-muted: #675d53;
  --766-accent: #bb421f;
  --766-accent-hover: #9a3316;
  --766-tint: #ffede1;
  --766-radius: 16px;
  --766-shadow: 0 12px 36px rgba(59, 35, 20, .06);
}
body,
body.primary-bg-color {
  background: var(--766-bg) !important;
  color: var(--766-text);
  font-family: Manrope, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif !important;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.header,
.header .navbar,
.header .main-navbar-wrapper {
  background: #ece9e6 !important;
}
.master-breadcrumb,
.breadcrumb {
  background: #fff !important;
}
footer.footer,
.footer.footer {
  background: var(--766-bg) !important;
  color: #4a4744 !important;
}
footer.footer .nav-link,
footer.footer a,
footer.footer .btn {
  color: #4a4744 !important;
}
a { color: #2c6692; }
.btn-primary,
.btn-success {
  background: var(--766-accent) !important;
  border-color: var(--766-accent) !important;
  color: #fff !important;
  border-radius: 7px !important;
}
.btn-primary:hover,
.btn-success:hover {
  background: var(--766-accent-hover) !important;
  border-color: var(--766-accent-hover) !important;
}
.badge-info,
.status-paid,
.status-active,
.status-completed,
.status-open {
  background-color: var(--766-accent) !important;
}
.form-control,
.custom-select,
.card,
.panel,
.modal-content,
.dropdown-menu,
.alert,
.list-group-item {
  border-radius: 8px !important;
}
.navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 54px !important;
  line-height: 1 !important;
  margin-right: 1.25rem !important;
}
.navbar-brand .site-logo-img,
.navbar-brand img.site-logo-img,
.site-logo-img {
  display: block !important;
  max-height: 48px !important;
  width: auto !important;
  height: auto !important;
}
.main-navbar-wrapper .navbar-nav > li > a,
.main-navbar-wrapper .navbar-nav .nav-link,
.main-navbar-wrapper .dropdown-toggle {
  color: #2f2f2f !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
/* topbar notifications/login identity: no white block, subtle only */
.client-alerts .btn,
.notifications-toggle,
a[href*="notifications"],
.popover-user-notifications + .btn {
  background: transparent !important;
  border: 0 !important;
  color: #2f2f2f !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
.client-alerts .btn:before,
.notifications-toggle:before,
a[href*="notifications"]:before {
  content: "⚑";
  color: var(--766-accent);
  margin-right: 6px;
  font-size: 16px;
}
.toolbar .dropdown-toggle,
.toolbar .dropdown-toggle span,
.toolbar .dropdown-toggle small,
.toolbar .dropdown-toggle strong,
.toolbar a {
  color: #222 !important;
  opacity: 1 !important;
}
.toolbar .dropdown-toggle small,
.toolbar .dropdown-toggle .identity,
.toolbar .dropdown-toggle .login-identity {
  font-size: 11px !important;
  font-weight: 500 !important;
}
.toolbar .dropdown-toggle,
.toolbar .dropdown-toggle span {
  font-size: 13px !important;
  font-weight: 500 !important;
}
.toolbar .dropdown-toggle i,
.toolbar .dropdown-toggle .fa,
.toolbar .dropdown-toggle .fas {
  font-size: 11px !important;
}
@media (max-width: 767.98px) {
  body { font-size: 14px; }
  .navbar-brand .site-logo-img, .site-logo-img { max-height: 40px !important; }
  .main-navbar-wrapper .navbar-nav > li > a,
  .main-navbar-wrapper .navbar-nav .nav-link { font-size: 14px !important; }
}

/* 766 v15 - client product detail typography + service status colors */
/* 766_FORCE_LOADED_20260513_V15 */

/* Client product details: reduce oversized bold headings in the overview card */
body .product-details .product-status {
  overflow: hidden;
  border-radius: 8px !important;
}
body .product-details .product-icon {
  padding: 22px 24px !important;
  font-size: 42px !important;
  line-height: 1.1 !important;
}
body .product-details .product-icon h3 {
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
  margin: 12px auto 6px !important;
  max-width: 90% !important;
}
body .product-details .product-icon h4 {
  font-size: 17px !important;
  line-height: 1.28 !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
body .product-details .col-md-6.text-center h4 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 650 !important;
  margin: 14px 0 5px !important;
}
body .product-details .col-md-6.text-center {
  font-size: 14px !important;
  line-height: 1.55 !important;
}
body .product-details-tab-container,
body .product-details-tab-container .row,
body .product-details-tab-container strong,
body .product-details-tab-container div {
  font-size: 14px !important;
  line-height: 1.55 !important;
}
body .product-details-tab-container strong {
  font-weight: 600 !important;
}
body .product-actions-wrapper .btn {
  font-size: 14px !important;
  padding: 9px 14px !important;
  border-radius: 7px !important;
}

/* Client products list: clear status colors */
body .label.status,
body span.status,
body .badge.status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 54px !important;
  padding: 6px 12px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 650 !important;
  color: #fff !important;
}
body .status-active {
  background-color: #43a047 !important;
  border-color: #43a047 !important;
  color: #fff !important;
}
body .status-terminated,
body .status-fraud {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #fff !important;
}
body .status-cancelled,
body .status-canceled {
  background-color: #8a8580 !important;
  border-color: #8a8580 !important;
  color: #fff !important;
}
body .status-suspended {
  background-color: #f0ad4e !important;
  border-color: #f0ad4e !important;
  color: #3a2a08 !important;
}
body .status-pending {
  background-color: #f0ad4e !important;
  border-color: #f0ad4e !important;
  color: #3a2a08 !important;
}

@media (max-width: 767.98px) {
  body .product-details .product-icon {
    padding: 18px 18px !important;
    font-size: 34px !important;
  }
  body .product-details .product-icon h3 {
    font-size: 21px !important;
  }
  body .product-details .product-icon h4 {
    font-size: 15px !important;
  }
  body .product-details .col-md-6.text-center h4 {
    font-size: 16px !important;
    margin-top: 12px !important;
  }
}


/* Shared surfaces and controls */
body.primary-bg-color { color: var(--766-text); }
a { color: var(--766-accent); }
a:hover { color: var(--766-accent-hover); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--766-accent);
  outline-offset: 3px;
}
.form-control:focus,
.custom-select:focus {
  border-color: var(--766-accent);
  box-shadow: 0 0 0 .2rem rgba(169, 67, 44, .14);
}
.btn-outline-primary {
  color: var(--766-accent);
  border-color: var(--766-accent);
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
  color: #fff;
  border-color: var(--766-accent);
  background: var(--766-accent);
}
.header,
.header .navbar,
.header .main-navbar-wrapper {
  background: var(--766-surface) !important;
}
.header {
  border-bottom: 1px solid var(--766-line);
}
.header .main-navbar-wrapper {
  padding-top: 0;
  padding-bottom: .35rem;
}
.header .toolbar .nav-link {
  min-height: 42px;
  min-width: 42px;
  padding: .6rem;
  border: 1px solid var(--766-line);
  border-radius: 9px;
  background: var(--766-bg);
}
.header .toolbar .badge-info { color: #fff !important; }
.main-navbar-wrapper .navbar-nav .nav-link:hover,
.main-navbar-wrapper .navbar-nav .nav-link:focus,
.header .toolbar .nav-link:hover {
  color: var(--766-accent) !important;
}
.master-breadcrumb,
.master-breadcrumb .breadcrumb {
  background: transparent !important;
}
.master-breadcrumb .breadcrumb {
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  font-size: .85rem;
}
#main-body { padding-top: clamp(1.15rem, 3vw, 3rem); }
#main-body .primary-content { min-width: 0; }
#main-body .card,
#main-body .panel,
#main-body .sidebar .list-group-item {
  border-color: var(--766-line);
}
#main-body .card,
#main-body .panel {
  background: var(--766-surface);
  border-radius: var(--766-radius) !important;
  box-shadow: var(--766-shadow);
}
#main-body .card-header,
#main-body .card-footer {
  background: rgba(240, 231, 221, .4);
  border-color: var(--766-line);
}
#main-body .sidebar .list-group-item.active {
  color: var(--766-accent);
  background: var(--766-tint);
  border-color: var(--766-line);
}
body #footer.footer {
  border-top: 1px solid var(--766-line);
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}
#footer .mb-7 { margin-bottom: .75rem !important; }
#footer .copyright { clear: both; color: var(--766-muted); }

/* Portal */
.theme-home .master-breadcrumb { display: none; }
.store-home { padding-bottom: 1rem; }
.store-home-hero {
  padding: clamp(2.1rem, 6.5vw, 5.25rem) clamp(1.35rem, 6vw, 4.75rem);
  border: 1px solid var(--766-line);
  border-radius: 24px;
  background: radial-gradient(ellipse at 90% 0%, #efd5c4 0, transparent 60%), var(--766-surface);
}
.store-home-hero h1 {
  margin: 0 0 1.35rem;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.store-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.store-home-actions .btn { padding: .65rem 1rem; }
.store-home-section { margin-top: clamp(1.75rem, 4vw, 3rem); }
.store-home-section h2 {
  margin-bottom: .9rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}
.store-home-grid,
.store-home-resources {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
}
.store-home-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem;
  border: 1px solid var(--766-line);
  border-radius: var(--766-radius);
  background: var(--766-surface);
  box-shadow: var(--766-shadow);
  overflow-wrap: anywhere;
}
.store-home-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--766-accent);
  background: var(--766-tint);
  border-radius: 10px;
}
.store-home-product h3 { font-size: 1.15rem; }
.store-home-product p { color: var(--766-muted); }
.store-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .45rem;
  margin-top: auto;
  font-weight: 700;
}
.store-home-shortcuts {
  padding: .25rem .85rem;
  margin: 0;
  list-style: none;
  background: var(--766-surface);
  border: 1px solid var(--766-line);
  border-radius: var(--766-radius);
}
.store-home-shortcuts li + li { border-top: 1px solid var(--766-line); }
.store-home-shortcuts a {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: .75rem;
  padding: .55rem .25rem;
  color: var(--766-text);
}
.store-home-shortcuts i {
  width: 1.1rem;
  text-align: center;
  color: var(--766-accent);
}

/* Standard Cart. The catalogue uses the original WHMCS products, prices and links. */
#order-standard_cart .header-lined h1 {
  color: var(--766-text);
  font-size: clamp(1.55rem, 4vw, 2.65rem) !important;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
#order-standard_cart .header-lined p { color: var(--766-muted); }
#order-standard_cart .cart-body,
#order-standard_cart .secondary-cart-body,
#order-standard_cart .secondary-cart-sidebar { min-width: 0; }
body #order-standard_cart .order-summary {
  background: var(--766-surface) !important;
  border: 1px solid var(--766-line) !important;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(56, 33, 19, .05);
}
body #order-standard_cart :is(#frmConfigureProduct #orderSummary, #orderSummary, .order-summary) h2 {
  margin: 0;
  padding: .85rem 1rem;
  background: var(--766-tint) !important;
  color: var(--766-accent) !important;
  border-bottom: 1px solid var(--766-line);
  border-radius: 11px 11px 0 0;
  font-size: 1rem !important;
  font-weight: 750;
  text-align: start;
}
body #order-standard_cart :is(#frmConfigureProduct #orderSummary, #orderSummary, .order-summary) h2 :is(span, strong) {
  color: inherit !important;
}
body #order-standard_cart .order-summary .summary-container {
  padding: 1rem;
  background: var(--766-surface) !important;
  color: var(--766-text);
  border-radius: 0 0 11px 11px;
  overflow-wrap: anywhere;
}
#order-standard_cart .order-summary :is(.subtotal, .bordered-totals, .summary-totals) {
  border-color: var(--766-line);
}
#order-standard_cart .order-summary .total-due-today .amt {
  color: var(--766-text);
  font-variant-numeric: tabular-nums;
}
#order-standard_cart .order-summary .loader {
  color: var(--766-accent);
}
#order-standard_cart #inputBillingcycle {
  display: block;
  width: auto !important;
  min-inline-size: min(100%, 9.5rem);
  max-width: 100% !important;
  min-height: 44px;
  box-sizing: border-box;
  padding-inline-start: .75rem !important;
  padding-inline-end: 2rem !important;
  text-overflow: clip;
}
body #order-standard_cart :is(.form-control, .custom-select):focus {
  border-color: var(--766-accent);
  box-shadow: 0 0 0 .2rem rgba(187, 66, 31, .14);
}
#order-standard_cart .view-cart-items .item,
#order-standard_cart .product-info,
#order-standard_cart .view-cart-items-header {
  border-color: var(--766-line);
  overflow-wrap: anywhere;
}
body #order-standard_cart .view-cart-items-header {
  background: #f7efe8 !important;
  color: var(--766-text) !important;
  border: 1px solid var(--766-line);
  border-radius: 9px 9px 0 0;
  font-weight: 650;
}
body #order-standard_cart .secondary-cart-body .view-cart-items-header :is(.row, .row > div, span, strong) {
  color: var(--766-text) !important;
}
body #order-standard_cart .view-cart-items {
  border: 1px solid var(--766-line);
  border-top: 0;
  border-radius: 0 0 9px 9px;
  background: var(--766-surface);
}
body #order-standard_cart .view-cart-items .item,
body #order-standard_cart .product-info {
  background: var(--766-surface) !important;
}
#order-standard_cart .product-info {
  border-radius: 11px;
  padding: 1rem;
}
#order-standard_cart .product-info a,
#order-standard_cart #products .product-desc a {
  text-decoration: underline;
  text-underline-offset: .16em;
}

/* Keep attention on the next step, with quiet controls for editing the order. */
body #order-standard_cart :is(#btnCompleteProductConfig, #checkout, #btnCompleteOrder) {
  min-height: 44px;
  background: var(--766-accent) !important;
  border-color: var(--766-accent) !important;
  color: #fff !important;
}
body #order-standard_cart :is(#btnCompleteProductConfig, #checkout, #btnCompleteOrder):not(:disabled):not(.disabled):hover {
  background: var(--766-accent-hover) !important;
  border-color: var(--766-accent-hover) !important;
}
body #order-standard_cart :is(#btnCompleteProductConfig, #checkout, #btnCompleteOrder):is(:disabled, .disabled) {
  opacity: .58;
}
body #order-standard_cart :is(#checkout, #continueShopping) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: min(100%, 11.5rem) !important;
  min-height: 44px;
  margin-inline: auto !important;
  text-align: center;
}
body #order-standard_cart #checkout {
  margin-block-end: .5rem;
  padding: .65rem 1rem;
}
body #order-standard_cart #checkout + br { display: none; }
body #order-standard_cart .view-cart-items .item-title .btn,
body #order-standard_cart .btn-remove-from-cart,
body #order-standard_cart #btnEmptyCart {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--766-muted) !important;
  box-shadow: none !important;
}
body #order-standard_cart #continueShopping {
  padding: .45rem .9rem;
  background: var(--766-surface) !important;
  border: 1px solid #e4bfaa !important;
  color: var(--766-accent-hover) !important;
  font-weight: 650;
}
body #order-standard_cart #continueShopping:hover {
  background: var(--766-tint) !important;
}
body #order-standard_cart .view-cart-items .item-title .btn:hover {
  color: var(--766-accent) !important;
  text-decoration: underline;
}
body #order-standard_cart :is(.btn-remove-from-cart, #btnEmptyCart):hover {
  color: #a31f1a !important;
}
body #order-standard_cart .view-cart-items .item .item-title .store-cart-item-actions {
  display: contents !important;
}
@media (max-width: 575.98px) {
  body #order-standard_cart .view-cart-items .item-title:has(> .store-cart-item-actions) {
    display: block;
  }
  body #order-standard_cart .view-cart-items .item .item-title .store-cart-item-actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin: .55rem 0 .7rem;
  }
  body #order-standard_cart .view-cart-items .item .item-title .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    width: auto !important;
    min-height: 44px;
    margin: 0;
    padding: .4rem .72rem;
    background: var(--766-surface) !important;
    border: 1px solid var(--766-line) !important;
    white-space: nowrap !important;
    font-size: .84rem;
    line-height: 1.25;
  }
  #order-standard_cart .view-cart-items .item > .row { row-gap: .7rem; }
}
body #order-standard_cart .empty-cart { margin: -.55rem 0 .8rem; }
body #order-standard_cart :is(.view-cart-items .item-qty .btn, .view-cart-tabs .btn-default, #applyPromo button[name="validatepromo"], #btnAlreadyRegistered, #btnNewUserSignup) {
  background: var(--766-surface) !important;
  border: 1px solid var(--766-line) !important;
  color: var(--766-text) !important;
  box-shadow: none !important;
}
body #order-standard_cart :is(.view-cart-items .item-qty .btn, .view-cart-tabs .btn-default, #applyPromo button[name="validatepromo"], #btnAlreadyRegistered, #btnNewUserSignup):hover {
  background: #f7efe8 !important;
  border-color: #d8bdac !important;
}
body #order-standard_cart #applyPromo button[name="validatepromo"] {
  width: auto !important;
  min-width: 6rem;
}
body #order-standard_cart #applyPromo .prepend-icon {
  position: relative;
  display: block;
}
body #order-standard_cart #applyPromo .prepend-icon .field-icon {
  position: absolute !important;
  z-index: 2;
  inset: 0 auto 0 .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: auto !important;
  margin: 0;
  color: var(--766-muted);
  line-height: 1;
  pointer-events: none;
}
body #order-standard_cart #applyPromo .prepend-icon .field-icon i {
  position: static !important;
  line-height: 1;
}
body #order-standard_cart #applyPromo .prepend-icon #inputPromotionCode {
  padding-inline-start: 2.4rem !important;
}

/* Keep the icon aligned with its field even when validation adds a help line. */
body #registration .prepend-icon:has(> :is(input, select).field) {
  --registration-field-height: 44px;
  position: relative;
}
body #registration .prepend-icon:has(> :is(input, select).field) > .field-icon {
  position: absolute !important;
  inset: 0 auto auto .72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: var(--registration-field-height) !important;
  margin: 0;
  pointer-events: none;
}
body #registration .prepend-icon > .field-icon i {
  position: static !important;
  line-height: 1;
}
body #registration .prepend-icon > :is(input, select).field {
  height: var(--registration-field-height) !important;
  padding-block: .5rem;
  padding-inline-start: 2.55rem !important;
}
@media (max-width: 575.98px) {
  body #registration .prepend-icon > :is(input, select).field {
    font-size: 1rem;
  }
}
body #order-standard_cart .view-cart-tabs .tab-content,
body #order-standard_cart .view-cart-tabs .nav-tabs :is(.active, [aria-selected="true"], [aria-expanded="true"]) {
  background: var(--766-surface);
  border-color: var(--766-line);
  color: var(--766-text);
}
body #order-standard_cart .cart-sidebar .list-group-item.active {
  background: var(--766-tint) !important;
  border-color: var(--766-line) !important;
  color: var(--766-accent-hover) !important;
}

/* Native and iCheck inputs keep their original interaction and checked states. */
input:is([type="radio"], [type="checkbox"]) { accent-color: var(--766-accent); }
body #order-standard_cart :is(.iradio_square-blue, .icheckbox_square-blue) {
  position: relative;
  display: inline-block;
  vertical-align: -.19em;
  width: 1.2rem;
  height: 1.2rem;
  margin-inline-end: .35rem;
  background: var(--766-surface) !important;
  border: 1px solid #b6a79b !important;
  border-radius: 4px;
  cursor: pointer;
}
body #order-standard_cart .iradio_square-blue { border-radius: 50%; }
body #order-standard_cart :is(.iradio_square-blue, .icheckbox_square-blue).checked {
  background: var(--766-accent) !important;
  border-color: var(--766-accent) !important;
}
body #order-standard_cart :is(.iradio_square-blue, .icheckbox_square-blue).checked::after {
  position: absolute;
  top: 23%;
  left: 34%;
  width: 29%;
  height: 47%;
  content: "";
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
body #order-standard_cart :is(.iradio_square-blue, .icheckbox_square-blue):is(.focus, :focus-within) {
  outline: 2px solid var(--766-accent);
  outline-offset: 2px;
}
body #order-standard_cart :is(.iradio_square-blue, .icheckbox_square-blue).disabled {
  cursor: default;
  opacity: .55;
}
body #order-standard_cart #frmCheckout :is(.apply-credit-container, .cc-input-container, .account-select-container .account) {
  background: var(--766-surface) !important;
  border-color: var(--766-line) !important;
}
body #order-standard_cart #frmCheckout .account-select-container .account.active {
  background: #fff8f2 !important;
}
body #order-standard_cart #frmCheckout .account-select-container :is(.label-info, .badge-info) {
  padding: .15em .4em;
  border-radius: 4px;
  background: #f5e8dd !important;
  color: var(--766-muted) !important;
}
body #order-standard_cart #frmCheckout #totalDueToday {
  background: #fff3e9 !important;
  border-color: #f0d4c1 !important;
  color: var(--766-text) !important;
}
#order-standard_cart .sub-heading span { color: var(--766-text); }
#order-standard_cart #products {
  --store-card-gap: 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--store-card-gap);
  align-items: start;
  margin: 1.15rem 0 0;
}
#order-standard_cart #products > .row { display: contents; }
#order-standard_cart #products > .row > div {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
}
#order-standard_cart #products .product {
  /* Order-form styles can load after the theme and impose their own card columns. */
  display: block !important;
  container-type: inline-size;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(229, 221, 210, .65);
  border-radius: 13px;
  background: var(--766-surface);
  box-shadow: 0 4px 14px rgba(59, 35, 20, .035);
  overflow-wrap: anywhere;
}
#order-standard_cart #products .product > header {
  display: flex !important;
  float: none !important;
  width: auto !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .65rem;
  padding: 1rem 1rem .25rem;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--766-text);
  text-align: start;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
#order-standard_cart #products .product > header span:first-child {
  flex: 1 1 9rem;
  min-width: 0;
  color: inherit;
  font-size: inherit;
}
#order-standard_cart #products .product > header .qty {
  float: none;
  padding: .18rem .45rem;
  background: var(--766-bg);
  color: var(--766-muted);
  border: 1px solid var(--766-line);
  border-radius: 5px;
  font-size: .73rem;
  font-weight: 600;
  font-style: normal;
}
#order-standard_cart #products .store-product-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  padding: .65rem 1rem .8rem;
  min-width: 0;
}
#order-standard_cart #products .store-product-copy,
#order-standard_cart #products .store-product-purchase {
  min-width: 0;
}
#order-standard_cart #products .store-product-purchase {
  display: grid;
  align-self: stretch;
}
#order-standard_cart #products .store-specs {
  margin: 0;
  min-width: 0;
}
#order-standard_cart #products .store-specs > div {
  display: grid;
  grid-template-columns: minmax(4.25rem, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: .4rem;
  padding: .23rem 0;
}
#order-standard_cart #products .store-specs dt {
  color: var(--766-muted);
  font-size: .75rem;
  font-weight: 500;
}
#order-standard_cart #products .store-specs dd {
  margin: 0;
  min-width: 0;
  color: var(--766-text);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: normal;
}
#order-standard_cart #products .product footer {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .55rem;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: .8rem 1rem;
  background: transparent;
  border: 0;
  text-align: start !important;
}
#order-standard_cart #products .store-product-purchase > footer {
  position: static !important;
  grid-area: auto !important;
  min-width: 0;
  padding: .65rem .7rem;
  background: transparent !important;
}
#order-standard_cart #products .product footer .product-pricing {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--766-muted);
  font-size: .75rem;
  line-height: 1.35;
}
#order-standard_cart #products .product-pricing .price {
  color: var(--766-text);
  font-size: 1.21rem;
  line-height: 1.3;
  font-weight: 800;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
#order-standard_cart #products .btn-order-now {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  max-width: 100%;
  margin: 0 !important;
  padding: .45rem .75rem;
  border-radius: 100px !important;
  white-space: normal;
  font-size: .81rem;
  font-weight: 700;
}
#order-standard_cart #products .product .product-desc {
  float: none !important;
  width: auto !important;
  min-width: 0;
  padding: .75rem 1rem 0;
  color: var(--766-muted);
  text-align: start;
  font-size: .84rem;
  line-height: 1.65;
}
#order-standard_cart #products .store-product-copy > .product-desc {
  display: block !important;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#order-standard_cart #products .store-product-copy > .product-desc > :last-child { margin-bottom: 0; }
#order-standard_cart #products .product-desc ul:empty,
#order-standard_cart #products .product-desc[hidden] { display: none !important; }
#order-standard_cart #products .product-desc img { max-width: 100%; height: auto; }
#order-standard_cart #products .product-desc pre,
#order-standard_cart #products .product-desc table { display: block; max-width: 100%; overflow-x: auto; }
#order-standard_cart #products .product > .store-disclosure {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding-bottom: .2rem;
}
#order-standard_cart #products .store-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .65rem;
  min-height: 38px;
  padding: .4rem 1rem;
  color: var(--766-accent);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
}
#order-standard_cart #products .store-disclosure summary::-webkit-details-marker { display: none; }
#order-standard_cart #products .store-disclosure summary::after {
  content: "";
  width: .42rem;
  height: .42rem;
  margin-right: .15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.13rem) rotate(45deg);
}
#order-standard_cart #products .store-disclosure[open] summary::after {
  transform: translateY(.13rem) rotate(225deg);
}
#order-standard_cart #products .store-disclosure summary:focus-visible { outline-offset: -4px; }
#order-standard_cart #products .store-disclosure > .product-desc { padding-top: 0; }

#order-standard_cart .cart-body:has(> #products) > .header-lined {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(7.2rem, 13vw, 10.65rem);
  padding: clamp(1.2rem, 3vw, 2rem);
  margin: 0;
  text-align: start;
  border: 1px solid var(--766-line);
  border-radius: 15px;
  background: linear-gradient(112deg, #fff8f1, #ffe5d3);
}
#order-standard_cart .cart-body:has(> #products) > .header-lined[data-store-group] {
  --store-banner-icon-size: clamp(4.2rem, 20vw, 9.2rem);
  --store-banner-icon-inset: clamp(.6rem, 2vw, 1.4rem);
  padding-inline-end: calc(var(--store-banner-icon-size) + var(--store-banner-icon-inset) + .65rem);
}
#order-standard_cart .header-lined[data-store-group]::after {
  content: "";
  position: absolute;
  inset-inline-end: var(--store-banner-icon-inset);
  top: 50%;
  width: var(--store-banner-icon-size);
  height: min(var(--store-banner-icon-size), 92%);
  transform: translateY(-50%);
  background: var(--store-banner-icon) center / contain no-repeat;
  filter: hue-rotate(-5deg) saturate(1.36) brightness(1.08);
  pointer-events: none;
}
#order-standard_cart .header-lined[data-store-group="dedicated"] {
  --store-banner-icon: url("../img/store-banner-dedicated.webp");
}
#order-standard_cart .cart-body:has(> #products) > .header-lined[data-store-group="ovh-vps"] {
  --store-banner-icon: url("../img/store-banner-ovh.webp");
  --store-banner-icon-size: clamp(4.85rem, 22vw, 12.75rem);
}
#order-standard_cart .cart-body:has(> #products) > .header-lined[data-store-group="kagoya-vps"] {
  --store-banner-icon: url("../img/store-banner-kagoya.webp?v=8");
  --store-banner-icon-size: clamp(4.45rem, 20.5vw, 10rem);
}
#order-standard_cart .cart-body:has(> #products) > .header-lined h1 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(1.42rem, 3vw, 2rem) !important;
}
#order-standard_cart .cart-body:has(> #products) > .header-lined p {
  margin: .55rem 0 0;
  text-wrap: balance;
}
#main-body:has(#order-standard_cart #products) { padding-top: .85rem; }

.store-menu-toggle .menu-icon-close,
.store-menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.store-menu-toggle[aria-expanded="true"] .menu-icon-close { display: inline-block; }
header.header .toolbar .store-menu-toggle { color: var(--766-accent); }
.header .toolbar .store-menu-toggle[aria-expanded="true"] {
  color: var(--766-accent) !important;
  border-color: #e4cdbd;
  background: var(--766-tint);
}
.store-nav-icon { margin-inline-end: .3rem; }
@media (max-width: 1199.98px) {
  #order-standard_cart .cart-body:has(> #products) > .sidebar-collapsed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
    gap: .6rem;
    margin: .85rem 0 0;
    padding: 0;
  }
  #order-standard_cart .cart-body:has(> #products) > .sidebar-collapsed::after { display: none; }
  #order-standard_cart .cart-body:has(> #products) > .sidebar-collapsed .card {
    min-width: 0;
    margin: 0;
    border-radius: 10px !important;
    box-shadow: none;
  }
  #order-standard_cart .cart-body:has(> #products) > .sidebar-collapsed .card-header,
  #order-standard_cart .cart-body:has(> #products) > .sidebar-collapsed .card-body { padding: .5rem .65rem; }
  #order-standard_cart .cart-body:has(> #products) > .sidebar-collapsed select { width: 100%; min-height: 40px; }
  header.header .main-navbar-wrapper > .container { padding-inline: 15px; }
  header.header .main-navbar-wrapper #mainNavbar {
    min-width: 0;
    padding: 0;
    border-radius: 12px;
  }
  #mainNavbar > .navbar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
    padding: .55rem .65rem;
    margin: 0 !important;
    background: var(--766-bg);
  }
  #mainNavbar > .navbar-nav:first-child {
    padding-top: .65rem;
    border-radius: 12px 12px 0 0;
  }
  #mainNavbar > .navbar-nav:last-child {
    padding-top: 0;
    padding-bottom: .65rem;
    border-radius: 0 0 12px 12px;
  }
  #mainNavbar.show { margin-bottom: .65rem; }
  #mainNavbar > .navbar-nav > li { min-width: 0; }
  #mainNavbar > .navbar-nav > li:only-child,
  #mainNavbar > .navbar-nav > .dropdown.show,
  #mainNavbar > .navbar-nav > .collapsable-dropdown { grid-column: 1 / -1; }
  #mainNavbar > .navbar-nav > li > a {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .5rem .6rem !important;
    border: 1px solid var(--766-line);
    border-radius: 8px;
    background: var(--766-surface);
    white-space: normal;
    line-height: 1.25;
  }
  #mainNavbar .store-nav-icon {
    flex: 0 0 1rem;
    width: 1rem;
    margin: 0;
    color: var(--766-accent);
    text-align: center;
  }
  #mainNavbar .store-nav-label { min-width: 0; overflow-wrap: anywhere; }
  #mainNavbar > .navbar-nav > li > a.dropdown-toggle::after { margin-inline-start: auto; }
  #mainNavbar > .navbar-nav > .dropdown.show > a {
    border-color: #e4cdbd;
    background: var(--766-tint);
  }
  #mainNavbar .navbar-nav .dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none;
    width: auto;
    min-width: 0;
    margin: .35rem 0 0;
    padding: .2rem .4rem;
    border-color: var(--766-line);
    background: var(--766-surface);
  }
  #mainNavbar .dropdown-menu > li.dropdown-item { padding: 0; }
  #mainNavbar .dropdown-menu a:not(.dropdown-toggle) {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: .4rem .55rem !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (min-width: 768px) {
  #order-standard_cart #products {
    grid-template-columns: repeat(auto-fit, minmax(calc((100% - var(--store-card-gap)) / 2), 1fr));
  }
  @container (min-width: 360px) {
    #order-standard_cart #products .store-product-body-split {
      grid-template-columns: minmax(0, 1fr) minmax(8.65rem, max-content);
      gap: .85rem;
    }
    #order-standard_cart #products .store-product-body-split .store-product-purchase > footer {
      flex-direction: column;
      justify-content: center;
      align-self: stretch;
      flex-wrap: nowrap;
      padding: .65rem .75rem;
      text-align: center !important;
    }
    #order-standard_cart #products .store-product-body-split .product-pricing .price {
      font-size: clamp(1rem, 4.3cqi, 1.2rem);
    }
  }
}
@media (min-width: 1200px) {
  .main-navbar-wrapper #mainNavbar > .navbar-nav > li > .nav-link { padding-block: 0; }
  #order-standard_cart:has(#products) > .row > .cart-sidebar { width: 22%; }
  #order-standard_cart:has(#products) > .row > .cart-body { width: 78%; }
}
@media (max-width: 767.98px) {
  .master-breadcrumb .breadcrumb {
    flex-wrap: nowrap;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    padding: .45rem 0;
    font-size: .78rem;
  }
  .master-breadcrumb .breadcrumb-item { display: none; }
  .master-breadcrumb .breadcrumb-item:nth-last-child(-n + 2) {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0;
  }
  .master-breadcrumb .breadcrumb-item:nth-last-child(2) {
    flex: 0 1 auto;
    max-width: 43%;
  }
  .master-breadcrumb .breadcrumb-item + .breadcrumb-item::before { display: none; }
  .master-breadcrumb .breadcrumb-item:nth-last-child(2) a {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-width: 0;
    padding: .22rem .42rem;
    color: var(--766-accent);
    background: var(--766-tint);
    border-radius: 5px;
  }
  .master-breadcrumb .breadcrumb-item:nth-last-child(2) a::before {
    content: "";
    flex: 0 0 .4rem;
    height: .4rem;
    margin-inline-start: .13rem;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
  }
  .master-breadcrumb .breadcrumb-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #order-standard_cart #products .store-disclosure summary { min-height: 44px; }
}
@media (max-width: 575.98px) {
  .header .navbar-brand { margin-right: .4rem !important; }
  .header .toolbar .nav-item { margin-left: .35rem !important; }
  .store-home-hero { border-radius: 16px; }
  .store-home-resources { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #order-standard_cart .form-control,
  #order-standard_cart .custom-select { max-width: 100%; font-size: 16px; }
}


/* Shared navigation */
header.header .store-navbar {
  padding-block: .35rem;
}
header.header .store-navbar .store-nav-shell {
  column-gap: .65rem;
}
header.header .store-navbar .site-logo-link {
  flex: 0 0 auto;
}
header.header .store-navbar .store-nav-tools {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: .4rem;
  margin-inline-start: auto;
}
header.header .store-navbar .store-nav-tools .nav-link {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: .55rem;
  color: var(--766-text);
  border: 1px solid var(--766-line);
  background: transparent;
}
header.header .store-navbar .store-nav-tools .nav-link:hover,
header.header .store-navbar .store-nav-tools .nav-link[aria-expanded="true"] {
  background: var(--766-tint);
}
header.header .store-navbar .cart-btn #cartItemCount {
  top: 0;
  right: 1px;
  font-variant-numeric: tabular-nums;
}
header.header .topbar {
  border-top: 1px solid var(--766-line);
  background: #f8f4ee;
}
header.header .topbar .container > .d-flex {
  align-items: center;
  gap: .5rem;
}
header.header .topbar .ml-auto,
header.header .topbar .active-client,
header.header .topbar .active-client .btn-group,
header.header .topbar .btn-active-client {
  min-width: 0;
}
header.header .topbar .btn-active-client span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
header.header #accountNotifications:focus-visible {
  outline: 2px solid var(--766-accent) !important;
  outline-offset: 3px;
}
header.header .topbar #accountNotifications { color: var(--766-text); }
header.header #mainNavbar .nav-link.active,
header.header #mainNavbar .dropdown.show > .nav-link {
  color: var(--766-accent-hover) !important;
  background: var(--766-tint);
}
header.header #mainNavbar .dropdown-menu {
  padding: .35rem;
  border-color: var(--766-line);
  background: var(--766-surface);
  box-shadow: 0 10px 24px rgba(59, 35, 20, .09);
}
header.header #mainNavbar .dropdown-menu li.dropdown-item { padding: 0; }
header.header #mainNavbar .dropdown-menu :is(a.dropdown-item, li.dropdown-item > a) {
  display: block;
  padding: .5rem .65rem !important;
  border-radius: 6px;
  color: var(--766-text);
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
header.header #mainNavbar .dropdown-menu :is(a.dropdown-item, li.dropdown-item > a):is(:hover, :focus) {
  background: #f7efe8;
  color: var(--766-accent-hover);
}
@media (min-width: 1200px) {
  header.header .store-navbar #mainNavbar {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    gap: .65rem;
  }
  header.header .store-navbar .store-nav-tools { order: 2; }
  header.header .store-navbar #nav {
    flex: 0 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    column-gap: .15rem;
  }
  header.header .store-navbar .store-nav-account {
    flex: 0 0 auto;
    max-width: 32%;
    margin-inline-start: auto;
    min-width: 0;
  }
  header.header .store-navbar .store-nav-account > li { min-width: 0; }
  header.header .store-navbar #mainNavbar > .navbar-nav > li > a {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .6rem;
    border-radius: 8px;
    font-size: .875rem !important;
    line-height: 1.25;
    white-space: nowrap;
  }
  header.header .store-navbar #mainNavbar > .navbar-nav > li > a:hover { background: #f7efe8; }
  header.header .store-navbar .store-nav-account .store-nav-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  header.header #mainNavbar .dropdown-menu {
    min-width: 11rem;
    max-width: min(20rem, 80vw);
  }
}
@media (max-width: 1199.98px) {
  header.header .store-navbar #mainNavbar {
    flex-basis: 100%;
  }
  header.header .store-navbar #mainNavbar .dropdown-menu { box-shadow: none; }
}

/* One frame for each shared sidebar; keep individual navigation groups flat. */
#main-body .store-sidebar-frame {
  border: 1px solid var(--766-line);
  border-radius: 13px;
  background: var(--766-surface);
}
#main-body .store-sidebar-frame {
  margin-bottom: .9rem;
  padding: .5rem .65rem;
}
#main-body .store-sidebar-frame:not(:has(.card)) { display: none; }
#main-body .store-sidebar-frame .card { margin-block: 0 !important; }
#main-body .store-sidebar-frame :is(.card + .card-sidebar, .card + .store-sidebar-section) {
  margin-top: .4rem !important;
  padding-top: .55rem;
  border-top: 1px solid var(--766-line);
}
@media (max-width: 991.98px) {
  #main-body .store-sidebar-frame:has(> .store-sidebar-section:only-child) { display: none; }
}
/* Keep the WHMCS navigation and DataTables controls. */
#main-body :is(.store-sidebar-frame, .client-service-tools) .card-sidebar {
  padding: .25rem 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .card-sidebar > .card-header {
  padding: .4rem .6rem;
  border: 0;
  background: transparent;
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .card-sidebar .card-title {
  color: var(--766-text);
  font-size: .9rem;
  font-weight: 700;
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .card-sidebar .card-title > i:first-child { color: var(--766-muted); }
.sidebar .card-sidebar .card-minimise {
  padding: 0 .2rem;
  border: 0;
  background: transparent;
  color: var(--766-muted);
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .card-sidebar .list-group-item {
  margin: 0;
  padding: .55rem .65rem;
  border: 0;
  border-radius: 7px !important;
  background: transparent;
  color: var(--766-muted);
  line-height: 1.35;
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .card-sidebar a.list-group-item:is(:hover, :focus-visible) {
  background: #f0e7de;
  color: var(--766-text);
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .card-sidebar .list-group-item.active {
  background: var(--766-tint) !important;
  color: var(--766-accent-hover) !important;
  font-weight: 650;
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .sidebar-menu-item-wrapper {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .sidebar-menu-item-label {
  min-width: 0;
  overflow-wrap: anywhere;
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .sidebar-menu-item-badge {
  margin-inline-start: auto;
}
#main-body :is(.store-sidebar-frame, .client-service-tools) .card-sidebar .badge {
  border-radius: 100px;
  background: #efe7df;
  color: var(--766-muted);
  font-weight: 650;
}
.theme-client #main-body .client-service-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .55rem 1.25rem;
  margin-bottom: .9rem;
  padding: .6rem .75rem;
  border: 1px solid var(--766-line);
  border-radius: 12px;
  background: var(--766-surface);
}
.theme-client #main-body .client-service-tools > .card {
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
}
.theme-client #main-body .client-service-tools .card-sidebar .list-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .2rem;
}
.theme-client #main-body .client-service-tools .card-sidebar .list-group-item {
  flex: 0 0 auto;
  width: auto;
}
.theme-client #main-body .client-service-tools .card-sidebar .card-header {
  padding-block-end: .3rem;
}
.theme-client #main-body .client-service-tools :is(.sidebar-menu-item-label, .badge) {
  flex: 0 1 auto;
}
.theme-client #main-body .client-service-tools > .card:not(.card-sidebar) {
  width: 100%;
  border: 0;
  box-shadow: none;
}
.theme-client #main-body .client-service-tools > .card:not(.card-sidebar) :is(.card-header,.card-body) {
  padding: .4rem .55rem;
  background: transparent;
  border: 0;
}
.theme-client #main-body .client-service-tools > .card-sidebar:is([menuitemname$="Actions" i], :has(a[href*="gid=addons"])) {
  margin-inline-start: auto !important;
}
.theme-client #main-body .client-service-tools > .card-sidebar:is([menuitemname$="Actions" i], :has(a[href*="gid=addons"])) .list-group {
  justify-content: flex-end;
  gap: .45rem;
}
.theme-client #main-body .client-service-tools > .card-sidebar:is([menuitemname$="Actions" i], :has(a[href*="gid=addons"])) a.list-group-item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .55rem .8rem;
  background: var(--766-tint);
  color: var(--766-accent-hover);
  font-size: .85rem;
  font-weight: 650;
}
.theme-client #main-body .client-service-tools > .card-sidebar:is([menuitemname$="Actions" i], :has(a[href*="gid=addons"])) a.list-group-item:hover {
  background: #f8dfcf;
}
.theme-client #main-body .client-service-tools a.list-group-item:is([menuitemname="Place a New Order" i], [menuitemname="Order New Services" i], [href="cart.php"], [href$="/cart.php"], [href$="/store"], [href*="cart.php?a=add"]):not([href*="gid=addons"]) {
  background: var(--766-accent) !important;
  color: #fff !important;
}
.theme-client #main-body .client-service-tools a.list-group-item:is([menuitemname="Place a New Order" i], [menuitemname="Order New Services" i], [href="cart.php"], [href$="/cart.php"], [href$="/store"], [href*="cart.php?a=add"]):not([href*="gid=addons"]):hover {
  background: var(--766-accent-hover) !important;
}

.theme-client .primary-content .table-container:has(table.table-list) {
  padding: clamp(.8rem, 2.5vw, 1.25rem);
  border: 1px solid var(--766-line);
  border-radius: 14px;
  background: var(--766-surface);
}
.theme-client .dataTables_wrapper .listtable {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  column-gap: .75rem;
}
.theme-client .dataTables_wrapper .listtable > table { grid-column: 1 / -1; min-width: 0; }
.theme-client .dataTables_wrapper .listtable > .dataTables_info {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
  color: var(--766-muted);
  font-size: .82rem;
}
.theme-client .dataTables_wrapper .listtable > .dataTables_filter {
  grid-column: 2;
  grid-row: 1;
  float: none;
  width: auto;
  margin: 0;
}
.theme-client .dataTables_wrapper .dataTables_filter label {
  display: block;
  margin: 0;
}
.theme-client .dataTables_wrapper .dataTables_filter label .form-control {
  max-width: 100%;
  margin: 0;
  min-height: 39px;
  border-color: var(--766-line);
  background-color: var(--766-surface);
}
.theme-client .dataTables_wrapper table.table-list {
  border: 0 !important;
  background: transparent;
}
.theme-client .dataTables_wrapper table.table-list thead th {
  padding-block: .65rem;
  border: 0;
  border-bottom: 1px solid var(--766-line);
  background: transparent !important;
  color: var(--766-muted);
  font-weight: 650;
}
.theme-client .dataTables_wrapper table.table-list tbody td {
  padding-block: .85rem;
  border-top: 0;
  border-bottom: 1px solid #eee6df;
  background: transparent;
  overflow-wrap: anywhere;
}
.theme-client .dataTables_wrapper table.table-list tbody > tr:hover > td { background: #fbf4ee; }
.theme-client .dataTables_wrapper table.table-list tbody > tr:last-child > td { border-bottom: 0; }
.theme-client .service-table-name { color: var(--766-text); font-weight: 700; }
.theme-client .service-table-name:hover { color: var(--766-accent); }
.theme-client .dataTables_wrapper table#tableServicesList :is(th, td):nth-child(2) { text-align: start; }
.theme-client .dataTables_wrapper .page-link {
  border-color: transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--766-muted);
}
.theme-client .dataTables_wrapper .page-item.active .page-link {
  border-color: transparent;
  background: var(--766-tint);
  color: var(--766-accent-hover);
  font-weight: 700;
}
@media (max-width: 600px) {
  .theme-client .dataTables_wrapper .listtable { grid-template-columns: minmax(0, 1fr); row-gap: .55rem; }
  .theme-client .dataTables_wrapper .listtable > .dataTables_filter { grid-column: 1; grid-row: 2; }
  .theme-client .dataTables_wrapper :is(.dataTables_length, .dataTables_paginate) { float: none; }
  .theme-client .dataTables_wrapper .pagination { flex-wrap: wrap; margin-top: .4rem; }
  .theme-client #tableServicesList thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .theme-client #tableServicesList tbody,
  .theme-client #tableServicesList tbody > tr > td {
    display: block;
  }
  .theme-client #tableServicesList tbody > tr {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem .75rem;
    padding: .65rem 0;
  }
  .theme-client #tableServicesList tbody > tr + tr {
    border-top: 1px solid var(--766-line);
  }
  .theme-client #tableServicesList tbody > tr > td {
    padding: 0;
    border: 0;
    text-align: start !important;
  }
  .theme-client #tableServicesList :is(.service-table-product, .dataTables_empty) {
    grid-column: 1 / -1;
  }
  .theme-client #tableServicesList .service-table-ssl {
    position: absolute;
    inset-block-start: .7rem;
    inset-inline-end: 0;
  }
  .theme-client #tableServicesList .service-table-ssl:not(:has(img)) { display: none; }
  .theme-client #tableServicesList tr:has(.service-table-ssl img) .service-table-product { padding-inline-end: 2rem; }
  .theme-client #tableServicesList td[data-label]::before {
    display: block;
    margin-bottom: .2rem;
    color: var(--766-muted);
    content: attr(data-label);
    font-size: .77rem;
  }
}

/* Quiet account dashboard and a single service summary surface */
.theme-client .tiles > .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.theme-client .tiles > .row > div { width: 100%; max-width: none; }
.theme-client .tiles > .row > div .tile {
  display: grid;
  align-content: start;
  gap: .3rem;
  height: 100%;
  padding: .95rem;
  border: 1px solid var(--766-line);
  border-radius: 13px;
  background: var(--766-surface);
  color: var(--766-text);
}
.theme-client .tiles .tile:hover { background: #fff8f2; border-color: #e7c9b7; }
.theme-client .tiles .tile i {
  position: static;
  display: grid;
  place-items: center;
  margin: 0 0 .15rem;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 8px;
  background: var(--766-tint);
  color: var(--766-accent) !important;
  font-size: .85rem;
}
.theme-client .tiles .tile .stat { margin: 0; color: var(--766-text); font-size: 1.6rem; line-height: 1.15; font-weight: 750; }
.theme-client .tiles .tile .title {
  color: var(--766-muted);
  font-size: .82rem;
  text-transform: none;
  overflow-wrap: anywhere;
}
.theme-client .tiles .tile .highlight { display: none; }
.theme-client #main-body .client-home-cards .card {
  border: 1px solid var(--766-line);
  box-shadow: none;
}
.theme-client #main-body .client-home-cards .card-header {
  background: transparent;
  border: 0;
}
.theme-client #main-body .client-home-cards .card-title { display: flow-root; font-size: 1rem; }
.theme-client #main-body .client-home-cards .card-body { padding: .45rem 1.25rem 1.1rem; }
.theme-client #main-body .client-home-cards .card-body p { padding: 0; }
.theme-client #main-body .client-home-cards .card-header .btn {
  border: 1px solid var(--766-line);
  background: var(--766-surface) !important;
  color: var(--766-text) !important;
}
.theme-client #main-body .client-home-cards .list-group-item {
  border-width: 1px 0 0;
  border-color: #eee6df;
  border-radius: 0 !important;
  background: transparent;
}
.theme-client #main-body .client-home-cards .card-footer { background: transparent; border: 0; }
.theme-client #main-body .client-home-cards .card-footer:empty { display: none; }
.theme-client #main-body .client-home-cards [menuitemname="Active Products/Services"] .card-header {
  padding: 1rem 1.25rem .55rem;
}
.theme-client #main-body .client-home-cards [menuitemname="Active Products/Services"] .card-title {
  font-size: 1.09rem;
}
.theme-client #main-body .client-home-cards [menuitemname="Active Products/Services"] .list-group {
  padding: 0 .65rem;
  border: 0 !important;
}
.theme-client #main-body .client-home-cards [menuitemname="Active Products/Services"] .list-group-item {
  padding: .85rem .6rem;
  border: 0 !important;
  border-radius: 9px !important;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .list-group > .list-group-item:has(.div-service-item) ~ .list-group-item:has(.div-service-item)::before {
  position: absolute;
  inset: 0 .6rem auto;
  height: 1px;
  background: var(--766-line);
  content: "";
  pointer-events: none;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .list-group-item:hover {
  background: #fbf4ee;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem .85rem;
  min-height: 3.5rem;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-status {
  width: auto !important;
  text-align: start;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-status .label:not(.label-placeholder) {
  width: auto;
  padding: .3rem .52rem;
  border-radius: 6px;
  background: #eee8e2;
  color: #63574e;
  font-size: .78rem;
  font-weight: 650;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-status .label-success:not(.label-placeholder) {
  background: #eaf3e9;
  color: #2e6239;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-name {
  gap: .12rem;
  margin: 0;
  color: var(--766-text);
  font-size: clamp(.94rem, 1.5vw, 1.04rem);
  line-height: 1.45;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-name > span {
  white-space: normal;
  overflow-wrap: anywhere;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-name .text-domain {
  color: var(--766-muted);
  font-size: .84rem;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .3rem;
  margin: 0;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .btn-view-details {
  min-height: 38px;
  padding-inline: .68rem;
  border-color: var(--766-line);
  color: var(--766-text);
  font-size: .83rem;
}
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .btn-view-details i { display: none; }
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .btn-view-details span:not(.sr-only) { display: inline !important; }
#main-body .client-home-cards [menuitemname="Active Products/Services"] .card-footer { padding: .35rem 1.25rem .8rem; }
.theme-client .client-home-cards [menuitemname="Active Products/Services"] .btn-view-more { font-size: .83rem; }
.theme-client #main-body .service-overview-card { box-shadow: none; }
.service-overview-card .card-body { padding: clamp(1rem, 3vw, 1.65rem); }
.service-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.3rem 1.75rem;
}
.service-overview-identification {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .8rem;
  min-width: 0;
}
.service-overview-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9px;
  background: var(--766-tint);
  color: var(--766-accent);
}
.service-overview-heading h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.32;
  overflow-wrap: anywhere;
}
.service-overview-heading p { margin: .3rem 0 .55rem; color: var(--766-muted); overflow-wrap: anywhere; }
.service-overview-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding-inline-start: clamp(0px, calc(100% - 15rem), 3.4rem);
}
.service-overview-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-width: 7rem;
  min-height: 46px;
}
.service-overview-actions .btn { font-size: .83rem; }
.service-overview-actions .btn-outline-danger { border-color: #e8c3be; color: #9a3028; }
.service-overview-actions .btn-outline-danger:hover { background: #f8e4e0; color: #8d281f; }
.service-overview-facts {
  display: grid;
  gap: .52rem;
  margin: 0;
}
.service-overview-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: baseline;
  gap: .5rem;
}
.service-overview-facts dt { color: var(--766-muted); font-size: .82rem; font-weight: 550; }
.service-overview-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--766-text);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.theme-client :is(.service-status, #tableServicesList .status) {
  display: inline-flex;
  min-width: 0 !important;
  padding: .27rem .6rem !important;
  border: 0 !important;
  border-radius: 100px !important;
  background: var(--service-state-bg, #eee8e2) !important;
  color: var(--service-state-text, #63574e) !important;
  font-size: .76rem !important;
  font-weight: 650;
  line-height: 1.3;
}
.theme-client :is(.service-status, #tableServicesList .status).status-active {
  --service-state-bg: #eaf3e9;
  --service-state-text: #2e6239;
}
.theme-client :is(.service-status, #tableServicesList .status):is(.status-pending, .status-suspended) {
  --service-state-bg: #faf0db;
  --service-state-text: #775216;
}
.theme-client :is(.service-status, #tableServicesList .status):is(.status-terminated, .status-fraud) {
  --service-state-bg: #f6e6e3;
  --service-state-text: #87342a;
}
#main-body .service-overview-actions .service-status {
  align-items: center;
  justify-content: center;
  min-width: 7rem !important;
  min-height: 46px;
  padding: .48rem .85rem !important;
  border-radius: 8px !important;
  font-size: .875rem !important;
}
.theme-client .service-section-tabs {
  flex-wrap: wrap;
  gap: .25rem;
  margin: .85rem 0 .6rem;
  border: 0;
}
.theme-client .service-section-tabs .nav-link {
  border: 0;
  border-radius: 8px;
  color: var(--766-muted);
}
.theme-client .service-section-tabs .nav-link:is(.active, :hover) {
  background: var(--766-tint);
  color: var(--766-accent-hover);
}
.theme-client .service-section-tabs + .responsive-tabs-sm-connector { display: none !important; }
.theme-client .product-details-tab-container {
  border: 1px solid var(--766-line);
  border-radius: 12px;
  background: var(--766-surface) !important;
}
@media (max-width: 767.98px) {
  .theme-client .tiles > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-overview { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .theme-client .client-home-cards [menuitemname="Active Products/Services"] .div-service-name {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}
