/* ═══════════════════════════════════════════════════════════
   BROPIZZA — Профил на клиент
   AGGRESSIVE LUXURY UI UPGRADE — visual only
   Логика: 1:1
═══════════════════════════════════════════════════════════ */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #030303;
}

#bp-root *, #bp-root *::before, #bp-root *::after { box-sizing: border-box; min-width: 0; }
#bp-root img { max-width: 100%; display: block; }
#bp-root a { text-decoration: none; color: inherit; }
#bp-root button { font-family: 'Oswald', 'Nunito', system-ui; }

#bp-root {
  --bp-bg-0: #030303;
  --bp-bg-1: #070707;
  --bp-bg-2: #0b0b0c;
  --bp-panel-0: #0d0d0f;
  --bp-panel-1: #111113;
  --bp-panel-2: #171719;
  --bp-panel-3: #1e1e21;
  --bp-gold: #f5a800;
  --bp-gold-2: #ffcc45;
  --bp-gold-soft: #ffd978;
  --bp-gold-dark: #b97800;
  --bp-text: #f4f0e8;
  --bp-text-soft: rgba(255,255,255,.72);
  --bp-text-muted: rgba(255,255,255,.50);
  --bp-text-dim: rgba(255,255,255,.34);
  --bp-border: rgba(255,255,255,.08);
  --bp-border-gold: rgba(245,168,0,.22);
  --bp-border-soft: rgba(255,255,255,.06);
  --bp-green: #49d177;
  --bp-green-bg: rgba(73,209,119,.11);
  --bp-green-border: rgba(73,209,119,.25);
  --bp-red: #cc1b1b;
  --bp-red-bg: rgba(204,27,27,.10);
  --bro-black: var(--bp-bg-1);
  --bro-black-2: var(--bp-bg-2);
  --bro-dark: var(--bp-panel-1);
  --bro-dark-2: var(--bp-panel-2);
  --bro-dark-3: var(--bp-panel-3);
  --bro-orange: var(--bp-gold);
  --bro-orange2: var(--bp-gold-2);
  --bro-gold-d: var(--bp-gold-dark);
  --bro-gold-soft: var(--bp-gold-soft);
  --bro-red: var(--bp-red);
  --bro-red-deep: #871111;
  --bro-white: #ffffff;
  --bro-muted: #a7a7aa;
  --bro-text: var(--bp-text);
  --bro-text-soft: var(--bp-text-soft);
  --bro-text-dim: var(--bp-text-muted);

  --card:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #1a1a1c, #101011 56%, #181515 100%);
  --card-2:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    linear-gradient(145deg, #1d1d20, #111113 62%, #1a1717 100%);
  --card-border: rgba(245,168,0,.14);
  --card-border-strong: rgba(245,168,0,.26);
  --glass-stroke: rgba(255,255,255,.08);

  --shadow-soft: 0 18px 50px rgba(0,0,0,.72);
  --shadow-float: 0 28px 70px rgba(0,0,0,.84);
  --shadow-lux: 0 36px 110px rgba(0,0,0,.82);
  --shadow-gold: 0 14px 34px rgba(245,168,0,.16);

  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --max: 1280px;

  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--bro-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  background:
    radial-gradient(circle at 18% 12%, rgba(245,168,0,.05), transparent 18%),
    radial-gradient(circle at 82% 76%, rgba(245,168,0,.035), transparent 20%),
    linear-gradient(180deg, var(--bp-bg-0) 0%, var(--bp-bg-1) 48%, var(--bp-bg-2) 100%);
  min-height: 100vh;
  padding-bottom: 64px;
  position: relative;
  overflow-x: hidden;
}

#bp-root::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.16) .55px, transparent .7px);
  background-size: 8px 8px;
  opacity:.05;
  mix-blend-mode: soft-light;
  z-index:0;
}

#bp-root::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.42), transparent 92%);
  opacity:.24;
  z-index:0;
}

.bp-wrap {
  width: min(1280px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 16px 0 0;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════
   TOPBAR
══════════════════════════════════════ */
.bp-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)),
    linear-gradient(145deg, #171718, #0f0f10 60%, #171414);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
}
.bp-topbar::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.07), transparent 25%, transparent 72%, rgba(255,255,255,.03)),
    linear-gradient(90deg, transparent, rgba(245,168,0,.10), transparent);
  mix-blend-mode:screen;
}
.bp-topbar::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background:linear-gradient(90deg, transparent, rgba(255,204,51,.92), transparent);
  opacity:.9;
}

.bp-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.bp-logo-area > div{
  width: clamp(168px, 14vw, 188px);
  max-width: 188px;
  padding: 10px 16px 9px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    linear-gradient(145deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid var(--bp-border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 24px rgba(0,0,0,.18);
}
.bp-logo-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--bp-gold-dark) 0%, var(--bp-gold) 42%, var(--bp-gold-soft) 74%, var(--bp-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-shadow: 0 0 26px rgba(245,168,0,.12);
}
.bp-logo-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,215,135,.54);
  margin-top: 4px;
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
#bp-root .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  text-decoration: none !important;
  border: none;
}
#bp-root .btn:hover { transform: translateY(-2px); }

#bp-root .btn-primary {
  background:
    linear-gradient(135deg, #b97800 0%, #f5a800 45%, #ffd978 100%) !important;
  color: #1a0e00 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 12px 28px rgba(245,168,0,.24),
    0 0 0 1px rgba(245,168,0,.22) !important;
}
#bp-root .btn-primary:hover {
  filter: brightness(1.05) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    0 16px 34px rgba(245,168,0,.32),
    0 0 0 1px rgba(245,168,0,.28) !important;
}

#bp-root .btn-secondary {
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.88) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 22px rgba(0,0,0,.18);
}
#bp-root .btn-secondary:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)),
    rgba(255,255,255,.04) !important;
  border-color: rgba(245,168,0,.18) !important;
}

#bp-root .btn-danger {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
    rgba(204,27,27,.10) !important;
  border: 1px solid rgba(204,27,27,.26) !important;
  color: rgba(255,175,175,1) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
#bp-root .btn-danger:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(204,27,27,.18) !important;
}

/* ══════════════════════════════════════
   PROFILE HERO CARD
══════════════════════════════════════ */
.bp-profile-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #171718 0%, #0d0d0e 58%, #171313 100%);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow-lux);
  padding: 32px;
  margin-bottom: 22px;
  isolation: isolate;
}
.bp-profile-hero::before {
  content: '';
  position: absolute;
  top: -78px;
  left: -78px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245,168,0,.16) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(2px);
}
.bp-profile-hero::after {
  content: '';
  position: absolute;
  bottom: -70px;
  right: -70px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(204,27,27,.12) 0%, transparent 72%);
  pointer-events: none;
  filter: blur(2px);
}
.bp-profile-hero__in {
  position: relative;
  z-index: 1;
}
.bp-profile-hero__in::before{
  content:"";
  position:absolute;
  inset:-32px;
  pointer-events:none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.07), transparent 24%, transparent 72%, rgba(255,255,255,.03)),
    linear-gradient(180deg, rgba(255,204,51,.08), transparent 14%);
  mix-blend-mode:screen;
}
.bp-profile-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.bp-profile-hero__left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bp-avatar {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(245,168,0,.12);
  border: 1px solid rgba(245,168,0,.26);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--bro-orange2);
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 16px 34px rgba(0,0,0,.34),
    0 0 0 1px rgba(245,168,0,.06);
}
.bp-avatar::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 42%, transparent 70%, rgba(255,255,255,.04));
  pointer-events:none;
}

.bp-profile-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 4px;
  line-height: 1.02;
}
.bp-profile-phone {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,.56);
  font-weight: 700;
}

.bp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 24px;
}
.bp-stat {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    rgba(245,168,0,.04);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 28px rgba(0,0,0,.22);
}
.bp-stat::before{
  content:"";
  position:absolute;
  top:-20px;
  right:-20px;
  width:90px;
  height:90px;
  background: radial-gradient(circle, rgba(245,168,0,.10) 0%, transparent 70%);
  pointer-events:none;
}
.bp-stat__val {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--bro-orange2);
  line-height: 1;
  text-shadow: 0 0 18px rgba(245,168,0,.10);
}
.bp-stat__lbl {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.48);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}

.bp-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(245,168,0,.16), rgba(245,168,0,.08));
  border: 1px solid rgba(245,168,0,.24);
  color: var(--bro-orange2);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 22px rgba(0,0,0,.18);
}
.bp-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--bro-orange);
  box-shadow: 0 0 0 4px rgba(245,168,0,.18), 0 0 18px rgba(245,168,0,.24);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   SECTION HEAD
══════════════════════════════════════ */
.bp-slabel {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bro-orange);
  margin-bottom: 8px;
}
.bp-h2 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .03em;
  color: #fff;
  text-transform: uppercase;
}
.bp-section-head { margin-bottom: 14px; }

