/* ShopXpert distributor CTA mockup extras. Tokens match the live sxi page system. */
:root, .sxd-scope, .sxi-page {
  --sxd-blue: #1769E0;
  --sxd-blue2: #59A0FF;
  --sxd-ink: #0B1320;
  --sxd-navy: #0D1C2F;
  --sxd-slate: #53667C;
  --sxd-cyan: #27C2E8;
  --sxd-cloud: #F5F8FC;
  --sxd-ok: #16855B;
  --sxd-line: rgba(23, 105, 224, 0.14);
  --sxd-warn: #D97706;
}
.elementor-invisible { visibility: visible !important; opacity: 1 !important; }

.sxmock-bar {
  position: relative;
  z-index: 99999;
  background: #fff4c2;
  color: #5b4500;
  font: 600 12px/1.4 Inter, system-ui, sans-serif;
  text-align: center;
  padding: 8px 14px;
  border-bottom: 1px solid #eadb8a;
}
.sxmock-bar a { color: #5b4500; text-decoration: underline; }

/* Shared section + buttons */
.sxd-wrap { width: min(100% - 48px, 1200px); margin-inline: auto; }
.sxd-section { padding: 72px 0 80px; font-family: Inter, system-ui, sans-serif; color: var(--sxd-ink); }
.sxd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sxd-blue);
}
.sxd-eyebrow:before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--sxd-blue);
  border-radius: 2px;
}
.sxd-section h2, .sxd-hero h1 {
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 750;
  color: var(--sxd-ink);
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
.sxd-section h2 { font-size: clamp(26px, 3.2vw, 40px); }
.sxd-lead, .sxd-section p.sxd-lead {
  margin: 0 0 24px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--sxd-slate);
}
.sxd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sxd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 44px;
  padding: 14px 24px;
  border-radius: 10px;
  font: 700 15px/1.2 Inter, system-ui, sans-serif;
  text-decoration: none;
  border: 1px solid var(--sxd-blue);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s, color 0.2s, border-color 0.2s;
}
.sxd-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 105, 224, 0.25); }
.sxd-btn:focus-visible { outline: 3px solid #ffb020; outline-offset: 2px; }
.sxd-btn-primary,
.sxd-btn-primary:link,
.sxd-btn-primary:visited,
.sxd-btn-primary:hover,
.sxd-btn-primary:active,
.sxd-btn-primary:focus {
  background: var(--sxd-blue);
  color: #fff !important;
}
.sxd-btn-primary:hover, .sxd-btn-primary:focus { background: #0B3F8F; border-color: #0B3F8F; }
.sxd-btn-secondary,
.sxd-btn-secondary:link,
.sxd-btn-secondary:visited {
  background: #fff;
  color: var(--sxd-ink) !important;
  border-color: rgba(11, 19, 32, 0.18);
}
.sxd-btn-secondary:hover, .sxd-btn-secondary:focus {
  background: #EAF2FE;
  border-color: var(--sxd-blue);
  color: var(--sxd-blue) !important;
}
.sxd-btn-ghost,
.sxd-btn-ghost:link,
.sxd-btn-ghost:visited,
.sxd-btn-ghost:hover,
.sxd-btn-ghost:focus {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}
.sxd-btn-ghost:hover, .sxd-btn-ghost:focus { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

/* Inventory Management: CTA under the existing distributor cards */
.sxd-follow { background: var(--sxd-cloud); border-top: 1px solid var(--sxd-line); }
.sxd-follow .sxd-section { padding: 56px 0 64px; }

/* Products hub: compact band above the footer */
.sxd-band {
  background:
    radial-gradient(circle at 85% 0%, rgba(23, 105, 224, 0.35), transparent 40%),
    linear-gradient(160deg, var(--sxd-ink) 0%, var(--sxd-navy) 60%, #011870 140%);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
}
.sxd-band .sxd-section { padding: 56px 0 60px; }
.sxd-band .sxd-eyebrow { color: var(--sxd-cyan); }
.sxd-band .sxd-eyebrow:before { background: var(--sxd-cyan); }
.sxd-band h2 { color: #fff; }
.sxd-band .sxd-lead { color: rgba(255, 255, 255, 0.72); }

/* Distributor page */
.sxd-page { font-family: Inter, system-ui, sans-serif; color: var(--sxd-ink); background: #fff; }
.sxd-hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at 86% 14%, rgba(39, 194, 232, 0.18), transparent 32%),
    radial-gradient(circle at 6% 90%, rgba(23, 105, 224, 0.12), transparent 30%),
    linear-gradient(135deg, #fff 0%, var(--sxd-cloud) 100%);
}
.sxd-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 16ch; }
.sxd-hero .sxd-lead { font-size: 19px; max-width: 620px; }
.sxd-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--sxd-ink); }
.sxd-trust span { display: inline-flex; align-items: center; gap: 8px; }
.sxd-trust span:before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(22, 133, 91, 0.12);
  color: var(--sxd-ok);
  font-size: 11px;
  font-weight: 900;
}

.sxd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sxd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sxd-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--sxd-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(13, 28, 47, 0.06);
}
.sxd-card h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.sxd-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--sxd-slate); }
.sxd-num {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--sxd-blue), var(--sxd-blue2));
  font-size: 12px;
  font-weight: 800;
}
.sxd-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sxd-blue); }

