/* ==========================================================================
   🔥 FIREBIX BUSINESS PROFILE STYLESHEET (MINI-WEBSITE MASTER SUITE)
   ========================================================================== */
:root {
    --fire-base: #F13423;
    --fire-glow: #FF6B35;
    --fire-dark: #0f172a;
    --fire-gray-bg: #F8FAFC;
    --fire-card-bg: #ffffff;
    --fire-text-main: #0f172a;
    --fire-text-muted: #64748b;
    --fire-border: #E2E8F0;
    --fire-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --fire-shadow-md: 0 6px 20px rgba(15, 23, 42, 0.05);
    --transition-snappy: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --custom-radius: 16px;
    --font-family-base: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family-base);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent !important;
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, fill 0.35s ease;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: var(--fire-gray-bg);
    color: var(--fire-text-main);
    min-height: 100vh;
    line-height: 1.5;
}

/* ==========================================================================
   LAYOUT STRUCTURE (DESKTOP SIDEBAR SAFE)
   ========================================================================== */
.app-layout-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.main-content-stream {
    width: 100%;
    max-width: 800px;
    background: var(--fire-card-bg);
    padding-bottom: 95px;
    min-width: 0;
    box-shadow: 0 0 40px rgba(0,0,0,0.02);
}

.firesite-page {
    width: 100%;
    background: var(--fire-card-bg);
    position: relative;
}

/* ==========================================================================
   🖼️ BANNER & EMBEDDED ACTIONS
   ========================================================================== */
.banner-container {
    padding: 12px 16px 0 16px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.cover-area {
    width: 100%;
    height: 155px;
    border-radius: var(--custom-radius, 16px);
    overflow: visible;
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
    position: relative;
    transition: var(--transition-snappy);
}

.cover-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--custom-radius, 16px);
}

.cover-default-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #334155);
    border-radius: var(--custom-radius, 16px);
}

.theme-banner-compact .cover-area {
    height: 95px !important;
}

.banner-integrated-actions {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100000;
    pointer-events: none;
}

.banner-integrated-actions .action-btn {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.banner-integrated-actions .action-btn:active {
    transform: scale(0.9);
}

.right-top-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.menu-dropdown-wrapper {
    position: relative;
    pointer-events: auto;
}

.profile-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 6px;
    min-width: 180px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transform-origin: top right;
    transition: var(--transition-snappy);
    z-index: 2147483000 !important;
}

.profile-menu-dropdown.show-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-snappy);
}

.dropdown-item-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.dropdown-item-btn i {
    font-size: 15px;
    color: var(--fire-glow);
}

/* ==========================================================================
   👤 CHANNEL HEADER (FIXED OVERLAP & OVERFLOW FIX)
   ========================================================================== */
.channel-header {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--fire-card-bg);
}

.channel-header-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    position: relative;
}

.profile-photo {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    border-radius: 50% !important;
    background: var(--fire-card-bg);
    padding: 3px;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden !important;
    cursor: pointer;
    position: relative;
    border: 2px solid var(--fire-border);
    z-index: 5;
    
    /* 👇 Isse DP ko bina layout toote jahan marzi utha ya gira sakte ho */
    transform: translateY(-5px); /* Yahan value apne hisab se minus (-) ya plus (+) kar lena */
}

.profile-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

.profile-photo-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--fire-dark);
}

.channel-meta-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.title-row h1 {
    font-size: 19px;
    font-weight: 900;
    color: var(--fire-dark);
    letter-spacing: -0.4px;
    margin: 0;
    line-height: 1.25;
    word-break: break-word;
}

.business-verified-pill {
    background: rgba(37, 99, 235, 0.1);
    color: var(--fire-base);
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.channel-sub-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--fire-text-muted);
    font-weight: 600;
    flex-wrap: wrap;
    line-height: 1.4;
}

.channel-sub-info .handle {
    font-weight: 800;
    color: var(--fire-base);
}

.biz-cat-badge {
    background: #F1F5F9;
    padding: 2px 6px;
    border-radius: 6px;
    color: #475569;
    font-weight: 700;
}

.dot-sep {
    font-size: 9px;
    color: #94A3B8;
}

.timing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1.2;
}

