/* Brand support — stable layout, compact directory */
:root {
  --bs-bg: #0b0a1a;
  --bs-surface: #12112a;
  --bs-elevated: #1a1838;
  --bs-border: rgba(148, 163, 184, 0.14);
  --bs-border-strong: rgba(157, 92, 255, 0.35);
  --bs-text: #f1f5f9;
  --bs-muted: #94a3b8;
  --bs-purple: #6f12ff;
  --bs-purple-light: #9d5cff;
  --bs-link: #c4b5fd;
  --bs-max: 720px;
  --bs-radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

.bs-body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bs-bg);
  background-image: radial-gradient(
    ellipse 90% 40% at 50% -10%,
    rgba(111, 18, 255, 0.18),
    transparent 70%
  );
  color: var(--bs-text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.bs-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.bs-skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.bs-header {
  border-bottom: 1px solid var(--bs-border);
  background: rgba(11, 10, 26, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.bs-header-inner,
.bs-main,
.bs-footer {
  max-width: var(--bs-max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.bs-header-inner {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bs-logo img {
  display: block;
  height: 30px;
  width: auto;
}

.bs-header-cta {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bs-purple), var(--bs-purple-light));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none;
  white-space: nowrap;
}
.bs-header-cta:hover {
  filter: brightness(1.08);
}
.bs-header-cta:focus-visible {
  outline: 2px solid var(--bs-purple-light);
  outline-offset: 2px;
}

.bs-main {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.bs-breadcrumbs {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--bs-muted);
}
.bs-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  align-items: center;
}
.bs-breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.35rem;
  opacity: 0.5;
}
.bs-breadcrumbs a {
  color: var(--bs-link);
  text-decoration: none;
}
.bs-breadcrumbs a:hover {
  text-decoration: underline;
}

.bs-main h1 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
}

.bs-lede {
  color: var(--bs-muted);
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  max-width: 36rem;
}

/* —— Search —— */
.bs-filter {
  margin-bottom: 1rem;
  position: sticky;
  top: 3.25rem;
  z-index: 15;
  padding: 0.5rem 0 0.75rem;
  background: var(--bs-bg);
}
.bs-filter input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--bs-border);
  background: var(--bs-surface);
  color: var(--bs-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.bs-filter input::placeholder {
  color: #64748b;
}
.bs-filter input:focus {
  outline: 2px solid rgba(157, 92, 255, 0.55);
  outline-offset: 1px;
  border-color: rgba(157, 92, 255, 0.45);
}
.bs-filter-meta {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: var(--bs-muted);
}

/* —— Directory list (one continuous surface) —— */
.bs-directory {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius);
  background: var(--bs-surface);
  overflow: hidden;
}

.bs-letter {
  margin: 0;
  padding: 0.45rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-muted);
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--bs-border);
  border-top: 1px solid var(--bs-border);
}
.bs-letter:first-child {
  border-top: none;
}
.bs-letter[hidden] {
  display: none !important;
}

.bs-brand-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--bs-border);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s ease;
}
.bs-directory > .bs-brand-row:last-child,
.bs-directory > .bs-brand-card:last-child {
  border-bottom: none;
}
a.bs-brand-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
a.bs-brand-row:focus-visible {
  outline: 2px solid var(--bs-purple-light);
  outline-offset: -2px;
  z-index: 1;
}
.bs-brand-row[hidden] {
  display: none !important;
}

.bs-brand-row-main {
  min-width: 0;
}

.bs-brand-name {
  display: block;
  margin: 0;
  font-size: 0.9875rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--bs-text);
}
a.bs-brand-row:hover .bs-brand-name {
  color: #fff;
}

.bs-brand-channels {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--bs-muted);
  line-height: 1.35;
}

.bs-brand-chevron {
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 300;
}

/* Directory-only brands */
.bs-brand-card {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--bs-border);
  border-radius: 0;
  background: transparent;
}
.bs-brand-card[hidden] {
  display: none !important;
}
.bs-brand-card .bs-brand-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

/* —— Detail page —— */
.bs-page-brand .bs-main h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 0.25rem;
}
.bs-page-brand .bs-lede {
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  color: var(--bs-text);
  font-weight: 500;
}
.bs-publisher {
  margin: 0 0 1.35rem;
  font-size: 0.75rem;
  color: var(--bs-muted);
}

