:root{--site-bg:#f6f7fb;--site-card:#fff;--site-fg:#15202b;--site-muted:#64748b;--site-primary:#0f766e;--site-primary-dark:#115e59;--site-accent:#f59e0b;--site-border:#d9e2ec;--site-radius:18px;--site-shadow:0 20px 60px rgba(15,23,42,.10)}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--site-fg);background:radial-gradient(circle at top left,rgba(15,118,110,.14),transparent 28rem),linear-gradient(180deg,#fff,var(--site-bg));min-height:100vh}.site-header{position:sticky;top:0;z-index:20;backdrop-filter:blur(20px);background:rgba(255,255,255,.84);border-bottom:1px solid rgba(217,226,236,.86)}.nav{max-width:1180px;margin:0 auto;padding:18px 20px;display:flex;align-items:center;gap:18px;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.04em;font-size:1.18rem}.brand-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--site-primary),#22c55e);display:grid;place-items:center;color:#fff;box-shadow:var(--site-shadow)}.nav-actions{display:flex;align-items:center;gap:10px}.button{appearance:none;border:0;border-radius:999px;background:var(--site-primary);color:#fff;font-weight:800;padding:12px 18px;cursor:pointer;box-shadow:0 10px 24px rgba(15,118,110,.24)}.button:hover{background:var(--site-primary-dark)}.button.secondary{color:var(--site-primary);background:rgba(15,118,110,.10);box-shadow:none}.cart-count{display:inline-grid;min-width:24px;height:24px;border-radius:99px;place-items:center;background:var(--site-accent);color:#111827;margin-left:8px;font-size:.82rem}.hero{max-width:1180px;margin:0 auto;padding:72px 20px 36px;display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center}.hero h1{font-size:clamp(2.3rem,6vw,5rem);line-height:.94;margin:0 0 18px;letter-spacing:-.08em}.hero p{color:var(--site-muted);font-size:1.12rem;line-height:1.7;max-width:62ch}.hero-card,.checkout-panel,.product-card{background:var(--site-card);border:1px solid var(--site-border);box-shadow:var(--site-shadow)}.hero-card{border-radius:32px;padding:24px}.status-grid{display:grid;gap:12px}.status-item{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--site-border);border-radius:20px;padding:14px;background:#fbfdff}.status-dot{flex:0 0 12px;width:12px;height:12px;border-radius:99px;background:#22c55e;margin-top:6px}main{max-width:1180px;margin:0 auto;padding:28px 20px 90px}.section-head{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:18px}.section-head h2{font-size:2rem;margin:0;letter-spacing:-.05em}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{border-radius:var(--site-radius);overflow:hidden;display:flex;flex-direction:column}.product-art{height:150px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(15,118,110,.12),rgba(245,158,11,.14))}.product-art img{width:88px;height:88px}.product-body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}.product-body h3{margin:0;letter-spacing:-.03em}.product-body p{margin:0;color:var(--site-muted);line-height:1.55;font-size:.93rem}.price-row{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:12px}.price{font-weight:900;font-size:1.2rem}.checkout-panel{margin-top:32px;border-radius:28px;overflow:hidden}.checkout-grid{display:grid;grid-template-columns:1fr 1fr}.cart-panel,.form-panel{padding:24px}.cart-panel{border-right:1px solid var(--site-border)}.cart-lines{display:grid;gap:10px;min-height:84px}.cart-line{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;background:#f8fafc;border:1px solid var(--site-border);border-radius:16px;padding:12px}.cart-line small{color:var(--site-muted)}.qty{display:flex;align-items:center;gap:8px}.qty button{border:1px solid var(--site-border);background:white;width:28px;height:28px;border-radius:9px;cursor:pointer}.field-grid{display:grid;gap:12px}label{display:grid;gap:7px;color:var(--site-muted);font-size:.9rem;font-weight:700}input,select{width:100%;border:1px solid var(--site-border);border-radius:14px;padding:12px 13px;color:var(--site-fg);font:inherit;background:#fff}.total-row{margin-top:18px;border-top:1px solid var(--site-border);padding-top:18px;display:grid;gap:8px}.total-line{display:flex;justify-content:space-between;color:var(--site-muted)}.total-line.grand{color:var(--site-fg);font-size:1.25rem;font-weight:900}.output{margin-top:18px;border-radius:18px;background:#0f172a;color:#e2e8f0;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.82rem;min-height:96px;overflow:auto}.notice{margin-top:18px;background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.3);color:#92400e;border-radius:18px;padding:14px 16px;line-height:1.55}.footer{max-width:1180px;margin:0 auto;padding:40px 20px;color:var(--site-muted);border-top:1px solid var(--site-border)}@media(max-width:920px){.hero,.checkout-grid{grid-template-columns:1fr}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.cart-panel{border-right:0;border-bottom:1px solid var(--site-border)}}@media(max-width:560px){.products{grid-template-columns:1fr}.nav{align-items:flex-start;flex-direction:column}}

/* ZCE_FIX_CHECKOUT_RADIUS_ELLIPSE_V1
   Prevent host button pill radii from turning the full checkout panel into a giant ellipse. */
.checkout-panel.panafrika-widget {
  border-radius: var(--panafrika-container-radius, 28px) !important;
  overflow: hidden;
}

/* ZCE_LIVE_CHECKOUT_DIAGNOSTICS_V1 */
.diag-panel {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.07);
  color: #0f172a;
  padding: 14px 16px;
  line-height: 1.5;
}
.diag-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.diag-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}
.diag-badge.neutral { background: #e2e8f0; color: #334155; }
.diag-badge.ok { background: #dcfce7; color: #166534; }
.diag-badge.warn { background: #fef3c7; color: #92400e; }
.diag-badge.error { background: #fee2e2; color: #991b1b; }
.diag-summary { margin-top: 10px; color: #334155; }
.diag-details { margin-top: 10px; }
.diag-details summary {
  cursor: pointer;
  font-weight: 800;
  color: #0f766e;
}
#diag-output {
  white-space: pre-wrap;
  max-height: 360px;
  overflow: auto;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  font-size: 0.78rem;
}


/* ZCE_TEST_SHOP_DIAG_BOX_OVERFLOW_FIX */
#checkout-diagnostics,
.diag-panel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

#checkout-diagnostics .diag-head,
#checkout-diagnostics .diag-summary,
#checkout-diagnostics .diag-details,
.diag-panel .diag-head,
.diag-panel .diag-summary,
.diag-panel .diag-details {
  max-width: 100%;
  box-sizing: border-box;
}

#checkout-diagnostics .diag-details,
.diag-panel .diag-details {
  display: block;
  margin-top: 0.75rem;
}

#checkout-diagnostics .diag-details summary,
.diag-panel .diag-details summary {
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

#diag-output,
.diag-panel pre,
#checkout-diagnostics pre {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 120px;
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 1rem;
  margin: 0;
}

@media (max-width: 900px) {
  #diag-output,
  .diag-panel pre,
  #checkout-diagnostics pre {
    max-height: 240px;
  }
}

