/**
 * RythuBazaar Smart Meal Planner & AI Shopping Assistant Styles
 * Theme: Emerald & Forest Green (#27AE60, #219653, #1e824c) with clean modern cards
 */

:root {
    --rb-primary: #27AE60;
    --rb-primary-dark: #1e824c;
    --rb-primary-light: #e8f8f0;
    --rb-gold: #f39c12;
    --rb-accent: #e67e22;
    --rb-text-main: #2c3e50;
    --rb-text-muted: #64748b;
    --rb-bg-soft: #f8fafc;
    --rb-border: #e2e8f0;
    --rb-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --rb-card-shadow-hover: 0 10px 25px rgba(39, 174, 96, 0.15);
}

/* --- Hero Banner --- */
.rb-recipe-hero {
    background: linear-gradient(135deg, #134e2c 0%, #27ae60 60%, #2ecc71 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.2);
}

.rb-recipe-hero::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.rb-recipe-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.rb-recipe-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.rb-recipe-hero-sub {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 680px;
    margin-bottom: 1.5rem;
}

/* Category Tabs */
.rb-recipe-nav-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eef2f6;
    padding-bottom: 1rem;
}

.rb-recipe-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #ffffff;
    color: var(--rb-text-main);
    border: 1px solid var(--rb-border);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.rb-recipe-pill:hover,
.rb-recipe-pill.active {
    background: var(--rb-primary);
    color: #ffffff;
    border-color: var(--rb-primary);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.25);
    transform: translateY(-2px);
}

.rb-recipe-pill .badge-count {
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.78rem;
}

.rb-recipe-pill.active .badge-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Subcategory Section Header */
.rb-subcategory-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2.5rem 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #edf2f7;
}

.rb-subcategory-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.rb-subcategory-header .rb-icon-bubble {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--rb-primary-light);
    color: var(--rb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Recipe Card */
.rb-recipe-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    box-shadow: var(--rb-card-shadow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rb-recipe-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rb-card-shadow-hover);
    border-color: rgba(39, 174, 96, 0.3);
}

.rb-recipe-img-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #e2e8f0;
}

.rb-recipe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rb-recipe-card:hover .rb-recipe-img {
    transform: scale(1.06);
}

