﻿/* =========================================================
   BeeSearch — Modern SaaS / Premium
   ========================================================= */
:root {
  /* Brand scale — built around your logo #F89A68 */
  --honey-50:  #FFF6F1;
  --honey-100: #FFE9DD;
  --honey-200: #FFD2BB;
  --honey-300: #FCB692;
  --honey-400: #F89A68;   /* ← your logo color */
  --honey-500: #F27E45;
  --honey-600: #E26528;
  --honey-700: #B94E1B;

  --ink-900: #0E0B08;
  --ink-800: #1A1613;
  --ink-700: #2A241E;
  --ink-500: #6B6259;
  --ink-300: #B9B1A7;
  --ink-100: #EDE9E3;
  --ink-50:  #F7F4EF;

  --bg:         #FDF9F5;
  --surface:    #FFFFFF;
  --border:     #F0E4DA;
  --border-2:   #E6D5C7;
  --text:       #0E0B08;
  --muted:      #6B6259;
  --danger:     #DC2626;
  --success:    #059669;

  --shadow-xs: 0 1px 2px rgba(14,11,8,.04);
  --shadow-sm: 0 2px 6px rgba(14,11,8,.05), 0 1px 2px rgba(14,11,8,.04);
  --shadow-md: 0 8px 24px -8px rgba(14,11,8,.10), 0 2px 6px rgba(14,11,8,.05);
  --shadow-lg: 0 24px 60px -20px rgba(14,11,8,.18), 0 8px 20px -10px rgba(14,11,8,.08);
  --shadow-glow: 0 12px 32px -8px rgba(248,154,104,.45);  /* matches new brand */

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --font: "Plus Jakarta Sans", "Tajawal", system-ui, -apple-system, sans-serif;
  --font-ar: "Tajawal", "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.bs-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* ==================== Header ==================== */
.bs-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,250,246,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.bs-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(252,250,246,.92);
}
.bs-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.bs-logo { display: inline-flex; align-items: center; gap: 11px; }
.bs-logo__mark {
  width: auto; height: 38px;
  filter: drop-shadow(0 4px 10px rgba(245,144,26,.35));
}
.bs-logo__mark2 {
  width: auto; height: 100px;
  filter: drop-shadow(0 4px 10px rgba(245,144,26,.35));
}
.bs-logo__text {
  font-weight: 800; font-size: 19px; letter-spacing: -.3px;
  display: inline-flex; align-items: baseline;
}
.bs-logo__text b { color: var(--ink-900); }
.bs-logo__text span { color: var(--honey-500); font-weight: 700; margin-inline-start: 1px; }

.bs-nav { display: flex; gap: 8px; align-items: center; }
.bs-nav-link {
  padding: 9px 14px;
  font-size: 14.5px; font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  background: transparent; border: 0; cursor: pointer;
  transition: background .15s, color .15s;
}
.bs-nav-link:hover { background: var(--ink-50); color: var(--ink-900); }

/* ==================== Buttons ==================== */
.bs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font: inherit; font-weight: 700; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .22s ease, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  letter-spacing: -.1px;
}
.bs-btn--primary {
  background: linear-gradient(180deg, #FFB84D 0%, var(--honey-500) 55%, var(--honey-600) 100%);
  color: #fff;
  border-color: var(--honey-600);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 6px 16px -4px rgba(245,144,26,.5),
    0 2px 4px rgba(245,144,26,.25);
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.bs-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    0 10px 24px -4px rgba(245,144,26,.55),
    0 4px 8px rgba(245,144,26,.3);
}
.bs-btn--primary:active { transform: translateY(0); }

.bs-btn--ghost {
  background: var(--surface); color: var(--ink-800);
  border-color: var(--border-2);
  box-shadow: var(--shadow-xs);
}
.bs-btn--ghost:hover { border-color: var(--ink-300); background: var(--ink-50); }

.bs-btn--dark {
  background: var(--ink-900); color: #fff;
  box-shadow: 0 6px 16px -4px rgba(14,11,8,.35);
}
.bs-btn--dark:hover { background: var(--ink-700); transform: translateY(-1px); }

.bs-btn--danger {
  background: linear-gradient(180deg, #F87171, #DC2626);
  color: #fff;
  border-color: #B91C1C;
  box-shadow: 0 6px 16px -4px rgba(220,38,38,.4);
}
.bs-btn--danger:hover { transform: translateY(-1px); }

.bs-btn--block { width: 100%; }
.bs-btn--sm { padding: 8px 14px; font-size: 13px; border-radius: var(--r-sm); }
.bs-btn--icon { padding: 8px; width: 34px; height: 34px; border-radius: var(--r-sm); }

/* ==================== Hero ==================== */
.bs-hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
}

/* Ambient gradient mesh behind hero */
.bs-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 15% 15%, rgba(255,196,107,.22), transparent 65%),
    radial-gradient(700px 380px at 90% 5%, rgba(255,170,60,.15), transparent 60%),
    radial-gradient(500px 320px at 50% 100%, rgba(245,144,26,.10), transparent 65%);
  pointer-events: none;
}

