
.bb-drik-sticker,
.bb-drik-sticker:hover,
.bb-graha-badge,
.bb-rashi-badge,
.bb-earth-badge,
.bb-space-badge,
.bb-patala-badge {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
/* Bhagvad Bhakti Panchang Plugin Styles */
.bb-panchang-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
    color: #2d3748;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    padding: 24px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(194, 65, 12, 0.08);
    box-sizing: border-box;
}

.bb-panchang-wrapper * {
    box-sizing: border-box;
}

/* Header & Controls */
.bb-panchang-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f4f4f5;
    margin-bottom: 20px;
}

.bb-panchang-title-wrap h3 {
    margin: 0 0 4px 0;
    color: #09090b;
    font-size: 1.5rem;
    font-weight: 700;
}

.bb-panchang-subtitle {
    font-size: 0.9rem;
    color: #78716c;
}

.bb-city-selector-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bb-city-selector-wrap label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #44403c;
}

.bb-city-select {
    padding: 8px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    background: #ffffff;
    color: #18181b;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bb-city-select:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

/* Month Navigation Bar */
.bb-month-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    border: 1px solid #ffedd5;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 20px;
}

.bb-nav-btn {
    background: #ea580c;
    color: #ffffff !important;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.bb-nav-btn:hover {
    background: #c2410c;
    color: #ffffff;
}

.bb-nav-today-btn {
    background: #f97316;
    margin-left: 8px;
}

.bb-current-month-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #18181b;
    text-align: center;
}

/* Calendar Grid - Strictly equal 7 columns that never overflow screen */
.bb-calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-bottom: 25px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.bb-grid-header {
    text-align: center;
    font-weight: 700;
    padding: 8px 4px;
    color: #09090b;
    background: #fed7aa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.bb-day-cell {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    min-height: 85px;
    padding: 6px 7px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.2s ease;
    position: relative;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

.bb-day-cell:hover {
    border-color: #ea580c;
    background: #fafafa;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(234, 88, 12, 0.12);
}

.bb-day-cell.bb-empty-cell {
    background: #fafaf9;
    border-color: #f5f5f4;
    cursor: default;
    opacity: 0.4;
}

.bb-day-cell.bb-empty-cell:hover {
    transform: none;
    box-shadow: none;
    border-color: #f5f5f4;
}

.bb-day-cell.bb-today {
    border: 2px solid #ea580c;
    background: #fafafa;
}

.bb-day-cell.bb-selected {
    border: 2px solid #9a3412;
    background: #fed7aa;
    box-shadow: 0 0 0 3px rgba(154, 52, 18, 0.2);
}

.bb-day-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bb-day-num {
    font-size: 1.05rem;
    font-weight: 700;
    color: #431407;
}

.bb-day-cell.bb-today .bb-day-num {
    color: #ea580c;
}

.bb-day-tithi {
    font-size: 0.76rem;
    color: #18181b;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.2;
}

.bb-day-badges {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    margin-top: 5px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.bb-badge {
    display: inline-block;
    font-size: 0.68rem;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 100%;
}

.bb-badge-ekadashi {
    background: #f59e0b;
    color: #78350f;
}

.bb-badge-purnima {
    background: #fbbf24;
    color: #451a03;
}

.bb-badge-amavasya {
    background: #64748b;
    color: #ffffff;
}

.bb-badge-pradosh {
    background: #be123c;
    color: #ffffff;
}

.bb-badge-festival {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    background: #ea580c;
    color: #ffffff;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    padding: 4px 6px !important;
    border-radius: 5px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.bb-badge-festival-line {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    font-size: 0.67rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    padding: 1px 0 !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.28);
}

.bb-badge-festival-line:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Detailed Dainik Panchang Card */
.bb-daily-card {
    background: #ffffff;
    border: 1.5px solid #ea580c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.08);
}

.bb-daily-card-header {
    background: linear-gradient(135deg, #09090b, #18181b);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.bb-daily-date-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.bb-daily-location-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.bb-daily-festival-alert {
    background: #fef08a;
    color: #854d0e;
    padding: 10px 18px;
    font-weight: 700;
    border-bottom: 1px solid #fde047;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sun / Moon Timings Banner */
.bb-sun-moon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid #fed7aa;
    text-align: center;
}

.bb-sun-moon-item {
    padding: 8px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ffedd5;
}

.bb-sm-label {
    font-size: 0.8rem;
    color: #78716c;
    font-weight: 600;
    margin-bottom: 4px;
}

.bb-sm-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: #09090b;
}

/* Detail Tables Grid */
.bb-detail-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.bb-detail-box {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    overflow: hidden;
}

.bb-box-title {
    background: #fed7aa;
    color: #18181b;
    padding: 10px 14px;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.bb-info-table {
    width: 100%;
    border-collapse: collapse;
}

.bb-info-table tr {
    border-bottom: 1px solid #ffedd5;
}

.bb-info-table tr:last-child {
    border-bottom: none;
}

.bb-info-table td {
    padding: 10px 14px;
    font-size: 0.92rem;
}

.bb-td-lbl {
    font-weight: 600;
    color: #44403c;
    width: 45%;
    background: #fafaf9;
}

.bb-td-val {
    font-weight: 700;
    color: #1c1917;
}

.bb-val-auspicious {
    color: #15803d;
}

.bb-val-inauspicious {
    color: #b91c1c;
}

/* Action Button Container */
.bb-action-container {
    padding: 16px 20px;
    background: #fafaf9;
    border-top: 1px solid #f5f5f4;
    text-align: center;
}

.bb-detail-toggle-btn {
    background: #ea580c;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2);
}

.bb-detail-toggle-btn:hover {
    background: #c2410c;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

/* Loading Overlay */
.bb-loading-overlay {
    text-align: center;
    padding: 40px;
    color: #ea580c;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .bb-panchang-wrapper {
        padding: 14px;
    }

    .bb-sun-moon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bb-detail-columns {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

    .bb-calendar-grid {
        gap: 4px;
    }

    .bb-day-cell {
        min-height: 65px;
        padding: 4px 5px;
    }

    .bb-day-num {
        font-size: 0.95rem;
    }

    .bb-day-tithi {
        font-size: 0.68rem;
    }

    .bb-current-month-heading {
        font-size: 1.05rem;
    }
}

/* Timing details & Next transition styling */
.bb-timing-sublabel {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: #b45309;
    margin-top: 3px;
    background: #fffbeb;
    padding: 2px 8px;
    border-radius: 4px;
    border-left: 3px solid #f59e0b;
}

/* Internal Linking Section */
.bb-internal-links-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #fed7aa;
}

.bb-date-quick-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    background: #fafafa;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ffedd5;
}

.bb-date-nav-title {
    font-weight: 700;
    color: #09090b;
    font-size: 0.95rem;
}

.bb-link-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #fdba74;
    color: #09090b !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bb-link-pill:hover {
    background: #ea580c;
    color: #ffffff !important;
    border-color: #ea580c;
}

.bb-link-pill-active {
    background: #ea580c;
    color: #ffffff !important;
    border-color: #ea580c;
}

.bb-city-links-block {
    margin-bottom: 20px;
}

.bb-sub-heading {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #18181b;
}

.bb-city-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bb-city-chip {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    background: #fafaf9;
    border: 1px solid #e4e4e7;
    color: #44403c !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bb-city-chip:hover {
    background: #fafafa;
    border-color: #ea580c;
    color: #09090b !important;
    transform: translateY(-1px);
}

.bb-city-chip-active {
    background: #fed7aa;
    border-color: #ea580c;
    color: #09090b !important;
    font-weight: 700;
}

/* =========================================================================
   DRIKPANCHANG LEVEL DETAILED DAY PANCHANG STYLES
   ========================================================================= */

.bb-drik-detailed-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
    color: #2d3748;
    margin: 25px 0;
}

