/* xobtheme-cart.css — loads AFTER whmcsx.css on cart.php */

body.xob-cart {
  background: var(--xob-bg) !important;
  color: var(--xob-text) !important;
}

/* Kill whmcsx white surfaces inside cart */
body.xob-cart #whmcsx,
body.xob-cart #whmcsx section,
body.xob-cart #whmcsx .containerx {
  background: transparent !important;
  color: var(--xob-text) !important;
}

body.xob-cart .card-container {
  background: transparent !important;
  padding: 0 20px 48px !important;
}

body.xob-cart .card-container > .xob-container,
body.xob-cart .card-container > .xob-cart-panel {
  background: rgba(10, 22, 38, 0.92) !important;
  border: 1px solid var(--xob-border) !important;
  border-radius: var(--xob-radius-lg) !important;
  box-shadow: var(--xob-shadow) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 28px 24px 36px !important;
  margin-top: 24px !important;
}

body.xob-cart #whmcsx h1,
body.xob-cart #whmcsx h2,
body.xob-cart #whmcsx h3,
body.xob-cart #whmcsx h4,
body.xob-cart #whmcsx p,
body.xob-cart #whmcsx label,
body.xob-cart #whmcsx li,
body.xob-cart #whmcsx td,
body.xob-cart #whmcsx th {
  color: inherit;
}

/* Layout */
body.xob-cart .xob-cart-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

body.xob-cart .xob-cart-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

body.xob-cart .xob-cart-currency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--xob-border) !important;
  border-radius: var(--xob-radius-sm);
}

body.xob-cart .xob-cart-currency label {
  margin: 0 !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--xob-text-2) !important;
}

body.xob-cart .xob-select,
body.xob-cart #whmcsx select,
body.xob-cart #whmcsx .form-control {
  background: rgba(255,255,255,.06) !important;
  color: var(--xob-text) !important;
  border: 1px solid var(--xob-border) !important;
  border-radius: 8px !important;
  height: 36px;
  padding: 6px 12px;
  font-family: var(--xob-font);
  font-size: 14px;
}

body.xob-cart .xob-select option {
  background: #0a1626;
  color: #fff;
}

/* Sidebar */
body.xob-cart .xob-cart-sidebar {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--xob-border) !important;
  border-radius: var(--xob-radius);
  padding: 18px 14px;
  position: sticky;
  top: calc(var(--xob-topbar-h) + var(--xob-header-h) + 16px);
}

body.xob-cart .xob-cart-sidebar h3 {
  margin: 0 0 14px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--xob-border);
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
}

body.xob-cart .xob-cart-cats { list-style: none; margin: 0; padding: 0; }
body.xob-cart .xob-cart-cats li { margin-bottom: 4px; }
body.xob-cart .xob-cart-cats a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--xob-radius-sm);
  color: var(--xob-text-2) !important;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  transition: background .2s, color .2s;
}
body.xob-cart .xob-cart-cats a:hover {
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
}
body.xob-cart .xob-cart-cats li.active a {
  background: var(--xob-grad-soft) !important;
  color: #fff !important;
  border: 1px solid var(--xob-border-2);
  font-weight: 600;
}

/* Products head */
body.xob-cart .xob-cart-products-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--xob-border);
}

body.xob-cart .xob-cart-products-head h2 {
  margin: 0 0 6px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

body.xob-cart .xob-cart-products-head p {
  margin: 0 !important;
  color: var(--xob-text-3) !important;
  font-size: 14px;
}

/* Product cards — NO bootstrap panels */
body.xob-cart .xob-product-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.xob-cart .xob-product-card {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--xob-border) !important;
  border-radius: var(--xob-radius) !important;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: none !important;
}

body.xob-cart .xob-product-card:hover {
  border-color: var(--xob-border-2) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(14,165,233,.3) !important;
}

body.xob-cart .xob-product-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 20px;
  padding: 22px 24px;
  align-items: center;
}