/* Fine grain / noise overlay for premium feel */
.bs-hero__noise {
  position: absolute; inset: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .04 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
  pointer-events: none;
  mix-blend-mode: multiply;
}

.bs-hero__inner { position: relative; text-align: center; }

.bs-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-xs);
  margin-bottom: 26px;
}
.bs-badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--honey-500);
  box-shadow: 0 0 0 4px var(--honey-100);
  animation: pulse 2s ease-in-out infinite;
}
.bs-badge b { color: var(--honey-600); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--honey-100); }
  50%      { box-shadow: 0 0 0 7px var(--honey-50); }
}

.bs-hero__title {
  margin: 0 0 22px;
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--ink-900);
  font-family: var(--font-ar);
}
.bs-hero__title .grad {
  background: linear-gradient(120deg, var(--honey-500) 0%, var(--honey-400) 40%, var(--honey-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bs-hero__sub {
  margin: 0 auto 44px;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
  text-align: center;
  text-align: -webkit-center;
}

/* ==================== Search Card ==================== */
.bs-search {
  max-width: 980px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 30px 60px -30px rgba(14,11,8,.25),
    0 10px 24px -12px rgba(245,144,26,.15);
  display: grid;
  grid-template-columns: 180px 180px 1fr auto;
  gap: 8px;
  align-items: stretch;
  position: relative;
}
.bs-search__cell {
  display: flex; flex-direction: column;
  padding: 10px 16px;
  border-radius: var(--r-lg);
  background: var(--ink-50);
  transition: background .15s, box-shadow .15s;
  position: relative;
}
.bs-search__cell:hover { background: #F2EDE4; }
.bs-search__cell:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px var(--honey-400), 0 0 0 6px rgba(245,144,26,.12);
}
.bs-search__cell label {
  font-size: 11px; font-weight: 800;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.bs-search__cell .bs-input {
  border: 0; background: transparent; padding: 2px 0;
  font-size: 15px; font-weight: 600;
  border-radius: 0;
  color: var(--ink-900);
}
.bs-search__cell .bs-input:focus { outline: none; box-shadow: none; }
.bs-search__cell--grow { flex: 1; }

.bs-search__submit {
  border-radius: var(--r-lg);
  padding: 0 30px;
  min-height: 62px;
  font-size: 15px;
}

.bs-inline-loading {
  position: absolute;
  inset-inline-end: 16px; top: 50%; transform: translateY(-50%);
  display: none;
}
.bs-inline-loading.is-visible { display: block; }

.bs-hero__cta {
  margin-top: 28px;
  font-size: 14.5px;
  color: var(--muted);
}
.bs-hero__cta a {
  color: var(--honey-600);
  font-weight: 800;
  border-bottom: 2px solid var(--honey-200);
  padding-bottom: 1px;
  transition: border-color .18s, color .18s;
}
.bs-hero__cta a:hover { border-bottom-color: var(--honey-500); color: var(--honey-700); }

/* Trust stats below */
.bs-stats {
  margin-top: 48px;
  display: flex; justify-content: center;
  gap: 56px; flex-wrap: wrap;
}
.bs-stat { text-align: center; }
.bs-stat__num {
  font-size: 28px; font-weight: 900;
  color: var(--ink-900);
  letter-spacing: -.8px;
}
.bs-stat__label {
  font-size: 12.5px; font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ==================== Section ==================== */
.bs-section { padding: 72px 24px; flex: 1; position: relative; }
.bs-section__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.bs-section__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.9px;
  color: var(--ink-900);
  display: flex; align-items: center; gap: 14px;
}
.bs-section__title .accent-bar {
  width: 6px; height: 32px; border-radius: 3px;
  background: linear-gradient(180deg, var(--honey-400), var(--honey-600));
  box-shadow: 0 6px 16px -4px rgba(245,144,26,.5);
}
.bs-link {
  color: var(--honey-600); font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: background .15s;
}
.bs-link:hover { background: var(--honey-50); }

/* ==================== Grid + Card ==================== */
.bs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}

.bs-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s;
  overflow: hidden;
}
.bs-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 60%, rgba(255,175,60,.06) 100%);
  opacity: 0;
  transition: opacity .22s;
  pointer-events: none;
}
.bs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 20px 40px -22px rgba(245,144,26,.25);
  border-color: var(--honey-200);
}
.bs-card:hover::before { opacity: 1; }