.rb-recipe-badge-time {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rb-recipe-badge-servings {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(39, 174, 96, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.rb-recipe-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rb-recipe-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.3;
}

.rb-recipe-telugu {
    font-size: 0.95rem;
    color: var(--rb-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.rb-recipe-desc {
    font-size: 0.88rem;
    color: var(--rb-text-muted);
    line-height: 1.45;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Inventory Status Bar in Card */
.rb-recipe-stock-banner {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rb-recipe-stock-banner.in-stock {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.rb-recipe-footer {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.rb-btn-view-recipe {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    background: #ffffff;
    color: var(--rb-primary);
    border: 1.5px solid var(--rb-primary);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rb-btn-view-recipe:hover {
    background: var(--rb-primary-light);
    color: var(--rb-primary-dark);
}

.rb-btn-quick-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    background: var(--rb-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rb-btn-quick-cart:hover {
    background: var(--rb-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}

/* --- RECIPE DETAIL PAGE --- */
.rb-detail-hero-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--rb-border);
    box-shadow: var(--rb-card-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.rb-detail-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
}

.rb-servings-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: 600;
}

.rb-servings-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #1e293b;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.rb-servings-btn:hover {
    background: var(--rb-primary);
    color: #ffffff;
}

/* Ingredient List Table / Rows */
.rb-ingredient-card {
    background: #ffffff;
    border: 1px solid var(--rb-border);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.rb-ingredient-card:hover {
    border-color: #cbd5e1;
    background: #fafafa;
}

.rb-ingredient-card.store-produce {
    border-left: 4px solid var(--rb-primary);
}

.rb-ing-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid #e2e8f0;
}

.rb-ing-details h5 {
    font-size: 0.96rem;
    font-weight: 600;
    margin: 0;
    color: #1e293b;
}

.rb-ing-details .telugu-sub {
    font-size: 0.82rem;
    color: #64748b;
}

/* Sticky Cart Action Card */
.rb-sticky-cart-box {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #86efac;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(39, 174, 96, 0.12);
}

.rb-big-one-click-btn {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.35);
    transition: all 0.3s;
}

.rb-big-one-click-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.45);
    background: linear-gradient(135deg, #219653 0%, #1e824c 100%);
}

/* Chef Tip Callout */
.rb-chef-tip-box {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

/* Step-by-step instruction styling */
.rb-step-item {
    display: flex;
    gap: 14px;
    margin-bottom: 1.25rem;
}

.rb-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--rb-primary);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.rb-step-text {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

/* --- FLOATING AI ASSISTANT LAUNCHER --- */
.rb-ai-floating-pill {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e824c 0%, #27ae60 60%, #2ecc71 100%);
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.45);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: rbAiPulse 3s infinite;
}

@keyframes rbAiPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(39, 174, 96, 0.45);
    }
    50% {
        box-shadow: 0 10px 35px rgba(39, 174, 96, 0.7);
        transform: translateY(-2px);
    }
}

.rb-ai-floating-pill:hover {
    transform: translateY(-4px) scale(1.04);
}

.rb-ai-spark-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

/* --- AI CHATBOT MODAL / SLIDEOUT WINDOW --- */
.rb-ai-modal .modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.rb-ai-modal-header {
    background: linear-gradient(135deg, #134e2c 0%, #27ae60 100%);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rb-ai-chat-body {
    height: 480px;
    overflow-y: auto;
    padding: 1.25rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rb-chat-bubble {
    max-width: 82%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.rb-chat-bubble.assistant {
    background: #ffffff;
    color: #1e293b;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    align-self: flex-start;
    border: 1px solid #edf2f7;
}

.rb-chat-bubble.user {
    background: var(--rb-primary);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.rb-chat-chip-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.rb-chat-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.rb-chat-chip:hover {
    background: var(--rb-primary-light);
    border-color: var(--rb-primary);
    color: var(--rb-primary-dark);
}

/* Chat Input Bar */
.rb-ai-chat-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 12px 16px;
}

.rb-ai-input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 4px 6px 4px 16px;
    border: 1.5px solid transparent;
    transition: all 0.2s;
}

.rb-ai-input-wrap:focus-within {
    background: #ffffff;
    border-color: var(--rb-primary);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15);
}

.rb-ai-input {
    border: none;
    background: transparent;
    flex-grow: 1;
    font-size: 0.92rem;
    outline: none;
}

.rb-ai-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rb-primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.rb-ai-send-btn:hover {
    background: var(--rb-primary-dark);
}

/* Recommended Recipe Card in Chat */
.rb-chat-recipe-card {
    background: #ffffff;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.08);
}

.rb-chat-recipe-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.rb-chat-recipe-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.rb-chat-recipe-meta {
    flex: 1;
}

.rb-chat-recipe-meta h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.rb-chat-recipe-meta span {
    font-size: 0.82rem;
    color: var(--rb-primary-dark);
    font-weight: 600;
}

.rb-chat-cart-action {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .rb-recipe-hero {
        padding: 1.5rem 1.25rem;
    }
    .rb-recipe-hero-title {
        font-size: 1.6rem;
    }
    .rb-detail-img {
        height: 240px;
    }
    .rb-ai-floating-pill {
        bottom: 75px; /* Above mobile bottom bar */
        right: 16px;
        padding: 10px 16px;
        font-size: 0.88rem;
    }
    .rb-ai-chat-body {
        height: 380px;
    }
}

/* ==========================================================================
   CLASSY, STYLISH & CORPORATE MEAL PLANNER SUITE
   Executive Styling with Obsidian Emerald, Champagne Gold & Clean Modern Lines
   ========================================================================== */

.rb-corporate-hero {
    background: radial-gradient(circle at 85% 20%, rgba(39, 174, 96, 0.25) 0%, rgba(8, 26, 16, 0) 60%),
                linear-gradient(135deg, #081a10 0%, #0d2f1d 50%, #123d26 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 2.25rem;
    box-shadow: 0 20px 40px -15px rgba(8, 26, 16, 0.4);
}

.rb-corporate-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

.rb-corp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a7f3d0;
    margin-bottom: 1.25rem;
}

.rb-corp-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: #ffffff;
    margin-bottom: 1rem;
}

.rb-corp-title span {
    background: linear-gradient(135deg, #ffffff 30%, #a7f3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rb-corp-lead {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Corporate KPI Metrics Ribbon */
.rb-corp-stats-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
}

.rb-corp-stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.rb-corp-stat-item:last-child {
    border-right: none;
}

.rb-corp-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.rb-corp-stat-num .accent {
    color: #34d399;
}

.rb-corp-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
}

/* Studio Control Card (Left) */
.rb-studio-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.rb-studio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1.5rem;
}

.rb-step-indicator {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.rb-corp-input {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #0f172a;
    transition: all 0.25s ease;
    background: #f8fafc;
}

.rb-corp-input:focus {
    background: #ffffff;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
    outline: none;
}

.rb-corp-prompt-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.rb-corp-prompt-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Pantry Tags */
.rb-pantry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rb-pantry-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rb-pantry-pill:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.rb-pantry-pill.active {
    background: #ecfdf5;
    border-color: #059669;
    color: #065f46;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}

.rb-pantry-pill .check-icon {
    display: none;
    font-size: 0.75rem;
}

.rb-pantry-pill.active .check-icon {
    display: inline-block;
}

/* Corporate Primary Action Button */
.rb-corp-cta-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
    transition: all 0.25s ease;
}

.rb-corp-cta-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Console Card (Right) */
.rb-console-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rb-live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: rbLivePulse 2s infinite;
}

@keyframes rbLivePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.rb-console-briefing {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
    border: 1px solid #d1fae5;
    border-left: 4px solid #059669;
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.04);
}

/* Recommendation Corporate Card Item */
.rb-corp-recipe-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.rb-corp-recipe-item:hover {
    border-color: #86efac;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.08);
    transform: translateY(-2px);
}

.rb-corp-recipe-img {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #f1f5f9;
}

.rb-inventory-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Category Portal Navigation Cards (Bottom 3) */
.rb-portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.rb-portal-card:hover {
    border-color: #10b981;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(5, 150, 105, 0.1);
}

.rb-portal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Mobile Media Queries */
@media (max-width: 991.98px) {
    .rb-corporate-hero {
        padding: 2rem 1.5rem;
    }
    .rb-corp-title {
        font-size: 2rem;
    }
    .rb-corp-stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .rb-corp-stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 575.98px) {
    .rb-corp-stats-ribbon {
        grid-template-columns: 1fr;
    }
    .rb-corp-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.75rem;
    }
    .rb-corp-stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ==========================================================================
   ULTRA-PREMIUM EXECUTIVE RECIPE RECOMMENDATION CARDS
   Spacious, Elegant, Non-Cramped Layout for Right Column Console
   ========================================================================== */

.rb-executive-recipe-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rb-executive-recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px -8px rgba(5, 150, 105, 0.15);
    border-color: #86efac;
}

.rb-exec-card-media {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #0f172a;
}

.rb-exec-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rb-executive-recipe-card:hover .rb-exec-card-img {
    transform: scale(1.05);
}

.rb-exec-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}