.timing-indicator.open { background: #DCFCE7; color: #15803D; }
.timing-indicator.closed { background: #FEE2E2; color: #B91C1C; }
.dot-beacon { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ==========================================================================
   🌟 HEADER TRUST & PORTFOLIO STRIP (CLEAN WRAP & SCROLL)
   ========================================================================== */
.header-portfolio-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.h-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #F8FAFC;
    border: 1px solid var(--fire-border);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--fire-dark);
    cursor: pointer;
    transition: var(--transition-snappy);
    user-select: none;
    white-space: nowrap;
}

.h-stat-chip:active { transform: scale(0.96); }
.h-stat-chip.highlight { background: rgba(241, 52, 35, 0.1); border-color: rgba(241, 52, 35, 0.3); color: var(--fire-base); }
.text-gold { color: #F59E0B; }

.channel-bio-line {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    color: var(--fire-text-main);
    line-height: 1.35;
    margin-top: 2px;
}

.short-bio {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 82%;
}

.bio-more-btn {
    border: none;
    background: transparent;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--fire-base);
    cursor: pointer;
    padding: 0;
}

/* ==========================================================================
   ⭐ GOOGLE REVIEWS BANNER (GBP CALLOUT)
   ========================================================================== */
.google-review-action-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.08), rgba(255, 255, 255, 0.95));
    border: 1.5px solid rgba(66, 133, 244, 0.35);
    border-radius: var(--custom-radius, 16px);
    padding: 12px 14px;
    margin-top: 4px;
    box-shadow: var(--fire-shadow-sm);
}

.gbp-left-block {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.google-logo-box {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.gbp-text-meta strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--fire-dark);
    line-height: 1.25;
}

.gbp-text-meta span {
    font-size: 11px;
    color: var(--fire-text-muted);
    display: block;
    line-height: 1.25;
}

.btn-write-google-review {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: var(--fire-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-shrink: 0;
    transition: var(--transition-snappy);
}

.btn-write-google-review i { color: #FBBC05; }
.btn-write-google-review:active { transform: scale(0.95); }

/* ==========================================================================
   ⚡ ACTIONS & OWNER STRIP
   ========================================================================== */
.biz-quick-action-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}

.biz-strip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    border-radius: var(--custom-radius, 12px);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition-snappy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
}

