/* Bella256 Boutique Toolkit — front-end styles.
   Scoped with .b256- prefixes; inherits fonts/colors from the Kadence theme
   where possible so it blends with your site. */

:root {
  --b256-accent: #b76e79;      /* dusty rose */
  --b256-accent-dark: #9a5560;
  --b256-soft: #faf3f4;
  --b256-border: #e9d8db;
}

/* ---------- Shared ---------- */
.b256-btn {
  display: inline-block;
  background: var(--b256-accent);
  color: #fff !important;
  border: 2px solid var(--b256-accent);
  border-radius: 999px;
  padding: 0.65em 1.6em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}
.b256-btn:hover { background: var(--b256-accent-dark); border-color: var(--b256-accent-dark); }
.b256-btn-outline { background: transparent; color: var(--b256-accent) !important; }
.b256-btn-outline:hover { background: var(--b256-soft); }
.b256-ext { font-size: 0.85em; opacity: 0.8; }
.b256-cta-row { margin: 1.5rem 0 0.5rem; }

.b256-card {
  background: #fff;
  border: 1px solid var(--b256-border);
  border-radius: 14px;
  padding: 1.75rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.b256-notice { border-radius: 10px; padding: 1rem 1.25rem; margin: 1rem 0; }
.b256-notice-success { background: #eef7ef; border: 1px solid #bfe0c3; }
.b256-notice-error { background: #fdf0f0; border: 1px solid #eec4c4; }

/* Visually hidden, still read by screen readers. */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Privacy messaging ---------- */
.b256-privacy-inline {
  background: #fff;
  border: 1px dashed var(--b256-border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.9em;
  margin: 0 0 1.5rem;
}
.b256-privacy-note {
  background: var(--b256-soft);
  border-left: 4px solid var(--b256-accent);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 0;
  font-size: 0.92em;
}
.b256-privacy-note h4 { margin: 0 0 0.4rem; }
.b256-privacy-note p { margin: 0; }
.b256-security-note ul { padding-left: 1.2rem; }
.b256-security-note li { margin-bottom: 0.6rem; }

/* ---------- Fit quiz ---------- */
.b256-quiz {
  max-width: 640px;
  margin: 0 auto;
  background: var(--b256-soft);
  border: 1px solid var(--b256-border);
  border-radius: 16px;
  padding: 2rem;
}
.b256-quiz-progress { height: 6px; background: #fff; border-radius: 999px; overflow: hidden; margin-bottom: 1.5rem; }
.b256-quiz-bar { display: block; height: 100%; background: var(--b256-accent); transition: width 0.25s ease; }
.b256-quiz h3 { margin-top: 0; }
.b256-quiz-sub { opacity: 0.8; margin-top: -0.25rem; }
.b256-quiz-options { display: grid; gap: 0.6rem; margin: 1.25rem 0; }
.b256-opt {
  text-align: left;
  background: #fff;
  border: 2px solid var(--b256-border);
  border-radius: 10px;
  padding: 0.8em 1em;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.b256-opt:hover { border-color: var(--b256-accent); }
.b256-opt.is-selected { border-color: var(--b256-accent); background: #fdf7f8; font-weight: 600; }
.b256-quiz-links { display: grid; gap: 0.6rem; margin: 1.25rem 0; }
.b256-quiz-links a {
  display: block;
  background: #fff;
  border: 2px solid var(--b256-accent);
  border-radius: 10px;
  padding: 0.8em 1em;
  font-weight: 600;
  text-decoration: none;
}
.b256-quiz-concierge { background: #fff; border-radius: 10px; padding: 1rem 1.25rem; margin-top: 1.25rem; }
.b256-quiz-restart { background: none; border: none; text-decoration: underline; cursor: pointer; margin-top: 1rem; font: inherit; opacity: 0.7; }

/* ---------- Steps (portal + fitting) ---------- */
.b256-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.b256-step { background: var(--b256-soft); border-radius: 12px; padding: 1.25rem; }
.b256-step h4 { margin: 0.5rem 0 0.25rem; }
.b256-step p { margin: 0; font-size: 0.92em; }
.b256-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em; height: 2em;
  border-radius: 50%;
  background: var(--b256-accent);
  color: #fff;
  font-weight: 700;
}

/* ---------- Community ---------- */
.b256-badge {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  z-index: 5;
  background: var(--b256-accent);
  color: #fff;
  font-size: 0.72em;
  font-weight: 700;
  padding: 0.25em 0.7em;
  border-radius: 999px;
}
li.product { position: relative; }
.b256-giveback {
  background: var(--b256-soft);
  border-left: 4px solid var(--b256-accent);
  border-radius: 0 10px 10px 0;
  padding: 0.8rem 1rem;
  margin: 1rem 0;
}

/* ---------- Homepage patterns ---------- */
.b256-hero { background: var(--b256-soft); border-radius: 18px; padding: 3.5rem 1.5rem; margin-bottom: 2rem; }
.b256-tile { background: #fff; border: 1px solid var(--b256-border); border-radius: 14px; padding: 1.5rem !important; }
.b256-tile ul { list-style: none; padding-left: 0; }
.b256-tile li { padding: 0.3em 0; }
.b256-community-banner { background: var(--b256-soft); border-radius: 18px; padding: 2.5rem 1.5rem; margin: 2rem 0; }
.b256-provider-strip { border-top: 1px solid var(--b256-border); border-bottom: 1px solid var(--b256-border); padding: 2rem 1rem; margin: 2rem 0; }
