/* WebWorld v2.5 — premium styling for the WHMCS Standard Cart child theme.
   Safe child-theme override: keeps WHMCS core / standard_cart files untouched. */

:root {
  --ww-red:#e71920;
  --ww-red-dark:#c70f16;
  --ww-ink:#242630;
  --ww-ink2:#15171d;
  --ww-muted:#6f7280;
  --ww-line:#e8e9ee;
  --ww-soft:#f6f7f9;
  --ww-shadow:0 18px 55px rgba(29,31,39,.10);
}

/* Cart typography + breathing room */
#order-standard_cart {
  color:var(--ww-ink);
  font-size:15px;
  padding-bottom:60px;
}
#order-standard_cart .cart-body { padding-left:24px; }
#order-standard_cart .header-lined { margin:0 0 8px; padding:0; border:0; }
#order-standard_cart .header-lined h1,
#order-standard_cart h1.font-size-36 {
  color:var(--ww-ink);
  font-size:38px !important;
  line-height:1.12;
  letter-spacing:-.035em;
  font-weight:840;
  margin:0 0 8px;
}
#order-standard_cart .cart-body > p:first-of-type {
  color:var(--ww-muted);
  font-size:16px;
  margin:0 0 22px;
}

/* Left actions/navigation: turn the stock WHMCS block into a clean card */
#order-standard_cart .cart-sidebar {
  padding-right:18px;
}
#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .card,
#order-standard_cart .cart-sidebar .list-group {
  overflow:hidden;
  border:1px solid var(--ww-line) !important;
  border-radius:16px !important;
  background:#fff;
  box-shadow:0 10px 28px rgba(28,30,38,.055);
}
#order-standard_cart .cart-sidebar .panel-heading,
#order-standard_cart .cart-sidebar .card-header {
  background:#fff !important;
  color:var(--ww-ink) !important;
  border-bottom:1px solid var(--ww-line) !important;
  padding:15px 18px !important;
  font-weight:820;
}
#order-standard_cart .cart-sidebar .list-group-item {
  padding:13px 18px !important;
  border-color:#eef0f3 !important;
  color:#454954;
  font-weight:650;
  background:#fff;
}
#order-standard_cart .cart-sidebar .list-group-item:hover {
  color:var(--ww-red);
  background:#fff7f7;
}
#order-standard_cart .cart-sidebar .list-group-item.active,
#order-standard_cart .cart-sidebar .list-group-item.active:hover,
#order-standard_cart .cart-sidebar .list-group-item.active:focus {
  color:#fff !important;
  background:var(--ww-ink) !important;
  border-color:var(--ww-ink) !important;
}
#order-standard_cart .cart-sidebar .list-group-item i { color:var(--ww-red); }
#order-standard_cart .cart-sidebar .list-group-item.active i { color:#fff; }

/* Domain finder hero: replace the legacy yellow WHMCS panel */
#order-standard_cart .domain-checker-container {
  position:relative;
  overflow:hidden;
  margin:26px 0 38px;
  padding:0;
  border:0;
  border-radius:22px;
  background:
    radial-gradient(circle at 92% 25%, rgba(231,25,32,.25) 0, rgba(231,25,32,0) 28%),
    linear-gradient(135deg,#171922 0%,#262934 100%) !important;
  box-shadow:0 22px 52px rgba(22,24,31,.18);
}
#order-standard_cart .domain-checker-container::before {
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  border:56px solid rgba(255,255,255,.035);
  border-radius:50%;
  right:-105px;
  bottom:-120px;
  pointer-events:none;
}
#order-standard_cart .domain-checker-bg {
  position:relative;
  z-index:1;
  padding:62px 34px !important;
  background-image:none !important;
}
#order-standard_cart .domain-checker-container .input-group-box {
  position:relative;
  width:100%;
  margin:0 auto;
  padding:12px !important;
  border:1px solid rgba(255,255,255,.38);
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}
#order-standard_cart .domain-checker-container.domain-checker-advanced textarea {
  width:100% !important;
  height:126px !important;
  min-height:126px;
  padding:15px 160px 44px 16px !important;
  border:1px solid #dfe1e6 !important;
  border-radius:12px !important;
  outline:0;
  resize:vertical;
  color:#30333d;
  background:#fff;
  font-size:15px;
  line-height:1.55;
  box-shadow:none !important;
}
#order-standard_cart .domain-checker-container.domain-checker-advanced textarea:focus {
  border-color:#b9bdc7 !important;
  box-shadow:0 0 0 4px rgba(231,25,32,.08) !important;
}
#order-standard_cart .domain-checker-container.domain-checker-advanced #btnCheckAvailability {
  position:absolute !important;
  top:66px !important;
  right:24px !important;
  width:auto !important;
  min-width:126px;
  height:48px !important;
  padding:0 20px;
  border:0 !important;
  border-radius:10px !important;
  background:var(--ww-red) !important;
  color:#fff !important;
  font-weight:820;
  box-shadow:0 8px 18px rgba(231,25,32,.24);
}
#order-standard_cart .domain-checker-container.domain-checker-advanced #btnCheckAvailability:hover {
  background:var(--ww-red-dark) !important;
  transform:translateY(-1px);
}
#order-standard_cart .domain-checker-container.domain-checker-advanced .multiselect,
#order-standard_cart .domain-checker-container.domain-checker-advanced label {
  color:#595d68 !important;
  font-size:12px !important;
  font-weight:650 !important;
}
#order-standard_cart .domain-checker-container.domain-checker-advanced .multiselect {
  margin:7px 9px 0 3px !important;
  padding:4px 4px !important;
  border-radius:6px;
}
#order-standard_cart .domain-checker-container.domain-checker-advanced label {
  margin-top:10px !important;
}

