/* ============================================================
   Boostly Insta — تصميم متجر بأسلوب إنستغرام (معزول تماماً)
   كل القواعد مقيّدة بـ body.bz-body حتى لا تتعارض مع تصميم المتجر الأصلي.
   ============================================================ */

.bz-body * { box-sizing: border-box; }

.bz-body {
    --bz-accent: #8b7cf6;
    --bz-accent-2: #7c6cf0;
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: "Segoe UI", Tahoma, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    min-height: 100dvh;
}

.bz-body img { max-width: 100%; display: block; }
.bz-body a { color: inherit; text-decoration: none; }
.bz-body button { font-family: inherit; cursor: pointer; }

/* محتوى عام بعرض موبايل ومتمركز على الشاشات الكبيرة */
.bz-app {
    max-width: 680px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    background: #000;
    position: relative;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

/* ----------------------------- شريط علوي ----------------------------- */
.bz-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 14px;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #141414;
}
.bz-topbar .bz-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #fff;
}
.bz-topbar .bz-brand img { height: 26px; width: auto; }
.bz-topbar .bz-top-actions { margin-inline-start: auto; display: flex; gap: 6px; }
.bz-topbar .bz-icon-btn {
    background: transparent; border: 0; color: #fff; padding: 6px;
    display: inline-flex; align-items: center; justify-content: center;
}
.bz-topbar .bz-icon-btn svg { width: 24px; height: 24px; }