.sxd-offer { background: var(--sxd-cloud); }
.sxd-offer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 0; padding: 0; list-style: none; }
.sxd-offer-list a, .sxd-offer-list span {
  display: block;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--sxd-line);
  color: var(--sxd-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 16px;
  min-height: 44px;
}
.sxd-offer-list a:hover { border-color: rgba(23, 105, 224, 0.4); }
.sxd-offer-list a:focus-visible { outline: 3px solid #ffb020; outline-offset: 2px; }
.sxd-offer-list small { display: block; margin-top: 4px; font-weight: 500; color: var(--sxd-slate); font-size: 14px; }

.sxd-quote { font-size: 20px; line-height: 1.5; margin: 0 0 16px; max-width: 800px; }
.sxd-quote-attr { margin: 0 0 24px; color: var(--sxd-slate); font-size: 15px; }

.sxd-terms {
  margin: 0 0 12px;
  padding: 22px 24px;
  border: 1px solid var(--sxd-line);
  border-radius: 16px;
  background: var(--sxd-cloud);
}
.sxd-terms h3 { margin: 0 0 8px; font-size: 16px; color: var(--sxd-ink); }
.sxd-terms p, .sxd-terms li { color: var(--sxd-slate); font-size: 15px; line-height: 1.55; }
.sxd-terms ul { margin: 8px 0 0; padding: 0 0 0 18px; }
.sxd-terms li { margin: 0 0 6px; }
.sxd-note { font-size: 14px; color: var(--sxd-slate); margin: 16px 0 0; max-width: 680px; }
.sxd-page a, .sxd-lead a, .sxd-note a, .sxd-section a { color: var(--sxd-blue); }
.sxd-page a:hover, .sxd-lead a:hover, .sxd-note a:hover { text-decoration: underline; }
.sxd-offer-list a { color: var(--sxd-ink); }

.sxd-form-sec { background: #fff; }
.sxd-form-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.sxd-form {
  padding: 28px;
  border: 1px solid var(--sxd-line);
  border-radius: 20px;
  background: var(--sxd-cloud);
  box-shadow: 0 18px 45px rgba(13, 28, 47, 0.06);
}
.sxd-field { margin: 0 0 16px; }
.sxd-field label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--sxd-ink); }
.sxd-req { color: #D14343; }
.sxd-field input:not([type="file"]), .sxd-field select, .sxd-field textarea {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1.5px solid rgba(11, 19, 32, 0.16);
  border-radius: 10px;
  background: #fff;
  color: var(--sxd-ink);
  font-size: 16px;
  line-height: 1.3;
  font-family: Inter, system-ui, sans-serif;
  box-shadow: none;
}
.sxd-field textarea { height: auto; min-height: 110px; resize: vertical; }
.sxd-field input:not([type="file"]):focus, .sxd-field select:focus, .sxd-field textarea:focus {
  outline: 0;
  border-color: var(--sxd-blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.16);
}
.sxd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#sxd-submit.sxd-btn,
#sxd-submit.sxd-btn-primary {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 10px;
  background-color: #1769E0 !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid #1769E0 !important;
  font: 700 15px/1.2 Inter, system-ui, sans-serif !important;
  text-shadow: none !important;
  opacity: 1 !important;
  box-shadow: none;
}
#sxd-submit.sxd-btn-primary:hover,
#sxd-submit.sxd-btn-primary:focus,
#sxd-submit.sxd-btn-primary:focus-visible {
  background-color: #0B3F8F !important;
  border-color: #0B3F8F !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
#sxd-submit.sxd-btn-primary:disabled,
#sxd-submit.sxd-btn-primary[disabled] {
  background-color: #8FB0E8 !important;
  border-color: #8FB0E8 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.sxd-form-status { display: none; margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.sxd-form-status.is-error { display: block; background: #FDECEC; color: #8A1F1F; }