body.xob-cart .xob-product-title {
  margin: 0 0 10px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

body.xob-cart .xob-product-title small {
  font-size: 12px;
  font-weight: 500;
  color: var(--xob-text-3) !important;
}

body.xob-cart .xob-product-desc,
body.xob-cart .xob-product-detail-desc {
  color: var(--xob-text-2) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

body.xob-cart .xob-product-detail-desc {
  margin-top: 10px !important;
}

body.xob-cart .xob-product-desc p,
body.xob-cart .xob-product-detail-desc p {
  margin: 0 0 .35em !important;
  display: block !important;
}

body.xob-cart .xob-product-feature-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

body.xob-cart .xob-product-feature-list li {
  position: relative;
  padding: 0 0 0 14px;
  margin: 0 0 6px;
  color: var(--xob-text-2) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

body.xob-cart .xob-product-feature-list li:last-child {
  margin-bottom: 0;
}

body.xob-cart .xob-product-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--xob-cyan);
  opacity: 0.85;
}

body.xob-cart .well.xob-product-summary strong {
  display: block;
  color: #fff !important;
  font-size: 16px;
}

body.xob-cart .xob-product-pricing {
  text-align: center;
  padding-left: 20px;
  border-left: 1px solid var(--xob-border);
}

body.xob-cart .xob-price-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--xob-text-3) !important;
  margin-bottom: 4px;
}

body.xob-cart .xob-price {
  color: var(--xob-cyan) !important;
  font-weight: 700 !important;
  font-size: 28px !important;
  line-height: 1.1;
  margin: 4px 0 14px !important;
}

body.xob-cart .xob-price small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--xob-text-2) !important;
  margin-top: 4px;
}

body.xob-cart .xob-btn-order {
  width: 100%;
  justify-content: center;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #04101d !important;
  background: var(--xob-grad) !important;
  background-image: var(--xob-grad) !important;
  border: none !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: var(--xob-shadow-blue);
}

body.xob-cart a.xob-btn-order:hover,
body.xob-cart a.xob-btn-order:focus,
body.xob-cart a.xob-btn-order:active {
  color: #04101d !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

body.xob-cart a.xob-btn-order i {
  color: #04101d !important;
}

body.xob-cart a.xob-btn-viewcart {
  color: var(--xob-text) !important;
}

body.xob-cart .xob-btn-order.is-disabled {
  opacity: .45;
  pointer-events: none;
}

body.xob-cart .xob-cart-footer-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--xob-border);
  text-align: center;
}

/* Override ALL whmcsx bootstrap panels inside cart (viewcart, configure, etc.) */
body.xob-cart #whmcsx .panel,
body.xob-cart #whmcsx .panel-default,
body.xob-cart #whmcsx .well,
body.xob-cart #whmcsx .jumbotron {
  background: rgba(255,255,255,.04) !important;
  background-color: rgba(255,255,255,.04) !important;
  border: 1px solid var(--xob-border) !important;
  border-color: var(--xob-border) !important;
  color: var(--xob-text) !important;
  border-radius: var(--xob-radius) !important;
  box-shadow: none !important;
}

body.xob-cart #whmcsx .panel-body,
body.xob-cart #whmcsx .panel-default > .panel-body {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--xob-text) !important;
  padding: 20px !important;
}

body.xob-cart #whmcsx .panel-heading {
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
  border-bottom: 1px solid var(--xob-border) !important;
}

body.xob-cart #whmcsx .table {
  color: var(--xob-text) !important;
  background: transparent !important;
}

body.xob-cart #whmcsx .table > thead > tr > th,
body.xob-cart #whmcsx .table > thead > tr > th.active,
body.xob-cart #whmcsx .table > tbody > tr > td.active,
body.xob-cart #whmcsx .table > tbody > tr > th.active,
body.xob-cart #whmcsx .table > tbody > tr.active > td,
body.xob-cart #whmcsx .table > tbody > tr.active > th {
  background: rgba(255,255,255,.06) !important;
  background-color: rgba(255,255,255,.06) !important;
  color: #fff !important;
  border-color: var(--xob-border) !important;
}

body.xob-cart #whmcsx .table > tbody > tr > td {
  border-color: var(--xob-border) !important;
  color: var(--xob-text-2) !important;
  background: transparent !important;
  background-color: transparent !important;
}

body.xob-cart #whmcsx .xob-cart-well,
body.xob-cart #whmcsx fieldset.xob-cart-well,
body.xob-cart #whmcsx form.xob-cart-well {
  min-height: 0;
  padding: 16px 18px !important;
  margin-bottom: 16px !important;
  background: rgba(255,255,255,.04) !important;
  background-color: rgba(255,255,255,.04) !important;
  border: 1px solid var(--xob-border) !important;
  border-radius: var(--xob-radius-sm) !important;
  box-shadow: none !important;
  color: var(--xob-text) !important;
}