/* ══════════════════════════════════════
   LOYALTY
══════════════════════════════════════ */
.bp-jackpot-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #1a1a1c, #101011 58%, #181515);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
  margin-bottom: 22px;
  isolation: isolate;
}
.bp-jackpot-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(245,168,0,.14) 0%, transparent 70%);
  pointer-events: none;
}
.bp-jackpot-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(120deg, rgba(255,255,255,.06), transparent 26%, transparent 72%, rgba(255,255,255,.025));
  mix-blend-mode:screen;
}
.bp-jackpot-card__in { position: relative; z-index: 1; }
.bp-jackpot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.bp-jackpot-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--bro-orange2);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.bp-jackpot-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.56);
  font-weight: 700;
  margin-top: 4px;
  line-height: 1.55;
}
.bp-jackpot-count {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 42px;
  color: var(--bro-orange2);
  line-height: 1;
  text-shadow: 0 0 18px rgba(245,168,0,.12);
}
.bp-jackpot-count span {
  font-size: 18px;
  color: rgba(245,168,0,.56);
  font-weight: 700;
}

.bp-progress-wrap { margin-top: 6px; }
.bp-progress-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    rgba(245,168,0,.08);
  border: 1px solid rgba(245,168,0,.14);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.22);
}
.bp-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b97800, #f5a800, #ffcc33);
  transition: width .5s ease;
  box-shadow: 0 0 14px rgba(245,168,0,.42);
  min-width: 4px;
}
.bp-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.38);
}
.bp-progress-labels b { color: rgba(245,168,0,.78); }

.bp-jackpot-ready {
  display: none;
  margin-top: 14px;
  padding: 12px 15px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(245,168,0,.16), rgba(245,168,0,.08));
  border: 1px solid rgba(245,168,0,.34);
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--bro-orange2);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 10px 24px rgba(245,168,0,.10);
}
.bp-jackpot-ready.is-on { display: block; }

/* ══════════════════════════════════════
   TABS
══════════════════════════════════════ */
.bp-tabs-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:12px;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.bp-tabs-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.bp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  overflow: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.bp-tabs::-webkit-scrollbar { display: none; }
.bp-tab {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.74);
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .15s, transform .15s, border-color .15s, box-shadow .15s;
}
.bp-tab:hover {
  background: rgba(245,168,0,.08);
  border-color: rgba(245,168,0,.16);
  transform: translateY(-1px);
}
.bp-tab.is-active {
  background: linear-gradient(135deg, #b97800, #f5a800 52%, #ffd46c);
  border-color: transparent;
  color: #1a0e00;
  box-shadow: 0 6px 18px rgba(245,168,0,.28);
}
.bp-refresh-btn{
  min-width:auto !important;
  padding:10px 16px !important;
  height:42px !important;
  font-size:11px !important;
}

/* ══════════════════════════════════════
   ORDERS
══════════════════════════════════════ */
.bp-orders {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bp-order-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #181819, #101011 58%, #171414);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  isolation: isolate;
}
.bp-order-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float), 0 0 0 1px rgba(245,168,0,.12);
  border-color: rgba(245,168,0,.14);
}
.bp-order-card::before {
  content: '';
  position: absolute;
  top: -26px;
  right: -26px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(245,168,0,.10) 0%, transparent 70%);
  pointer-events: none;
}
.bp-order-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(128deg, rgba(255,255,255,.05), transparent 22%, transparent 72%, rgba(255,255,255,.025));
  mix-blend-mode:screen;
}

.bp-order-summary-wrap{
  position:relative;
}

.bp-order-summary-wrap.has-favorite{
  padding-right:58px;
}

.bp-order-summary {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.bp-order-summary:hover { filter: brightness(1.04); }

.bp-order-summary.has-favorite{
  padding-right:210px;
}

.bp-order-summary__left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bp-order-summary__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bp-order-summary__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.bp-order-summary__total {
  text-align: right;
}
.bp-order-summary__total-val {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--bro-orange2);
  line-height: 1;
}
.bp-order-summary__total-bgn {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  color: rgba(245,168,0,.50);
  font-weight: 800;
  margin-top: 4px;
}
.bp-order-chevron {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(245,168,0,.05);
  border: 1px solid rgba(245,168,0,.14);
  color: var(--bro-orange);
  font-size: 14px;
  transition: transform .22s ease, background .18s ease;
}
.bp-order-card.is-open .bp-order-chevron {
  transform: rotate(180deg);
  background: rgba(245,168,0,.16);
}

.bp-order-id {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--bro-orange2);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.bp-order-date {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.42);
  font-weight: 700;
  margin-top: 2px;
}

.bp-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.bp-status.s-new,
.bp-status.s-pending {
  background: rgba(204,27,27,.14);
  border: 1px solid rgba(204,27,27,.28);
  color: rgba(255,188,188,1);
}
.bp-status.s-confirmed {
  background: rgba(255,120,120,.12);
  border: 1px solid rgba(255,120,120,.22);
  color: #ffc8c8;
}
.bp-status.s-preparing {
  background: rgba(255,170,0,.14);
  border: 1px solid rgba(255,170,0,.26);
  color: #ffd27a;
}
.bp-status.s-ready {
  background: rgba(80,220,120,.12);
  border: 1px solid rgba(80,220,120,.28);
  color: #7debb0;
}
.bp-status.s-completed {
  background: rgba(40,190,90,.12);
  border: 1px solid rgba(40,190,90,.24);
  color: rgba(130,245,165,.95);
}
.bp-status.s-cancelled {
  background: rgba(140,140,140,.12);
  border: 1px solid rgba(140,140,140,.18);
  color: rgba(210,210,210,.88);
}

.bp-status__dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.s-new .bp-status__dot,
.s-pending .bp-status__dot {
  background: #ff6b6b;
  box-shadow: 0 0 8px rgba(255,80,80,.80);
  animation: bpPulse 1.2s ease-in-out infinite;
}
.s-confirmed .bp-status__dot {
  background: #ff9b9b;
  box-shadow: 0 0 8px rgba(255,140,140,.70);
}
.s-preparing .bp-status__dot {
  background: #ffbf47;
  box-shadow: 0 0 8px rgba(255,170,0,.80);
  animation: bpPulse 1.1s ease-in-out infinite;
}
.s-ready .bp-status__dot {
  background: #7debb0;
  box-shadow: 0 0 10px rgba(80,220,120,.90);
  animation: bpPulse 1s ease-in-out infinite;
}
.s-completed .bp-status__dot {
  background: #46df86;
  box-shadow: 0 0 10px rgba(40,190,90,.80);
}
.s-cancelled .bp-status__dot {
  background: #b5b5b5;
  box-shadow: 0 0 6px rgba(190,190,190,.40);
}
@keyframes bpPulse {
  0%,100% { transform: scale(1); opacity:1; }
  50% { transform: scale(1.35); opacity:.6; }
}

.bp-order-body {
  display: none;
  border-top: 1px solid rgba(255,255,255,.06);
}
.bp-order-card.is-open .bp-order-body {
  display: block;
}

.bp-order-card__in {
  position: relative;
  z-index: 1;
  padding: 18px 20px;
}

.bp-stage-row {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  margin-top: 0;
}
.bp-stage {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.07);
  min-width: 0;
}
.bp-stage__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}
.bp-stage__txt {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  line-height: 1;
  white-space: nowrap;
}
.bp-stage.is-on {
  border-color: rgba(245,168,0,.16);
  background: rgba(245,168,0,.07);
}
.bp-stage.is-on .bp-stage__txt { color: rgba(255,255,255,.88); }
.bp-stage.is-new .bp-stage__dot { background:#ff5b5b; box-shadow:0 0 10px rgba(255,91,91,.85); }
.bp-stage.is-preparing .bp-stage__dot { background:#ffbf47; box-shadow:0 0 10px rgba(255,191,71,.85); }
.bp-stage.is-ready .bp-stage__dot { background:#7debb0; box-shadow:0 0 10px rgba(125,235,176,.95); }
.bp-stage.is-completed .bp-stage__dot { background:#42db81; box-shadow:0 0 10px rgba(66,219,129,.90); }

.bp-order-eta {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    rgba(245,168,0,.05);
  border: 1px solid rgba(245,168,0,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.bp-order-eta__left { min-width: 0; }
.bp-order-eta__label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,168,0,.88);
}
.bp-order-eta__time {
  margin-top: 3px;
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
}
.bp-order-eta__sub {
  margin-top: 5px;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.50);
}
.bp-order-eta__right { text-align: right; }
.bp-order-eta__remain {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--bro-orange2);
  line-height: 1.08;
  text-shadow: 0 0 12px rgba(245,168,0,.10);
}
.bp-order-eta__hint {
  margin-top: 5px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.46);
}

.bp-order-items {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bp-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
    rgba(245,168,0,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.bp-order-item__left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.bp-order-item__img {
  width: 48px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(0,0,0,.24);
}
.bp-order-item__text { min-width: 0; }
.bp-order-item__name {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.bp-order-item__size {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.42);
  font-weight: 700;
  margin-top: 2px;
}
.bp-order-item__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.bp-order-item__qty {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: rgba(245,168,0,.62);
}
.bp-order-item__price {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--bro-orange2);
}

.bp-order-item__mods {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bp-order-item__mod {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(245,168,0,.08);
  border: 1px solid rgba(245,168,0,.14);
  color: rgba(255,220,150,.90);
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.bp-order-item__mod-price {
  color: rgba(255,255,255,.52);
  font-weight: 700;
}

.bp-order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.06);
}
.bp-order-total-lbl {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.42);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bp-order-total-val {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--bro-orange2);
}
.bp-order-total-bgn {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  color: rgba(245,168,0,.50);
  font-weight: 800;
  margin-top: 2px;
}
.bp-order-note {
  margin: 8px 20px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.48);
  font-weight: 700;
  font-style: italic;
}
.bp-order-note::before { content: '📝 '; }
.bp-order-pickup {
  margin: 8px 20px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(245,168,0,.06);
  border: 1px solid rgba(245,168,0,.16);
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.68);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bp-order-pickup strong {
  color: var(--bro-orange);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ══════════════════════════════════════
   FAVORITE ORDER BUTTON
══════════════════════════════════════ */
.bp-fav-order-btn{
  position:absolute;
  top:50%;
  right:24px;
  transform:translateY(-50%);
  z-index:3;
  width:52px;
  height:52px;
  border:none;
  border-radius:999px;
  cursor:pointer;
  font-size:24px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.74);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  transition:transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.bp-order-summary-wrap.has-favorite{
  padding-right:96px !important;
}

.bp-order-summary.has-favorite{
  padding-right:96px !important;
}

.bp-order-summary__right{
  padding-right:78px !important;
}
/* ══════════════════════════════════════
   REORDER BUTTON
══════════════════════════════════════ */
.bp-reorder-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(245,168,0,.08);
  border: 1px solid rgba(245,168,0,.20);
  color: var(--bro-orange2);
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.bp-reorder-btn:hover {
  background: rgba(245,168,0,.18);
  transform: translateY(-1px);
  border-color: rgba(245,168,0,.28);
  box-shadow: 0 8px 20px rgba(245,168,0,.14);
}
.bp-reorder-btn.is-loading {
  opacity: .6;
  pointer-events: none;
}
.bp-reorder-btn.is-done {
  background: rgba(32,180,90,.14);
  border-color: rgba(32,180,90,.36);
  color: #7debb0;
}

/* ══════════════════════════════════════
   REWARDS ACCORDION
══════════════════════════════════════ */
.bp-reward-groups{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.bp-reward-group{
  border-radius:var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #181819, #101011 58%, #171414);
  border:1px solid rgba(255,255,255,.07);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.bp-reward-group[open]{
  border-color:rgba(245,168,0,.16);
  box-shadow:var(--shadow-float), 0 0 0 1px rgba(245,168,0,.08);
}

.bp-reward-group__head{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 20px;
  user-select:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012)),
    rgba(245,168,0,.03);
}

.bp-reward-group__head::-webkit-details-marker{
  display:none;
}

.bp-reward-group__head:hover{
  filter:brightness(1.04);
}

.bp-reward-group__left{
  min-width:0;
}

.bp-reward-group__title{
  font-family:'Oswald', sans-serif;
  font-weight:800;
  font-size:18px;
  line-height:1.05;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--bro-orange2);
}