.rb-exec-tag-left {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.rb-exec-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
}

.rb-exec-chip.match {
    background: rgba(15, 23, 42, 0.85);
    color: #fef08a;
    border: 1px solid rgba(250, 204, 21, 0.4);
}

.rb-exec-chip.category {
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rb-exec-tag-right {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    gap: 6px;
}

.rb-exec-glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.rb-exec-card-body {
    padding: 1.4rem;
}

.rb-exec-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.rb-exec-card-telugu {
    font-size: 0.95rem;
    color: #059669;
    font-weight: 700;
    white-space: nowrap;
}

.rb-exec-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 8px 0 1.15rem 0;
}

/* Executive Inventory Strip */
.rb-exec-inventory-strip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.rb-exec-stock-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: #334155;
}

.rb-stock-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.rb-exec-price-wrap {
    text-align: right;
}

.rb-exec-price-wrap .price-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.rb-exec-price-wrap .price-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: #059669;
    letter-spacing: -0.5px;
}

/* Action Buttons */
.rb-exec-card-actions {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
}

.rb-btn-exec-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rb-btn-exec-outline:hover {
    background: #f8fafc;
    border-color: #059669;
    color: #059669;
}

.rb-btn-exec-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
}

.rb-btn-exec-primary:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
    transform: translateY(-1px);
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .rb-exec-card-actions {
        grid-template-columns: 1fr;
    }
    .rb-exec-card-media {
        height: 160px;
    }
    .rb-exec-card-body {
        padding: 1.1rem;
    }
}

