.cr-notify {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.cr-notify-btn {
    border: 1px solid rgba(60, 42, 25, .08) !important;
    cursor: pointer;
    padding: 0 !important;
    font-size: 1rem !important;
}

.cr-notify-btn i {
    font-size: 1rem;
    line-height: 1;
}

.cr-notify-btn em {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 20px !important;
    height: 20px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #e36425 !important;
    color: #fff !important;
    font-size: .7rem !important;
    line-height: 1 !important;
    font-style: normal !important;
    font-weight: 1000 !important;
    box-shadow: 0 5px 12px rgba(227, 100, 37, .28) !important;
}

.cr-notify-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 24px));
    max-height: 460px;
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .16);
    z-index: 5000;
    padding: .75rem;
}

.cr-notify-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .35rem .35rem .65rem;
}

.cr-notify-head button,
.cr-notify-item {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cr-notify-head button {
    color: #d95f19;
    font-weight: 900;
}

.cr-notify-item {
    width: 100%;
    text-align: left;
    display: grid;
    gap: .25rem;
    padding: .85rem;
    border-radius: 16px;
    background: #fff7ed;
    margin-bottom: .45rem;
}

.cr-notify-item.is-read {
    background: #f8f7f5;
    opacity: .78;
}

.cr-notify-item strong {
    color: #1f1b1c;
}

.cr-notify-item span,
.cr-notify-empty {
    color: #625a5c;
    font-size: .9rem;
}

.cr-notify-item small {
    color: #a44b18;
    font-weight: 800;
}

@media (max-width: 840px) {
    .cr-notify-panel {
        position: fixed;
        top: 68px;
        right: 10px;
        left: auto;
        width: min(340px, calc(100vw - 20px));
        max-height: calc(100dvh - 92px);
    }

    .cr-notify-btn {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        box-shadow: 0 8px 18px rgba(42, 30, 18, .07) !important;
    }

    .cr-notify-btn em {
        top: -3px !important;
        right: -3px !important;
        min-width: 18px !important;
        height: 18px !important;
        font-size: .66rem !important;
    }
}