.bb-crosslink-top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 22px;
    font-size: 1rem;
    color: #18181b;
}

.bb-btn-switch-calendar {
    background: #ea580c;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bb-btn-switch-calendar:hover {
    background: #c2410c;
    transform: translateY(-1px);
}

.bb-drik-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 3px 12px rgba(194, 65, 12, 0.06);
}

.bb-drik-card-title {
    margin: 0 0 16px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #09090b;
    border-bottom: 1px solid #f4f4f5;
    padding-bottom: 10px;
}

.bb-drik-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.bb-drik-kpi {
    background: #fafafa;
    border: 1px solid #ffedd5;
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
}

.bb-kpi-lbl {
    font-size: 0.82rem;
    color: #78716c;
    font-weight: 600;
    margin-bottom: 4px;
}

.bb-kpi-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #09090b;
}

.bb-drik-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bb-drik-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.bb-drik-table tr {
    border-bottom: 1px solid #ffedd5;
}

.bb-drik-table tr:last-child {
    border-bottom: none;
}

.bb-drik-table th {
    width: 35%;
    background: #ffffff;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #44403c;
    text-align: center;
}

.bb-drik-table td {
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #1c1917;
}

/* FAQ Accordion Styling */
.bb-faq-item {
    padding: 14px 0;
    border-bottom: 1px solid #ffedd5;
}

.bb-faq-item:last-child {
    border-bottom: none;
}

.bb-faq-question {
    color: #18181b;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.bb-faq-answer {
    color: #44403c;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .bb-drik-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .bb-drik-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .bb-drik-table th {
        width: 45%;
    }
}

/* Crosslink Glowing CTA Card */
.bb-crosslink-card-glow {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #f97316;
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.12);
}

.bb-crosslink-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #09090b;
    margin-bottom: 4px;
}

.bb-crosslink-desc {
    font-size: 0.92rem;
    color: #44403c;
    line-height: 1.4;
}

.bb-btn-detailed-glow {
    background: #ea580c;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(194, 65, 12, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bb-btn-detailed-glow:hover {
    background: linear-gradient(135deg, #c2410c, #9a3412);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(194, 65, 12, 0.35);
}


/* ==========================================================================
   Harmonized Drik Master Table Styles (Matching City Panchang Design System)
   ========================================================================== */
.bb-drik-master-wrapper {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    padding: 24px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(194, 65, 12, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Devanagari', sans-serif;
}

.bb-drik-master-table {
    width: 100%;
    max-width: 840px;
    margin: 0 auto 24px auto;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 14px rgba(124, 45, 18, 0.04);
}

.bb-drik-master-table tr {
    border-bottom: 1px solid #ffedd5;
}

.bb-drik-master-table tr:last-child {
    border-bottom: none;
}

.bb-drik-section-heading th {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #09090b;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 8px 14px;
    text-align: center;
    border-top: 2px solid #fdba74;
    border-bottom: 1.5px solid #fed7aa;
}

.bb-drik-master-table .bb-lbl {
    background: #ffffff;
    width: 22%;
    padding: 7px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #18181b;
    text-align: left;
    vertical-align: middle;
    border-right: 1px solid #fed7aa;
}

.bb-drik-master-table .bb-val {
    width: 28%;
    padding: 7px 12px;
    font-size: 0.92rem;
    color: #1c1917;
    vertical-align: middle;
    border-right: 1px solid #ffedd5;
}

.bb-drik-inline-flow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-wrap: nowrap;
    white-space: nowrap;
    vertical-align: middle;
    position: relative;
}

.bb-drik-inline-flow .bb-val-content {
    white-space: normal;
}

.bb-val-content {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.92rem;
    color: #1e293b;
    font-weight: 500;
}

.bb-drik-master-table tr td:last-child {
    border-right: none;
}

.bb-drik-master-table .bb-sub-info {
    font-size: 0.82rem;
    color: #09090b;
    margin-top: 3px;
    font-weight: 500;
}

.bb-vistrat-direct-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(194, 65, 12, 0.4) !important;
}

@media (max-width: 768px) {
    .bb-drik-master-table, .bb-drik-master-table tbody, .bb-drik-master-table tr, .bb-drik-master-table th, .bb-drik-master-table td {
        display: block;
        width: 100% !important;
    }
    .bb-drik-master-table tr {
        margin-bottom: 8px;
        border-bottom: 1.5px solid #fed7aa;
    }
    .bb-drik-master-table .bb-lbl {
        border-right: none;
        background: #fafafa;
        font-weight: 700;
    }
    .bb-drik-master-table .bb-val {
        border-right: none;
        padding-bottom: 12px;
    }
}


/* ==========================================================================
   Vedic Saffron Theme Date Picker & Search Styles
   ========================================================================== */

/* Universal Theme Date Picker */
.bb-theme-date-picker {
    padding: 7px 12px !important;
    border: 1.5px solid #ea580c !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #09090b !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    accent-color: #ea580c !important;
    outline: none !important;
    box-shadow: 0 1px 4px rgba(234, 88, 12, 0.12) !important;
    transition: all 0.2s ease !important;
}