.bp-reward-group__meta{
  margin-top:4px;
  font-family:'Nunito', sans-serif;
  font-size:12px;
  font-weight:800;
  color:rgba(255,255,255,.46);
}

.bp-reward-group__right{
  flex-shrink:0;
}

.bp-reward-group__chev{
  width:38px;
  height:38px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(245,168,0,.05);
  border:1px solid rgba(245,168,0,.14);
  color:var(--bro-orange);
  font-size:14px;
  transition:transform .22s ease, background .18s ease;
}

.bp-reward-group[open] .bp-reward-group__chev{
  transform:rotate(180deg);
  background:rgba(245,168,0,.16);
}

.bp-reward-group__body{
  padding:0 14px 14px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.bp-reward-group__body .bp-order-card{
  box-shadow:none;
  border-radius:22px;
}

.bp-reward-group__body .bp-order-card:hover{
  transform:none;
  box-shadow:0 0 0 1px rgba(245,168,0,.08);
}


@media (max-width: 640px){
  .bp-reward-group__head{
    padding:14px;
  }

  .bp-reward-group__title{
    font-size:16px;
  }

  .bp-reward-group__body{
    padding:0 10px 10px;
  }
}

/* ══════════════════════════════════════
   REWARDS ACCORDION
══════════════════════════════════════ */
.bp-reward-groups{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.bp-reward-group{
  border-radius:var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #181819, #101011 58%, #171414);
  border:1px solid rgba(255,255,255,.07);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.bp-reward-group[open]{
  border-color:rgba(245,168,0,.16);
  box-shadow:var(--shadow-float), 0 0 0 1px rgba(245,168,0,.08);
}

.bp-reward-group__head{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 20px;
  user-select:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012)),
    rgba(245,168,0,.03);
}

.bp-reward-group__head::-webkit-details-marker{
  display:none;
}

.bp-reward-group__head:hover{
  filter:brightness(1.04);
}

.bp-reward-group__left{
  min-width:0;
}

.bp-reward-group__title{
  font-family:'Oswald', sans-serif;
  font-weight:800;
  font-size:18px;
  line-height:1.05;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--bro-orange2);
}

.bp-reward-group__meta{
  margin-top:4px;
  font-family:'Nunito', sans-serif;
  font-size:12px;
  font-weight:800;
  color:rgba(255,255,255,.46);
}

.bp-reward-group__right{
  flex-shrink:0;
}

.bp-reward-group__chev{
  width:38px;
  height:38px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(245,168,0,.05);
  border:1px solid rgba(245,168,0,.14);
  color:var(--bro-orange);
  font-size:14px;
  transition:transform .22s ease, background .18s ease;
}

.bp-reward-group[open] .bp-reward-group__chev{
  transform:rotate(180deg);
  background:rgba(245,168,0,.16);
}

.bp-reward-group__body{
  padding:0 14px 14px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.bp-reward-group__body .bp-order-card{
  box-shadow:none;
  border-radius:22px;
}

.bp-reward-group__body .bp-order-card:hover{
  transform:none;
  box-shadow:0 0 0 1px rgba(245,168,0,.08);
}

@media (max-width: 640px){
  .bp-reward-group__head{
    padding:14px;
  }

  .bp-reward-group__title{
    font-size:16px;
  }

  .bp-reward-group__body{
    padding:0 10px 10px;
  }
}
/* ══════════════════════════════════════
   MODALS / EMPTY / TOAST / FOOTER
══════════════════════════════════════ */
.bp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
}
.bp-modal.is-open { display: block; }
.bp-modal__ov {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
}
.bp-modal__card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(520px, 92vw);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #171718, #111112 62%, #191515);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(245,168,0,.06);
  padding: 24px;
  overflow: hidden;
}
.bp-modal__card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(122deg, rgba(255,255,255,.07), transparent 28%, transparent 70%, rgba(255,255,255,.03));
  mix-blend-mode:screen;
}
.bp-modal__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.bp-modal__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--bro-orange2);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.bp-modal__x {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--bro-orange);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bp-modal__sub {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
  line-height: 1.6;
}
.bp-modal__box {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(245,168,0,.06);
  border: 1px solid rgba(245,168,0,.16);
}
.bp-modal__order {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
}
.bp-modal__amount {
  margin-top: 4px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.58);
  font-weight: 800;
}
.bp-modal__actions {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.bp-success-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(245,168,0,.12);
  border: 1px solid rgba(245,168,0,.24);
  color: var(--bro-orange2);
  font-size: 28px;
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
}

.bp-empty,
.bp-noauth {
  text-align: center;
  padding: 56px 22px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #181819, #101011 58%, #171414);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow-soft);
}
.bp-empty__icon { font-size: 52px; margin-bottom: 14px; opacity: .50; }
.bp-empty__title,
.bp-noauth__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
}
.bp-empty__sub,
.bp-noauth__sub {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,.46);
  font-weight: 700;
  max-width: 38ch;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.bp-noauth__gem {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(245,168,0,.10);
  border: 1px solid rgba(245,168,0,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 14px 30px rgba(0,0,0,.24);
}

.bp-skel {
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(245,168,0,.05) 25%, rgba(245,168,0,.10) 50%, rgba(245,168,0,.05) 75%);
  background-size: 200% 100%;
  animation: bpSkel 1.6s ease infinite;
}
@keyframes bpSkel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.bp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 999999;
  opacity: 0;
  transition: opacity .22s, transform .22s;
  padding: 12px 20px;
  border-radius: 999px;
  background: #101010;
  border: 1px solid rgba(245,168,0,.28);
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 20px 50px rgba(0,0,0,.80);
  pointer-events: none;
}
.bp-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.bp-toast b { color: var(--bro-orange2); }

.bp-logout-area {
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
    rgba(204,27,27,.06);
  border: 1px solid rgba(204,27,27,.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}
.bp-logout-text {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.54);
  font-weight: 800;
}