/* Non-AI search stays premium too */
#order-standard_cart .domain-checker-container:not(.domain-checker-advanced) .form-control {
  height:52px;
  border:1px solid #dfe1e6;
  border-radius:10px 0 0 10px !important;
  box-shadow:none;
}
#order-standard_cart .domain-checker-container:not(.domain-checker-advanced) .domain-check-availability {
  height:52px;
  background:var(--ww-red);
  border-color:var(--ww-red);
  font-weight:800;
  border-radius:0 10px 10px 0;
}

/* Results */
#order-standard_cart .primary-domain-header {
  margin-top:20px;
  color:var(--ww-ink);
  font-size:12px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
#order-standard_cart .domain-checker-result-headline,
#order-standard_cart .domain-lookup-primary-results .headline {
  font-weight:800;
}
#order-standard_cart .suggested-domains,
#order-standard_cart .spotlight-tlds {
  border-radius:16px;
  overflow:hidden;
}
#order-standard_cart .spotlight-tld {
  border-color:var(--ww-line);
  border-radius:14px;
  box-shadow:0 8px 22px rgba(28,30,38,.045);
}
#order-standard_cart .btn-primary,
#order-standard_cart .btn-add-to-cart {
  background:var(--ww-red) !important;
  border-color:var(--ww-red) !important;
}
#order-standard_cart .btn-primary:hover,
#order-standard_cart .btn-add-to-cart:hover {
  background:var(--ww-red-dark) !important;
  border-color:var(--ww-red-dark) !important;
}

/* TLD category chips */
#order-standard_cart .domain-pricing {
  margin-top:34px;
}
#order-standard_cart .domain-pricing h4 {
  color:var(--ww-ink);
  font-size:22px !important;
  font-weight:830;
  letter-spacing:-.02em;
  margin:0 0 16px;
}
#order-standard_cart .tld-filters {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:18px;
}
#order-standard_cart .tld-filters a.badge,
#order-standard_cart .tld-filters .badge {
  display:inline-flex;
  align-items:center;
  padding:8px 12px !important;
  border:1px solid #e2e4e9;
  border-radius:999px !important;
  background:#fff !important;
  color:#555a66 !important;
  font-size:12px;
  font-weight:760;
  text-decoration:none;
  box-shadow:none;
}
#order-standard_cart .tld-filters a.badge:hover,
#order-standard_cart .tld-filters a.badge.active,
#order-standard_cart .tld-filters a.badge.badge-success,
#order-standard_cart .tld-filters .badge-success {
  background:#fff0f1 !important;
  border-color:#ffcfd1 !important;
  color:var(--ww-red) !important;
}

/* Domain price matrix */
#order-standard_cart .domain-pricing > .bg-white {
  overflow:hidden;
  border:1px solid var(--ww-line);
  border-radius:18px;
  background:#fff !important;
  box-shadow:0 12px 34px rgba(28,30,38,.055);
}
#order-standard_cart .domain-pricing .tld-pricing-header {
  background:#f5f6f8;
  color:#4b4f5a;
  font-size:12px;
  font-weight:850;
  letter-spacing:.045em;
  text-transform:uppercase;
}
#order-standard_cart .domain-pricing .tld-pricing-header .tld-column,
#order-standard_cart .domain-pricing .tld-pricing-header .col-xs-4,
#order-standard_cart .domain-pricing .tld-pricing-header .col-sm-4,
#order-standard_cart .domain-pricing .tld-pricing-header .col-4 {
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 10px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
}
#order-standard_cart .domain-pricing .tld-pricing-header .tld-column {
  justify-content:flex-start;
  padding-left:24px !important;
}
#order-standard_cart .domain-pricing .tld-row {
  min-height:66px;
  padding:0 !important;
  border-bottom:1px solid #eef0f3 !important;
  background:#fff;
  transition:background .15s ease;
}
#order-standard_cart .domain-pricing .tld-row:last-child { border-bottom:0 !important; }
#order-standard_cart .domain-pricing .tld-row:hover,
#order-standard_cart .domain-pricing .tld-row.highlighted {
  background:#fff8f8 !important;
}
#order-standard_cart .domain-pricing .two-row-center {
  min-height:66px;
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 !important;
  padding-left:24px !important;
  border-right:1px solid #eef0f3 !important;
  font-size:17px;
}
#order-standard_cart .domain-pricing .tld-row > .col-md-8 > .row > div {
  min-height:66px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#30333c;
  font-weight:720;
  border-left:1px solid #f2f3f5;
}
#order-standard_cart .domain-pricing .tld-row small {
  margin-top:2px;
  color:#8a8e98;
  font-size:11px;
  font-weight:600;
}