.bb-theme-date-picker:focus {
    border-color: #18181b !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.22) !important;
}

.bb-theme-date-picker::-webkit-calendar-picker-indicator {
    cursor: pointer !important;
    filter: invert(41%) sepia(85%) saturate(1900%) hue-rotate(360deg) brightness(92%) contrast(96%) !important;
    opacity: 0.95 !important;
}

.bb-theme-date-picker::-webkit-calendar-picker-indicator:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.bb-theme-date-picker::-webkit-datetime-edit {
    color: #09090b !important;
}

.bb-theme-date-picker::-webkit-datetime-edit-fields-wrapper {
    color: #09090b !important;
}

.bb-theme-date-picker::-webkit-datetime-edit-text {
    color: #ea580c !important;
}

.bb-theme-date-picker::-webkit-datetime-edit-month-field,
.bb-theme-date-picker::-webkit-datetime-edit-day-field,
.bb-theme-date-picker::-webkit-datetime-edit-year-field {
    color: #09090b !important;
}

.bb-theme-date-picker::-webkit-datetime-edit-month-field:focus,
.bb-theme-date-picker::-webkit-datetime-edit-day-field:focus,
.bb-theme-date-picker::-webkit-datetime-edit-year-field:focus {
    background-color: #ffedd5 !important;
    color: #18181b !important;
}

/* Section Headings - Centered across all tables */
.bb-drik-section-heading th {
    text-align: center !important;
    letter-spacing: 0.5px !important;
}

/* City Search Box & Dropdown */
.bb-city-search-input {
    outline: none !important;
    transition: all 0.2s ease !important;
}

.bb-city-search-input:focus {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2) !important;
}

.bb-city-search-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #ea580c #fff7ed;
}

.bb-city-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.bb-city-search-dropdown::-webkit-scrollbar-thumb {
    background: #ea580c;
    border-radius: 4px;
}

.bb-search-item:hover {
    background: #fafafa !important;
}

/* =========================================================================
 * DRIK PANCHANG STYLE INTERACTIVE POPUP CARDS & UNIFIED CITY COMBOBOX
 * ========================================================================= */

.bb-interactive-val-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.bb-drik-sticker {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 2px !important;
    cursor: pointer !important;
    font-size: 1.15rem !important;
    transition: transform 0.15s ease, filter 0.15s ease !important;
    user-select: none !important;
    line-height: 1.2 !important;
}

.bb-drik-sticker:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: scale(1.15) !important;
    filter: brightness(1.15) !important;
}

.bb-info-i {
    font-size: 0.75rem;
    font-weight: 700;
    color: #18181b;
    background: #f4f4f5;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bb-drik-popup-card {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    z-index: 9999999 !important;
    width: 310px !important;
    max-width: 90vw !important;
    background: #2b2d42 !important; /* Drik Panchang Dark Slate Grey */
    border: 1.5px solid #475569 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: hidden !important;
    animation: bbPopupFadeIn 0.15s ease-out !important;
}

@keyframes bbPopupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bb-drik-popup-header {
    padding: 8px 12px !important;
    font-weight: 700 !important;
    font-size: 0.94rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.bb-drik-popup-header span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.bb-popup-header-green {
    background: #15803d !important; /* Drik Panchang Emerald Green Header */
    color: #ffffff !important;
}

.bb-popup-header-red {
    background: #b91c1c !important; /* Drik Panchang Ruby Red Header */
    color: #ffffff !important;
}

.bb-drik-popup-close {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 5px !important;
    border-radius: 4px !important;
    transition: background 0.15s ease !important;
}

.bb-drik-popup-close:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

.bb-drik-popup-body {
    padding: 10px 14px !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    background: #2b2d42 !important; /* Drik Grey Background */
    color: #ffffff !important;
}

.bb-drik-popup-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 4px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    gap: 10px !important;
}

.bb-drik-popup-row:last-child {
    border-bottom: none !important;
}

.bb-drik-popup-lbl {
    color: #facc15 !important; /* Vibrant Yellow List Headings */
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    white-space: nowrap !important;
}

.bb-drik-popup-val {
    color: #ffffff !important; /* Pure White Content Values */
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-align: right !important;
}

.bb-drik-popup-desc {
    margin-top: 8px !important;
    padding-top: 6px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    font-size: 0.82rem !important;
    color: #fef08a !important; /* Soft Golden Yellow for Descriptions */
    line-height: 1.45 !important;
}

/* Ensure no theme clipping on tables or container */
.bb-drik-master-table,
.bb-drik-master-table tbody,
.bb-drik-master-table tr,
.bb-drik-master-table td,
.bb-drik-master-table th,
.bb-panchang-wrapper,
.bb-panchang-header {
    overflow: visible !important;
}

/* UNIFIED SEARCHABLE CITY COMBOBOX */
.bb-unified-city-combobox-wrap {
    position: relative;
    display: inline-block;
    min-width: 240px;
}

.bb-unified-city-input {
    width: 100%;
    padding: 8px 30px 8px 12px;
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    background: #ffffff;
    color: #18181b;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: text;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.bb-unified-city-input:focus {
    outline: none;
    border-color: #ea580c;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}

.bb-combobox-toggle-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #18181b;
    font-size: 0.85rem;
    font-weight: bold;
}

.bb-unified-city-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    min-width: 270px;
    max-height: 250px;
    overflow-y: auto;
    background: #ffffff;
    border: 1.5px solid #ea580c;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    z-index: 999999;
}

.bb-unified-city-item {
    padding: 9px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid #ffedd5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s ease;
}

.bb-unified-city-item:last-child {
    border-bottom: none;
}

.bb-unified-city-item:hover,
.bb-unified-city-item.bb-item-active {
    background: #fafafa;
}

.bb-item-city-name {
    font-weight: 700;
    color: #09090b;
}

.bb-item-city-sub {
    font-size: 0.82rem;
    color: #78716c;
}