.bp-strip {
  margin: 36px 0 0;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(245,168,0,.16);
  border-bottom: 1px solid rgba(245,168,0,.16);
  background:
    linear-gradient(180deg, rgba(245,168,0,.05), rgba(245,168,0,.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    inset 0 -1px 0 rgba(255,255,255,.03);
}
.bp-strip-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: bpStrip 40s linear infinite;
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 62px);
  letter-spacing: .45em;
  text-transform: uppercase;
  color: rgba(245,168,0,.18);
}
.bp-strip-inner span { margin-right: 4rem; }
@keyframes bpStrip {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bp-ft-simple {
  max-width: var(--max);
  margin: 44px auto 0;
  padding: 0 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  color: var(--bro-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.bp-ft-accent {
  color: var(--bro-orange);
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
}

/* ===== ORDER SUMMARY LAYOUT SWITCHER ===== */

/* desktop default */
.bp-order-summary__mobile-top,
.bp-order-summary__mobile-bottom{
  display:none;
}

.bp-order-summary__desktop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
}

@media (min-width: 1025px){
  .bp-order-summary-wrap{
    position:relative !important;
  }

  .bp-order-summary-wrap.has-favorite{
    padding-right:72px !important;
  }

  .bp-order-summary{
    padding-right:120px !important;
  }

  .bp-order-id{
    font-size:20px !important;
    line-height:1.05 !important;
    letter-spacing:.04em !important;
  }

  .bp-order-summary__right{
    display:flex !important;
    align-items:center !important;
    gap:22px !important;
    flex-wrap:nowrap !important;
    margin-right:90px !important;
  }

  .bp-status{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    min-width:180px !important;
    justify-content:center !important;
  }

  .bp-order-summary__total{
    flex:0 0 auto !important;
    min-width:120px !important;
    text-align:right !important;
  }

  .bp-order-chevron{
    flex:0 0 38px !important;
  }

  .bp-fav-order-btn{
    position:absolute !important;
    top:50% !important;
    right:22px !important;
    transform:translateY(-50%) !important;
    width:42px !important;
    height:42px !important;
    z-index:5 !important;
  }

  .bp-fav-order-btn:hover{
    transform:translateY(-50%) !important;
  }
}

@media (max-width: 860px) {
  .bp-stats {
    grid-template-columns: 1fr;
  }
}

.bp-logout-area {
  display: flex !important;
}

#bp-logout-btn {
  display: inline-flex !important;
}

@media (max-width: 640px) {
  .bp-logout-area {
    align-items: stretch;
    padding: 18px 16px;
  }

  .bp-logout-area #bp-logout-btn {
    width: 100%;
  }

  .bp-wrap { padding: 12px 10px 0; }
  .bp-topbar {
    padding: 12px;
    margin-bottom: 16px;
  }
  .bp-logo-text { font-size: 22px; }
  .bp-logo-sub { letter-spacing: 2px; }

  .bp-profile-hero { padding: 20px 16px; }
  .bp-profile-name { font-size: 20px; }
  .bp-avatar {
    width: 58px;
    height: 58px;
    font-size: 22px;
    border-radius: 16px;
  }

  .bp-jackpot-card { padding: 18px 16px; }
  .bp-jackpot-count { font-size: 32px; }

  .bp-order-card__foot { padding: 12px 14px 14px; }
  .bp-order-card__in { padding: 14px; }

  .bp-stage-row {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  /* mobile only */
  .bp-order-summary__desktop{
    display:none !important;
  }

   /* mobile only */
  .bp-order-summary-wrap{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:start !important;
    gap:10px !important;
  }

  .bp-order-summary-wrap.has-favorite{
    padding-right:0 !important;
  }

  .bp-order-summary__desktop{
    display:none !important;
  }

  .bp-order-summary{
    display:block !important;
    grid-column:1 !important;
    grid-row:1 !important;
    width:100% !important;
    padding:14px !important;
    position:relative !important;
  }

  .bp-order-summary.has-favorite{
    padding-right:14px !important;
  }

  .bp-order-summary__mobile-top{
    display:grid !important;
    grid-template-columns:minmax(120px,1fr) auto !important;
    align-items:start !important;
    gap:10px !important;
    width:100% !important;
  }

  .bp-order-summary__mobile-left{
    min-width:0 !important;
  }

  .bp-order-summary__mobile-right{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-end !important;
    justify-content:flex-start !important;
    gap:6px !important;
    min-width:auto !important;
  }

  .bp-order-summary__mobile-bottom{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    align-items:start !important;
    gap:10px !important;
    width:100% !important;
    margin-top:8px !important;
  }

  .bp-order-id{
    margin:0 !important;
    font-size:17px !important;
    line-height:1.05 !important;
  }

  .bp-status{
    min-width:auto !important;
    margin:0 !important;
    white-space:nowrap !important;
  }

  .bp-order-summary__total--mobile{
    margin:0 !important;
    text-align:right !important;
    min-width:auto !important;
  }

  .bp-order-summary__total-val{
    font-size:18px !important;
    margin:0 !important;
    line-height:1.02 !important;
  }

  .bp-order-summary__total-bgn{
    margin-top:3px !important;
  }

  .bp-fav-order-btn{
    position:static !important;
    grid-column:2 !important;
    grid-row:1 !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    width:34px !important;
    height:34px !important;
    font-size:16px !important;
    margin:0 !important;
    justify-self:end !important;
    align-self:start !important;
  }

  .bp-fav-order-btn:hover{
    transform:none !important;
  }

  .bp-order-date{
    margin:0 !important;
    font-size:12px !important;
    line-height:1.15 !important;
    text-align:left !important;
    color:rgba(255,255,255,.42) !important;
    font-weight:700 !important;
  }

  .bp-order-chevron{
    position:static !important;
    transform:none !important;
    margin:0 !important;
    justify-self:end !important;
    align-self:start !important;
    width:28px !important;
    height:28px !important;
    font-size:12px !important;
  }

  .bp-order-card.is-open .bp-order-chevron{
    transform:rotate(180deg) !important;
  }

  .bp-order-eta { padding: 12px 13px; }
  .bp-order-eta__time,
  .bp-order-eta__remain { font-size: 17px; }

  .bp-modal__card { padding: 20px 16px; }

  .bp-ft-simple { margin-top: 34px; }

  .bp-tabs-row {
    align-items: stretch;
  }

  .bp-tabs-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
.bp-order-eta--scheduled{
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(255,205,80,.08);
  border: 1px solid rgba(255,205,80,.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 12px 26px rgba(0,0,0,.18);
}

.bp-order-eta--scheduled .bp-order-eta__label{
  color: rgba(255,205,80,.96);
}

.bp-order-eta--scheduled .bp-order-eta__time{
  color: #fff3cf;
}

.bp-order-eta--scheduled .bp-order-eta__sub{
  color: rgba(255,255,255,.58);
}

.bp-order-eta--scheduled .bp-order-eta__remain{
  color: var(--bro-orange2);
  text-shadow: 0 0 12px rgba(245,168,0,.14);
}

.bp-order-eta--scheduled .bp-order-eta__hint{
  color: rgba(255,255,255,.50);
}
/* ══════════════════════════════════════
   PURPLE LANDMARK — MESSAGES + PEARLS
══════════════════════════════════════ */
.bp-comm-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #1a1a1c, #101011 58%, #181515);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
  margin-bottom: 22px;
  isolation: isolate;
}
.bp-comm-card::before{
  content:'';
  position:absolute;
  top:-50px;
  right:-50px;
  width:220px;
  height:220px;
  background: radial-gradient(circle, rgba(245,168,0,.12) 0%, transparent 70%);
  pointer-events:none;
}
.bp-comm-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(120deg, rgba(255,255,255,.06), transparent 28%, transparent 70%, rgba(255,255,255,.025));
  mix-blend-mode:screen;
}
.bp-comm-card__in{
  position:relative;
  z-index:1;
}

.bp-comm-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:16px;
  margin-top:14px;
}

.bp-chat-shell,
.bp-pearl-shell{
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
    rgba(245,168,0,.03);
  border:1px solid rgba(255,255,255,.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 28px rgba(0,0,0,.18);
  overflow:hidden;
}

.bp-chat-head,
.bp-pearl-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    rgba(245,168,0,.02);
}
.bp-chat-title,
.bp-pearl-title{
  font-family:'Oswald',sans-serif;
  font-weight:800;
  font-size:16px;
  line-height:1;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--bro-orange2);
}
.bp-chat-sub,
.bp-pearl-sub{
  margin-top:4px;
  font-family:'Nunito',sans-serif;
  font-size:11px;
  font-weight:800;
  color:rgba(255,255,255,.46);
}

.bp-chat-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(245,168,0,.10);
  border:1px solid rgba(245,168,0,.18);
  color:var(--bro-orange2);
  font-family:'Oswald',sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  white-space:nowrap;
}
.bp-chat-badge.is-muted{
  color:rgba(255,255,255,.58);
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.08);
}

.bp-chat-list{
  max-height: 420px;
  overflow:auto;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.bp-chat-list::-webkit-scrollbar{
  width:8px;
}
.bp-chat-list::-webkit-scrollbar-thumb{
  background: rgba(245,168,0,.18);
  border-radius:999px;
}

.bp-msg{
  display:flex;
  flex-direction:column;
  gap:6px;
  max-width: 86%;
  padding:12px 13px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.07);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}
.bp-msg--admin{
  align-self:flex-start;
  background:
    linear-gradient(180deg, rgba(245,168,0,.08), rgba(245,168,0,.04)),
    rgba(245,168,0,.04);
  border-color: rgba(245,168,0,.18);
}
.bp-msg--user{
  align-self:flex-end;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.10);
}
.bp-msg__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.bp-msg__sender{
  font-family:'Oswald',sans-serif;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--bro-orange2);
}
.bp-msg--user .bp-msg__sender{
  color:#fff;
}
.bp-msg__date{
  font-family:'Nunito',sans-serif;
  font-size:10px;
  font-weight:800;
  color:rgba(255,255,255,.42);
}
.bp-msg__subject{
  font-family:'Nunito',sans-serif;
  font-size:12px;
  font-weight:800;
  color:rgba(255,255,255,.86);
}
.bp-msg__body{
  font-family:'Nunito',sans-serif;
  font-size:13px;
  line-height:1.6;
  font-weight:700;
  color:rgba(255,255,255,.74);
  white-space:pre-wrap;
  word-break:break-word;
}