.bs-card__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px;
}
.bs-card__title {
  margin: 0;
  font-size: 17.5px; font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.35;
  color: var(--ink-900);
}
.bs-card__verified {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  background: linear-gradient(180deg, #ECFDF5, #D1FAE5);
  color: #047857;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 800;
  border: 1px solid #A7F3D0;
}

.bs-card__meta {
  margin: 0; font-size: 13px;
  color: var(--muted);
  display: flex; align-items: center; gap: 6px;
  font-weight: 600;
}
.bs-card__meta::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--honey-400);
  flex-shrink: 0;
}

.bs-card__note {
  margin: 0; color: var(--ink-700); font-size: 14.5px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Contact chips */
.bs-contacts {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-2);
}
.bs-contact {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: var(--r-pill);
  background: var(--ink-50);
  border: 1px solid var(--border);
  font-size: 12px; font-weight: 700; color: var(--ink-700);
  transition: all .15s;
  max-width: 100%;
}
.bs-contact:hover {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
  transform: translateY(-1px);
}
.bs-contact span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 130px;
}
.bs-contact svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Card footer */
.bs-card__footer {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  gap: 12px; flex-wrap: wrap;
}
.bs-card__actions { display: flex; gap: 6px; align-items: center; }

.bs-rate-widget {
  display: inline-flex; gap: 1px; align-items: center;
}
.bs-rate-widget button {
  background: none; border: 0; padding: 0 1px;
  font-size: 16px; line-height: 1;
  color: var(--ink-300); cursor: default;
}
.bs-rate-widget button.is-on { color: var(--honey-500); }
.bs-rate-widget .bs-rate-count {
  font-size: 12px; color: var(--muted);
  margin-inline-start: 6px; font-weight: 700;
}

/* ==================== Modals ==================== */
.bs-modal { position: fixed; inset: 0; display: none; z-index: 100; }
.bs-modal.is-open { display: grid; place-items: center; padding: 20px; }
.bs-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(14,11,8,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: bsFade .2s ease;
}
.bs-modal__panel {
  position: relative;
  width: min(94vw, 460px);
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 40px 80px -20px rgba(14,11,8,.4);
  animation: bsPop .26s cubic-bezier(.2,.7,.3,1);
  max-height: 92vh; overflow-y: auto;
}
.bs-modal__panel--lg { width: min(94vw, 740px); }

.bs-modal__close {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink-50); border: 0;
  font-size: 18px; color: var(--ink-700);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s, color .15s, transform .15s;
  z-index: 2;
}
.bs-modal__close:hover { background: var(--ink-900); color: #fff; transform: rotate(90deg); }

.bs-modal__title {
  margin: 0 0 6px;
  font-size: 24px; font-weight: 900;
  letter-spacing: -.5px;
  color: var(--ink-900);
}
.bs-modal__sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
}

/* Form */
.bs-form { display: flex; flex-direction: column; gap: 6px; }
.bs-form label {
  font-size: 12.5px; font-weight: 800;
  color: var(--ink-800);
  margin-top: 12px;
  letter-spacing: -.1px;
}
.bs-form__row {
  display: flex; justify-content: space-between; align-items: center;
  margin: 12px 0 16px; font-size: 13px;
}
.bs-check {
  display: inline-flex; gap: 8px; align-items: flex-start;
  color: var(--ink-700); font-weight: 600; cursor: pointer;
  font-size: 13px; line-height: 1.55;
}
.bs-check input { accent-color: var(--honey-500); margin-top: 3px; flex-shrink: 0; }
.bs-form__foot {
  text-align: center; margin: 16px 0 0;
  font-size: 13.5px; color: var(--muted);
}
.bs-form__foot a { color: var(--honey-600); font-weight: 800; }
.bs-form__foot a:hover { text-decoration: underline; }