/* Drik-Style Compact Sub-Rows for Stickers (No Divider Lines) */
.bb-drik-master-table tr.bb-pre-sticker-row th,
.bb-drik-master-table tr.bb-pre-sticker-row td {
    border-bottom: none !important;
    padding-bottom: 2px !important;
}
.bb-drik-master-table tr.bb-sticker-row td {
    border-top: none !important;
    border-bottom: none !important;
    padding-top: 0px !important;
    padding-bottom: 8px !important;
    background: transparent !important;
}
.bb-drik-master-table tr.bb-sticker-row td .bb-interactive-val-wrap {
    display: inline-flex;
    align-items: center;
}
.bb-sticker-subcell {
    text-align: left;
    padding-left: 20px !important;
}

/* Nakshatra Pada List Styles */
.bb-padas-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bb-pada-line {
    font-size: 0.92rem;
    line-height: 1.4;
    color: #1e293b;
    border-bottom: 1px dashed #fed7aa;
    padding-bottom: 3px;
}
.bb-pada-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* AUTHENTIC ASTRONOMICAL PLANETARY & ZODIAC SYMBOLS (PURE GLYPHS - NO DOUBLE BACKGROUND) */
.bb-graha-badge,
.bb-rashi-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.26rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 2px !important;
    vertical-align: middle !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", sans-serif !important;
}