.sxd-thanks { display: none; padding: 28px; border-radius: 20px; background: #EAF8F1; border: 1px solid rgba(22, 133, 91, 0.25); }
.sxd-thanks h3 { margin: 0 0 8px; }
.sxd-thanks p { margin: 0; color: var(--sxd-slate); line-height: 1.6; }
.sxd-form.is-sent { display: none; }
.sxd-thanks.is-on { display: block; }

.sxd-index { max-width: 900px; margin: 0 auto; padding: 48px 24px 80px; font-family: Inter, system-ui, sans-serif; color: var(--sxd-ink); }
.sxd-index h1 { font-size: 36px; letter-spacing: -0.02em; margin: 0 0 12px; }
.sxd-index h2 { font-size: 22px; margin: 32px 0 12px; }
.sxd-index p, .sxd-index li { font-size: 16px; line-height: 1.6; color: var(--sxd-slate); }
.sxd-index a { color: var(--sxd-blue); }
.sxd-index table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 14.5px; }
.sxd-index th, .sxd-index td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--sxd-line); color: var(--sxd-ink); }
.sxd-index th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sxd-slate); }
.sxd-yes { color: var(--sxd-ok); font-weight: 800; }
.sxd-maybe { color: var(--sxd-warn); font-weight: 800; }
.sxd-no { color: #8A1F1F; font-weight: 800; }
.sxd-cards-nav { display: grid; gap: 14px; margin: 20px 0 28px; }
@media (min-width: 800px) { .sxd-cards-nav { grid-template-columns: repeat(3, 1fr); } }
.sxd-cards-nav a {
  display: block;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--sxd-line);
  text-decoration: none;
  color: var(--sxd-ink);
  background: #fff;
  box-shadow: 0 10px 30px rgba(13, 28, 47, 0.05);
  min-height: 44px;
}
.sxd-cards-nav a:hover { border-color: rgba(23, 105, 224, 0.4); }
.sxd-cards-nav strong { display: block; margin-bottom: 6px; font-size: 17px; }
.sxd-cards-nav span { color: var(--sxd-slate); font-size: 14px; }

@media (max-width: 900px) {
  .sxd-grid, .sxd-grid-3, .sxd-form-layout, .sxd-offer-list { grid-template-columns: 1fr; }
  .sxd-wrap { width: min(100% - 32px, 1200px); }
  .sxd-section, .sxd-hero { padding: 48px 0 56px; }
  .sxd-hero h1 { max-width: none; font-size: 36px; }
  .sxd-section h2 { font-size: 28px; }
}
@media (max-width: 700px) {
  .sxd-grid { grid-template-columns: 1fr; }
}

/* Optional file attachment */
.sxd-attach { position: relative; }
.sxd-attach-hint {
  margin: -2px 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sxd-slate);
}
.sxd-files-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}
.sxd-attach-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 44px;
  padding: 12px 20px;
  margin: 0;
  border-radius: 10px;
  border: 1.5px solid rgba(11, 19, 32, 0.16);
  background: #fff;
  color: var(--sxd-ink);
  font: 700 15px/1.2 Inter, system-ui, sans-serif;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.sxd-attach-btn:hover {
  border-color: var(--sxd-blue);
  background: #EAF2FE;
  color: var(--sxd-blue);
}
.sxd-files-input:focus + .sxd-attach-btn,
.sxd-attach-btn:focus-visible {
  outline: 3px solid #ffb020;
  outline-offset: 2px;
}
.sxd-attach.is-full .sxd-attach-btn {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.sxd-file-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.sxd-file-item {
  display: grid;
  grid-template-columns: 1fr auto 44px;
  align-items: center;
  gap: 8px 10px;
  min-height: 50px;
  padding: 6px 6px 6px 14px;
  border: 1.5px solid var(--sxd-line);
  border-radius: 10px;
  background: #fff;
}
.sxd-file-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--sxd-ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sxd-file-size {
  font-size: 12px;
  font-weight: 600;
  color: var(--sxd-slate);
  white-space: nowrap;
}
button.sxd-file-remove {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  margin: 0;
  border: 1.5px solid rgba(11, 19, 32, 0.16) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #0B1320 !important;
  -webkit-text-fill-color: #0B1320 !important;
  box-shadow: none !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer;
}
button.sxd-file-remove:hover {
  background: #FDECEC !important;
  border-color: #C44747 !important;
  color: #8A1F1F !important;
  -webkit-text-fill-color: #8A1F1F !important;
}
button.sxd-file-remove:focus-visible { outline: 3px solid #ffb020; outline-offset: 2px; }
.sxd-attach-error {
  display: none;
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #8A1F1F;
}
.sxd-attach-error.is-on { display: block; }