/* شريط البحث المنبثق من النافبار */
.bz-searchbar {
    display: none; align-items: center; gap: 8px;
    position: sticky; top: 52px; z-index: 49;
    padding: 8px 12px;
    background: rgba(0,0,0,0.96); backdrop-filter: blur(8px);
    border-bottom: 1px solid #141414;
}
.bz-searchbar.is-open { display: flex; }
.bz-searchbar input {
    flex: 1; min-width: 0;
    background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 10px;
    color: #fff; padding: 10px 12px; font-size: 14px; outline: none;
}
.bz-searchbar input::placeholder { color: #888; }
.bz-searchbar .bz-search-go { background: transparent; border: 0; color: #fff; padding: 6px; display: inline-flex; }
.bz-searchbar .bz-search-go svg { width: 22px; height: 22px; }

/* رأس صفحة فرعية (رجوع) */
.bz-subhead {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; gap: 12px;
    height: 52px; padding: 0 10px;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid #141414;
}
.bz-subhead .bz-back { background: transparent; border: 0; color: #fff; padding: 6px; display: inline-flex; }
.bz-subhead .bz-back svg { width: 24px; height: 24px; }
.bz-subhead .bz-subhead-title { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bz-subhead-search { flex: 1; min-width: 0; }
.bz-subhead-search input {
    width: 100%;
    background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 10px;
    color: #fff; padding: 9px 12px; font-size: 14px; outline: none;
}
.bz-subhead-search input::placeholder { color: #888; }

/* ----------------------------- عناوين الأقسام ----------------------------- */
.bz-section-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 14px 8px;
}
.bz-section-head h2 { margin: 0; font-size: 16px; font-weight: 700; color: #fff; }
.bz-section-head .bz-section-link { font-size: 13px; color: #9aa0ff; }

/* ----------------------------- شبكة المنتجات ----------------------------- */
.bz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* عمودان فقط */
    column-gap: 0;                    /* الصور ملتصقة أفقياً */
    row-gap: 2px;                     /* الصور شبه ملتصقة عمودياً */
}

/* البطاقة = صورة بكامل الحجم والمعلومات عائمة فوقها */
.bz-card {
    position: relative;
    aspect-ratio: 5 / 8;   /* صور طولية: تظهر ~صورتان ونصف على الشاشة */
    overflow: hidden;
    background: #111;
}
.bz-card-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.bz-card-link { position: absolute; inset: 0; z-index: 1; }
.bz-card-badge {
    position: absolute; top: 8px; inset-inline-start: 8px; z-index: 3;
    background: #ff3040; color: #fff; font-size: 11px; font-weight: 700;
    padding: 2px 7px; border-radius: 6px;
}

/* الطبقة العائمة أسفل الصورة */
.bz-card-overlay {
    position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
    padding: 26px 8px 8px;
    direction: ltr; text-align: left;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0) 100%);
}
.bz-card-overlay a, .bz-card-overlay button { pointer-events: auto; }
.bz-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.bz-seller { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bz-seller-ava {
    width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
    flex: 0 0 auto; background: #222; border: 1px solid rgba(255,255,255,0.55);
}
.bz-seller-name {
    font-size: 12px; color: #fff; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-width: 100px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.bz-like {
    background: transparent; border: 0; padding: 2px; color: #fff;
    display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
}
.bz-like svg { width: 24px; height: 24px; stroke: #fff; fill: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); transition: transform .12s ease; }
.bz-like.is-liked svg { fill: #ff3040; stroke: #ff3040; }
.bz-like:active svg { transform: scale(1.25); }
.bz-like .bz-like-count { font-size: 12px; color: #fff; }

.bz-title {
    margin-top: 6px;
    font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,0.85);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.bz-price { margin-top: 3px; font-size: 14px; font-weight: 800; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.85); }
.bz-price .bz-old { color: #ccc; font-weight: 400; font-size: 11px; margin-inline-start: 6px; text-decoration: line-through; }
.bz-price.bz-free { color: #2ee87a; }
.bz-price .bz-quote { color: #cdd2ff; font-weight: 600; font-size: 13px; }

/* حالات التحميل والنهاية */
.bz-loader { padding: 22px; display: flex; justify-content: center; }
.bz-spinner {
    width: 26px; height: 26px; border-radius: 50%;
    border: 3px solid #333; border-top-color: #fff; animation: bz-spin .8s linear infinite;
}
@keyframes bz-spin { to { transform: rotate(360deg); } }
.bz-sentinel { height: 1px; }
.bz-end-note { text-align: center; color: #555; font-size: 13px; padding: 18px; }
.bz-empty { text-align: center; color: #777; padding: 60px 20px; }

/* ----------------------------- رأس صفحة البائع ----------------------------- */
.bz-seller-header { padding: 22px 16px 10px; text-align: center; }
.bz-seller-header .bz-seller-avatar {
    width: 120px; height: 120px; border-radius: 22px; object-fit: cover;
    margin: 0 auto 12px; border: 2px solid #2a2a2a; background: #222;
}
.bz-seller-header .bz-seller-title { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.bz-seller-header .bz-seller-stats {
    display: flex; justify-content: center; gap: 26px; margin-top: 12px; color: #cfcfcf;
}
.bz-seller-header .bz-stat { text-align: center; }
.bz-seller-header .bz-stat b { display: block; font-size: 16px; color: #fff; }
.bz-seller-header .bz-stat span { font-size: 12px; color: #9a9a9a; }
.bz-seller-header .bz-seller-actions { margin-top: 14px; display: flex; gap: 8px; justify-content: center; }
.bz-btn {
    border: 0; border-radius: 10px; padding: 9px 18px; font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.bz-btn-primary { background: var(--bz-accent); color: #fff; }
.bz-btn-block { width: 100%; padding: 14px; font-size: 15px; }
.bz-btn-wa { background: #25D366; color: #fff; }
.bz-btn-ghost { background: #1c1c1c; color: #fff; border: 1px solid #333; }
.bz-btn svg { width: 18px; height: 18px; }
.bz-seller-divider { height: 1px; background: #161616; margin: 14px 0 2px; }

/* ============================================================
   الريلز — صفحة المنتج بملء الشاشة مع تمرير عمودي تلقائي القفز
   ============================================================ */
.bz-reel {
    height: 100vh; height: 100dvh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    background: #000;
    scrollbar-width: none;
}
.bz-reel::-webkit-scrollbar { display: none; }

.bz-slide {
    position: relative;
    height: 100vh; height: 100dvh;
    scroll-snap-align: start; scroll-snap-stop: always;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
/* خلفية ضبابية تملأ الفراغ */
.bz-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: blur(28px) brightness(0.45); transform: scale(1.2);
}
.bz-slide-img {
    position: relative; z-index: 1;
    max-width: 100%; max-height: 100%;
    width: 100%; height: 100%; object-fit: contain;
}
.bz-slide-shade {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 32%, rgba(0,0,0,0) 55%);
}

/* معرض صور المنتج داخل الريل (سحب أفقي + تبديل تلقائي) */
.bz-slide-gallery { position: absolute; inset: 0; z-index: 1; }
.bz-gallery-track {
    position: absolute; inset: 0;
    display: flex; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bz-gallery-track::-webkit-scrollbar { display: none; }
.bz-gallery-img {
    flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain;
    scroll-snap-align: center; scroll-snap-stop: always;
    -webkit-user-drag: none; user-select: none;
}
.bz-gallery-dots {
    position: absolute; z-index: 5; top: calc(env(safe-area-inset-top) + 20px);
    inset-inline: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none;
}
.bz-gallery-dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.45); transition: width .25s, background .25s;
}
.bz-gallery-dots span.is-active { background: #fff; width: 18px; border-radius: 3px; }

.bz-reel-top {
    position: fixed; top: 0; inset-inline: 0; z-index: 6;
    max-width: 680px; margin: 0 auto;
    display: flex; align-items: center; gap: 10px;
    padding: 14px; padding-top: max(14px, env(safe-area-inset-top));
    pointer-events: none;
}
.bz-reel-top .bz-back { pointer-events: auto; }
.bz-reel-top .bz-back { background: rgba(0,0,0,0.35); border: 0; color: #fff; border-radius: 50%; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; }
.bz-reel-top .bz-back svg { width: 22px; height: 22px; }

/* معلومات أسفل-يسار */
.bz-slide-info {
    position: absolute; z-index: 5; bottom: 0; left: 0;
    width: 74%; max-width: 460px;
    padding: 16px; padding-bottom: max(20px, env(safe-area-inset-bottom));
    direction: ltr; text-align: left; /* محاذاة لليسار في جميع اللغات */
}
.bz-slide-seller { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.bz-slide-seller img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1.5px solid #fff; background: #222; }
.bz-slide-seller .bz-slide-seller-name { font-size: 15px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.bz-slide-title { font-size: 17px; font-weight: 800; color: #fff; margin: 0 0 6px; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.bz-slide-price { font-size: 16px; font-weight: 800; color: #fff; margin: 6px 0 0; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.bz-slide-price .bz-old { color: #cfcfcf; font-weight: 400; font-size: 13px; margin-inline-start: 8px; text-decoration: line-through; }
.bz-slide-price.bz-free { color: #2ee87a; }

.bz-slide-desc { font-size: 13.5px; line-height: 1.5; color: #ededed; margin: 8px 0 0; text-shadow: 0 1px 4px rgba(0,0,0,0.6); cursor: pointer; }
.bz-slide-desc.is-open { cursor: auto; }
.bz-slide-desc .bz-desc-short { display: inline; }
.bz-slide-desc .bz-desc-full { display: none; white-space: pre-line; }
.bz-slide-desc.is-open .bz-desc-short { display: none; }
.bz-slide-desc.is-open .bz-desc-full { display: inline; }
.bz-desc-toggle { background: transparent; border: 0; color: #cdd2ff; font-size: 13px; font-weight: 700; padding: 0; margin-inline-start: 4px; }

/* أزرار الإجراءات على اليمين */
.bz-slide-actions {
    position: absolute; z-index: 6; right: 8px;
    bottom: calc(84px + env(safe-area-inset-bottom)); /* مرفوعة قليلاً للأعلى */
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.bz-act { background: transparent; border: 0; color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bz-act svg { width: 32px; height: 32px; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); }
.bz-act.bz-like svg, .bz-act.bz-share svg { stroke: #fff; fill: none; }
.bz-act.bz-call svg { fill: #fff; stroke: none; }
.bz-act.bz-wa svg { fill: #25D366; stroke: none; }
.bz-act .bz-act-label { font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.bz-act.bz-like.is-liked svg { fill: #ff3040; stroke: #ff3040; }
.bz-act.bz-like:active svg { transform: scale(1.2); }

/* قلب نابض عند الإعجاب المزدوج */
.bz-heart-pop {
    position: absolute; z-index: 7; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0); opacity: 0;
    color: #fff; pointer-events: none;
}
.bz-heart-pop svg { width: 110px; height: 110px; fill: #fff; }
.bz-heart-pop.animate { animation: bz-heart .9s ease; }
@keyframes bz-heart {
    0% { transform: translate(-50%,-50%) scale(0); opacity: 0; }
    15% { transform: translate(-50%,-50%) scale(1.1); opacity: .95; }
    35% { transform: translate(-50%,-50%) scale(0.92); opacity: .95; }
    100% { transform: translate(-50%,-50%) scale(1.3); opacity: 0; }
}

/* ----------------------------- نافذة التواصل (Bottom sheet) ----------------------------- */
.bz-sheet-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.bz-sheet-overlay.is-open { opacity: 1; visibility: visible; }
.bz-sheet {
    position: fixed; z-index: 201; left: 0; right: 0; bottom: 0;
    max-width: 680px; margin: 0 auto;
    background: #161616; color: #fff;
    border-radius: 18px 18px 0 0;
    padding: 10px 18px max(22px, env(safe-area-inset-bottom));
    transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1);
}
.bz-sheet.is-open { transform: translateY(0); }
.bz-sheet .bz-sheet-grip { width: 40px; height: 4px; background: #444; border-radius: 4px; margin: 6px auto 14px; }
.bz-sheet .bz-sheet-title { font-size: 16px; font-weight: 800; text-align: center; margin: 0 0 4px; }
.bz-sheet .bz-sheet-seller { font-size: 13px; color: #aaa; text-align: center; margin: 0 0 16px; }
.bz-sheet .bz-sheet-actions { display: flex; flex-direction: column; gap: 10px; }
.bz-sheet .bz-sheet-actions .bz-btn { width: 100%; padding: 13px; font-size: 15px; }
.bz-sheet .bz-sheet-none { text-align: center; color: #999; font-size: 14px; padding: 8px 0 16px; }

/* ----------------------------- شريط التنقل السفلي ----------------------------- */
.bz-bottomnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    max-width: 680px; margin: 0 auto;
    height: 60px; padding-bottom: env(safe-area-inset-bottom);
    display: flex; align-items: center; justify-content: space-around;
    background: rgba(0,0,0,0.95); backdrop-filter: blur(8px);
    border-top: 1px solid #161616;
}
.bz-bottomnav a { color: #9a9a9a; flex: 1; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; }
.bz-bottomnav a.is-active { color: var(--bz-accent); }
.bz-bottomnav a svg { width: 25px; height: 25px; }

/* شريط التنقل لا يظهر في صفحة الريلز */
.bz-body.bz-reel-page { padding-bottom: 0; }
.bz-body.bz-reel-page .bz-bottomnav { display: none; }

/* شاشات أوسع: تكبير الشبكة قليلاً مع الإبقاء على عمودين بحسب الطلب */
@media (min-width: 560px) {
    .bz-seller-name { max-width: 160px; }
}

/* ----------------------------- شريط علوي بعنوان (اكتشف/الأحدث/حسابي) ----------------------------- */
.bz-topbar-titled { justify-content: space-between; }
.bz-topbar-titled .bz-brand img { height: 30px; }
.bz-page-title { font-size: 20px; font-weight: 800; color: #fff; }

/* ----------------------------- صفحة البحث ----------------------------- */
.bz-searchhead {
    position: sticky; top: 0; z-index: 50;
    padding: 12px 14px;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid #141414;
}
.bz-searchhead-form {
    display: flex; align-items: center; gap: 8px;
    background: #1b1b1d; border: 1px solid #2a2a2e; border-radius: 12px;
    padding: 0 12px; height: 44px;
}
.bz-searchhead-icon { display: inline-flex; color: #8a8a8f; }
.bz-searchhead-icon svg { width: 20px; height: 20px; }
.bz-searchhead-form input {
    flex: 1; background: transparent; border: 0; outline: none;
    color: #fff; font-size: 15px; font-family: inherit;
}
.bz-searchhead-form input::placeholder { color: #7a7a7f; }

.bz-search-tabs { display: flex; gap: 6px; padding: 12px 14px 2px; }
.bz-search-tab {
    flex: 1; text-align: center; padding: 10px; border-radius: 10px;
    background: #141416; color: #b8b8be; font-size: 14px; font-weight: 700;
    border: 1px solid #232327;
}
.bz-search-tab.is-active { background: var(--bz-accent); color: #fff; border-color: var(--bz-accent); }

.bz-search-empty { text-align: center; color: #6f6f76; padding: 70px 24px; }
.bz-search-empty-icon { display: inline-flex; color: #4a4a52; }
.bz-search-empty-icon svg { width: 64px; height: 64px; stroke-width: 1.6; }
.bz-search-empty p { margin: 16px 0 0; font-size: 15px; color: #8a8a90; }

/* ----------------------------- بطاقات البائعين في البحث ----------------------------- */
.bz-seller-list { display: flex; flex-direction: column; gap: 12px; padding: 12px 14px; }
.bz-seller-card { background: #111113; border: 1px solid #1f1f23; border-radius: 14px; overflow: hidden; }
.bz-seller-card-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.bz-seller-card-ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #222; flex-shrink: 0; }
.bz-seller-card-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.bz-seller-card-name { font-size: 15px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bz-seller-card-count { font-size: 12px; color: #8e8e96; }
.bz-seller-card-go { color: var(--bz-accent); display: inline-flex; flex-shrink: 0; }
.bz-seller-card-go svg { width: 22px; height: 22px; }
.bz-seller-card-strip { display: flex; gap: 4px; padding: 0 6px 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bz-seller-thumb { flex: 0 0 auto; width: 28%; max-width: 130px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #1a1a1d; }
.bz-seller-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------- صفحة حسابي ----------------------------- */
.bz-account { padding: 18px 22px; text-align: center; }
.bz-account-guest { padding-top: 70px; }
.bz-account-ava {
    width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
    margin: 12px auto 0; background: #1c1c1f;
}
.bz-account-ava-empty {
    display: inline-flex; align-items: center; justify-content: center;
    color: #5a5a62; background: #1c1c1f;
}
.bz-account-ava-empty svg { width: 56px; height: 56px; }
.bz-account-name { font-size: 22px; font-weight: 800; margin: 16px 0 0; color: #fff; }
.bz-account-sub { font-size: 14px; color: #8e8e96; line-height: 1.7; margin: 12px auto 0; max-width: 320px; }
.bz-account-actions { display: flex; flex-direction: column; gap: 12px; margin: 30px auto 0; max-width: 420px; }
.bz-account-links { display: flex; flex-direction: column; gap: 8px; margin: 26px auto 0; max-width: 420px; }
.bz-account-link {
    display: flex; align-items: center; gap: 12px; padding: 15px 16px;
    background: #111113; border: 1px solid #1f1f23; border-radius: 12px;
    color: #eaeaea; font-size: 15px; font-weight: 600;
}
.bz-account-link svg { width: 22px; height: 22px; color: var(--bz-accent); }
.bz-account-logout { margin: 22px auto 0; max-width: 420px; }

/* ----------------------------- نوافذ الدخول/التاجر السفلية ----------------------------- */
.bz-auth-sheet { padding-top: 18px; text-align: center; }
.bz-sheet-close {
    position: absolute; top: 14px; right: 16px;
    width: 34px; height: 34px; border-radius: 50%;
    background: transparent; border: 0; color: #cfcfcf;
    display: inline-flex; align-items: center; justify-content: center;
}
.bz-sheet-close svg { width: 22px; height: 22px; }
.bz-auth-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--bz-accent); color: #fff;
    font-size: 14px; font-weight: 800;
    padding: 8px 18px; border-radius: 999px; margin: 4px 0 14px;
}
.bz-auth-badge svg { width: 18px; height: 18px; }
.bz-auth-sheet .bz-sheet-title { font-size: 22px; margin-bottom: 4px; }
.bz-auth-sheet .bz-sheet-seller { margin-bottom: 18px; }
.bz-auth-alt-plain { margin: 20px 0 10px; color: #9a9aa0; }
.bz-auth-sheet .bz-btn-wa { margin-top: 2px; }
.bz-auth-sheet .bz-auth-form { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.bz-auth-row { display: flex; gap: 12px; }
.bz-auth-row input { flex: 1; min-width: 0; }
.bz-auth-or {
    display: flex; align-items: center; gap: 12px;
    color: #7c7c84; font-size: 13px; margin: 16px 2px;
}
.bz-auth-or::before, .bz-auth-or::after { content: ""; flex: 1; height: 1px; background: #2a2a2e; }
.bz-btn-google { background: #fff; color: #1f1f1f; }
.bz-btn-google svg { width: 20px; height: 20px; }
.bz-auth-switch {
    display: block; width: 100%; background: transparent; border: 0;
    margin: 18px 0 2px; padding: 6px; font-size: 14.5px; color: #9a9aa0; font-family: inherit;
}
.bz-auth-switch b { color: var(--bz-accent); font-weight: 800; }

/* ----------------------------- حسابي (مسجّل) ----------------------------- */
.bz-account-me { padding-top: max(28px, env(safe-area-inset-top)); }
.bz-account-email { font-size: 14px; color: #8e8e96; margin: 8px 0 0; word-break: break-all; }
.bz-account-type { display: inline-block; margin-top: 6px; font-size: 13px; color: #8e8e96; }

.bz-acct-menu {
    margin: 26px auto 0; max-width: 460px;
    background: #111113; border: 1px solid #1f1f23; border-radius: 16px; overflow: hidden;
}
.bz-acct-row {
    display: flex; align-items: center; gap: 14px; width: 100%;
    padding: 17px 16px; background: transparent; border: 0; font-family: inherit;
    color: #eaeaea; font-size: 15.5px; font-weight: 600; text-align: start; cursor: pointer;
    border-bottom: 1px solid #1c1c20;
}
.bz-acct-menu .bz-acct-row:last-child { border-bottom: 0; }
.bz-acct-ic { display: inline-flex; color: #ececf0; flex-shrink: 0; }
.bz-acct-ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; }
.bz-acct-label { flex: 1; min-width: 0; }
.bz-acct-go { display: inline-flex; color: #5a5a62; flex-shrink: 0; }
.bz-acct-go svg { width: 18px; height: 18px; }
.bz-acct-row-danger { color: #ff5d5d; }
.bz-acct-row-danger .bz-acct-ic { color: #ff5d5d; }

/* ----------------------------- ترويسة فرعية بعنوان موسّط ----------------------------- */
.bz-subhead-center { position: relative; justify-content: flex-start; }
.bz-subhead-center .bz-subhead-title {
    position: absolute; inset-inline: 52px; text-align: center; pointer-events: none;
    font-size: 17px; font-weight: 800;
}

/* ----------------------------- التجار الذين أتابعهم ----------------------------- */
.bz-follow-list { display: flex; flex-direction: column; }
.bz-follow-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border-bottom: 1px solid #161618; color: #fff;
}
.bz-follow-ava { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #222; flex-shrink: 0; }
.bz-follow-name { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bz-follow-go { display: inline-flex; color: #5a5a62; flex-shrink: 0; }
.bz-follow-go svg { width: 18px; height: 18px; }

/* ----------------------------- تعديل الملف ----------------------------- */
.bz-editprofile { padding: 20px 18px 30px; max-width: 520px; margin: 0 auto; }
.bz-avatar-edit { position: relative; width: 120px; margin: 6px auto 26px; }
.bz-avatar-edit-img {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    background: #4a4a4e; display: flex; align-items: center; justify-content: center;
}
.bz-avatar-edit-empty { color: #d9d9de; }
.bz-avatar-edit-empty svg { width: 64px; height: 64px; }
.bz-avatar-cam {
    position: absolute; bottom: 2px; inset-inline-start: 2px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bz-accent); border: 3px solid #0d0d12;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.bz-avatar-cam svg { width: 20px; height: 20px; color: #fff; }
.bz-field { margin-bottom: 18px; }
.bz-field-row { display: flex; gap: 14px; }
.bz-field-row .bz-field { flex: 1; min-width: 0; }
.bz-field label { display: block; margin-bottom: 8px; font-size: 14px; color: #9a9aa0; }
.bz-field input, .bz-field textarea {
    width: 100%; background: #1b1b1d; border: 1px solid #2a2a2e; border-radius: 12px;
    padding: 15px; color: #fff; font-size: 15px; font-family: inherit; outline: none;
}
.bz-field input:focus, .bz-field textarea:focus { border-color: var(--bz-accent); }
.bz-field textarea { resize: vertical; min-height: 120px; }
.bz-save-btn { margin-top: 8px; }

/* ----------------------------- زر المتابعة ----------------------------- */
.bz-follow-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bz-accent); color: #fff;
    border: 1.5px solid var(--bz-accent); border-radius: 10px;
    padding: 9px 28px; font-size: 14px; font-weight: 800; font-family: inherit;
    line-height: 1; cursor: pointer; white-space: nowrap;
}
.bz-follow-btn .bz-follow-done { display: none; }
.bz-follow-btn.is-following { background: transparent; color: #cfcfcf; border-color: #4a4a4e; }
.bz-follow-btn.is-following .bz-follow-do { display: none; }
.bz-follow-btn.is-following .bz-follow-done { display: inline; }

/* صفحة البائع: زر تحت الاسم */
.bz-seller-header .bz-follow-btn { margin-top: 12px; min-width: 168px; }

/* الريل: زر مدمج بجانب اسم التاجر */
.bz-slide-sellerrow { display: flex; align-items: center; gap: 10px; }
.bz-slide-sellerrow .bz-slide-seller { min-width: 0; }
.bz-follow-btn-sm { padding: 6px 16px; font-size: 12.5px; border-radius: 8px; flex-shrink: 0; }
.bz-slide-sellerrow .bz-follow-btn-sm.is-following { color: #fff; border-color: rgba(255,255,255,0.7); }
.bz-auth-sheet .bz-auth-form input {
    background: #0f0f10; border: 1px solid #2a2a2e; border-radius: 11px;
    padding: 14px; color: #fff; font-size: 15px; font-family: inherit; outline: none;
}
.bz-auth-sheet .bz-auth-form input:focus { border-color: var(--bz-accent); }
.bz-auth-sheet .bz-auth-msg { color: #ff6b6b; font-size: 13px; text-align: center; min-height: 0; }
.bz-auth-sheet .bz-auth-msg.is-error { padding: 2px 0; }
.bz-auth-sheet .bz-auth-alt { text-align: center; font-size: 14px; color: #9a9aa0; margin: 14px 0 2px; }
.bz-auth-sheet .bz-auth-alt a { color: var(--bz-accent); font-weight: 700; }