/* Vegetable curries — editorial menu, two cards across on a phone */
.rb-curry {
    --curry-ink: #10233f;
    --curry-forest: #143024;
    --curry-gold: #b08958;
    --curry-line: #e6ebf2;
    --curry-slate: #66758a;
}
.rb-curry .rb-recipe-hero {
    background:
        radial-gradient(circle at 100% 0%, rgba(176, 137, 88, 0.28), transparent 36%),
        linear-gradient(145deg, #10233f 0%, #163528 58%, #1c4a34 100%);
    border-radius: 18px;
    padding: 2.2rem 2rem;
    box-shadow: 0 18px 40px rgba(16, 35, 63, 0.16);
}
.rb-curry .rb-recipe-hero,
.rb-curry .rb-recipe-hero-badge,
.rb-curry .rb-recipe-hero-title,
.rb-curry .rb-recipe-hero-sub {
    color: #fff;
}
.rb-curry .rb-recipe-hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    letter-spacing: 0.04em;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.rb-curry .rb-recipe-hero-title {
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
}
.rb-curry .rb-recipe-hero-title span {
    display: block;
    margin-top: 0.35rem;
    color: #e7d7c0 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0;
}
.rb-curry .rb-recipe-hero .btn-light {
    background: #fff;
    color: var(--curry-ink) !important;
    border: 0;
    border-radius: 8px !important;
    font-weight: 600;
}
.rb-curry .rb-recipe-hero .btn-outline-light {
    border-radius: 8px !important;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}
.rb-curry .rb-recipe-hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.rb-curry .rb-recipe-hero img {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 14px !important;
}
.rb-curry .rb-recipe-pill {
    border-radius: 8px;
    border-color: var(--curry-line);
    color: var(--curry-ink);
}
.rb-curry .rb-recipe-pill:hover,
.rb-curry .rb-recipe-pill.active {
    background: var(--curry-ink);
    border-color: var(--curry-ink);
    color: #fff;
    box-shadow: none;
    transform: none;
}
.rb-curry .rb-recipe-pill:hover .badge-count,
.rb-curry .rb-recipe-pill.active .badge-count {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.rb-curry .rb-recipe-pill.text-success {
    color: var(--curry-forest) !important;
    border-color: #d5e4da !important;
}
.rb-curry .rb-curry-search {
    background: #fff;
    border: 1px solid var(--curry-line);
    border-radius: 14px;
    padding: 0.85rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(16, 35, 63, 0.04);
}
.rb-curry .rb-curry-search .input-group {
    background: #f6f8fb;
    border: 1px solid var(--curry-line);
    border-radius: 8px;
    overflow: hidden;
}
.rb-curry .rb-curry-search .input-group-text,
.rb-curry .rb-curry-search .form-control {
    background: transparent;
    min-height: 42px;
}
.rb-curry .rb-curry-search .form-control:focus {
    box-shadow: none;
}
.rb-curry .rb-jump-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--curry-slate) !important;
}
.rb-curry .rb-jump {
    border: 1px solid var(--curry-line);
    background: #fff;
    color: var(--curry-ink);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
}
.rb-curry .rb-jump:hover {
    background: #f6f8fb;
    border-color: #cfd8e4;
}
.rb-curry .rb-jump.active {
    background: var(--curry-ink);
    border-color: var(--curry-ink);
    color: #fff;
}
.rb-curry .rb-subcategory-header {
    border-bottom-color: var(--curry-line);
}
.rb-curry .rb-subcategory-header h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--curry-ink);
}
.rb-curry .rb-icon-bubble {
    background: #f4efe6;
    color: #8d7349;
    border-radius: 8px;
}
.rb-curry .rb-subcategory-header .text-success {
    color: #8d7349 !important;
    letter-spacing: 0.01em;
}
.rb-curry .rb-subcategory-header .badge {
    background: #f4f7fb !important;
    color: var(--curry-ink) !important;
    border: 1px solid var(--curry-line);
    font-family: inherit !important;
    font-weight: 600;
}
.rb-curry .recipe-item { min-width: 0; }
.rb-curry .rb-recipe-card {
    border-radius: 14px;
    border-color: var(--curry-line);
    box-shadow: 0 8px 22px rgba(16, 35, 63, 0.05);
}
.rb-curry .rb-recipe-card:hover {
    transform: translateY(-3px);
    border-color: #d5deea;
    box-shadow: 0 14px 30px rgba(16, 35, 63, 0.08);
}
.rb-curry .rb-recipe-img-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(transparent, rgba(16, 35, 63, 0.28));
    pointer-events: none;
}
.rb-curry .rb-recipe-badge-time,
.rb-curry .rb-recipe-badge-servings {
    background: rgba(16, 35, 63, 0.78);
    border-radius: 6px;
}
.rb-curry .rb-recipe-title {
    color: var(--curry-ink);
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rb-curry .rb-recipe-telugu { color: #8d7349; }
.rb-curry .rb-recipe-stock-banner {
    border-style: solid;
    border-color: var(--curry-line);
    background: #f7f9fc;
    color: var(--curry-ink);
    border-radius: 8px;
}
.rb-curry .rb-recipe-stock-banner.in-stock {
    background: #f4f8f5;
    border-color: #d5e4da;
    color: #1c6b3a;
}
.rb-curry .rb-recipe-stock-banner .fw-bold { font-variant-numeric: tabular-nums; }
.rb-curry .rb-btn-view-recipe {
    border-radius: 8px;
    border-color: #d5deea;
    color: var(--curry-ink);
}
.rb-curry .rb-btn-view-recipe:hover {
    background: #f6f8fb;
    color: var(--curry-ink);
}
.rb-curry .rb-btn-quick-cart {
    border-radius: 8px;
    background: var(--curry-ink);
}
.rb-curry .rb-btn-quick-cart:hover {
    background: #0c1b32;
    box-shadow: none;
}
.rb-curry .rb-act-short,
.rb-curry .rb-stock-short { display: none; }

@media (max-width: 991.98px) {
    .rb-curry .rb-recipe-hero { padding: 1.4rem 1.15rem; }
    .rb-curry .rb-recipe-hero-title { font-size: 1.45rem; }
    .rb-curry .rb-recipe-hero-sub { font-size: 0.92rem; }
    .rb-curry .rb-recipe-nav-pills { gap: 8px; }
    .rb-curry .rb-recipe-pill { padding: 8px 12px; font-size: 0.82rem; }
    .rb-curry .rb-recipe-pill.ms-auto { margin-left: 0 !important; }
}
@media (max-width: 575.98px) {
    .rb-curry .rb-recipe-hero-badge { font-size: 0.66rem; }
    .rb-curry .rb-curry-search .form-control { font-size: 16px; }
    .rb-curry .rb-subcategory-header { align-items: flex-start; flex-wrap: wrap; }
    .rb-curry .rb-subcategory-header h3 { font-size: 1.05rem; }
    .rb-curry .rb-subcategory-header .badge { margin-left: 0 !important; }
    .rb-curry .rb-recipe-img-wrap { height: 112px; }
    .rb-curry .rb-recipe-badge-servings { display: none; }
    .rb-curry .rb-recipe-badge-time {
        top: auto;
        bottom: 8px;
        left: 8px;
        font-size: 0.64rem;
        padding: 3px 6px;
    }
    .rb-curry .rb-recipe-body { padding: 0.65rem 0.65rem 0.75rem; }
    .rb-curry .rb-recipe-title { font-size: 0.86rem; min-height: 2.25em; }
    .rb-curry .rb-recipe-telugu { font-size: 0.72rem; margin-bottom: 0.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .rb-curry .rb-recipe-desc { display: none; }
    .rb-curry .rb-recipe-stock-banner {
        font-size: 0.68rem;
        padding: 6px 8px;
        margin-bottom: 0.55rem;
        gap: 0.25rem;
    }
    .rb-curry .rb-stock-long { display: none; }
    .rb-curry .rb-stock-short { display: inline; }
    .rb-curry .rb-recipe-footer { gap: 6px; }
    .rb-curry .rb-btn-view-recipe,
    .rb-curry .rb-btn-quick-cart,
    .rb-curry .rb-recipe-footer .btn {
        min-height: 36px;
        padding: 6px 4px;
        font-size: 0.68rem;
        border-radius: 8px;
        gap: 4px;
    }
    .rb-curry .rb-act-long { display: none; }
    .rb-curry .rb-act-short { display: inline; }
    .rb-curry .rb-recipe-card:hover { transform: none; }
}