.bs-support {
  margin: 0;
  padding: 0;
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius);
  background: var(--bs-surface);
  overflow: hidden;
}

.bs-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bs-contact-item {
  margin: 0;
  border-bottom: 1px solid var(--bs-border);
}
.bs-contact-item:last-child {
  border-bottom: none;
}

.bs-contact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s ease;
  min-height: 4.25rem;
}
a.bs-contact:hover {
  background: rgba(255, 255, 255, 0.04);
}
a.bs-contact:focus-visible {
  outline: 2px solid var(--bs-purple-light);
  outline-offset: -2px;
}
.bs-contact--static {
  cursor: default;
}

.bs-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--bs-elevated);
  color: var(--bs-link);
  flex-shrink: 0;
}
.bs-contact-svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
.bs-contact-item[data-channel-type='whatsapp'] .bs-contact-icon {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}
.bs-contact-item[data-channel-type='phone'] .bs-contact-icon {
  color: #93c5fd;
}
.bs-contact-item[data-channel-type='email'] .bs-contact-icon {
  color: #c4b5fd;
}
.bs-contact-item[data-channel-type='website'] .bs-contact-icon {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.1);
}

.bs-contact-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.bs-contact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bs-muted);
}
.bs-contact-value {
  font-size: 0.9875rem;
  font-weight: 650;
  color: var(--bs-text);
  word-break: break-word;
  line-height: 1.35;
}
a.bs-contact:hover .bs-contact-value {
  color: #fff;
}

.bs-contact-action {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bs-link);
  flex-shrink: 0;
}
a.bs-contact:hover .bs-contact-action {
  color: #fff;
}

.bs-contact-source {
  margin: 0;
  padding: 0 1rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--bs-muted);
}
.bs-contact-source a {
  color: var(--bs-muted);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.bs-contact-source a:hover {
  color: var(--bs-link);
}

/* Directory-only compact channels */
.bs-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.bs-channel {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  background: var(--bs-elevated);
  border-radius: 8px;
}
@media (min-width: 520px) {
  .bs-channel {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }
}
.bs-channel-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bs-muted);
}
.bs-channel-value {
  color: var(--bs-link);
  font-weight: 600;
  word-break: break-word;
  text-decoration: none;
  font-size: 0.9375rem;
}
a.bs-channel-value:hover {
  text-decoration: underline;
  color: #fff;
}
span.bs-channel-value {
  color: var(--bs-text);
}

/* —— CTA —— */
.bs-cta {
  margin-top: 1.75rem;
  padding: 1.15rem 1.1rem;
  border-radius: var(--bs-radius);
  border: 1px solid var(--bs-border-strong);
  background: rgba(111, 18, 255, 0.1);
}
.bs-cta h2 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}
.bs-cta p {
  margin: 0 0 0.75rem;
  color: var(--bs-muted);
  font-size: 0.875rem;
}
.bs-cta p:last-child {
  margin-bottom: 0;
}
.bs-cta-button {
  display: inline-block;
  padding: 0.65rem 1.05rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bs-purple), var(--bs-purple-light));
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.875rem;
}
.bs-cta-button:hover {
  filter: brightness(1.08);
}

.bs-back {
  margin-top: 1.35rem;
}
.bs-back a {
  display: inline-flex;
  align-items: center;
  color: var(--bs-link);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}
.bs-back a:hover {
  text-decoration: underline;
  color: #fff;
}

.bs-page-brand .bs-cta {
  margin-top: 1.5rem;
}

/* —— After-sales care + FAQ (detail pages) —— */
.bs-aftercare,
.bs-faq {
  margin-top: 1.75rem;
}
.bs-aftercare h2,
.bs-faq h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
.bs-aftercare p,
.bs-faq-item p {
  margin: 0;
  color: var(--bs-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.bs-faq-item {
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bs-border);
}
.bs-faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.bs-faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--bs-text);
}
.bs-disclaimer {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius);
  background: var(--bs-surface);
}
.bs-disclaimer p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--bs-muted);
}
.bs-disclaimer strong {
  color: var(--bs-text);
  font-weight: 700;
}

.bs-footer {
  padding-top: 1.25rem;
  padding-bottom: 2.25rem;
  border-top: 1px solid var(--bs-border);
  color: var(--bs-muted);
  font-size: 0.75rem;
}
.bs-footer a {
  color: var(--bs-link);
}
.bs-footer p {
  margin: 0 0 0.4rem;
}

.bs-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