.bp-chat-empty{
  padding:20px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  text-align:center;
  font-family:'Nunito',sans-serif;
  font-size:13px;
  font-weight:800;
  color:rgba(255,255,255,.46);
}

.bp-chat-compose,
.bp-pearl-body{
  padding:14px;
  border-top:1px solid rgba(255,255,255,.06);
}

.bp-field{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:10px;
}
.bp-field:last-child{
  margin-bottom:0;
}
.bp-field label{
  font-family:'Oswald',sans-serif;
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(245,168,0,.88);
}
.bp-input,
.bp-textarea{
  width:100%;
  border:none;
  outline:none;
  border-radius:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-family:'Nunito',sans-serif;
  font-size:14px;
  font-weight:800;
  padding:13px 14px;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.bp-textarea{
  min-height:118px;
  resize:vertical;
  line-height:1.6;
}
.bp-input:focus,
.bp-textarea:focus{
  border-color:rgba(245,168,0,.28);
  box-shadow:0 0 0 4px rgba(245,168,0,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(0,0,0,.30);
}
.bp-input::placeholder,
.bp-textarea::placeholder{
  color:rgba(255,255,255,.34);
  font-weight:700;
}

.bp-comm-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.bp-comm-hint{
  margin-top:8px;
  font-family:'Nunito',sans-serif;
  font-size:11px;
  font-weight:800;
  color:rgba(255,255,255,.42);
  line-height:1.55;
}

.bp-pearl-note{
  margin-top:12px;
  padding:12px 13px;
  border-radius:16px;
  background:rgba(245,168,0,.06);
  border:1px solid rgba(245,168,0,.16);
  font-family:'Nunito',sans-serif;
  font-size:12px;
  font-weight:800;
  line-height:1.55;
  color:rgba(255,255,255,.62);
}
.bp-pearl-note b{
  color:var(--bro-orange2);
}

.bp-comm-err{
  display:none;
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(204,27,27,.10);
  border:1px solid rgba(204,27,27,.24);
  color:#ffc6c6;
  font-family:'Nunito',sans-serif;
  font-size:12px;
  font-weight:800;
}
.bp-comm-err.is-on{
  display:block;
}

.bp-comm-ok{
  display:none;
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(40,190,90,.12);
  border:1px solid rgba(40,190,90,.24);
  color:#9af0b8;
  font-family:'Nunito',sans-serif;
  font-size:12px;
  font-weight:800;
}
.bp-comm-ok.is-on{
  display:block;
}

@media (max-width: 860px){
  .bp-comm-grid{
    grid-template-columns:1fr;
  }

  .bp-chat-list{
    max-height:360px;
  }
}

/* ══════════════════════════════════════
   SMS MARKETING CONSENT
══════════════════════════════════════ */
.bp-consent-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(145deg, #181819, #101011 58%, #171414);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
  margin-bottom: 22px;
  isolation: isolate;
}
.bp-consent-card::before{
  content:'';
  position:absolute;
  top:-46px;
  right:-46px;
  width:220px;
  height:220px;
  background: radial-gradient(circle, rgba(245,168,0,.12) 0%, transparent 70%);
  pointer-events:none;
}
.bp-consent-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(120deg, rgba(255,255,255,.06), transparent 28%, transparent 70%, rgba(255,255,255,.025));
  mix-blend-mode:screen;
}
.bp-consent-card__in{
  position:relative;
  z-index:1;
}
.bp-consent-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.bp-consent-copy{
  min-width:0;
  flex:1 1 420px;
}
.bp-consent-title{
  font-family:'Oswald', sans-serif;
  font-weight:800;
  font-size:20px;
  line-height:1.06;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--bro-orange2);
}
.bp-consent-sub{
  margin-top:8px;
  font-family:'Nunito', sans-serif;
  font-size:13px;
  line-height:1.65;
  font-weight:800;
  color:rgba(255,255,255,.62);
}
.bp-consent-meta{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.bp-consent-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border-radius:999px;
  font-family:'Oswald', sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.72);
}
.bp-consent-badge.is-on{
  background:rgba(40,190,90,.12);
  border-color:rgba(40,190,90,.26);
  color:#9af0b8;
}
.bp-consent-badge.is-off{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.08);
  color:rgba(255,255,255,.62);
}
.bp-consent-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}
.bp-switch{
  position:relative;
  width:76px;
  height:42px;
  border:none;
  border-radius:999px;
  cursor:pointer;
  padding:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 22px rgba(0,0,0,.18);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.bp-switch::before{
  content:"";
  position:absolute;
  top:4px;
  left:4px;
  width:32px;
  height:32px;
  border-radius:999px;
  background:linear-gradient(180deg, #f8e3ae, #f5a800);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 8px 18px rgba(0,0,0,.26);
  transition: transform .22s ease;
}
.bp-switch.is-on{
  background:
    linear-gradient(180deg, rgba(40,190,90,.20), rgba(40,190,90,.10)),
    rgba(40,190,90,.14);
  border-color:rgba(40,190,90,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 12px 28px rgba(40,190,90,.12);
}
.bp-switch.is-on::before{
  transform:translateX(34px);
}
.bp-switch.is-loading{
  opacity:.65;
  pointer-events:none;
}
.bp-switch-state{
  min-width:88px;
  text-align:right;
  font-family:'Oswald', sans-serif;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,.72);
}
.bp-consent-note{
  margin-top:14px;
  padding:12px 13px;
  border-radius:16px;
  background:rgba(245,168,0,.06);
  border:1px solid rgba(245,168,0,.16);
  font-family:'Nunito', sans-serif;
  font-size:12px;
  font-weight:800;
  line-height:1.6;
  color:rgba(255,255,255,.58);
}
.bp-consent-note b{
  color:var(--bro-orange2);
}

@media (max-width: 640px){
  .bp-consent-card{
    padding:18px 16px;
  }

  .bp-consent-row{
    align-items:flex-start;
  }

  .bp-consent-actions{
    width:100%;
    justify-content:space-between;
  }

  .bp-switch-state{
    min-width:auto;
    text-align:left;
  }

  .bp-consent-title{
    font-size:18px;
  }
}

@media (max-width: 640px){
  .bp-comm-card{
    padding:18px 16px;
  }

  .bp-chat-head,
  .bp-pearl-head{
    padding:12px 14px;
  }

  .bp-chat-compose,
  .bp-pearl-body{
    padding:12px;
  }

  .bp-msg{
    max-width:100%;
  }
}
.bp-chat-compose .bp-comm-err,
.bp-chat-compose .bp-comm-ok,
.bp-pearl-body .bp-comm-err,
.bp-pearl-body .bp-comm-ok{
  margin-top: 0;
  margin-bottom: 10px;
}
/* ===== MOBILE SAFARI WIDTH / SAFE AREA FIX ===== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

#bp-root {
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
}

.bp-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(10px, env(safe-area-inset-left));
  padding-right: max(10px, env(safe-area-inset-right));
}

.bp-order-card,
.bp-jackpot-card,
.bp-profile-hero,
.bp-comm-card,
.bp-consent-card,
.bp-reward-group,
.bp-empty,
.bp-noauth {
  max-width: 100%;
}

.bp-order-card__foot,
.bp-comm-actions,
.bp-tabs-actions,
.bp-consent-actions,
.bp-order-summary__left,
.bp-order-summary__main,
.bp-order-item__left,
.bp-order-item__text {
  min-width: 0;
}

@media (max-width: 640px) {
  .bp-order-card__foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .bp-order-card__foot > div:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .bp-order-card__foot .bp-reorder-btn,
  .bp-order-card__foot .btn {
    width: 100%;
    min-width: 0 !important;
  }

  .bp-comm-actions .btn,
  .bp-consent-actions .btn {
    min-width: 0 !important;
  }
}

/* FINAL LOGOUT VISIBILITY FIX */
.bp-logout-area {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 32px;
}

#bp-logout-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 640px) {
  .bp-logout-area {
    align-items: stretch !important;
  }

  .bp-logout-area #bp-logout-btn {
    width: 100% !important;
  }
}

/* ENTERPRISE ACCOUNT CENTER V15 */
.bp-account-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  border-radius: 26px;
  border: 1px solid var(--bp-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    linear-gradient(145deg, var(--bp-panel-2), var(--bp-panel-0) 65%, #15120f);
  box-shadow: 0 26px 80px rgba(0,0,0,.62);
  overflow: hidden;
}

.bp-topbar-brand,
.bp-account-copy,
.bp-topbar-actions {
  position: relative;
  z-index: 1;
}

.bp-account-copy {
  min-width: 0;
}

.bp-account-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 54px);
  line-height: .96;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--bp-text);
  max-width: 14ch;
  text-wrap: balance;
}

.bp-account-subtitle {
  margin-top: 6px;
  max-width: 48ch;
  font-size: 14px;
  color: var(--bp-text-soft);
}

.bp-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.bp-topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--bp-green-border);
  background: var(--bp-green-bg);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #dff7e7;
}

.bp-topbar-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bp-green);
  box-shadow: 0 0 0 4px rgba(67,193,107,.14);
}