body.xob-cart #whmcsx .xob-cart-actions {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

body.xob-cart #whmcsx .xob-cart-promo-row {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--xob-border);
}

body.xob-cart #whmcsx .xob-cart-promo-row .control-label {
  color: var(--xob-text-2) !important;
  font-weight: 600;
  padding-top: 8px;
}

body.xob-cart #whmcsx .btn,
body.xob-cart #whmcsx .btn-primary,
body.xob-cart #whmcsx .btn-success,
body.xob-cart #whmcsx input[type="submit"] {
  background: var(--xob-grad) !important;
  background-color: transparent !important;
  background-image: var(--xob-grad) !important;
  border: none !important;
  color: #04101d !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
}

body.xob-cart #whmcsx .btn-info {
  background: rgba(255,255,255,.06) !important;
  color: var(--xob-cyan) !important;
  border: 1px solid var(--xob-border-2) !important;
}

body.xob-cart #whmcsx .alert-info,
body.xob-cart #whmcsx fieldset.alert-info {
  background: rgba(14,165,233,.1) !important;
  border: 1px solid var(--xob-border-2) !important;
  color: var(--xob-text) !important;
}

body.xob-cart #whmcsx .alert-danger {
  background: rgba(239,68,68,.12) !important;
  border-color: rgba(239,68,68,.35) !important;
  color: #fecaca !important;
}

body.xob-cart #whmcsx .text-info,
body.xob-cart #whmcsx .text-muted {
  color: var(--xob-text-2) !important;
}

body.xob-cart #whmcsx .lead {
  color: var(--xob-cyan) !important;
  font-weight: 700 !important;
}

body.xob-cart #whmcsx a {
  color: var(--xob-accent);
}

body.xob-cart #whmcsx .row {
  margin-left: 0;
  margin-right: 0;
}

body.xob-cart #whmcsx .row > [class*="col-"] {
  float: none;
}

/* Configurable options — full-width desktop layout */
body.xob-cart .xob-config-fieldset {
  padding: 20px 22px !important;
}

body.xob-cart .xob-config-row {
  display: flex;
  align-items: flex-start;
  gap: 16px 24px;
  margin-bottom: 18px;
}

body.xob-cart .xob-config-row:last-child {
  margin-bottom: 0;
}

body.xob-cart .xob-config-label {
  flex: 0 0 240px;
  max-width: 240px;
  margin: 0 !important;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--xob-text) !important;
}

body.xob-cart .xob-config-control {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}

body.xob-cart .xob-config-select,
body.xob-cart .xob-config-control select.form-control {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 42px;
  height: auto !important;
  padding: 10px 36px 10px 14px !important;
  line-height: 1.4 !important;
  white-space: normal;
  text-overflow: clip;
}

body.xob-cart .xob-config-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.xob-cart .xob-config-radio,
body.xob-cart .xob-config-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  font-weight: 400;
  line-height: 1.5;
  color: var(--xob-text-2) !important;
  cursor: pointer;
}

body.xob-cart .xob-config-radio span,
body.xob-cart .xob-config-checkbox span {
  flex: 1;
  min-width: 0;
}

body.xob-cart .xob-config-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.xob-cart .xob-config-qty .form-control {
  width: 100px !important;
  flex: 0 0 100px;
}

body.xob-cart .xob-config-qty-label {
  color: var(--xob-text-2);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 767px) {
  body.xob-cart .xob-config-row {
    flex-direction: column;
    gap: 10px;
  }

  body.xob-cart .xob-config-label {
    flex: none;
    max-width: none;
    padding-top: 0;
  }
}

@media (max-width: 991px) {
  body.xob-cart .xob-cart-layout {
    grid-template-columns: 1fr;
  }
  body.xob-cart .xob-cart-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  body.xob-cart .xob-product-inner {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }
  body.xob-cart .xob-product-pricing {
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: 1px solid var(--xob-border);
  }
  body.xob-cart .card-container > .xob-container,
  body.xob-cart .card-container > .xob-cart-panel {
    padding: 20px 16px 28px !important;
  }
}