/* Bottom promotional blocks */
#order-standard_cart .domain-promo-box {
  min-height:180px;
  margin:28px 0 10px;
  padding:26px !important;
  border:1px solid var(--ww-line) !important;
  border-radius:18px !important;
  background:#fff !important;
  color:var(--ww-ink) !important;
  box-shadow:0 10px 30px rgba(28,30,38,.055);
}
#order-standard_cart .domain-promo-box h3 {
  color:var(--ww-ink);
  font-weight:830;
  letter-spacing:-.02em;
}
#order-standard_cart .domain-promo-box > div > i {
  color:var(--ww-red);
  opacity:.9;
}
#order-standard_cart .domain-promo-box .text-warning,
#order-standard_cart .domain-promo-box .text-primary {
  color:var(--ww-red) !important;
}
#order-standard_cart .domain-promo-box .btn-warning {
  color:#fff !important;
  background:var(--ww-ink) !important;
  border-color:var(--ww-ink) !important;
  font-weight:780;
}

/* Responsive */
@media (max-width:1199px) {
  #order-standard_cart .cart-body { padding-left:15px; }
}
@media (max-width:767px) {
  #order-standard_cart .header-lined h1,
  #order-standard_cart h1.font-size-36 { font-size:31px !important; }
  #order-standard_cart .domain-checker-bg { padding:34px 16px !important; }
  #order-standard_cart .domain-checker-container .input-group-box { padding:10px !important; }
  #order-standard_cart .domain-checker-container.domain-checker-advanced textarea {
    height:155px !important;
    min-height:155px;
    padding:14px !important;
    padding-bottom:60px !important;
  }
  #order-standard_cart .domain-checker-container.domain-checker-advanced #btnCheckAvailability {
    position:relative !important;
    top:auto !important;
    right:auto !important;
    width:100% !important;
    margin-top:10px;
  }
  #order-standard_cart .domain-pricing > .bg-white { overflow-x:auto; }
  #order-standard_cart .domain-pricing .tld-pricing-header,
  #order-standard_cart .domain-pricing .tld-row { min-width:660px; }
  #order-standard_cart .tld-filters { gap:6px; }
  #order-standard_cart .tld-filters a.badge,
  #order-standard_cart .tld-filters .badge { padding:7px 10px !important; }
}


/* === Leesbaarheidsfix 14-11-2026 (Claude) =========================== */
/* Producttitels op donkere kop: wit */
#order-standard_cart .products .product header,
#order-standard_cart .products .product header span,
#order-standard_cart .products .product header .qty { color:#fff !important; }
#order-standard_cart .products .product header span { font-size:20px; font-weight:800; letter-spacing:-.01em; }
#order-standard_cart .products .product header .qty { opacity:.75; font-size:13px; }
/* Knoppen: witte tekst op rood/groen/donker */
#order-standard_cart .btn-success,#order-standard_cart .btn-primary,#order-standard_cart .btn-danger,
#order-standard_cart .btn-order-now,#order-standard_cart .btn-checkout,
#order-standard_cart a.btn-success,#order-standard_cart a.btn-primary,#order-standard_cart a.btn-danger,
#order-standard_cart .btn-success *,#order-standard_cart .btn-order-now * { color:#fff !important; }
#order-standard_cart .btn-order-now { font-weight:700; padding:10px 18px; border-radius:10px; }
#order-standard_cart .btn-order-now:hover { background:var(--ww-red-dark) !important; border-color:var(--ww-red-dark) !important; }
/* Productkaart: prijs en features beter scanbaar */
#order-standard_cart .products .product .product-pricing .price { color:var(--ww-ink); font-size:28px; font-weight:800; }
#order-standard_cart .products .product .product-desc li,
#order-standard_cart .products .product .product-desc { color:#3b3e4a; line-height:1.7; }


/* === Winkelwagen-koppen in huisstijl (14-11-2026) === */
#order-standard_cart .view-cart-items-header{background:#242630 !important;color:#fff !important;border-radius:12px 12px 0 0}
#order-standard_cart .view-cart-items-header *{color:#fff !important}
#order-standard_cart .order-summary{background:#242630 !important;border-radius:14px;overflow:hidden}
#order-standard_cart .order-summary h2{background:#e71920 !important;color:#fff !important;font-weight:800;font-size:18px}
#order-standard_cart .order-summary .summary-container{background:#fff}