/* Inputs — Modern SaaS */
.bs-input {
  appearance: none; -webkit-appearance: none;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: var(--surface);
  font: inherit; font-size: 15px; color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
  box-shadow: 0 1px 2px rgba(14,11,8,.03) inset;
}
.bs-input::placeholder { color: var(--ink-300); font-weight: 500; }
.bs-input:hover { border-color: var(--ink-300); }
.bs-input:focus {
  outline: none;
  border-color: var(--honey-500);
  box-shadow: 0 0 0 4px rgba(245,144,26,.15), 0 1px 2px rgba(14,11,8,.03) inset;
}
.bs-input:disabled { opacity: .55; cursor: not-allowed; }

select.bs-input {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-700) 50%),
    linear-gradient(135deg, var(--ink-700) 50%, transparent 50%);
  background-position: calc(0% + 16px) 50%, calc(0% + 11px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-inline-start: 32px;
}

/* Steps */
.bs-steps {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.bs-step {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700;
  color: var(--muted);
  background: var(--ink-50);
  transition: all .2s;
}
.bs-step__num {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--border-2); color: var(--ink-700);
  border-radius: 50%;
  font-size: 11.5px; font-weight: 800;
}
.bs-step.is-active {
  background: linear-gradient(180deg, var(--honey-400), var(--honey-500));
  color: #fff;
  box-shadow: 0 4px 10px -2px rgba(245,144,26,.45);
}
.bs-step.is-active .bs-step__num { background: rgba(255,255,255,.28); color: #fff; }
.bs-step__divider { flex: 1; height: 1px; background: var(--border-2); }

/* Contact grid inside form */
.bs-contacts-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 16px;
  margin-top: 6px;
}
.bs-contact-field { display: flex; flex-direction: column; gap: 6px; }
.bs-contact-field label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800;
  color: var(--muted); margin: 0;
}
.bs-contact-field label svg { width: 13px; height: 13px; color: var(--honey-500); }
.bs-contact-field .bs-input { padding: 10px 12px; font-size: 14px; }

.bs-section-title {
  margin: 24px 0 8px;
  font-size: 13px; font-weight: 900;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-900);
  display: flex; align-items: center; gap: 12px;
}
.bs-section-title::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border-2), transparent);
}

@keyframes bsFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes bsPop  {
  from { opacity: 0; transform: translateY(12px) scale(.97) }
  to   { opacity: 1; transform: none }
}

/* ==================== Rating modal ==================== */
.bs-rating-big {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 8px 0 6px;
}
.bs-rating-big__stars { display: inline-flex; gap: 4px; direction: ltr; }
.bs-rating-big__stars button {
  background: none; border: 0; padding: 0;
  font-size: 44px; line-height: 1;
  color: var(--ink-300); cursor: pointer;
  transition: color .12s, transform .18s cubic-bezier(.2,.7,.3,1);
}
.bs-rating-big__stars button:hover { transform: translateY(-3px) scale(1.06); }
.bs-rating-big__stars button.is-on {
  color: var(--honey-500);
  text-shadow: 0 6px 14px rgba(245,144,26,.45);
}
.bs-rating-big__label {
  font-size: 15px; font-weight: 800;
  color: var(--ink-700);
  min-height: 24px;
}
.bs-rating-big__avg { font-size: 13px; color: var(--muted); }