.bp-account-shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.bp-enterprise-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.bp-side-nav {
  position: sticky;
  top: 18px;
}

.bp-side-nav__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--bp-border-soft);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.014)),
    linear-gradient(145deg, var(--bp-panel-1), var(--bp-panel-0) 58%, var(--bp-panel-1) 100%);
  box-shadow: 0 20px 54px rgba(0,0,0,.44);
}

.bp-side-nav-item {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--bp-border-soft);
  background: rgba(255,255,255,.02);
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: .01em;
  color: rgba(255,255,255,.82) !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.bp-side-nav-item:hover,
.bp-side-nav-item:focus-visible {
  transform: translateX(1px);
  border-color: var(--bp-border-gold);
  background: linear-gradient(135deg, rgba(245,168,0,.13), rgba(245,168,0,.035));
  color: var(--bp-gold-2) !important;
}

.bp-panel {
  position: relative;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--bp-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    linear-gradient(145deg, var(--bp-panel-2), var(--bp-panel-0) 58%, var(--bp-panel-1) 100%);
  box-shadow: 0 22px 64px rgba(0,0,0,.50);
  overflow: hidden;
}

.bp-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at bottom center, rgba(245,168,0,.08), transparent 42%);
  opacity: .45;
}

.bp-panel > * {
  position: relative;
  z-index: 1;
}

.bp-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.bp-panel-kicker {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,210,120,.70);
}

.bp-panel-title {
  margin-top: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--bp-text);
}

.bp-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bp-border);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}

.bp-panel-badge.is-muted {
  color: rgba(255,255,255,.58);
}

.bp-panel-badge.is-success {
  color: #d7f9dc;
  border-color: rgba(67,193,107,.24);
  background: rgba(67,193,107,.12);
}

.bp-overview-card {
  display: block;
}

.bp-overview-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.bp-overview-avatar {
  flex: 0 0 98px;
  width: 98px;
  height: 98px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #150d00;
  background: linear-gradient(135deg, #a56a00, #f5c04d 55%, #fff1c6 100%);
  box-shadow: 0 18px 50px rgba(245,168,0,.24);
}

.bp-overview-name {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--bp-text);
  max-width: 16ch;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
}

.bp-overview-phone {
  margin-top: 6px;
  font-size: 15px;
  color: var(--bp-text-soft);
}

.bp-overview-flags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.bp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 14px;
}

.bp-kpi-panel .bp-panel-head {
  margin-bottom: 14px;
}

.bp-kpi {
  min-height: 108px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--bp-border-soft);
  background: rgba(255,255,255,.024);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  overflow: hidden;
}

.bp-kpi b {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1;
  color: var(--bp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-kpi span {
  font-size: 11px;
  color: var(--bp-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bp-current-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.bp-current-order-meta,
.bp-current-order-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bp-current-order-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bp-current-order-copy {
  font-size: 14px;
  color: rgba(255,255,255,.82);
}

.bp-current-order-copy.is-dim {
  color: rgba(255,255,255,.52);
}

.bp-current-order-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bp-current-order-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: rgba(255,255,255,.40);
}

.bp-current-order-step span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
}

.bp-current-order-step.is-on {
  color: rgba(255,255,255,.86);
}

.bp-current-order-step.is-on span {
  border-color: rgba(245,168,0,.56);
  box-shadow: 0 0 0 6px rgba(245,168,0,.09);
  background: radial-gradient(circle, rgba(255,209,110,.36), rgba(245,168,0,.10));
}

.bp-current-order-step b {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bp-current-order-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 108px;
}

.bp-current-order-empty__icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(245,168,0,.18);
  background: rgba(245,168,0,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--bro-orange2);
}

.bp-current-order-empty__title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

.bp-current-order-empty__sub {
  margin-top: 8px;
  max-width: 42ch;
  color: rgba(255,255,255,.58);
}

.bp-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(290px, .82fr);
  gap: 22px;
  align-items: start;
}

.bp-dashboard-main,
.bp-dashboard-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.bp-orders-panel .bp-slabel,
.bp-orders-panel .bp-h2 {
  margin-left: 0;
}

.bp-orders-panel .bp-h2 {
  font-size: clamp(22px, 2vw, 30px);
}

.bp-wallet-card,
.bp-support-card,
.bp-preferences-card {
  min-height: 0;
}

.bp-wallet-orb {
  width: 92px;
  height: 92px;
  margin: 6px 0 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: var(--bro-orange2);
  background: radial-gradient(circle, rgba(245,168,0,.18), rgba(245,168,0,.04));
  border: 1px solid rgba(245,168,0,.22);
  box-shadow: 0 14px 34px rgba(245,168,0,.12);
}

.bp-wallet-value {
  margin-top: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .95;
  color: var(--bp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-wallet-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--bp-text-soft);
}

.bp-wallet-progress__bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.06);
}

.bp-wallet-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a86d00, #f5c04d 58%, #ffe298 100%);
}

.bp-wallet-progress__meta {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.60);
}

.bp-wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.bp-wallet-stat {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
}

.bp-wallet-stat b {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-wallet-stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.60);
}

.bp-panel-badge--pearl {
  color: var(--bro-orange2);
  border-color: rgba(245,168,0,.18);
  background: rgba(245,168,0,.08);
  white-space: nowrap;
}

.bp-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.bp-support-list {
  display: grid;
  gap: 10px;
}

.bp-support-item {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
}

.bp-support-item__date {
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,210,120,.68);
}

.bp-support-item__text {
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  line-height: 1.45;
}

.bp-support-item.is-empty .bp-support-item__text {
  color: rgba(255,255,255,.52);
}

.bp-preferences-card .bp-consent-card,
.bp-preferences-card .bp-consent-card__in,
.bp-dashboard-main .bp-comm-card,
.bp-dashboard-main .bp-comm-card__in {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.bp-preferences-card .bp-consent-card__in .bp-slabel,
.bp-dashboard-main .bp-comm-card__in .bp-slabel,
.bp-dashboard-main .bp-comm-card__in .bp-h2 {
  display: none;
}

.bp-noauth--enterprise {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 28px;
  border-radius: 32px;
}

.bp-noauth__eyebrow {
  margin-bottom: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,210,120,.72);
}