/* Navagraha Planetary Color Palette (No Background, No Border) */
.bb-graha-surya      { color: #ea580c !important; } /* ☉ Surya: Solar Saffron */
.bb-graha-chandra    { color: #0284c7 !important; } /* ☾ Chandra: Lunar Pearl / Blue */
.bb-graha-mangala    { color: #dc2626 !important; } /* ♂ Mangala: Fiery Coral Red */
.bb-graha-budha      { color: #16a34a !important; } /* ☿ Budha: Emerald Green */
.bb-graha-brihaspati { color: #d97706 !important; } /* ♃ Guru: Golden Topaz */
.bb-graha-shukra     { color: #d946ef !important; } /* ♀ Shukra: Diamond Rose Orchid */
.bb-graha-shani      { color: #4338ca !important; } /* ♄ Shani: Royal Sapphire Blue */
.bb-graha-rahu       { color: #7c3aed !important; } /* ☊ Rahu: Smokey Purple / Violet */
.bb-graha-ketu       { color: #09090b !important; } /* ☋ Ketu: Earthy Ochre Rust */

/* 12 Zodiac Rashi Color Palette (No Background, No Border) */
.bb-rashi-mesha      { color: #ef4444 !important; } /* ♈ Aries: Fire */
.bb-rashi-vrishabha  { color: #16a34a !important; } /* ♉ Taurus: Earth */
.bb-rashi-mithuna    { color: #0284c7 !important; } /* ♊ Gemini: Air */
.bb-rashi-karka      { color: #2563eb !important; } /* ♋ Cancer: Water */
.bb-rashi-simha      { color: #d97706 !important; } /* ♌ Leo: Fire */
.bb-rashi-kanya      { color: #059669 !important; } /* ♍ Virgo: Earth */
.bb-rashi-tula       { color: #0ea5e9 !important; } /* ♎ Libra: Air */
.bb-rashi-vrishchika { color: #e11d48 !important; } /* ♏ Scorpio: Water */
.bb-rashi-dhanu      { color: #f97316 !important; } /* ♐ Sagittarius: Fire */
.bb-rashi-makara     { color: #0d9488 !important; } /* ♑ Capricorn: Earth */
.bb-rashi-kumbha     { color: #6366f1 !important; } /* ♒ Aquarius: Air */
.bb-rashi-meena      { color: #8b5cf6 !important; } /* ♓ Pisces: Water */

/* Custom Transparent PNG Stickers (Sunrise, Sunset, Moonrise, Moonset & 12 Rashis) */
img.bb-custom-sticker-img,
.bb-drik-sticker img.bb-custom-sticker-img,
.bb-sm-label img.bb-custom-sticker-img,
.bb-td-val img.bb-custom-sticker-img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 4px 0 0 !important;
    transition: transform 0.18s ease !important;
}

.bb-drik-sticker:hover img.bb-custom-sticker-img {
    transform: scale(1.14) !important;
}


/* ==========================================================================
   v1.1.3 UPGRADE:
   1. HORIZONTAL SCROLLABLE CAROUSEL (Vistrit Panchang & Categories)
   2. VISTRIT PANCHANG LIVE TABLE SEARCH & SANKSHIPT / POORA KHOLEN
   3. SPECIAL SECTION COLORS IN VISTRIT PANCHANG TABLE
   4. 100% MOBILE-FRIENDLY MONTHLY PANCHANG CALENDAR & DAILY PANCHANG
   ========================================================================== */

/* --- 1. Horizontal Scrollable Carousel (Universal) --- */
.bb-hcarousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.bb-hcarousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px;
    flex: 1;
    min-width: 0;
}
.bb-hcarousel-track::-webkit-scrollbar {
    display: none;
}

.bb-hcarousel-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d4d4d8;
    background: #ffffff;
    color: #09090b;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(124, 45, 18, 0.12);
    transition: all 0.18s ease;
    padding: 0;
    line-height: 1;
}
.bb-hcarousel-arrow:hover {
    background: #ea580c;
    color: #ffffff;
    border-color: #18181b;
    transform: scale(1.06);
}

/* Category & State Carousel Pills */
.bb-cat-carousel-tab,
.bb-cat-state-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 15px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none !important;
    background: #fafafa;
    color: #09090b !important;
    border: 1px solid #e4e4e7;
    cursor: pointer;
    transition: all 0.18s ease;
}
.bb-cat-carousel-tab:hover,
.bb-cat-state-pill:hover {
    background: #f4f4f5;
    border-color: #fb923c;
    transform: translateY(-1px);
}
.bb-cat-carousel-tab.active,
.bb-cat-state-pill.active {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border-color: #18181b !important;
    box-shadow: 0 4px 10px rgba(194, 65, 12, 0.28);
}

.bb-hcarousel-track .bb-city-chip {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* --- 2. Vistrit Panchang Interactive Toolbar (Search, Sankshipt/Poora, Carousel) --- */
.bb-vistrat-interactive-toolbar {
    background: linear-gradient(135deg, #fffdfa 0%, #fff7ed 100%);
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(124, 45, 18, 0.06);
    position: sticky;
    top: 8px;
    z-index: 35;
}

.bb-vistrat-toolbar-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.bb-vistrat-search-wrap {
    position: relative;
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
}

.bb-vistrat-search-icon {
    position: absolute;
    left: 13px;
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0.7;
}

.bb-vistrat-search-input {
    width: 100%;
    padding: 9px 34px 9px 38px !important;
    border: 1px solid #d4d4d8 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #1c1917 !important;
    font-size: 0.9rem !important;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.bb-vistrat-search-input:focus {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15) !important;
}

.bb-vistrat-search-clear {
    position: absolute;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #fed7aa;
    color: #09090b;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.bb-vistrat-mode-btns {
    display: inline-flex;
    background: #f4f4f5;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid #e4e4e7;
    gap: 4px;
}

.bb-vistrat-mode-btn {
    border: none;
    background: transparent;
    color: #09090b;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.bb-vistrat-mode-btn.active {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.28);
}

/* Vistrit Panchang Section Carousel Pills */
.bb-vistrat-sec-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    color: #18181b;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}
.bb-vistrat-sec-pill:hover {
    background: #fafafa;
    border-color: #ea580c;
    transform: translateY(-1px);
}
.bb-vistrat-sec-pill.bb-pill-shubh {
    border-color: #86efac;
    color: #15803d;
    background: #f0fdf4;
}
.bb-vistrat-sec-pill.bb-pill-ashubh {
    border-color: #fca5a5;
    color: #b91c1c;
    background: #fef2f2;
}
.bb-vistrat-sec-pill.bb-pill-sunmoon {
    border-color: #fcd34d;
    color: #b45309;
    background: #fffbeb;
}
.bb-vistrat-sec-pill.bb-pill-nivas {
    border-color: #99f6e4;
    color: #0f766e;
    background: #f0fdfa;
}
.bb-vistrat-sec-pill.bb-pill-chandra {
    border-color: #c7d2fe;
    color: #4338ca;
    background: #eef2ff;
}
.bb-vistrat-sec-pill.active {
    background: linear-gradient(135deg, #9a3412 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border-color: #ea580c !important;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.25);
}

.bb-sec-toggle-chevron {
    float: right;
    font-size: 0.82rem;
    opacity: 0.85;
    margin-left: 8px;
}

/* --- 3. Refined Classic Vedic Saffron-Ivory Table Palette ("Phle Jaisa" + Subtle Elegance) --- */
/* Standard Section Headings: Classic Warm Vedic Saffron-Parchment */
.bb-drik-master-table tr.bb-drik-section-heading th {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
    color: #09090b !important;
    border-top: 2px solid #fdba74 !important;
    border-bottom: 1.5px solid #fed7aa !important;
    text-shadow: none !important;
    transition: background 0.18s ease;
}
.bb-drik-master-table tr.bb-drik-section-heading:hover th {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%) !important;
}

/* Section 7 — शुभ मुहूर्त (Soft Pastel Tulsi-Mint Header, Classic Clean Rows) */
.bb-drik-master-table tr.bb-drik-section-heading.bb-shubh-heading th {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    color: #065f46 !important;
    border-top: 2px solid #6ee7b7 !important;
    border-bottom: 1.5px solid #a7f3d0 !important;
}
.bb-drik-master-table tr.bb-sec-row-shubh th.bb-lbl {
    background: #f8faf9 !important;
    color: #065f46 !important;
    border-right: 1px solid #d1fae5 !important;
}
.bb-drik-master-table tr.bb-sec-row-shubh td.bb-val {
    background: #ffffff !important;
    color: #15803d !important;
}

/* Section 8 — अशुभ समय / त्याज्य काल (Soft Pastel Kumkum-Rose Header, Classic Clean Rows) */
.bb-drik-master-table tr.bb-drik-section-heading.bb-ashubh-heading th {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%) !important;
    color: #9f1239 !important;
    border-top: 2px solid #fda4af !important;
    border-bottom: 1.5px solid #fecdd3 !important;
}
.bb-drik-master-table tr.bb-sec-row-ashubh th.bb-lbl {
    background: #fffafb !important;
    color: #9f1239 !important;
    border-right: 1px solid #ffe4e6 !important;
}
.bb-drik-master-table tr.bb-sec-row-ashubh td.bb-val {
    background: #ffffff !important;
    color: #b91c1c !important;
}

/* Subtle Row Hover & Search Match Highlight */
.bb-drik-master-table tr.bb-vistrat-data-row:hover td.bb-val {
    background: #fffaf5 !important;
}
.bb-drik-master-table th.bb-search-cell-match,
.bb-drik-master-table td.bb-search-cell-match {
    background: #fef3c7 !important;
    box-shadow: inset 0 0 0 1.5px #f59e0b;
}

/* --- 4. Mobile-Friendly Monthly Panchang ([bb_panchang]) & Vistrit Panchang --- */
@media (max-width: 768px) {
    .bb-panchang-wrapper {
        padding: 12px 10px !important;
        margin: 12px 0 !important;
        border-radius: 12px !important;
    }

    /* Header & City/Date Controls on Mobile */
    .bb-panchang-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding-bottom: 14px !important;
        margin-bottom: 14px !important;
    }
    .bb-panchang-header h3,
    .bb-header-title {
        font-size: 1.22rem !important;
        line-height: 1.3 !important;
    }
    .bb-controls-wrap {
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .bb-city-selector-wrap,
    .bb-date-picker-wrap {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .bb-unified-city-combobox-wrap {
        flex: 1 !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    .bb-theme-date-picker {
        flex: 1 !important;
        min-width: 0 !important;
    }

    /* Crosslink Banner on Mobile */
    .bb-crosslink-card-glow {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 12px 14px !important;
        gap: 10px !important;
        margin-bottom: 14px !important;
    }
    .bb-btn-detailed-glow {
        text-align: center !important;
        justify-content: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }

    /* Month Navbar (Prev | Month | Today/Next) on Mobile */
    .bb-month-navbar {
        padding: 8px 10px !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }
    .bb-current-month-heading {
        font-size: 1.05rem !important;
        order: -1;
        width: 100%;
        text-align: center;
        padding-bottom: 4px;
        border-bottom: 1px dashed rgba(254, 215, 170, 0.6);
        margin-bottom: 2px;
    }
    .bb-nav-btn {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
    }

    /* Monthly Calendar 7-Column Grid on Mobile */
    .bb-calendar-grid {
        display: grid !important;
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
        gap: 3px !important;
        margin-bottom: 18px !important;
        width: 100% !important;
    }
    .bb-grid-header {
        padding: 6px 1px !important;
        font-size: 0.72rem !important;
        border-radius: 5px !important;
        letter-spacing: 0 !important;
    }
    .bb-day-cell {
        min-height: 70px !important;
        padding: 4px 3px !important;
        border-radius: 6px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 2px !important;
    }
    .bb-day-top {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 1px !important;
        margin-bottom: 1px !important;
        width: 100% !important;
    }
    .bb-day-num {
        font-size: 0.88rem !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
    }
    .bb-day-top .bb-badge {
        font-size: 0.52rem !important;
        padding: 1px 3px !important;
        border-radius: 3px !important;
        line-height: 1.1 !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .bb-day-tithi {
        font-size: 0.56rem !important;
        line-height: 1.15 !important;
        margin-bottom: 1px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        word-break: break-word !important;
    }
    .bb-day-badges {
        margin-top: 2px !important;
        width: 100% !important;
    }
    .bb-badge-festival {
        padding: 2px 3px !important;
        border-radius: 4px !important;
        gap: 1px !important;
    }
    .bb-badge-festival-line {
        font-size: 0.52rem !important;
        line-height: 1.12 !important;
        padding-bottom: 1px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    /* Hide 2nd+ festival lines inside the tiny grid cell on mobile so cells stay uniform (full festival is shown in the Daily Card below!) */
    .bb-badge-festival-line:nth-child(n+2) {
        display: none !important;
    }

    /* Daily Card below Monthly Calendar on Mobile */
    .bb-daily-card {
        padding: 14px 12px !important;
        border-radius: 12px !important;
    }
    .bb-daily-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .bb-daily-date-title {
        font-size: 1.12rem !important;
    }
    /* 2x2 grid for Sunrise/Sunset/Moonrise/Moonset on Mobile instead of 1 tall column */
    .bb-sun-moon-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .bb-sun-moon-item {
        padding: 10px 8px !important;
    }
    .bb-sm-val {
        font-size: 0.96rem !important;
    }
    .bb-detail-columns {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .bb-detail-box {
        padding: 12px 10px !important;
    }
    .bb-td-lbl {
        width: 36% !important;
        font-size: 0.82rem !important;
        padding: 7px 4px !important;
    }
    .bb-td-val {
        width: 64% !important;
        font-size: 0.85rem !important;
        padding: 7px 4px !important;
    }

    /* Vistrit Panchang Interactive Toolbar & Master Table on Mobile */
    .bb-vistrat-interactive-toolbar {
        padding: 10px 10px !important;
        top: 4px;
    }
    .bb-vistrat-toolbar-top {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .bb-vistrat-mode-btns {
        width: 100%;
        justify-content: center;
    }
    .bb-vistrat-mode-btn {
        flex: 1;
        text-align: center;
    }
    .bb-hcarousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    /* Clean 2-column key-value layout per pair in Vistrit Master Table on Mobile */
    .bb-drik-master-table,
    .bb-drik-master-table tbody {
        display: block;
        width: 100% !important;
    }
    .bb-drik-master-table tr.bb-drik-section-heading {
        display: block;
        width: 100% !important;
    }
    .bb-drik-master-table tr.bb-drik-section-heading th {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        font-size: 0.95rem !important;
        padding: 10px 12px !important;
    }
    .bb-drik-master-table tr.bb-vistrat-data-row {
        display: grid;
        grid-template-columns: 38% 62%;
        width: 100% !important;
        box-sizing: border-box;
    }
    .bb-drik-master-table th.bb-lbl,
    .bb-drik-master-table td.bb-val {
        width: 100% !important;
        box-sizing: border-box;
        padding: 8px 10px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 420px) {
    .bb-panchang-wrapper {
        padding: 8px 6px !important;
    }
    .bb-calendar-grid {
        gap: 2px !important;
    }
    .bb-day-cell {
        min-height: 62px !important;
        padding: 3px 2px !important;
    }
    .bb-day-num {
        font-size: 0.8rem !important;
    }
    .bb-day-tithi {
        font-size: 0.51rem !important;
    }
    .bb-day-top .bb-badge,
    .bb-badge-festival-line {
        font-size: 0.48rem !important;
    }
}


/* ==========================================================================
   MINIMAL GOOGLE-STYLE DEVOTIONAL POST UI & BOTTOM-RIGHT JAPA COUNTER
   Palette: Crisp White (#ffffff), Kesaria (#ea580c / #c2410c), Warm Yellow (#f59e0b),
            Deep Slate/Black (#0f172a / #334155), Subtle Red (#dc2626)
   ========================================================================== */

/* Hide all `<` `>` arrow buttons globally — users slide/swipe naturally */
.bb-hcarousel-arrow {
    display: none !important;
}
.bb-hcarousel-track {
    cursor: grab;
}
.bb-hcarousel-track:active {
    cursor: grabbing;
}

.bb-devotional-single-ui {
    max-width: 880px;
    margin: 16px auto 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Devanagari', sans-serif;
    color: #0f172a;
}

.bb-devo-topbar-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.bb-devo-minimal-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
}
.bb-devo-minimal-breadcrumb a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}
.bb-devo-minimal-breadcrumb a:hover {
    color: #ea580c;
}
.bb-devo-minimal-breadcrumb .bb-bc-current {
    color: #18181b;
    font-weight: 700;
}
.bb-devo-minimal-breadcrumb .bb-bc-sep {
    color: #cbd5e1;
}

.bb-devo-admin-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fafafa;
    color: #18181b !important;
    border: 1px solid #fdba74;
    text-decoration: none !important;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.15s ease;
}
.bb-devo-admin-edit-btn:hover {
    background: #ea580c;
    color: #ffffff !important;
}

/* Minimal Google-Style White Hero Card with Top Kesaria Accent */
.bb-devo-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 1px solid #e4e4e7;
    padding: 22px 24px 18px 24px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    margin-bottom: 14px;
}

.bb-devo-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.bb-devo-tag-kesaria {
    background: #fafafa;
    color: #18181b;
    border: 1px solid #e4e4e7;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
}
.bb-devo-tag-yellow {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
}
.bb-devo-tag-neutral {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
}

.bb-devo-main-title {
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.2px;
}

.bb-devo-subtitle {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.bb-devo-meta-strip {
    font-size: 0.84rem;
    color: #64748b;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.bb-devo-meta-strip strong {
    color: #18181b;
}

.bb-devo-subcat-bar {
    margin-bottom: 12px;
}

/* Minimal Single-Line Reader Toolbar */
.bb-devo-reader-toolbar {
    position: sticky;
    top: 8px;
    z-index: 35;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.bb-devo-search-box-minimal {
    flex: 1;
    min-width: 180px;
    max-width: 340px;
}

.bb-devo-search-input {
    width: 100%;
    padding: 6px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, background 0.15s;
}
.bb-devo-search-input:focus {
    background: #ffffff !important;
    border-color: #ea580c !important;
}

.bb-devo-tool-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bb-devo-tool-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 9px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.2;
}
.bb-devo-tool-btn:hover,
.bb-devo-tool-btn.active {
    background: #fafafa;
    color: #18181b;
    border-color: #fdba74;
}

.bb-devo-media-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

/* Minimal Doha / Dhyana Mantra Box */
.bb-devo-doha-banner {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
}
.bb-devo-doha-label {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}
.bb-devo-doha-text {
    font-size: 1.06rem;
    font-weight: 400;
    color: #0f172a;
    line-height: 1.7;
}

/* Main Reader Paper Container & Themes */
.bb-devo-reader-paper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px 28px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
    margin-bottom: 18px;
    transition: background 0.2s ease, color 0.2s ease;
}

.bb-devotional-single-ui[data-theme="sepia"] .bb-devo-reader-paper {
    background: #fffdf5 !important;
    border-color: #fde68a !important;
    color: #1c1917 !important;
}
.bb-devotional-single-ui[data-theme="dark"] .bb-devo-reader-paper {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}
.bb-devotional-single-ui[data-theme="dark"] .bb-devo-stanza-card,
.bb-devotional-single-ui[data-theme="dark"] .bb-devo-shloka-card {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}
.bb-devotional-single-ui[data-theme="dark"] .bb-shloka-sanskrit,
.bb-devotional-single-ui[data-theme="dark"] .bb-devo-editable-body h2,
.bb-devotional-single-ui[data-theme="dark"] .bb-devo-editable-body h3,
.bb-devotional-single-ui[data-theme="dark"] .bb-devo-editable-body h4 {
    color: #fbbf24 !important;
}
.bb-devotional-single-ui[data-theme="dark"] .bb-shloka-arth,
.bb-devotional-single-ui[data-theme="dark"] .bb-devo-editable-body p,
.bb-devotional-single-ui[data-theme="dark"] .bb-devo-editable-body td {
    color: #e2e8f0 !important;
}

/* Editable Body Typography & Clean Minimal Cards */
.bb-devo-editable-body {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #1e293b;
}

.bb-devo-stanza-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    margin-bottom: 16px;
}
.bb-devo-layout-stanza .bb-devo-editable-body p {
    font-size: 1.08rem;
    line-height: 1.85;
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 16px;
}
.bb-devo-stanza-card h4 {
    color: #18181b;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 8px 0 12px 0;
}

.bb-devo-shloka-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #ea580c;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
}
.bb-shloka-num {
    display: inline-block;
    background: #fafafa;
    color: #18181b;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 6px;
    margin-bottom: 6px;
}
.bb-shloka-sanskrit {
    font-size: 1.08rem;
    font-weight: 400;
    color: #0f172a;
    line-height: 1.85;
    margin: 0 0 8px 0;
}
.bb-shloka-arth {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

/* Minimal Naamavali Table */
.bb-devo-naamavali-table,
.bb-devo-layout-naamavali .bb-devo-editable-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 18px 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.bb-devo-naamavali-table th,
.bb-devo-layout-naamavali .bb-devo-editable-body table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1.5px solid #e2e8f0;
}
.bb-devo-naamavali-table td,
.bb-devo-layout-naamavali .bb-devo-editable-body table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #1e293b;
}
.bb-devo-naamavali-table tr:hover td,
.bb-devo-layout-naamavali .bb-devo-editable-body table tr:hover td {
    background: #fafafa;
    cursor: pointer;
}
.bb-devo-naamavali-table tr.bb-naam-completed td {
    background: #fffbeb !important;
    color: #b45309 !important;
}

/* Minimal Benefits Box */
.bb-devo-benefits-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #dc2626;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
}
.bb-devo-benefits-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 4px;
}
.bb-devo-benefits-text {
    font-size: 0.94rem;
    color: #334155;
    line-height: 1.6;
}

/* --- FLOATING BOTTOM-RIGHT JAPA / PATH COUNTER WIDGET --- */
.bb-japa-floating-wrap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9995;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bb-japa-minimized-pill {
    background: #ffffff;
    color: #18181b;
    border: 1.5px solid #ea580c;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s ease;
}
.bb-japa-minimized-pill:hover {
    transform: translateY(-2px);
    background: #fafafa;
}

.bb-japa-floating-card {
    width: 235px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #ea580c;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.bb-japa-card-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.bb-japa-hdr-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
}
.bb-japa-hide-btn {
    border: none;
    background: #f1f5f9;
    color: #64748b;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.bb-japa-hide-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

.bb-japa-count-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}
.bb-japa-big-num {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ea580c;
    line-height: 1.1;
}
.bb-japa-big-num small {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}
.bb-japa-mala-badge {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

.bb-japa-progress-track {
    width: 100%;
    height: 5px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}
.bb-japa-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.bb-japa-actions-row {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}
.bb-japa-plus-main {
    flex: 1;
    background: #ea580c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.bb-japa-plus-main:hover {
    background: #c2410c;
}
.bb-japa-plus-main:active {
    transform: scale(0.96);
}
.bb-japa-reset-btn {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.bb-japa-custom-target-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: #64748b;
}
.bb-japa-custom-target-row input {
    width: 68px;
    padding: 3px 6px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-align: center;
    background: #f8fafc !important;
}

@media (max-width: 768px) {
    .bb-devo-hero-card {
        padding: 18px 16px;
    }
    .bb-devo-main-title {
        font-size: 1.4rem !important;
    }
    .bb-devo-reader-paper {
        padding: 18px 14px;
    }
    .bb-japa-floating-wrap {
        bottom: 14px;
        right: 14px;
    }
    .bb-japa-floating-card {
        width: 210px;
        padding: 10px 12px;
    }
}

@media print {
    .bb-devo-reader-toolbar,
    .bb-devo-subcat-bar,
    .bb-devo-admin-edit-btn,
    .bb-hcarousel-wrap,
    .bb-japa-floating-wrap {
        display: none !important;
    }
    .bb-devo-reader-paper {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}


/* ==========================================================================
   Featured Image & Black Bold Text Enhancements for Content & Muhurat Pages/Boxes
   ========================================================================== */
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-devo-main-title,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-devo-subtitle,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-devo-editable-body,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-devo-editable-body p,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-devo-editable-body li,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-devo-editable-body td,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-devo-editable-body th,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-shloka-sanskrit,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-shloka-arth,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-devo-doha-text,
.bb-devotional-single-ui:not([data-theme="dark"]) .bb-devo-benefits-text {
    color: #000000 !important;
    font-weight: 700 !important;
}

.bb-subcat-box-card h3,
.bb-subcat-box-card h3 a,
.bb-subcat-box-card p {
    color: #000000 !important;
    font-weight: 700 !important;
}
.bb-subcat-box-card h3,
.bb-subcat-box-card h3 a {
    font-weight: 800 !important;
}

.bb-box-featured-img-link:hover img {
    transform: scale(1.04);
}

/* Hide duplicate theme post-thumbnail outside .bb-devotional-single-ui / .bb-muhurat-page-wrapper if theme outputs one automatically */
body.bb-devo-muhurat-single-body .post-thumbnail,
body.bb-devo-muhurat-single-body .featured-image,
body.bb-devo-muhurat-single-body .entry-thumbnail,
body.bb-devo-muhurat-single-body .wp-post-image:not(.bb-devo-featured-img) {
    /* Keep inside our custom wrapper visible */
}
.bb-devo-featured-image-wrap img,
.bb-muhurat-featured-image-wrap img {
    display: block !important;
    width: 100% !important;
    max-height: 440px !important;
    object-fit: cover !important;
}


/* ==========================================================================
   BHAGVAD BHAKTI v1.1.5 — SITE-WIDE MINIMALIST UI (Google-Inspired Cleanliness)
   Palette: Pure White (#ffffff), Kesariya (#ea580c), Warm Orange (#f97316),
            Golden Yellow (#f59e0b), Pure Black (#000000), Kumkum Red (#dc2626)
   ========================================================================== */

:root {
    --bb-bg-white: #ffffff;
    --bb-bg-ivory: #fffdf9;
    --bb-bg-kesaria-soft: #fff7ed;
    --bb-bg-yellow-soft: #fffbeb;
    --bb-kesaria: #ea580c;
    --bb-kesaria-dark: #c2410c;
    --bb-orange: #f97316;
    --bb-yellow: #f59e0b;
    --bb-red: #dc2626;
    --bb-black: #000000;
    --bb-charcoal: #111827;
    --bb-muted: #4b5563;
    --bb-border: #e5e7eb;
    --bb-border-warm: #fed7aa;
    --bb-radius: 12px;
    --bb-shadow-min: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --bb-shadow-hover: 0 6px 18px rgba(234, 88, 12, 0.08);
}

.bb-panchang-wrapper,
.bb-panchang-homepage-portal,
.bb-panchang-category-page-wrapper,
.bb-devotional-single-ui:not([data-theme="dark"]):not([data-theme="sepia"]) {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif !important;
    background: var(--bb-bg-white) !important;
    color: var(--bb-black) !important;
}

.bb-panchang-wrapper {
    border: 1px solid var(--bb-border) !important;
    border-top: 3px solid var(--bb-kesaria) !important;
    border-radius: var(--bb-radius) !important;
    padding: 22px !important;
    box-shadow: var(--bb-shadow-min) !important;
}

.bb-minimal-home-hero,
.bb-cat-hero-banner,
.bb-devo-hero-card {
    background: var(--bb-bg-white) !important;
    color: var(--bb-black) !important;
    border: 1px solid var(--bb-border) !important;
    border-top: 4px solid var(--bb-kesaria) !important;
    border-radius: var(--bb-radius) !important;
    padding: 24px !important;
    box-shadow: var(--bb-shadow-min) !important;
}

.bb-minimal-home-hero a {
    background: var(--bb-bg-kesaria-soft) !important;
    color: var(--bb-black) !important;
    border: 1px solid var(--bb-border-warm) !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    text-decoration: none !important;
    transition: all 0.16s ease !important;
}
.bb-minimal-home-hero a:hover {
    background: var(--bb-kesaria) !important;
    color: #ffffff !important;
    border-color: var(--bb-kesaria) !important;
}

/* Touch-Slide Carousels — Pure Minimal Pills, Zero Arrow Buttons */
.bb-hcarousel-arrow,
.bb-hcarousel-btn {
    display: none !important;
}

.bb-cat-carousel-tab,
.bb-vistrat-sec-pill,
.bb-cat-state-pill,
.bb-city-chip {
    background: var(--bb-bg-white) !important;
    color: var(--bb-black) !important;
    border: 1px solid var(--bb-border) !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
}

.bb-cat-carousel-tab:hover,
.bb-vistrat-sec-pill:hover,
.bb-cat-state-pill:hover,
.bb-city-chip:hover {
    border-color: var(--bb-kesaria) !important;
    background: var(--bb-bg-kesaria-soft) !important;
    color: var(--bb-kesaria-dark) !important;
    transform: none !important;
}

.bb-cat-carousel-tab.active,
.bb-vistrat-sec-pill.active,
.bb-cat-state-pill.active {
    background: var(--bb-kesaria) !important;
    color: #ffffff !important;
    border-color: var(--bb-kesaria) !important;
    box-shadow: none !important;
}

/* Subcategory & Muhurat Cards — Minimal Border + Black Bold Text + Featured Image */
.bb-subcat-box-card {
    background: var(--bb-bg-white) !important;
    border: 1px solid var(--bb-border) !important;
    border-radius: var(--bb-radius) !important;
    box-shadow: var(--bb-shadow-min) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.bb-subcat-box-card:hover {
    transform: translateY(-2px) !important;
    border-color: var(--bb-orange) !important;
    box-shadow: var(--bb-shadow-hover) !important;
}

.bb-subcat-box-card h3,
.bb-subcat-box-card h3 a {
    color: #000000 !important;
    font-weight: 800 !important;
}

.bb-subcat-box-card p {
    color: #000000 !important;
    font-weight: 700 !important;
}

.bb-subcat-box-card a[style*="linear-gradient"] {
    background: var(--bb-kesaria) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-weight: 800 !important;
}

.bb-subcat-box-card a[style*="linear-gradient"]:hover {
    background: var(--bb-kesaria-dark) !important;
}