/* ==================== Loading ==================== */
.bs-loading {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  background: rgba(14,11,8,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bs-loading.is-open { display: grid; }
.bs-loading__box {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 34px 44px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 40px 80px -20px rgba(14,11,8,.45);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  animation: bsPop .22s ease;
  min-width: 240px;
}
.bs-spinner {
  position: relative;
  width: 52px; height: 52px;
}
.bs-spinner::before,
.bs-spinner::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid transparent;
}
.bs-spinner::before {
  border-top-color: var(--honey-500);
  border-right-color: var(--honey-300);
  animation: bsSpin 1s linear infinite;
}
.bs-spinner::after {
  inset: 8px;
  border-bottom-color: var(--honey-400);
  border-left-color: var(--honey-200);
  animation: bsSpin 1.4s linear infinite reverse;
}
.bs-spinner__dot {
  position: absolute; inset: 0; margin: auto;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--honey-500);
  box-shadow: 0 0 12px rgba(245,144,26,.6);
  animation: bsPulse 1.1s ease-in-out infinite;
}
.bs-loading__text {
  font-size: 15px; font-weight: 800;
  color: var(--ink-900); text-align: center;
}
.bs-loading__hint {
  font-size: 12.5px; color: var(--muted);
  text-align: center; margin-top: -10px;
}
@keyframes bsSpin { to { transform: rotate(360deg) } }
@keyframes bsPulse {
  0%, 100% { transform: scale(1); opacity: 1 }
  50%      { transform: scale(.6); opacity: .5 }
}

.bs-inline-spinner {
  display: inline-block;
  width: 13px; height: 13px;
  border: 2px solid var(--honey-200);
  border-top-color: var(--honey-500);
  border-radius: 50%;
  animation: bsSpin .8s linear infinite;
}

/* ==================== Footer ==================== */
.bs-footer {
  background: var(--ink-900);
  color: #fff;
  padding: 48px 0 32px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}
.bs-footer::before {
  content: "";
  position: absolute;
  top: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--honey-400), var(--honey-600), var(--honey-400));
}
.bs-footer__inner {
  display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap;
}
.bs-footer__brand p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}
.bs-footer__social { display: flex; gap: 8px; }
.bs-footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff; font-size: 12.5px; font-weight: 800;
  transition: background .2s, transform .15s;
}
.bs-footer__social a:hover {
  background: var(--honey-500);
  transform: translateY(-2px);
  border-color: var(--honey-500);
}

/* ==================== Toast ==================== */
.bs-toast {
  position: fixed; bottom: 26px; inset-inline-start: 26px;
  background: var(--ink-900); color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: 0 20px 40px -12px rgba(14,11,8,.5);
  font-size: 14px; font-weight: 700;
  opacity: 0; transform: translateY(14px);
  transition: opacity .25s, transform .25s cubic-bezier(.2,.7,.3,1);
  z-index: 400; pointer-events: none;
  max-width: 90vw;
  border-inline-start: 4px solid var(--honey-500);
}
.bs-toast.is-visible { opacity: 1; transform: translateY(0); }
.bs-toast.is-success { background: var(--success); border-inline-start-color: #fff; }
.bs-toast.is-danger  { background: var(--danger);  border-inline-start-color: #fff; }

/* ==================== Responsive ==================== */
@media (max-width: 900px) {
  .bs-search {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .bs-search__cell { padding: 12px 16px; }
  .bs-search__submit { min-height: 54px; }
  .bs-stats { gap: 32px; }
}
@media (max-width: 640px) {
  .bs-container { padding-inline: 18px; }
  .bs-hero { padding: 40px 0 64px; }
  .bs-section { padding: 44px 18px; }
  .bs-nav-link { display: none; }
  .bs-header__inner { height: 68px; }
  .bs-rating-big__stars button { font-size: 36px; }
}
.bs-nav-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text);
}
.bs-nav-user__avatar {
    width: 26px; height: 26px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--honey-400), var(--honey-600));
    color: #0E0B08;
    border-radius: 50%;
    font-weight: 800;
    font-size: 12px;
}

/* ============ COMMERCIAL MODAL ============ */
.bs-modal__panel--commercial {
    width: min(94vw, 720px);
    padding: 16px;
    text-align: center;
}

.bs-commercial-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s ease;
}

.bs-commercial-link:hover {
    transform: scale(1.01);
}

.bs-commercial-img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.bs-commercial-note {
    margin: 14px 6px 4px;
    font-size: 14px;
    color: var(--muted, #6b7280);
    line-height: 1.6;
}

.bs-card.is-coded {
    border: 2px solid var(--honey-400, #f59e0b);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .15);
}

.bs-card__coded {
    display: inline-block;
    background: var(--honey-400, #f59e0b);
    color: #0E0B08;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-inline-end: 6px;
    vertical-align: middle;
}