@media (max-width: 1180px) {
  .bp-account-shell {
    grid-template-columns: 1fr;
  }

  .bp-side-nav {
    position: static;
  }

  .bp-side-nav__card {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bp-side-nav__card::-webkit-scrollbar {
    display: none;
  }

  .bp-side-nav-item {
    flex: 0 0 auto;
  }

  .bp-dashboard-grid,
  .bp-current-order-grid,
  .bp-account-topbar {
    grid-template-columns: 1fr;
  }

  .bp-topbar-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .bp-kpi-grid,
  .bp-wallet-grid,
  .bp-current-order-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-panel,
  .bp-orders-panel,
  .bp-noauth--enterprise {
    padding: 18px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  #bp-root::before,
  #bp-root::after,
  .bp-panel::before,
  .bp-order-card::before,
  .bp-order-card::after,
  .bp-comm-card::before,
  .bp-comm-card::after {
    opacity: .35;
  }

  .bp-wrap {
    width: 100%;
    padding: 12px;
  }

  .bp-account-topbar {
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(0,0,0,.32);
  }

  .bp-topbar-brand {
    min-width: 0;
  }

  .bp-logo-area > div {
    width: 146px;
    padding: 7px 12px;
    border-radius: 14px;
  }

  .bp-logo-text {
    font-size: 24px;
    letter-spacing: .02em;
  }

  .bp-logo-sub {
    display: none;
  }

  .bp-account-title {
    font-size: 28px;
    letter-spacing: .02em;
    max-width: 11ch;
  }

  .bp-account-subtitle {
    font-size: 13px;
    margin-top: 4px;
    max-width: none;
  }

  .bp-topbar-status {
    width: 100%;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: .06em;
  }

  .bp-topbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    align-items: stretch;
  }

  .bp-topbar-actions .bp-topbar-status {
    grid-column: 1 / -1;
  }

  .bp-topbar-actions .btn {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 10px 12px;
    font-size: 11px;
    letter-spacing: .06em;
  }

  .bp-side-nav {
    top: 8px;
    z-index: 3;
  }

  .bp-side-nav__card {
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    box-shadow: 0 12px 28px rgba(0,0,0,.24);
  }

  .bp-side-nav-item {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .01em;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .bp-enterprise-layout,
  .bp-dashboard-main,
  .bp-dashboard-rail,
  .bp-dashboard-grid {
    gap: 14px;
  }

  .bp-panel,
  .bp-orders-panel,
  .bp-noauth--enterprise,
  .bp-comm-card {
    padding: 16px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,.26);
  }

  .bp-panel-head {
    margin-bottom: 12px;
    gap: 10px;
  }

  .bp-panel-title,
  .bp-current-order-empty__title {
    font-size: 22px;
    letter-spacing: .01em;
  }

  .bp-panel-kicker,
  .bp-panel-badge,
  .bp-status,
  .bp-stage__txt,
  .bp-topbar-status,
  .bp-consent-badge {
    letter-spacing: .04em;
  }

  .bp-overview-identity {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .bp-overview-avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 24px;
    box-shadow: 0 10px 24px rgba(245,168,0,.18);
  }

  .bp-overview-name {
    font-size: 28px;
    max-width: 12ch;
  }

  .bp-overview-phone {
    margin-top: 4px;
    font-size: 14px;
  }

  .bp-overview-flags,
  .bp-card-actions {
    gap: 8px;
    align-items: stretch;
  }

  .bp-current-order-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bp-current-order-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .bp-current-order-step {
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    align-items: flex-start;
    text-align: left;
  }

  .bp-current-order-step span {
    width: 14px;
    height: 14px;
    box-shadow: none;
  }

  .bp-current-order-step b {
    font-size: 11px;
  }

  .bp-current-order-actions .btn,
  .bp-card-actions .btn {
    width: 100%;
    min-width: 0;
    height: 44px;
  }

  .bp-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bp-kpi {
    min-height: 88px;
    padding: 14px;
    border-radius: 16px;
  }

  .bp-kpi b {
    font-size: 24px;
  }

  .bp-kpi span,
  .bp-current-order-copy,
  .bp-wallet-progress__meta,
  .bp-support-item__text,
  .bp-consent-sub,
  .bp-consent-note,
  .bp-noauth__sub {
    font-size: 13px;
  }

  .bp-tabs-row {
    align-items: stretch;
    gap: 12px;
    margin-bottom: 14px;
  }

  .bp-tabs-actions {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .bp-tabs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 6px;
  }

  .bp-tab {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 11px;
    white-space: nowrap;
  }

  .bp-refresh-btn {
    width: 100%;
    height: 44px !important;
  }

  .bp-order-card {
    border-radius: 20px;
  }

  .bp-order-summary {
    padding: 14px !important;
  }

  .bp-order-summary__mobile-top {
    gap: 8px !important;
  }

  .bp-order-id {
    font-size: 16px !important;
    letter-spacing: .02em !important;
  }

  .bp-order-summary__mobile-right {
    gap: 4px !important;
  }

  .bp-order-summary__total-val {
    font-size: 17px !important;
  }

  .bp-status {
    padding: 6px 10px;
    font-size: 10px;
  }

  .bp-order-summary__mobile-bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px !important;
  }

  .bp-fav-order-btn {
    width: 36px !important;
    height: 36px !important;
  }

  .bp-order-eta {
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .bp-order-eta__right {
    width: 100%;
    text-align: left;
  }

  .bp-order-items {
    gap: 10px;
  }

  .bp-order-item {
    align-items: flex-start;
    padding: 10px;
  }

  .bp-order-item__right {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .bp-order-pickup,
  .bp-order-note {
    margin-left: 14px;
    margin-right: 14px;
    font-size: 12px;
  }

  .bp-order-card__foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px 14px;
  }

  .bp-order-card__foot > div:last-child {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bp-order-card__foot .bp-reorder-btn,
  .bp-order-card__foot .btn {
    width: 100%;
    min-width: 0 !important;
    justify-content: center;
    min-height: 44px;
  }

  .bp-wallet-card {
    padding-bottom: 14px;
  }

  .bp-wallet-orb {
    width: 72px;
    height: 72px;
    margin: 4px 0 12px;
    border-radius: 20px;
    font-size: 30px;
    box-shadow: 0 10px 22px rgba(245,168,0,.12);
  }

  .bp-wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .bp-wallet-value {
    font-size: clamp(34px, 11vw, 46px);
  }

  .bp-wallet-label {
    font-size: 13px;
  }

  .bp-wallet-stat {
    padding: 10px;
    border-radius: 14px;
  }

  .bp-wallet-stat b {
    font-size: 18px;
  }

  .bp-wallet-stat span {
    font-size: 11px;
    margin-top: 4px;
  }

  .bp-support-list {
    gap: 8px;
  }

  .bp-support-item {
    padding: 12px;
    border-radius: 14px;
  }

  .bp-dashboard-main .bp-comm-card {
    padding: 16px;
  }

  .bp-comm-fold-row {
    gap: 10px !important;
  }

  .bp-comm-fold summary {
    padding: 14px !important;
  }

  .bp-chat-compose,
  .bp-pearl-body {
    margin-top: 10px !important;
  }

  .bp-preferences-card .bp-consent-row {
    align-items: center;
    gap: 12px;
  }

  .bp-preferences-card .bp-consent-title {
    font-size: 16px;
    letter-spacing: .02em;
  }

  .bp-preferences-card .bp-consent-actions {
    width: 100%;
    justify-content: space-between;
  }

  .bp-noauth--enterprise {
    padding: 24px 16px;
    max-width: 100%;
  }

  .bp-noauth__title {
    font-size: 24px;
    letter-spacing: .02em;
  }

  .bp-noauth__gem {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 28px;
    margin-bottom: 14px;
  }
}

@media (max-width: 390px) {
  .bp-account-title {
    font-size: 24px;
  }

  .bp-topbar-actions {
    grid-template-columns: 1fr;
  }

  .bp-topbar-actions .btn {
    height: 44px;
  }

  .bp-overview-name {
    font-size: 24px;
  }

  .bp-kpi-grid,
  .bp-current-order-timeline,
  .bp-wallet-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-wallet-grid .bp-wallet-stat:last-child {
    grid-column: 1 / -1;
  }
}


/* BRO PIZZA PROFILE COMPLETED ORDER ORBIT — 2026-08-22 */
.bp-completed-orbit-panel {
  position: relative;
  overflow: hidden;
  min-height: 268px;
  display: grid;
  place-items: center;
  padding: 22px;
  isolation: isolate;
}

.bp-completed-orbit-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 50%, rgba(245,168,0,.16), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 54%);
  opacity: .9;
  z-index: -1;
}

.bp-completed-orbit-stage {
  --orbit-radius: clamp(86px, 18vw, 128px);
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
}

.bp-completed-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  animation: bpCompletedOrderOrbitSpin 42s linear infinite;
  transform-origin: center;
}

.bp-completed-orbit-ring::before,
.bp-completed-orbit-ring::after {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
}

.bp-completed-orbit-ring::after {
  inset: 29%;
  border-color: rgba(245,168,0,.10);
}

.bp-completed-orbit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--dot-size);
  height: var(--dot-size);
  margin-left: calc(var(--dot-size) * -.5);
  margin-top: calc(var(--dot-size) * -.5);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.98), rgba(255,236,157,.96) 30%, rgba(245,168,0,.98) 72%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16),
    0 0 20px rgba(245,168,0,.34),
    0 10px 24px rgba(0,0,0,.30);
  opacity: var(--dot-alpha);
  transform: rotate(var(--angle)) translateX(var(--orbit-radius));
}

.bp-completed-orbit-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.bp-completed-orbit-icon {
  width: 86px;
  height: 86px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  font-size: 36px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06)),
    radial-gradient(circle at 35% 20%, rgba(245,168,0,.32), rgba(245,168,0,.08) 52%, rgba(0,0,0,.18));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 18px 44px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.18);
}

@keyframes bpCompletedOrderOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bp-completed-orbit-ring {
    animation: none;
  }
}

@media (max-width: 760px) {
  .bp-completed-orbit-panel {
    min-height: 236px;
    padding: 18px;
  }

  .bp-completed-orbit-stage {
    --orbit-radius: clamp(74px, 29vw, 104px);
    width: min(100%, 286px);
  }

  .bp-completed-orbit-icon {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    font-size: 32px;
  }
}

/* PROFILE COMPLETED ORDER ORBIT PREMIUM TUNE — 2026-08-22 */
.bp-completed-orbit-panel{
  min-height:216px;
  padding:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.008));
}

.bp-completed-orbit-panel::before{
  inset:26px;
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(245,168,0,.10), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.045), transparent 55%);
  opacity:.78;
}

.bp-completed-orbit-stage{
  --orbit-radius:clamp(68px, 11vw, 92px);
  width:min(100%, 248px);
}

.bp-completed-orbit-ring{
  animation:bpCompletedOrderOrbitSpin 88s linear infinite;
  opacity:.92;
}

.bp-completed-orbit-ring::before{
  inset:18%;
  border-color:rgba(255,255,255,.055);
}

.bp-completed-orbit-ring::after{
  inset:30%;
  border-color:rgba(245,168,0,.07);
}

.bp-completed-orbit-dot{
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    0 0 10px rgba(245,168,0,.16),
    0 8px 18px rgba(0,0,0,.20);
  filter:saturate(.92) brightness(.98);
  transform:rotate(var(--angle)) translateX(var(--orbit-radius)) scale(.76);
}

.bp-completed-orbit-core{
  transform:scale(.96);
}

.bp-completed-orbit-icon{
  width:64px;
  height:64px;
  border-radius:20px;
  font-size:28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    radial-gradient(circle at 35% 20%, rgba(245,168,0,.18), rgba(245,168,0,.05) 54%, rgba(0,0,0,.12));
  border:1px solid rgba(255,255,255,.09);
  box-shadow:
    0 12px 30px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.14);
}

@media (max-width: 760px){
  .bp-completed-orbit-panel{
    min-height:196px;
    padding:12px;
  }

  .bp-completed-orbit-stage{
    --orbit-radius:clamp(60px, 24vw, 82px);
    width:min(100%, 220px);
  }

  .bp-completed-orbit-icon{
    width:58px;
    height:58px;
    border-radius:18px;
    font-size:25px;
  }
}

/* BRO PIZZA PROFILE SINGLE LINE TITLES FIX — 2026-08-22 */