.biz-strip-btn:active { transform: scale(0.97); }
.biz-strip-btn.whatsapp { background: #25D366; color: #ffffff; }
.biz-strip-btn.phone { background: var(--fire-dark); color: #ffffff; }
.biz-strip-btn.directions { background: #F1F5F9; color: var(--fire-dark); border: 1px solid var(--fire-border); }

.channel-action-row {
    width: 100%;
    margin-top: 4px;
}

.owner-controls-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.owner-controls-strip .yt-edit-btn {
    flex: 1;
    margin-top: 0;
}

.yt-gear-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fire-base);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    transition: var(--transition-snappy);
    flex-shrink: 0;
}

.yt-gear-btn:active { transform: rotate(45deg) scale(0.92); }

.yt-follow-btn, .yt-edit-btn {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    border: none;
    background: var(--fire-base) !important;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-snappy);
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.yt-edit-btn {
    background: #F1F5F9 !important;
    color: var(--fire-dark) !important;
    border: 1px solid var(--fire-border);
}

.yt-follow-btn.state-following {
    background: #F1F5F9 !important;
    color: var(--fire-text-main) !important;
    border: 1px solid rgba(0,0,0,0.06);
}

/* ==========================================================================
   ⭐ SMART INLINE REVIEW PROMPT
   ========================================================================== */
.review-prompt-card {
    margin: 0 16px 12px 16px;
    padding: 14px 16px;
    border-radius: var(--custom-radius, 14px);
    background: #FFFDF9;
    border: 1px solid #FED7AA;
}

.review-prompt-card .rf-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--fire-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.business-inline-review-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.star-rating-selector {
    display: flex;
    gap: 6px;
    font-size: 20px;
    color: #D1D5DB;
    cursor: pointer;
}

.star-rating-selector .star-btn.active { color: #F59E0B; }

.business-inline-review-form textarea {
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
    background: #ffffff;
    resize: none;
    outline: none;
}

.business-inline-review-form textarea:focus { border-color: var(--fire-base); }

.biz-submit-review-btn {
    align-self: flex-start;
    padding: 8px 16px;
    background: var(--fire-base);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.biz-cancel-btn {
    padding: 8px 12px;
    background: #F3F4F6;
    color: #4B5563;
    font-size: 12.5px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.btn-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.biz-submit-review-btn.is-saving .btn-spinner { display: inline-block; }
.biz-submit-review-btn.is-saving .btn-icon-node { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   🪟 LIVE WORDPRESS-STYLE CMS CUSTOMIZER DRAWER (OWNER ONLY)
   ========================================================================== */
.live-customizer-drawer-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2147483647 !important;
    display: none;
    justify-content: flex-end;
}

.live-customizer-drawer-overlay.active {
    display: flex;
}

.live-customizer-card {
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: #ffffff;
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.22s ease forwards;
    position: relative;
    z-index: 1;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.lcd-head {
    padding: 16px 20px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.lcd-head strong { display: block; font-size: 15px; font-weight: 800; }
.lcd-head span { display: block; font-size: 11.5px; color: #94a3b8; }
.lcd-close-btn { background: none; border: none; color: #ffffff; font-size: 20px; cursor: pointer; line-height: 1; }

.lcd-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.lcd-section {
    margin-bottom: 20px;
}

.lcd-section label {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.lcd-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    font-size: 13.5px;
    font-weight: 600;
    outline: none;
    background: #ffffff;
    color: var(--fire-dark);
}

.lcd-input:focus { border-color: var(--fire-base); }

.lcd-color-grid {
    display: flex;
    gap: 10px;
}

.lcd-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.15s ease;
}

.lcd-swatch:active { transform: scale(0.9); }
.lcd-swatch.active-swatch { outline: 3px solid var(--fire-base); }

.lcd-sort-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lcd-sort-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--fire-dark);
}

.lcd-sort-item span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-actions {
    display: flex;
    gap: 4px;
}

.btn-sort-move {
    background: #ffffff;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: var(--fire-dark);
}

.btn-sort-move:active { background: #E2E8F0; }

.lcd-save-btn {
    width: 100%;
    background: var(--fire-base);
    color: #ffffff;
    border: none;
    padding: 13px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
    transition: var(--transition-snappy);
}

.lcd-save-btn:active { transform: scale(0.97); }

/* ==========================================================================
   🧭 TABS & CONTENT AREAS
   ========================================================================== */
.tabs-wrap {
    width: 100%;
    background: var(--fire-card-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 40;
}

.tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 16px;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none !important; }

.tab {
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: var(--fire-text-muted);
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-snappy);
}

.tab.active {
    background: var(--fire-base);
    color: #ffffff !important;
}

.content-area {
    width: 100%;
    padding: 12px 16px 40px;
}

.tab-section {
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.section-card {
    padding: 16px;
    background: var(--fire-card-bg);
    margin-bottom: 14px;
    border-radius: var(--custom-radius, 14px);
    border: 1px solid var(--fire-border);
}

.section-head-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-card h2 {
    font-size: 15px;
    font-weight: 800;
    color: var(--fire-dark);
    margin: 0;
}

.view-all-pill {
    background: #F1F5F9;
    border: none;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--fire-dark);
    padding: 3px 10px;
    border-radius: 20px;
    cursor: pointer;
}

/* PRODUCTS GRID */
.biz-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.biz-product-card {
    border: 1px solid var(--fire-border);
    border-radius: var(--custom-radius, 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.biz-product-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #F8FAFC;
    overflow: hidden;
}

.biz-product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.biz-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #9CA3AF;
}

.biz-product-details {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.biz-product-details h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--fire-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.biz-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.biz-price-sale {
    font-size: 14px;
    font-weight: 800;
    color: var(--fire-dark);
}

.biz-price-regular.strike {
    font-size: 11.5px;
    color: #94A3B8;
    text-decoration: line-through;
}

.biz-price-custom {
    font-size: 12px;
    font-weight: 700;
    color: var(--fire-base);
}

.biz-card-action-btn {
    margin-top: 4px;
    width: 100%;
    padding: 7px 10px;
    border-radius: 8px;
    background: #F1F5F9;
    color: var(--fire-base);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* OFFERS */
.biz-offers-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.biz-offer-banner-card {
    border: 1px solid rgba(241, 52, 35, 0.2);
    background: #FFFDF9;
    border-radius: var(--custom-radius, 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.biz-offer-cover {
    width: 100%;
    height: 130px;
}

.biz-offer-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.biz-offer-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.biz-offer-badge-tag {
    align-self: flex-start;
    background: rgba(241, 52, 35, 0.1);
    color: var(--fire-base);
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
}

.biz-offer-body h3 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--fire-dark);
}

.biz-offer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(241, 52, 35, 0.2);
}

.offer-expiry { font-size: 11px; color: #92400E; font-weight: 600; }
.biz-claim-offer-btn { padding: 5px 12px; border-radius: 8px; background: var(--fire-base); color: #ffffff; font-size: 11.5px; font-weight: 700; text-decoration: none; }

/* REVIEWS */
.biz-reviews-stack { display: flex; flex-direction: column; gap: 10px; }
.biz-review-card { border: 1px solid var(--fire-border); border-radius: var(--custom-radius, 12px); padding: 12px 14px; background: #ffffff; }
.biz-rev-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.biz-rev-user { display: flex; align-items: center; gap: 10px; }
.biz-rev-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(37, 99, 235, 0.1); color: var(--fire-base); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.biz-star-rating { color: #D1D5DB; font-size: 12px; }
.biz-star-rating i.active { color: #F59E0B; }
.biz-rev-content { font-size: 12.5px; color: #475569; line-height: 1.45; }

.rev-menu-wrapper { position: relative; }
.rev-dots-btn { border: none; background: transparent; color: #9CA3AF; font-size: 15px; cursor: pointer; padding: 3px; }
.rev-dropdown-menu { position: absolute; top: 100%; right: 0; background: #ffffff; border: 1px solid var(--fire-border); border-radius: 10px; padding: 4px; min-width: 120px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); display: none; z-index: 50; }
.rev-dropdown-menu.show { display: block; }
.rev-dropdown-item { width: 100%; padding: 6px 10px; border: none; background: transparent; font-size: 12px; font-weight: 600; color: var(--fire-dark); display: flex; align-items: center; gap: 6px; cursor: pointer; border-radius: 6px; }
.rev-dropdown-item.delete { color: #DC2626; }

/* HOURS */
.hours-structured-grid { display: flex; flex-direction: column; gap: 6px; }
.hour-row-item { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 8px; font-size: 12.5px; background: #F8FAFC; border: 1px solid var(--fire-border); }
.hour-row-item.current-day { background: rgba(241, 52, 35, 0.05); border-color: rgba(241, 52, 35, 0.2); font-weight: 700; }
.today-tag { font-size: 9.5px; background: var(--fire-base); color: #fff; padding: 1px 5px; border-radius: 4px; }

/* CONTACT */
.contact-cards-deck { display: flex; flex-direction: column; gap: 8px; }
.contact-box-card { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; background: #F8FAFC; border: 1px solid var(--fire-border); }
.contact-box-card .c-icon { width: 36px; height: 36px; border-radius: 10px; background: #ffffff; border: 1px solid var(--fire-border); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--fire-base); }
.contact-box-card .c-info strong { font-size: 11px; text-transform: uppercase; color: var(--fire-text-muted); display: block; }
.contact-box-card .c-info p { font-size: 13px; font-weight: 600; color: var(--fire-dark); }

/* SPARKS & POSTS */
.sparks-grid, .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.spark-card { width: 100%; aspect-ratio: 9 / 14; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; position: relative; }
.spark-card video, .spark-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spark-play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; opacity: 0.8; }

.post-card { width: 100%; aspect-ratio: 1 / 1; background: #F3F4F6; border-radius: 10px; overflow: hidden; cursor: pointer; }
.post-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.empty-box { padding: 30px 16px; text-align: center; color: var(--fire-text-muted); font-size: 12.5px; font-weight: 500; border-radius: 12px; background: #FAFAFB; }

/* ==========================================================================
   💸 MOVABLE FLOATING UPI PAYMENT WIDGET
   ========================================================================== */
.movable-upi-fab {
    position: fixed;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    z-index: 2147482000 !important;
    touch-action: none;
    user-select: none;
}

.fab-handle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--fire-base);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35), 0 0 0 2.5px #ffffff;
    cursor: grab;
}

.fab-handle i { font-size: 17px; }
.fab-handle span { font-size: 9px; font-weight: 900; }

.floating-upi-modal {
    position: absolute;
    bottom: 64px;
    right: 0;
    width: 280px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2147482001 !important;
}

.floating-upi-modal.active { display: flex; }
.fum-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--fire-base); color: #FFFFFF; }
.fum-body { padding: 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }

.fum-qr-box {
    width: 160px !important;
    height: 160px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 10px 0 !important;
    padding: 8px !important;
    overflow: hidden !important;
}

.fum-qr-box img,
.fum-qr-box canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.fum-pay-btn { width: 100%; padding: 9px; border-radius: 10px; background: var(--fire-base); color: #FFFFFF; text-decoration: none; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.fum-copy-btn { width: 100%; padding: 8px; border-radius: 10px; background: #F1F5F9; color: #0F172A; border: none; font-size: 11.5px; font-weight: 700; cursor: pointer; }

/* ==========================================================================
   ✨ MODALS & TOASTS
   ========================================================================== */
#followCelebrationCanvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 100000;
}

.follow-thanks-toast-alert {
    position: fixed !important; bottom: 70px !important; left: 50% !important; transform: translateX(-50%) translateY(30px) scale(0.95);
    background: #111827; color: #ffffff; padding: 12px 18px; border-radius: 16px; z-index: 100001; opacity: 0; pointer-events: none; transition: var(--transition-snappy); white-space: nowrap; display: none;
}
.follow-thanks-toast-alert.show-toast {
    display: flex !important; transform: translateX(-50%) translateY(0) scale(1); opacity: 1; pointer-events: auto;
}

.unfollow-structural-modal-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 100002; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; padding: 20px;
}
.unfollow-structural-modal-overlay.open-modal { opacity: 1; pointer-events: auto; }
.unfollow-modal-card-box { background: #ffffff; width: 100%; max-width: 360px; border-radius: 24px; padding: 28px 24px 24px; text-align: center; }
.unfollow-modal-pfp-wrapper { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; }
.unfollow-modal-pfp-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.unfollow-modal-action-row { display: flex; gap: 10px; }
.unfollow-modal-action-row button { flex: 1; border: none; padding: 11px 16px; font-size: 13px; font-weight: 700; border-radius: 24px; cursor: pointer; }
.modal-action-btn-dismiss { background: #F3F4F6; color: #4B5563; }
.modal-action-btn-confirm { background: #111827; color: #ffffff; }

/* ==========================================================================
   📱 MOBILE BREAKPOINT RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 600px) {
    .banner-container { padding: 8px 10px 0 10px; }
    .cover-area { height: 125px; }
    .channel-header { padding: 12px 14px; }
    
    .profile-photo {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;
        margin-top: 0px;
        transform: translateY(6px) !important; /* Yahan bhi wahi value daal do jo desktop par di hai */
    }

   

    .title-row h1 { font-size: 17px; }
    
    .channel-sub-info {
        font-size: 11px;
        gap: 4px;
    }

    .header-portfolio-strip {
        gap: 5px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 3px;
    }

    .h-stat-chip {
        padding: 4px 8px;
        font-size: 11px;
        flex-shrink: 0;
    }

    .biz-products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    
    .biz-quick-action-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    
    .biz-strip-btn {
        min-width: 0;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-left: 4px;
        padding-right: 4px;
        font-size: 11.5px;
    }
}

@media (min-width: 768px) {
    .cover-area { height: 170px; }
    .title-row h1 { font-size: 21px; }
    .biz-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
    .bottom-nav { display: none !important; }
    body { background: #F4F5F7; }
    .app-layout-wrapper { display: flex; justify-content: center; padding-left: 260px; margin: 0 auto; width: 100%; }
    .main-content-stream { max-width: 850px; margin: 0 auto; background: #ffffff; border-left: 1px solid rgba(0,0,0,0.05); border-right: 1px solid rgba(0,0,0,0.05); padding-bottom: 40px; }
}