/* Махаме ненужния account center copy block */
.bp-account-copy{
  display:none !important;
}

/* Стягаме topbar след махането на заглавието */
.bp-account-topbar{
  grid-template-columns:auto minmax(0,1fr);
  gap:16px;
}

.bp-overview-copy{
  min-width:0;
  flex:1 1 auto;
}

/* Глобално: името да е на един ред */
.bp-overview-name{
  display:block !important;
  max-width:100% !important;
  white-space:nowrap !important;
  text-wrap:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:initial !important;
}

/* На мобилен: проблемните заглавия да не се чупят на няколко реда */
@media (max-width: 760px){
  .bp-account-topbar{
    grid-template-columns:1fr;
    gap:12px;
  }

  .bp-panel-title,
  .bp-current-order-empty__title,
  .bp-overview-name{
    white-space:nowrap !important;
    text-wrap:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .bp-panel-title,
  .bp-current-order-empty__title{
    font-size:19px !important;
    line-height:1.05 !important;
  }

  .bp-overview-name{
    font-size:24px !important;
    line-height:1 !important;
  }
}

@media (max-width: 390px){
  .bp-panel-title,
  .bp-current-order-empty__title{
    font-size:18px !important;
  }

  .bp-overview-name{
    font-size:22px !important;
  }
}

/* BRO PIZZA PROFILE ORBIT GEM CENTER — 2026-08-22 */
.bp-completed-orbit-icon{
  overflow:hidden;
}

.bp-completed-orbit-gem{
  display:block;
  width:72%;
  height:72%;
  object-fit:contain;
  filter:
    drop-shadow(0 0 10px rgba(255,255,255,.28))
    drop-shadow(0 0 18px rgba(245,168,0,.22))
    drop-shadow(0 10px 24px rgba(0,0,0,.28));
}

@media (max-width: 760px){
  .bp-completed-orbit-gem{
    width:74%;
    height:74%;
  }
}




/* BRO PIZZA PROFILE COMPLETED ORDER ORBIT V4 SPACING — 2026-08-22 */
.bp-completed-orbit-panel{
  position:relative;
  overflow:hidden;
  min-height:320px;
  display:grid;
  place-items:center;
  padding:26px 22px;
  isolation:isolate;
}

.bp-completed-orbit-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 50%, rgba(245,168,0,.10), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.03), transparent 54%);
  z-index:-1;
  pointer-events:none;
}

.bp-completed-orbit-stage{
  position:relative;
  width:min(100%, 430px);
  aspect-ratio:1;
}

.bp-completed-orbit-ring{
  position:absolute;
  inset:0;
  animation:bpCompletedOrderOrbitSpin var(--spin-duration, 42s) linear infinite;
  transform-origin:center;
}

/* Умишлено НЯМА кръгли линии / borders около орбитите */

.bp-completed-orbit-dot{
  position:absolute;
  left:50%;
  top:50%;
  width:var(--dot-size);
  height:var(--dot-size);
  margin-left:calc(var(--dot-size) * -.5);
  margin-top:calc(var(--dot-size) * -.5);
  border-radius:999px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.98), rgba(255,236,157,.96) 28%, rgba(245,168,0,.98) 72%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16),
    0 0 18px rgba(245,168,0,.30),
    0 10px 22px rgba(0,0,0,.28);
  opacity:.96;
  transform:rotate(var(--angle)) translateX(var(--ring-radius));
}

.bp-completed-orbit-core{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  pointer-events:none;
}

@keyframes bpCompletedOrderOrbitSpin{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

@media (prefers-reduced-motion: reduce){
  .bp-completed-orbit-ring{
    animation:none;
  }
}

@media (max-width:760px){
  .bp-completed-orbit-panel{
    min-height:286px;
    padding:18px 14px;
  }

  .bp-completed-orbit-stage{
    width:min(100%, 340px);
  }
}

/* BRO PIZZA PROFILE ORBIT CENTER IMAGE ORBIT-GEM — 2026-08-22 */
.bp-completed-orbit-crystal {
  display: none !important;
}

.bp-completed-orbit-image {
  width: 82px;
  height: 82px;
  display: block;
  object-fit: contain;
  border-radius: 999px;
  filter:
    drop-shadow(0 0 12px rgba(23,255,78,.34))
    drop-shadow(0 0 30px rgba(23,255,78,.20))
    drop-shadow(0 14px 28px rgba(0,0,0,.34));
  transform: translateZ(0);
  user-select: none;
  pointer-events: none;
}

@media (max-width: 760px) {
  .bp-completed-orbit-image {
    width: 72px;
    height: 72px;
  }
}


/* BRO PIZZA PROFILE ORBIT BELOW ORDERS BIG IMAGE — 2026-08-22 */
.bp-completed-orbit-image {
  width: 164px !important;
  height: 164px !important;
}

.bp-completed-orbit-panel {
  min-height: 330px !important;
}

.bp-completed-orbit-stage {
  width: min(100%, 340px) !important;
}

@media (max-width: 760px) {
  .bp-completed-orbit-image {
    width: 136px !important;
    height: 136px !important;
  }

  .bp-completed-orbit-panel {
    min-height: 300px !important;
  }

  .bp-completed-orbit-stage {
    width: min(100%, 300px) !important;
  }
}


/* BRO PIZZA PROFILE ORBIT HIDE ALL RING LINES — 2026-08-22 */
.bp-completed-orbit-ring::before,
.bp-completed-orbit-ring::after,
.bp-completed-orbit-stage::before,
.bp-completed-orbit-stage::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
}

.bp-completed-orbit-ring {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.bp-completed-orbit-stage {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}


/* BRO PIZZA PROFILE COMPLETED ORDER ORBIT V5 DENSITY THRESHOLD — 2026-08-22 */
.bp-completed-orbit-panel{
  min-height:360px !important;
  padding:28px 22px !important;
}

.bp-completed-orbit-stage{
  position:relative !important;
  width:min(100%, var(--orbit-stage-size, 520px)) !important;
  aspect-ratio:1 !important;
  margin-inline:auto !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

.bp-completed-orbit-stage::before,
.bp-completed-orbit-stage::after,
.bp-completed-orbit-ring::before,
.bp-completed-orbit-ring::after{
  content:none !important;
  display:none !important;
  border:0 !important;
  background:none !important;
  box-shadow:none !important;
}

.bp-completed-orbit-ring{
  position:absolute !important;
  inset:0 !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  animation:bpCompletedOrderOrbitSpinV5 var(--ring-duration, 52s) linear infinite !important;
  transform-origin:center !important;
}

.bp-completed-orbit-dot{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:var(--dot-size, 16px) !important;
  height:var(--dot-size, 16px) !important;
  margin-left:calc(var(--dot-size, 16px) * -0.5) !important;
  margin-top:calc(var(--dot-size, 16px) * -0.5) !important;
  border-radius:999px !important;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.98), rgba(255,236,157,.96) 30%, rgba(245,168,0,.98) 72%) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16),
    0 0 18px rgba(245,168,0,.34),
    0 8px 24px rgba(0,0,0,.28) !important;
  transform:rotate(var(--angle)) translateX(var(--orbit-distance)) !important;
}

.bp-completed-orbit-core{
  position:absolute !important;
  inset:0 !important;
  display:grid !important;
  place-items:center !important;
  pointer-events:none !important;
}

.bp-completed-orbit-image{
  width:220px !important;
  height:auto !important;
  display:block !important;
  object-fit:contain !important;
}

@keyframes bpCompletedOrderOrbitSpinV5{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

@media (max-width:760px){
  .bp-completed-orbit-panel{
    min-height:330px !important;
    padding:22px 14px !important;
  }

  .bp-completed-orbit-image{
    width:220px !important;
  }
}


/* BRO PIZZA PROFILE ORBIT SECTION SCALE DOWN 30 — 2026-08-22 */
.bp-completed-orbit-panel {
  min-height: 252px !important;
  padding: 18px 14px !important;
}

.bp-completed-orbit-stage {
  transform: scale(.70);
  transform-origin: center;
  margin-top: -48px !important;
  margin-bottom: -48px !important;
}

@media (max-width: 760px) {
  .bp-completed-orbit-panel {
    min-height: 232px !important;
    padding: 14px 10px !important;
  }

  .bp-completed-orbit-stage {
    transform: scale(.70);
    margin-top: -42px !important;
    margin-bottom: -42px !important;
  }
}


/* BRO PIZZA PROFILE QUIET DELETE BUTTON CONFIRM — 2026-08-22 */
.bp-delete-profile-footer {
  margin: 24px auto 4px;
  padding: 10px 0 0;
  display: flex;
  justify-content: center;
  opacity: .68;
}

.bp-delete-profile-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  color: rgba(255,255,255,.42);
  border-radius: 999px;
  min-height: 34px;
  padding: 7px 14px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity .18s ease, color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.bp-delete-profile-btn:hover {
  opacity: 1;
  color: rgba(255,180,180,.82);
  border-color: rgba(255,120,120,.18);
  background: rgba(181,29,29,.055);
  transform: translateY(-1px);
}

.bp-delete-profile-btn:active {
  transform: translateY(0);
}

@media (max-width: 760px) {
  .bp-delete-profile-footer {
    margin-top: 18px;
    padding-bottom: 10px;
  }

  .bp-delete-profile-btn {
    min-height: 38px;
    padding: 8px 15px;
  }
}

